SAP ABAP Class CL_SD_PRS_UTIL (Utilities Class for PRS Enhancements in SD)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-SLS (Application Component) Sales
     ERP_PRS_SD (Package) Professional Services; parts in SD Core
Properties
Class CL_SD_PRS_UTIL  
Short Description Utilities Class for PRS Enhancements in SD    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package ERP_PRS_SD   Professional Services; parts in SD Core 
Created 20090922   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SD_PRS_UTIL has no interface implemented.
Friends
Class CL_SD_PRS_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GR_WE_ARCHIVING_BADI Static Attribute Private Object reference (TYPE REF TO) WE_ENGAGEMENT_ARCHIVING 20091020
2 GR_WE_CALLBACK_BADI Static Attribute Private Object reference (TYPE REF TO) WE_ENGAGEMENT_CALLBACK Reference to the current badi instance 20091008
3 GT_WE_ARCHIVABLE_VBELN Static Attribute Private Type reference (TYPE) TDT_VBELN_STRINGS 20091020
4 GT_WE_DELETABLE_IDS Static Attribute Private Type reference (TYPE) IF_WE_ENGAGEMENT=>IDS 20091202
5 GV_PENDING_CPI Static Attribute Private Type reference (TYPE) ABAP_BOOL CommercialProjectInception pending? 20090928
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ARCHIVABLE_LS Static method Public Method 20091020
2 ADD_MESSAGE Static method Public Method T100 message including handover to LORD 20091023
3 ARCHIVE_DOCUMENTS_LS Static method Public Method 20091020
4 CHECK_ARCHIVABILITY_LS Static method Public Method 20091020
5 CHECK_CLASSIC_EXIST Static method Public Method Check if classic assembly exists 20091006
6 CHECK_ITEM_DELETE_LS Static method Public Method call to check if item is ready for deletion 20091014
7 CONSEQ_ITEM_CHANGES Static method Public Method Perform item changes resulting from other item changes 20091020
8 CONV_ISO2PERTYPE Static method Public Method Convert the ISO code into according period type 20090924
9 CONV_PERTYPE2ISO Static method Public Method Convert the period type into according ISO code 20090924
10 CONV_WP2PRSDT Static method Public Method Transfer the work period into the pricing date 20090923
11 DELETE_DOCUMENT_ASSIGNMENTS_LS Static method Public Method Confirms deletion of staffing assignments 20091015
12 DELETE_ITEM_ASSIGNMENTS_LS Static method Public Method 20091015
13 DET_PRSDT Static method Public Method Determine pricing date for sales/billing item 20090925
14 GET_ARCHIVABLE_LS Static method Public Method 20091020
15 GET_ARCHIVING_BADI Static method Public Method 20091020
16 GET_PENDING_CPI Static method Public Method Read flag for pending CommercialProjectInception 20090929
17 GET_WE_CALLBACK_BADI Static method Public Method gets the current badi instance of the work engagement callba 20091008
18 INITIALIZE_CPI_GLOBALS Static method Public Method initializes GVs for CPI 20091009
19 ITEM_COPY_BIL Static method Public Method Copy of item data with source = billing item 20091109
20 ITEM_COPY_SLS Static method Public Method Copy of item data with source = sales item 20091109
21 PROCESS_CPI_PROJECT Static method Public Method Perform project operations in PS and retrieve Op WBS elmts 20091020
22 READ_CPI_CONFIG Static method Public Method Read CPI (Lean) configuration from PS 20091020
23 REFRESH_CALLBACK_LS Static method Public Method 20091015
24 SAVE_ASSIGNMENTS_LS Static method Public Method Confirms the changes to staff assignments 20091015
25 SET_ARCHIVING_BADI Static method Public Method 20091020
26 SET_PENDING_CPI Static method Public Method Check and remember if CommProjectInception pending for save 20090929
27 SET_WE_CALLBACK_BADI Static method Public Method gets the current badi instance of the work engagement callba 20091008
Events
Class CL_SD_PRS_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TDT_VBELN_STRINGS Public See coding 20091020 TDT_VBELN_STRINGS type TABLE OF string
Method Signatures

Method ADD_ARCHIVABLE_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20091020

Method ADD_ARCHIVABLE_LS on class CL_SD_PRS_UTIL has no exception.

