09-29-2008 4:56 PM
Hi All,
When you are creating a PO using transaction ME21N the tax code is determined automatically for you.
From a technical point of view how can I replicate what ME21N does to determine the tax code?
I have tried debugging the transaction but I was unable to figure it out myself.
Many Thanks for any help you can provide,
Colm
09-29-2008 5:20 PM
Try this [link|http://sample-code-abap.blogspot.com/2008/06/calculate-tax-of-purchase-order-line.html]
09-29-2008 5:20 PM
Try this [link|http://sample-code-abap.blogspot.com/2008/06/calculate-tax-of-purchase-order-line.html]
09-29-2008 5:58 PM
Thank you for your suggestion however it doesn't quite meet my demands.
I think I should be clearer.
When the user is in ME21N, the user can input the Vendor, the material number, the quantity, the price and the plant.
If the user presses the return key after just entering this information the tax code is populated on the invoice tab.
I need to know how the ME21N transaction decides what tax code to populate in this field.
Many thanks again,
Colm
09-30-2008 10:10 AM
When debugging the code I found this Function Module: FI_F4_MWSKZ however when I test this in SE37 using the values i_kalsm = 'TAXIE' and i_lstml = 'IE' I get a table of results.
Hopefully this will narrow the search down for someone.
Many thanks again,
Colm
10-21-2010 4:56 PM