Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

G/L account in MIRO : BADI

Former Member
0 Kudos
654

Hi Experts,

My requirement is to update the G/L a/c number according the material Group enterd in the PO.

While running MIRO, I need to give the G/L a/c to which the amount is going to be posted. This G/L has to be validated based on the Material group in the PO.

Based on Matgroup, G/L number should be picked up. if the user selects the diffrerent G/L, system should throw an error , that, this is not the G/L and so and so si the correct G/L.

I am trying to do it in INVOICE_UPDATE , BADI, but, when I tried, No Matgroup field in the interface parameters. If I could find the Matgroup there, I can determine the G/L.

Pls suggest me regarding.

Regards,

Sujatha.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
197

Consider using user exit EXIT_SAPLMR1M_002 - Change Proposed Account Assignment under enhancement LMR1M001 for MIRO.

Using BADI to output error message usually is not working as it kicks out the whole transaction.

Vladimir.

3 REPLIES 3

Former Member
0 Kudos
198

Consider using user exit EXIT_SAPLMR1M_002 - Change Proposed Account Assignment under enhancement LMR1M001 for MIRO.

Using BADI to output error message usually is not working as it kicks out the whole transaction.

Vladimir.

Former Member
0 Kudos
197

Hi,

try these User-Exits

Transaction Code - MIRO Enter Invoice

Exit Name Description

LMR1M001 User exits in Logistics Invoice Verification

LMR1M002 Account grouping for GR/IR account maintenance

LMR1M003 Number assignment in Logistics Invoice Verification

LMR1M004 Logistics Invoice Verification: item text for follow-on docs

LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting

LMR1M006 Logistics Invoice Verification: Process XML Invoice

MRMH0001 Logistics Invoice Verification: ERS procedure

MRMH0002 Logistics Invoice Verification: EDI inbound

MRMH0003 Logistics Invoice Verification: Revaluation/RAP

MRMN0001 Message output and creation: Logistics Invoice Verification

Regards

Nilesh

0 Kudos
197

Hi Sujatha,

Has this problem been resolved yet?

I'm just facing a similar problem as yours and would like to know how you fix it if it was done. Thanks a lot in advance!

Best regards,

Miao