Method ADD_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Value transfer Type reference (TYPE) SYMSGID Application Log: Message Data 20091023
2 Importing IV_MSGNO Value transfer Type reference (TYPE) SYMSGNO Message Number 20091023
3 Importing IV_MSGTY Value transfer Type reference (TYPE) SYMSGTY Message Type 20091023
4 Importing IV_MSGV1 Value transfer Type reference (TYPE) SYMSGV Message Variable 20091023
5 Importing IV_MSGV2 Value transfer Type reference (TYPE) SYMSGV Message Variable 20091023
6 Importing IV_MSGV3 Value transfer Type reference (TYPE) SYMSGV Message Variable 20091126
7 Importing IV_MSGV4 Value transfer Type reference (TYPE) SYMSGV Message Variable 20091126

Method ADD_MESSAGE on class CL_SD_PRS_UTIL has no exception.

Method ARCHIVE_DOCUMENTS_LS Signature

Method ARCHIVE_DOCUMENTS_LS on class CL_SD_PRS_UTIL has no parameter.
Method ARCHIVE_DOCUMENTS_LS on class CL_SD_PRS_UTIL has no exception.

Method CHECK_ARCHIVABILITY_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_ARCHIVABLE Call by reference Type reference (TYPE) ABAP_BOOL 20091020
2 Exporting EV_MESSAGE Call by reference Type reference (TYPE) STRING 20091023
3 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20091020

Method CHECK_ARCHIVABILITY_LS on class CL_SD_PRS_UTIL has no exception.

Method CHECK_CLASSIC_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VBEP Call by reference Type reference (TYPE) VA_VBEPVB_T Table for structure VBEPVB 20091006
2 Returning RV_CLASSIC_EXIST Value transfer Type reference (TYPE) ABAP_BOOL 20091016

Method CHECK_CLASSIC_EXIST on class CL_SD_PRS_UTIL has no exception.

Method CHECK_ITEM_DELETE_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NOT_DELETABLE Call by reference Type reference (TYPE) ABAP_BOOL 20091202
2 Importing IV_XVBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091014
# Exception Resumable Description Created on
1 CX_WE_ASSIGNMENT Exception regarding assignments to a Work Engagement 20091202
2 CX_WE_ASSIGNMENT_AUTH Authority Exception for Assignments 20091202
3 CX_WE_ASSIGNMENT_LOCK Lock exception for assignment 20091202

Method CONSEQ_ITEM_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091020
2 Importing IS_VBAP_OLD Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091020

Method CONSEQ_ITEM_CHANGES on class CL_SD_PRS_UTIL has no exception.

Method CONV_ISO2PERTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ISO_UNIT Call by reference Type reference (TYPE) ISOCD_UNIT ISO code for unit of measurement 20090924
2 Returning RV_PERIOD_TYPE Value transfer Type reference (TYPE) CHAR1 Period Type of Work Period 20090924

Method CONV_ISO2PERTYPE on class CL_SD_PRS_UTIL has no exception.

Method CONV_PERTYPE2ISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PERIOD_TYPE Call by reference Type reference (TYPE) CHAR1 Period Type of Work Period 20090924
2 Returning RV_ISO_UNIT Value transfer Type reference (TYPE) ISOCD_UNIT ISO code for unit of measurement 20090924

Method CONV_PERTYPE2ISO on class CL_SD_PRS_UTIL has no exception.

Method CONV_WP2PRSDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_PRSDT Call by reference Type reference (TYPE) PRSDT Pricing Date 20090923
2 Importing IV_WORK_PERIOD Call by reference Type reference (TYPE) PRS_WORK_PERIOD Working Period 20090923

Method CONV_WP2PRSDT on class CL_SD_PRS_UTIL has no exception.

Method DELETE_DOCUMENT_ASSIGNMENTS_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20091015

Method DELETE_DOCUMENT_ASSIGNMENTS_LS on class CL_SD_PRS_UTIL has no exception.

Method DELETE_ITEM_ASSIGNMENTS_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091015

Method DELETE_ITEM_ASSIGNMENTS_LS on class CL_SD_PRS_UTIL has no exception.

Method DET_PRSDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KOMK Call by reference Type reference (TYPE) KOMK Communication Header for Pricing 20090925
2 Importing IS_VBAK Call by reference Type reference (TYPE) VBAK Sales Document: Header Data 20090925
3 Importing IS_VBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20090925
4 Importing IS_VBKD Call by reference Type reference (TYPE) VBKD Sales Document: Business Data 20090925
5 Importing IS_VBRK Call by reference Type reference (TYPE) VBRKVB Billing Document: Header Data 20090925
6 Importing IS_VBRP Call by reference Type reference (TYPE) VBRPVB Billing Document: Item Data 20090925
7 Returning RV_PRSDT Value transfer Type reference (TYPE) PRSDT Pricing Date 20090925

