Hierarchy

⤷

⤷

⤷

IMG Activity
ID | BADI_ME_MAA_ADJUST | BAdI: Adjust MAA Distribution for Final Account Assignment |
Transaction Code | S_EB5_05000455 | (empty) |
Created on | 20091027 | |
Customizing Attributes | BADI_ME_MAA_ADJUST | BAdI: Adjust MAA Distribution for Final Account Assignment |
Customizing Activity | BADI_ME_MAA_ADJUST | BAdI: Adjust MAA Distribution for Final Account Assignment |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | ME_MAA_ADJUST |
Use
This Business Add-In (BAdI) is used in the Purchasing (MM-PUR) component.
This BAdI is called during processing of purchase order items.
If you have set the final account assignment indicator for an account assignment item, the system must clear the quantity difference caused by the final account assignment. You can distribute this difference manually across the remaining open account assignment items, you can add new account assignment items, or you can reduce the quantity at purchase order item level by the quantity difference that has arisen.
This BAdI allows you to use an algorithm to specify individually how quantity differences that arise when you set the final account assignment indicator should be distributed across the remaining account assignment items. When you implement this BAdI you can use the Adjust Distribution pushbutton on the Account Assignment tab to redistribute the quantity difference according to the algorithm you have saved.
Requirements
You have activated business function PSM, Multiple Account Assignment - Final Account Assignment Indicator (PSM_MM_MAA). You are working with purchase order items with multiple account assignments, for which a valuated goods receipt or no goods receipt is expected. The final account assignment indicator is set for at least one account assignment item.
Standard settings
The BAdI is not implemented in the standard system.
The Business Add-In can be used multiple times.
The Business Add-In is not filter-dependent.
You can use the example implementation CL_EXM_ME_MAA_ADJUST to redistribute quantity differences that arise when you set the final account assignment indicator for individual account assignment items across the the remaining account assignment items.
If you use the example implementation and, after setting the final account assignment indicator, choose the Adjust Distribution pushbutton in the details of the purchase order item, the system first calculates the quantity difference. The system then distributes this difference across the remaining account assignment items in accordance with the distribution logic you selected, and checks that the sum of the changed values and quantities at account assignment level matches the value or the quantity for the purchase order item.
Activities
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
Example
To display sample code, in the BAdI Builder choose Goto --> Sample Code --> Display.
See also:
The BAdI uses the interface IF_EX_ME_MAA_ADJUST. For more information, display the interface in the Class Builder.
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20091027 |
SAP Release Created in | 605 |