Skip to Content
avatar image
Former Member

Query on incoming invoice

Hi Experts,

I have a requirement which goes like this.

Vendor sends invoice through EDI and it updates SAP system through an IDoc. Now, we need to capture the invoice details in that IDoc and write a program in such a way that it automatically posts an invoice in SAP system through MIRO t.code and this invoice gets updated in Purchase Order history tab in Purchase Orders.

Moreover, vendor sends additional costs in invoice like, Freight, Surcharge, Fuel charge, Service charge etc. and we are planning to post these costs in G/L account tab in MIRO which adds the cost directly to G/L account.

We are currently going with an enhancement for this requirement. But, can you suggest, if the above requirement can be achieved through standard SAP configuration or through any BADI Please advice.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 13, 2015 at 09:45 AM

    why dont you use the standard SAP incoming invoice Idoc "INVOIC" ? This would post the MIRO automatically.

    You need to maintain the Partner Profile for LI-Vendor , in that maintain INVOIC as an inbound Parameter .

    For posting some additional costs directly to GL account, you first need to activate that functionality to Post Unplanned delivery costs directly to GL accounts in: OLMR->Configure how unplanned delivery costs are posted -> and select Option "2" for the company code.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 13, 2015 at 02:13 AM

    Dear Ravi,

    Kindly try the same with following BADI





    Karna J

    Add comment
    10|10000 characters needed characters exceeded