Method DET_PRSDT on class CL_SD_PRS_UTIL has no exception.

Method GET_ARCHIVABLE_LS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ARCHIVABLE_VBELN Call by reference Type reference (TYPE) TDT_VBELN_STRINGS 20091020

Method GET_ARCHIVABLE_LS on class CL_SD_PRS_UTIL has no exception.

Method GET_ARCHIVING_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_ARCHIVING_BADI Call by reference Object reference (TYPE REF TO) WE_ENGAGEMENT_ARCHIVING 20091020

Method GET_ARCHIVING_BADI on class CL_SD_PRS_UTIL has no exception.

Method GET_PENDING_CPI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_PENDING_CPI Value transfer Type reference (TYPE) ABAP_BOOL 20090929

Method GET_PENDING_CPI on class CL_SD_PRS_UTIL has no exception.

Method GET_WE_CALLBACK_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_WE_CALLBACK_BADI Value transfer Object reference (TYPE REF TO) WE_ENGAGEMENT_CALLBACK 20091008

Method GET_WE_CALLBACK_BADI on class CL_SD_PRS_UTIL has no exception.

Method INITIALIZE_CPI_GLOBALS Signature

Method INITIALIZE_CPI_GLOBALS on class CL_SD_PRS_UTIL has no parameter.
Method INITIALIZE_CPI_GLOBALS on class CL_SD_PRS_UTIL has no exception.

Method ITEM_COPY_BIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091109

Method ITEM_COPY_BIL on class CL_SD_PRS_UTIL has no exception.

Method ITEM_COPY_SLS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_VBAP Call by reference Type reference (TYPE) VBAP Sales Document: Item Data 20091109
2 Importing IS_TVCPA Call by reference Type reference (TYPE) TVCPA Sales Documents: Copying Control 20091109
3 Importing IT_VBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20091109

Method ITEM_COPY_SLS on class CL_SD_PRS_UTIL has no exception.

Method PROCESS_CPI_PROJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_VBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20091020
2 Importing IS_VBAK Call by reference Type reference (TYPE) VBAK Sales Document: Header Data 20091020
3 Importing IT_VBEP Call by reference Type reference (TYPE) VA_VBEPVB_T Table for structure VBEPVB 20091020

Method PROCESS_CPI_PROJECT on class CL_SD_PRS_UTIL has no exception.

Method READ_CPI_CONFIG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_VBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20091020
2 Importing IS_VBAK Call by reference Type reference (TYPE) VBAK Sales Document: Header Data 20091020
3 Importing IT_VBAP_OLD Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20091105

Method READ_CPI_CONFIG on class CL_SD_PRS_UTIL has no exception.

Method REFRESH_CALLBACK_LS Signature

Method REFRESH_CALLBACK_LS on class CL_SD_PRS_UTIL has no parameter.
Method REFRESH_CALLBACK_LS on class CL_SD_PRS_UTIL has no exception.

Method SAVE_ASSIGNMENTS_LS Signature

Method SAVE_ASSIGNMENTS_LS on class CL_SD_PRS_UTIL has no parameter.
Method SAVE_ASSIGNMENTS_LS on class CL_SD_PRS_UTIL has no exception.

Method SET_ARCHIVING_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ARCHIVING_BADI Call by reference Object reference (TYPE REF TO) WE_ENGAGEMENT_ARCHIVING 20091020

Method SET_ARCHIVING_BADI on class CL_SD_PRS_UTIL has no exception.

Method SET_PENDING_CPI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_VBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Table for structure VBAPVB 20091020
2 Importing IT_VBEP Call by reference Type reference (TYPE) VA_VBEPVB_T Table for structure VBEPVB 20091020

Method SET_PENDING_CPI on class CL_SD_PRS_UTIL has no exception.

Method SET_WE_CALLBACK_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_WE_CALLBACK_BADI Value transfer Object reference (TYPE REF TO) WE_ENGAGEMENT_CALLBACK 20091008

Method SET_WE_CALLBACK_BADI on class CL_SD_PRS_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605