User Exit for Invoice Receipt (IR)

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.




Helpful Answer