Write-Up: Enhancement LMR1M002 (MM-IV)
The enhancement LMR1M002 is a customer-specific functionality in SAP Materials Management (MM) that enables the determination of GR/IR clearing accounts based on purchase order data. This feature provides greater flexibility in handling specific account assignment requirements during goods and invoice receipts.
Released with SAP Release 4.6B, LMR1M002 is especially useful for organizations that require custom logic for managing their GR/IR clearing account postings. It utilizes EXIT_SAPLKONT_011, a customer exit function module, to achieve tailored account groupings for the WE/RE (goods receipt/invoice receipt) account determination.
Functionality Overview
Customer Exit:
EXIT_SAPLKONT_011 is the main function module used in the enhancement. It integrates with the MR_ACCOUNT_ASSIGNMENT function module to customize account determination during the following scenarios:
- Posting a goods receipt for a purchase order.
- Posting an invoice in conventional invoice verification using Transaction MR01. (Note: This method is no longer maintained as of Release 4.6C.)
- Posting an invoice in logistics invoice verification using Transactions MR1M or MIRO. (In Release 4.6C, MIRO fully replaces MR1M.)
The function module accepts purchase order data, such as the purchase order number (EXIT_EBELN) and item number (EXIT_EBELP), as import parameters. It returns the appropriate account grouping code, enabling the system to determine the correct GR/IR clearing account for postings.
Key Features and Implementation
Customization Possibilities:
- The enhancement allows for GR/IR account assignment logic based on specific criteria such as vendor, invoicing party, or freight supplier.
- Customers must ensure that postings for goods receipt and invoice receipt are made to the same GR/IR clearing account, as the system does not enforce this check.
Example Logic:
To define GR/IR clearing accounts based on the vendor or invoicing party:
Retrieve vendor details from the purchase order:
- EKKO-LIFNR: Vendor
- EKKO-LIFRE: Invoicing party
Determine the freight supplier:
- KONV-LIFNR: Freight cost vendor
Prerequisites:
- Activate LMR1M002 in customer enhancements.
- Configure account grouping codes in Customizing for account key WRX under the relevant rules.
Benefits of LMR1M002
- Flexibility: Enables tailored GR/IR account assignments based on business-specific requirements.
- Improved Control: Allows for more granular management of GR/IR clearing processes, helping meet regulatory and internal accounting needs.
- Scalability: Facilitates better integration with evolving business processes, particularly in multi-vendor or complex purchasing scenarios.
Article: Enhancing GR/IR Account Determination with LMR1M002 in SAP MM
Introduction
Efficient financial accounting is critical for organizations using SAP Materials Management (MM). One key area is the GR/IR (Goods Receipt/Invoice Receipt) clearing process, which plays a vital role in ensuring accurate accounting of goods and services received against purchase orders. SAP's LMR1M002 enhancement offers a robust solution for businesses requiring custom account determination logic, catering to unique purchasing and vendor scenarios.
Overview of LMR1M002
Introduced in SAP Release 4.6B, the LMR1M002 enhancement uses the EXIT_SAPLKONT_011 customer exit to customize the GR/IR account determination process. This enhancement provides the flexibility to assign clearing accounts dynamically based on purchase order data, including vendors, invoicing parties, and freight suppliers.
Use Cases
LMR1M002 is especially relevant in scenarios involving:
- Diverse vendor relationships with varying financial implications.
- Complex purchase orders requiring tailored GR/IR account handling.
- Compliance needs for distinct account posting rules.
Technical Implementation
To implement LMR1M002 effectively:
- Activate the enhancement in Customer Enhancements.
- Define rules for account grouping codes in Customizing for account key WRX.
- Develop custom logic using the EXIT_SAPLKONT_011 function module, considering:
- Vendor information from the EKKO table.
- Freight suppliers using conditions in the KONV table.
For example, the following ABAP code retrieves vendor details:
Benefits
The LMR1M002 enhancement empowers businesses by:
- Streamlining GR/IR processes: Simplifies financial workflows by aligning account determination with business logic.
- Increasing accuracy: Reduces errors in financial postings by ensuring consistent account assignments.
- Supporting scalability: Adapts to complex business needs, such as multi-vendor setups or global operations.
Conclusion
SAP's LMR1M002 enhancement is a powerful tool for customizing GR/IR account determination in Materials Management. By leveraging this functionality, organizations can achieve greater financial accuracy, enhance compliance, and streamline procurement-related accounting processes. Whether you're navigating multi-vendor complexities or aiming for more tailored financial workflows, LMR1M002 is a valuable addition to your SAP MM toolkit.
No comments:
Post a Comment