cancel
Showing results for 
Search instead for 
Did you mean: 

Query on incoming invoice

Former Member
0 Kudos

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.

Thanks,

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

raviraj_sharma
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi,

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?

Please advice.

Former Member
0 Kudos

it will post to single G/L account

raviraj_sharma
Active Contributor
0 Kudos

I think it will post to a  single GL account.  But  I think manually in MIRO  you  should be allowed to select  multiple GL accounts  and manually distribute the cost.

else You can try to  use the Business Add-In MRM_UDC_DISTRIBUTE to define your own rules for

distributing unplanned delivery costs.

Former Member
0 Kudos

Hi All,

Thanks for your replies. I am closing this thread now.

Former Member
0 Kudos

Hi All,

Thanks for your replies. I am closing this thread now.

JL23
Active Contributor
0 Kudos

A discussion does not get closed by a reply with a statement "closed" , you have either to click one answer as correct or your discussion as "assumed answered", guidance with some pictures can be found here

Former Member
0 Kudos

Hi Jurgen,

Thank You. I am actually doing that. But, before that, you replied.

Answers (1)

Answers (1)

former_member201529
Active Contributor
0 Kudos

Dear Ravi,

Kindly try the same with following BADI


INVOICE_UPDATE,


MRM_TRANSFER_PRIC,


MRM_MSR_PRICE_DEVIATION

Regards,

Karna J