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: 

User Exit for Invoice Receipt (IR)

Former Member
0 Kudos

Hi all,

Apparently, I have a third party system which will generate PO/SO number, and interface to SAP in generating PO/SO via BDC program. The third party PO/SO number will be stored as followed:

EKKO_CI-ZZALSORGPO = Purchase Order Number

VBAK-ZZAILIS_INV = Sales Order Number

Those numbers will be stored in Customer Data tab in the header data (e.g. ME21N/VA03).

However, for MM module, when I come across to Invoice (IR) generation (trx: MIR7 or MIRO), the line item could not capture the third party PO number, for the purpose of posting Accounting Document and FI Posting.

Can you please suggest an user exit where I can grab the third party PO number from SAP PO Number from transaction MIR7 and MIRO? I've tried to use user exit LMR1M001, but seems doesn't serve the purpose.

Any advise is much appreciated.

Cheers,

Patrick

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Patrick,

Did you try these?

EXIT_SAPLMRMP_010

MM08R001

EXIT_RMMR01RS_002

MM08R002

EXIT_SAPMM08A_001

EXIT_SAPMM08R_001

Alternatively you can use dynamic assign to get the required values in a user exit.

Cheers

VJ

5 REPLIES 5

Former Member
0 Kudos

Hi Patrick,

Did you try these?

EXIT_SAPLMRMP_010

MM08R001

EXIT_RMMR01RS_002

MM08R002

EXIT_SAPMM08A_001

EXIT_SAPMM08R_001

Alternatively you can use dynamic assign to get the required values in a user exit.

Cheers

VJ

0 Kudos

Hi VJ,

Thanks for your info. However, I would need to post the third party PO number to Accounting Document (BSEG-XREF3) as BSEG-SGTXT is already been occupied for some reason. Can you please suggest another user exit?

Appreciate your help.

Many thanks,

Patrick

0 Kudos

Dear Patrick,

Could you provide me the name of user exit which you are using to update PO number in BSEG-SGTXT field of accounting document. I am having the same requriement.

Thanks in stack

Nilesh

Former Member
0 Kudos

HI

GOOD

check with the folloing user exits.

MIR7->

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

MIRO->

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

THANKS

MRUTYUN

Former Member
0 Kudos

Hi Patrick,

Use the

BADI - > INVOICE_UPDATE,

METHOD - > CHANGE_BEFORE_UPDATE.

Here U can have the RSEG,RBKP,GL Accounting Tables etc.

Regards,

Samson