‎2006 Jun 21 12:14 PM
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
‎2006 Jun 21 12:18 PM
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
‎2006 Jun 21 12:27 PM
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.
‎2006 Jun 21 12:35 PM
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