Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 


Former Member
0 Kudos


I have an issue with parking invoice using BAPI_INCOMINGINVOICE_PARK where I am getting an error like "Tax code S4 in procedure is invalid". I can successfully park document while doing manually entry. Is anything missing here?

Following threads are not useful for me.


Former Member
0 Kudos

Some more findings,

(I am doing PO to Invoice - No GRN)

1-Tax code is mandatory inside creating purchase order, so we must supply tax code for all purchase line items.

2-(while debugging BAPI_INCOMINGINVOICE_PARK ) Inside "MRM_INVOICE_PARK" function module "TAB_DRSEG" table contains purchase order data line items at that place I am erasing tax code from all line items then after pressing F8 for execute and got resolved my issue I can get Parked MIRO number. But I strongly need tax code at purchase order as well as at the time of creating invoice.

*-Main issue is if I supply tax code error comes. If I create PO-GRN-Invoice with tax code then it will accept.

Need some functional help here.

0 Kudos

Posting succeed with BAPI but parking time error comes. "Tax code N0 in procedure  is invalid"

any idea ?

0 Kudos

Ensure tax code is created for the country code correctly and is assigned to the company code in J_1ICONDTAX table (This is done through configuration)

0 Kudos

Hi Avirat,

Can you please share the solution ?


Rehan Sayed