Skip to Content
author's profile photo Former Member
Former Member

How to get the tax spliting functionality using BAPI_ACC_DOCUMENT_POST

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2014 at 04:11 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2014 at 01:41 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2014 at 04:10 PM

    Hi Shiva,

    Check if relevant tax code is also getting passed to BADI.

    Thanks,

    Deepanshu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2014 at 08:56 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.