Ansicht
Dokumentation
CPRO_BAPI_BUS2173APP - BAdI: Approval for BOR Object Phase
CPI1466 during Backup BAL Application Log DocumentationThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Project Management (PPM-PRO) component. This BAdI enables you to use the customer-defined fields for the approval of a phase in the BAPIs too.
The ApprovalCreate, ApprovalChange, ApprovalBegin, ApprovalCancel, ApprovalVersionCreate, ApprovalReject, and ApprovalGrant methods contain the importing parameter IS_EXTENSION_IN and the exporting parameter ES_EXTENSION_OUT for you to use. The ApprovalGetDetail method also contains the IS_EXTENSION_OUT exporting parameter.
- If you fill the IS_EXTENSION_IN extension structure correctly and have implemented the methods named below of the BAdI, you can carry out customer-defined checks before the action that belongs to the method is performed for the current approval.
- If the method in the return table returns at least one message of the type 'E', 'A', or 'X', the system cancels the processing of the BAPI.
Method | Action | |
---|---|---|
CREATE_EXIT_IN | Create approval | |
CHANGE_EXIT_IN | Change approval (name and comment) | |
BEGIN_EXIT_IN | Start approval | |
CANCEL_EXIT_IN | Cancel approval | |
CREATE_VERSION_EXIT_IN | Create version for approval | |
REJECT_EXIT_IN | Reject approval | |
GRANT_EXIT_IN | Grant approval |
- If you fill the IS_EXTENSION_IN extension structure correctly in the ApprovalChange method and if the Extensions indicator has been set in the update structure, you can use the CHANGE_EXIT_MAP method of the BAdI to fill the customer-defined fields of the CI structure CI_DPR_APPROVAL with the values from this extension structure.
- After the action for the current approval has been performed, you can fill the ES_EXTENSION_OUT
exporting structure provided that the IS_EXTENSION_IN importing structure has been filled correctly and you have implemented the methods named below of the BAdI.
This method cannot undo the action. All messages in the return table are transferred to the log.
Method | Action |
---|---|
CREATE_EXIT_OUT | Create approval |
CHANGE_EXIT_OUT | Change approval (name and comment) |
BEGIN_EXIT_OUT | Start approval |
CANCEL_EXIT_OUT | Cancel approval |
CREATE_VERSION_EXIT_OUT | Create version for approval |
REJECT_EXIT_OUT | Reject approval |
GRANT_EXIT_OUT | Grant approval |
- You can use the GET_DETAIL_EXIT_MAP method of the BAdI to transfer the customer-defined fields (that is, the content of the CI_DPR_APPROVAL CI include for the current approval) to the ES_EXTENSION_OUT parameter.
CPI1466 during Backup General Material Data
This documentation is copyright by SAP AG.
Length: 6516 Date: 20240523 Time: 154849 sap01-206 ( 65 ms )