Ansicht
Dokumentation
/CPD/PWS_BADI_RO_STS - BAdI: Check Reference Object Status
Vendor Master (General Section) CPI1466 during BackupThis documentation is copyright by SAP AG.
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:
RFUMSV00 - Advance Return for Tax on Sales/Purchases SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 1794 Date: 20240523 Time: 204243 sap01-206 ( 30 ms )