Ansicht
Dokumentation

/CPD/PWS_BADI_RO_STS - BAdI: Check Reference Object Status

/CPD/PWS_BADI_RO_STS - BAdI: Check Reference Object Status

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Project Workspace (CA-CPD-WS) component of Commercial Project Management (CA-CPD). You can use this BAdI to implement your logic to validate a reference object during assignment to a commercial project.

Corresponding RFC connections exist if the reference object is in a different system.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

The default BAdI implementation (fallback class /CPD/CL_PWS_FB_REF_OBJ_STAT) does the following:

  • The logical system of the CRM Opportunity object type is determined.
  • Standard BAPI BAPI_OPPORTUNITY_GETDETAILMUL is called to read the header status of the CRM Opportunity.
  • If the status of the CRM Opportunity header is either Won (E0003) or Lost (E0004) then assignment of the CRM Opportunity to the commercial project is not allowed. A corresponding message is displayed and further processing is stopped. Assignment is allowed for all other statuses of the CRM Opportunity.

BAdI method documentation:

CHECK_REF_OBJECT_STATUS






Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1794 Date: 20240420 Time: 133816     sap01-206 ( 28 ms )