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

BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
476

While posting from FB01. The system automatically calcutes the tax from the given tax code and creates a new line item in the accounting document. How is this acheived used the BAPI. Please provide sample code if available.

Thanks in advance

3 REPLIES 3
Read only

sridharreddy_kondam
Active Contributor
0 Likes
427

Hi Raju,

Check these Links

<b>http://www.sapfans.com/forums/viewtopic.php?t=137643&highlight=bapiaccdocumentpost

http://www.sapfans.com/forums/viewtopic.php?p=76232&sid=2fc143b7a343e5d549a10daa1a17de68</b>;

Regards,

SridhaR

Read only

Former Member
0 Likes
427

Yes that is fine i already have this code, the issue tax should be calculated on one of the items and posted. This is done in FB01, by clicking the calculate tax check box and giving the tax code. How is this done using the BAPI. I want to post the tax line item.

Read only

Former Member
0 Likes
427

HI,

as far I know FI BAPIs as well as IDOC for posting FI documents are not supporting tax determination. You have to provide them as line item. If you need functionality which can determine automatically tax items you have to wirte your custom function module based on CALL TRANSACTION.

Kind Regards,

Remek