17
Synchronization between Contract and Project By Edukondalu, IBM India Abstract: SD Contracts and Project WBS Elements are independent objects in ECC that are linked via a WBS Element reference (PRPS-PSPNR) number. In native SAP, the WBS Element status can change without any intelligent reference to SD Contract statuses. This status change at WBS Element (Level 2) level needs to be controlled and synced up to Contract status (and vice versa) so that status integrity for Contract and Project WBS Elements is maintained. Also most of the Project Systems master data elements will be automatically populated and synchronized based on attributes in related SD Contract line items. Description For professional based projects, a Project / WBS Element structure is linked to a SD Contract. SD Contract document and WBS Element have system statuses that define the tasks that can be done on these documents. Some of these statuses have to be kept in synch to keep the process integrity of the SD Contract and WBS Elements. For example, an SD Contract document can not be closed, if the WBS is still in ‘Released’ status. Native SAP does not provide a control of status from SD Contract to WBS and vice-versa Native Project System does not have the functionality to maintain / sync-up SD Contract and WBS Element statuses and field attributes. This has been identified also as GAP (refer GAP_OTC_PR-076) and would require development effort to meet the above requirements. If the above enhancement is not developed, then the contract and WBS statuses and field information can get out of sync, causing a loss of data capture integrity. For example, if contract is completely closed, but WBS Element status allows cost capture for that contract, can cause costs not reported for the contract. Also change of Project Manager / Engagement Manager Information from SD Contracts not in synch with Person Responsible information on Project / WBS Elements. The synchronization of System and User Statuses between SD Contract Line Items and Project WBS Elements for Custom Contracts will span from “REL (i.e. Released)” to “FNBL (Final Billing)” status of SD Contract Line Items. The setting of system status to “TECO (Technically Completed)” or “CLSD (Closed)” will be carried out by either another program or manually done by end user. The synchronization of field information between SD Contract Line Items and Project WBS Elements will be continued till WBS Element has “CLSD (Closed)” system status. The synchronization process will update field and system & user status information on Project Definition, WBS Element Level 1 and WBS Element Level 2. For WBS Elements Level 3 and below, the status and other information will be manually updated by Project Managers. During the synchronization process, the information will flow from SD Contract / Contract Line Items to Project Definition / WBS Elements. The reverse scenario is not applicable. There are two parts in this development, 1st part comprising the synchronization of data between Contract and the level2 WBS that has been attached. Please click here for the sample code. Data Synchronization between the Contract and Project: The Following BAPI BAPI_PROJECT_MAINTAIN is very useful for synchronizing the data between the Project and the Level2 WBS Element. The Following Example Demonstrates How Data Synchronization Takes place between Contract and Project: The Below Screen Shot Shows the Contract Line Item Details: The Level2 WBS Attached to it is C.00965.001.002 and The Start and End dated of the Line Item are 06/29/ 2010 and 07/05/2010

Synchronization Btw Contract and Project

Embed Size (px)

Citation preview

Page 1: Synchronization Btw Contract and Project

Synchronization between Contract and Project By Edukondalu, IBM India

Abstract:

SD Contracts and Project WBS Elements are independent objects in ECC that are linked via a WBS Element reference (PRPS-PSPNR) number. In native SAP, the WBS Element status can change without any intelligent reference to SD Contract statuses. This status change at WBS Element (Level 2) level needs to be controlled and synced up to Contract status (and vice versa) so that status integrity for Contract and Project WBS Elements is maintained.

Also most of the Project Systems master data elements will be automatically populated and synchronized based on attributes in related SD Contract line items.

Description

For professional based projects, a Project / WBS Element structure is linked to a SD Contract. SD Contract document and WBS Element have system statuses that define the tasks that can be done on these documents. Some of these statuses have to be kept in synch to keep the process integrity of the SD Contract and WBS Elements. For example, an SD Contract document can not be closed, if the WBS is still in ‘Released’ status. Native SAP does not provide a control of status from SD Contract to WBS and vice-versa

Native Project System does not have the functionality to maintain / sync-up SD Contract and WBS Element statuses and field attributes. This has been identified also as GAP (refer GAP_OTC_PR-076) and would require development effort to meet the above requirements.

If the above enhancement is not developed, then the contract and WBS statuses and field information can get out of sync, causing a loss of data capture integrity. For example, if contract is completely closed, but WBS Element status allows cost capture for that contract, can cause costs not reported for the contract. Also change of Project Manager / Engagement Manager Information from SD Contracts not in synch with Person Responsible information on Project / WBS Elements.

The synchronization of System and User Statuses between SD Contract Line Items and Project WBS Elements for Custom Contracts will span from “REL (i.e. Released)” to “FNBL (Final Billing)” status of SD Contract Line Items. The setting of system status to “TECO (Technically Completed)” or “CLSD (Closed)” will be carried out by either another program or manually done by end user. The synchronization of field information between SD Contract Line Items and Project WBS Elements will be continued till WBS Element has “CLSD (Closed)” system status.

The synchronization process will update field and system & user status information on Project Definition, WBS Element Level 1 and WBS Element Level 2. For WBS Elements Level 3 and below, the status and other information will be manually updated by Project Managers. During the synchronization process, the information will flow from SD Contract / Contract Line Items to Project Definition / WBS Elements. The reverse scenario is not applicable.

There are two parts in this development, 1st part comprising the synchronization of data between Contract and the level2 WBS that has been attached.

Please click here for the sample code.

Data Synchronization between the Contract and Project:

The Following BAPI BAPI_PROJECT_MAINTAIN is very useful for synchronizing the data between the Project and the Level2 WBS Element.

The Following Example Demonstrates How Data Synchronization Takes place between Contract and Project:

The Below Screen Shot Shows the Contract Line Item Details:

The Level2 WBS Attached to it is C.00965.001.002 and The Start and End dated of the Line Item are 06/29/ 2010 and 07/05/2010

Page 2: Synchronization Btw Contract and Project

The Following Screen Shot Shows The responsible that has been given at the Contract Line Item:

The Employee responsible given is 106(Peck Troy) which needs to be Synchronized with the WBS attached

The Status of the Level2 WBS before Synchronization is

Page 3: Synchronization Btw Contract and Project

See below, there are No dates Before Synchronization:

The Following are the results after Synchronization Process:

Page 4: Synchronization Btw Contract and Project

The Second part of our development Includes Status Synchronization:

There are 3 cases in this Case:

Case1: High Volume Low Value (HVLV) Contracts / Project

Page 5: Synchronization Btw Contract and Project
Page 6: Synchronization Btw Contract and Project

According to Z table The Following Synchronization has to take place :

Page 7: Synchronization Btw Contract and Project

After Synchronization the Following changes has to occur:

Data has to be synchronized and Person Responsible has to be Synchronized and also dates and Status as well

Results after Synchronization Process:

Page 8: Synchronization Btw Contract and Project

Scenario 2: Custom Contracts with One Contract Line Item mapped to One WBS Element

Page 9: Synchronization Btw Contract and Project
Page 10: Synchronization Btw Contract and Project
Page 11: Synchronization Btw Contract and Project

The Results after Synchronization:

Page 12: Synchronization Btw Contract and Project
Page 13: Synchronization Btw Contract and Project
Page 14: Synchronization Btw Contract and Project

Scenario 3: Custom Contracts with Multiple Contract Line Items mapped to One WBS Element

Page 15: Synchronization Btw Contract and Project
Page 16: Synchronization Btw Contract and Project
Page 17: Synchronization Btw Contract and Project