Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8877

BAPI_ACC_DOCUMENT_POST-tax on vendor line

$
0
0


Hi Folks,

 

I am using the BAPI_ACC_DOCUMENT_POST to post a document against a GL account(debit) and onetime vendor(credit). I am populating G/L account item with the tax code. The account payable has the details of the one time vendor and customer CPD for one time vendor is also populated. It is all working fine and i am able to post the documents. The issue is if I have a tax code on the 'accountgl' line the same tax code also reflects in the one time vendor line. In the 'accountpayable' the taxcode is blank against the vendor.

 

This does not affect the posting. The one time vendor does not have a tax code option when we create a document manually. It is just visible in FB03 with no cosequences of the amount or additional line item for tax being created.

How do I avoid the tax code to reflect in the 'accountpayable' i.e agaisnt the vendor.? I have tried forcefully changing the value in BADI_ACC_DOCUMENT~CHANGE. But the tax code against vendor line is blank here as required.

 

Thanks


Viewing all articles
Browse latest Browse all 8877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>