Hierarchy
⤷
⤷
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 | 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 | Static Attribute | Private | Object reference (TYPE REF TO) | WE_ENGAGEMENT_ARCHIVING | 20091020 | ||||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | WE_ENGAGEMENT_CALLBACK | Reference to the current badi instance | 20091008 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | TDT_VBELN_STRINGS | 20091020 | ||||
| 4 | Static Attribute | Private | Type reference (TYPE) | IF_WE_ENGAGEMENT=>IDS | 20091202 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | CommercialProjectInception pending? | 20090928 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20091020 | ||
| 2 | Static method | Public | Method | T100 message including handover to LORD | 20091023 | |
| 3 | Static method | Public | Method | 20091020 | ||
| 4 | Static method | Public | Method | 20091020 | ||
| 5 | Static method | Public | Method | Check if classic assembly exists | 20091006 | |
| 6 | Static method | Public | Method | call to check if item is ready for deletion | 20091014 | |
| 7 | Static method | Public | Method | Perform item changes resulting from other item changes | 20091020 | |
| 8 | Static method | Public | Method | Convert the ISO code into according period type | 20090924 | |
| 9 | Static method | Public | Method | Convert the period type into according ISO code | 20090924 | |
| 10 | Static method | Public | Method | Transfer the work period into the pricing date | 20090923 | |
| 11 | Static method | Public | Method | Confirms deletion of staffing assignments | 20091015 | |
| 12 | Static method | Public | Method | 20091015 | ||
| 13 | Static method | Public | Method | Determine pricing date for sales/billing item | 20090925 | |
| 14 | Static method | Public | Method | 20091020 | ||
| 15 | Static method | Public | Method | 20091020 | ||
| 16 | Static method | Public | Method | Read flag for pending CommercialProjectInception | 20090929 | |
| 17 | Static method | Public | Method | gets the current badi instance of the work engagement callba | 20091008 | |
| 18 | Static method | Public | Method | initializes GVs for CPI | 20091009 | |
| 19 | Static method | Public | Method | Copy of item data with source = billing item | 20091109 | |
| 20 | Static method | Public | Method | Copy of item data with source = sales item | 20091109 | |
| 21 | Static method | Public | Method | Perform project operations in PS and retrieve Op WBS elmts | 20091020 | |
| 22 | Static method | Public | Method | Read CPI (Lean) configuration from PS | 20091020 | |
| 23 | Static method | Public | Method | 20091015 | ||
| 24 | Static method | Public | Method | Confirms the changes to staff assignments | 20091015 | |
| 25 | Static method | Public | Method | 20091020 | ||
| 26 | Static method | Public | Method | Check and remember if CommProjectInception pending for save | 20090929 | |
| 27 | 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 | 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 | IV_MSGID | Value transfer | Type reference (TYPE) | SYMSGID | Application Log: Message Data | 20091023 | |||
| 2 | IV_MSGNO | Value transfer | Type reference (TYPE) | SYMSGNO | Message Number | 20091023 | |||
| 3 | IV_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | Message Type | 20091023 | |||
| 4 | IV_MSGV1 | Value transfer | Type reference (TYPE) | SYMSGV | Message Variable | 20091023 | |||
| 5 | IV_MSGV2 | Value transfer | Type reference (TYPE) | SYMSGV | Message Variable | 20091023 | |||
| 6 | IV_MSGV3 | Value transfer | Type reference (TYPE) | SYMSGV | Message Variable | 20091126 | |||
| 7 | 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 | CV_ARCHIVABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091020 | ||||
| 2 | EV_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20091023 | ||||
| 3 | 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 | IT_VBEP | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20091006 | |||
| 2 | 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 | EV_NOT_DELETABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091202 | ||||
| 2 | IV_XVBAP | Call by reference | Type reference (TYPE) | VBAP | Sales Document: Item Data | 20091014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception regarding assignments to a Work Engagement | 20091202 | ||
| 2 | Authority Exception for Assignments | 20091202 | ||
| 3 | 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 | CS_VBAP | Call by reference | Type reference (TYPE) | VBAP | Sales Document: Item Data | 20091020 | |||
| 2 | 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 | IV_ISO_UNIT | Call by reference | Type reference (TYPE) | ISOCD_UNIT | ISO code for unit of measurement | 20090924 | |||
| 2 | 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 | IV_PERIOD_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Period Type of Work Period | 20090924 | |||
| 2 | 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 | CV_PRSDT | Call by reference | Type reference (TYPE) | PRSDT | Pricing Date | 20090923 | |||
| 2 | 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 | 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 | 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 | IS_KOMK | Call by reference | Type reference (TYPE) | KOMK | Communication Header for Pricing | 20090925 | |||
| 2 | IS_VBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20090925 | |||
| 3 | IS_VBAP | Call by reference | Type reference (TYPE) | VBAP | Sales Document: Item Data | 20090925 | |||
| 4 | IS_VBKD | Call by reference | Type reference (TYPE) | VBKD | Sales Document: Business Data | 20090925 | |||
| 5 | IS_VBRK | Call by reference | Type reference (TYPE) | VBRKVB | Billing Document: Header Data | 20090925 | |||
| 6 | IS_VBRP | Call by reference | Type reference (TYPE) | VBRPVB | Billing Document: Item Data | 20090925 | |||
| 7 | 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 | 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 | 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 | 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 | 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 | 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 | CS_VBAP | Call by reference | Type reference (TYPE) | VBAP | Sales Document: Item Data | 20091109 | |||
| 2 | IS_TVCPA | Call by reference | Type reference (TYPE) | TVCPA | Sales Documents: Copying Control | 20091109 | |||
| 3 | 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 | CT_VBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20091020 | |||
| 2 | IS_VBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20091020 | |||
| 3 | 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 | CT_VBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20091020 | |||
| 2 | IS_VBAK | Call by reference | Type reference (TYPE) | VBAK | Sales Document: Header Data | 20091020 | |||
| 3 | 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 | 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 | IT_VBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Table for structure VBAPVB | 20091020 | |||
| 2 | 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 | 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 |