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

Problem in Posting a document using BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
490

Hi,,

I am using the function module "BAPI_ACC_DOCUMENT_POST" to post a vendor Invoice (KR). i think the t-code to post this is FV60.when i post the document, the document number is getting generated but amount is missing in t-code fbv3 but bseg table is getting updated properly. Can any one help the actual input to be given to create a document and tax

Regards

2 REPLIES 2
Read only

Former Member
0 Likes
426

I have a suggestion:

Try to post this kind of document (KR) with transaction code FB01. If you can see the document correctly with FBV3 transaction, then you can use BAPI you mention.

The following function modules may be useful for calculating taxes:

CALCULATE_TAX_FROM_NET_AMOUNT

CALCULATE_TAX_FROM_GROSSAMOUNT

Regards.

Rafael Rojas.

Read only

Former Member
0 Likes
426

Check following Shweta's thread in this thread some of example code and also explain how to pass parameter