Ansicht
Dokumentation
CRMS4_REPA_ITEM_ACTN - BAdI: Adjust Actions for In-House Repair Items
rdisp/max_wprun_time - Maximum work process run time BAL Application Log DocumentationThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the In-House Repair (CRM-S4-IHR) component.
You can use this BAdI to add actions to an in-house repair item (repair object) or to remove actions from an in-house repair item at runtime in specific In-House Repair apps.
You must make the following settings in Customizing for Service:
- In the Define Action Profiles and Actions Customizing activity, you have defined the action definitions for the relevant action profile.
- In the Assign Action to Status of In-House Repair Item Customizing activity, you have set up the action definitions that you can adjust using the BAdI.
You can use the BAdI implementation CRMS4_REPA_ADAPT_QTAN_ACTNS (Adjust Action "Add Repair Object to Repair Quotation") to adjust the action definitions that you have configured for the Perform Prechecks app in the Assign Action to Status of In-House Repair Item Customizing activity. When you assign repair objects (in-house repair items) to repair quotations in the Perform Prechecks app, the BAdI implementation searches for repair quotations with the status Open or Under Review and that have already been created for repair objects for the same in-house repair.
The BAdI implementation returns a data record to the parameter INHREPAIRITEMEXECTBLACTION for each repair quotation that meets the requirements that contains the following information:
- The initial action definition that is copied from the importing parameter INHREPAIRPOSTPROCGACTNDEF
- The repair quotation ID that is written in the field INHREPAIRACTIONPARAMETERTEXT
- The action description (long text) that is stored in the field INHREPAIRACTIONDESCRIPTION, and that also contains the repair quotation ID
For each data record that is returned to the parameter INHREPAIRITEMEXECTBLACTION by the BAdI implementation, for example, for each applicable repair quotation, the system generates a button that is displayed on the Perform Precheck Details screen in the Perform Prechecks app. The action is executed when the user clicks the corresponding button on the UI. The system then transfers the repair quotation ID, that has been written in the field INHREPAIRACTIONPARAMETERTEXT, to the action as a parameter. The action description (long text) that is stored in field INHREPAIRACTIONDESCRIPTION is displayed on the button.
If no applicable repair quotations exist, the BAdI implementation does not add any data records to the parameter INHREPAIRITEMEXECTBLACTION. Only a button to create a new repair quotation is then displayed on the UI.
BAdI method documentation: Adjust Action
CPI1466 during Backup BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 3688 Date: 20240523 Time: 163306 sap01-206 ( 72 ms )