Query on incoming invoice
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.
Thanks for your replies. But, by activating OLMR->Configure how unplanned delivery costs are posted -> and select Option "2" for the company code, does this allow me to post unplanned del. cost to diff. G/L accounts?
Like for example, in an invoice, I have multiple unplanned del. costs (Freight, Surcharge, Fuel charge, Service charge etc), can system automatically post each cost to diff. G/L account in a single shot?