on 06-04-2014 4:14 PM
Hi Experts,
In FB01 tcode when we post the invoice separate tax line item is getting created automatically.
But we are posting invoice with BAPI_ACC_DOCUMENT_POST here it is not happening.
Before posting this question here found a thread https://scn.sap.com/docs/DOC-43262.
Here from the thread info we implemented the BADI and enabled the tax calc flag and implemented the exit.
Still the separate tax line item is not getting created.
Can any one please clarify how we can acheive that functionality.
Thanks in advance.
kind regards,
Shiva
perhaps, below thread will help you.
https://scn.sap.com/thread/1789114
http://scn.sap.com/community/abap/blog/2013/07/23/accounttax-in-bapiaccdocumentpost
http://scn.sap.com/thread/1892693
Thanks,
Deepanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Deepanshu / Mani Kumar,
Thanks for quick reply.
With those FMs if we enter the tax values to BAPI it is not displaying it as separate line item.
Here our requirement is to post tax as seperate line item.Kindly please let me know how to acheive it.
Thanks in advance
Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shivram,
Your requirement is post FI document with tax line item's automatically with using above BAPI ( FI Posting) ! Suppose you want to post vendor invoice as mentioned below.
Expenses account.......Dr.....100
Input tax account.........Dr.......10
To Vendor account..............Cr....110
Your upload format should be as mentioned below to post above document in SAP.
Item No | Company code | Pos.date | Doc.date | Currency | Ref | Header text | PK | Account | Amount | Tax code | Assignment | Text |
00001 | 1234 | 28.05.2014 | 28.05.2014 | USD | TEST | TEST | 40 | E1234 | 5600 | XA | TST | TEST |
00002 | 1234 | 28.05.2014 | 28.05.2014 | USD | TEST | TEST | 31 | 1001 | 6160 |
Tax code line item of above '00001 pass in to Calculate tax BAPI which was mentioned above with all required fileds & you can get one retrun table over there > those line items ,you have to pass as additional line item in FI document. ( Through coding). Check with technical consultant.
Read note : 1873588 - Filling tax information for BAPIs
626235 - Tax postings with accounting BAPIs
Above notes only information purpose
Regards
Mani Kumar
Hi Shivaram,
CALCULATE_TAX_FROM_GROSSAMOUNT / CALCULATE_TAX_FROM_NET_AMOUNT
You must have to use above said BAPI's based on your requirement to fetch TAX line items separatly & adopt same line items in BAPI_ACC_DOCUMENT_POST to post FI document. Must be pass tax code ,currency,either gorss or net amount of expenses in above BAPI's & you can get taxable line items ( If nondeducible ,you can get amount only without tax GL accounts and condition's types).You can get all details like tax GL accounts ,condition's ,accounting key & tax line item wise amounts ,if it is deducitble).
Regards
Mani Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shiva,
Check if relevant tax code is also getting passed to BADI.
Thanks,
Deepanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.