5 Replies Latest reply: May 14, 2007 2:46 PM by Nilesh Shete RSS

User Exit for Invoice Receipt (IR)

Patrick Teo
Currently Being Moderated

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

  • Re: User Exit for Invoice Receipt (IR)
    Vijayendra Rao
    Currently Being Moderated

    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

  • Re: User Exit for Invoice Receipt (IR)
    Mrutyunjaya Tripathy
    Currently Being Moderated

    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

  • Re: User Exit for Invoice Receipt (IR)
    Samson Moses
    Currently Being Moderated

    Hi Patrick,

      Use the

    BADI  - > INVOICE_UPDATE,

    METHOD - > CHANGE_BEFORE_UPDATE.

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

     

    Regards,

    Samson

Actions