Hierarchy

⤷

⤷

IMG Activity
ID | MRM_ERS_HDAT_MODIFY | BAdI to Change Document Header Data in ERS |
Transaction Code | S_AC0_52000859 | (empty) |
Created on | 20050406 | |
Customizing Attributes | MRM_ERS_HDAT_MODIFY | BAdI to Change Document Header Data in ERS |
Customizing Activity | MRM_ERS_HDAT_MODIFY | BAdI to Change Document Header Data in ERS |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | MRM_ERS_HDAT_MODIFY |
Use
This Business Add-In is used in the component MM-IV.
You can use it to change various document header data in vendor invoices in the automatic settlement of planned delivery costs (ERS).
It is realized in the report RMMR1MDC. The auxiliary module MRMBADI_ERS_HDAT_MODIFY is invoked, which, in turn, contains the actual invocation of the Business Add-In MRM_ERS_HDAT_MODIFY. Here, a check is first made as to whether the Business Add-In is active.
The following data is made available to the Business Add-In:
- I_RBKPV (Document header)
- TI_ERS_DC (Delivery costs to be settled)
The Business Add-In returns the following data:
- E_RBKPV_IS_CHANGE (Document header fields that can be changed)
- E_CHANGE (Must be set to 'X' for the changes to be adopted)
Requirements
Standard settings
The Business Add-In cannot be used multiple times.
The Business Add-In is not filter-dependent.
There is no default implementation.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
Example
Business Attributes
ASAP Roadmap ID | 153 | Design enhancements |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | MRM_ERS_HDAT_MODIFY | 0 | HLA0100773 | ERS |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20050406 |
SAP Release Created in | 600 |