11-21-2014 2:04 AM
Hello,
We are implementing the use of IDOC message type INVOIC01 to post MM invoices from our suppliers (EDI). Today, our vendor invoices contain one or more surcharges (Freight, Fuel, pallets, etc). We originally considered using EXIT_SAPLMRMH_014 to handle unplanned delivery charges. However, this method produces a net value of all the surcharges and applies it to 1 account; and to our business stakeholders this method is unacceptable. They want to break out these surcharges to separate GL accounts, in order to have better visibility on the Cost of Goods sold.
We have since turned our attention to EXIT_SAPLMRMH_015 to achieve this. However, we don't know how to pass the GL account, Surcharge Valie, etc into the User Exit. We tried several INVOIC01 segments, but the data is never visible in EXIT_SAPLMRMH_015, via debug mode.
Can someone please explain how this data is passed from the IDOC (segment) over to the user exit?
Thanks in advance,
Jose
01-27-2015 3:33 PM
01-27-2015 4:34 PM
Hi Kala,
Unfortunately there's no straight forward way of implementing this functionality without a heavy dose of customization...which is what we ended up doing.
Regards,
Jose
01-27-2015 5:30 PM
Were you able to get this to work just by customization?
Did you activate the user exit as well? If so, how did you pass the GL?
I would appreciate if you can give some pointers.