cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST - Calculate tax automatically?

Former Member
0 Kudos

Hi Guru,

I encounter a problem where I do not know how and where to populate the Calculate Tax (FB01) fields in BAPI_ACC_DOCUMENT_POST.

When I manually run the tcode FB01 create FI document, I manually CHECK the Calculate Tax check box, then SAP will automatically calculate the tax amount . Therefore, I would like the BAPI to react the same thing as what i did in manual way.

Many thanks in advance.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Lord,

Take the name of the field which comes in FB01 for tax calculation. Debugg your BAPI and see where or at which place this filed comes. So once you know where to CHECK the field in the BAPI for tax calculationand then pass the 'X' to CHECK the field.

Above is not exact solution to your problem, but it will give you some idea.

Regards,

Sarvesh