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
504

Hi,

I am using the above BAPI for posting transport bills directly into FI. Posting without With Holding Tax is happening correctly.

I am unable to do posting with With Holding Tax codes maintained in Vendor Masters.

Can anyone help me in guiding the procedure to be followed for the doing the same. We are using 4.7 version.

regards,

JP

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
440

Did you go through [Note 626235 - Tax postings with accounting BAPIs|https://service.sap.com/sap/support/notes/1130678]

Regards,

Raymond

Read only

0 Likes
440

Hi,

I am not able to find ACCOUNTWT parameter in this BAPI. We are using R/3 4.7.

regards,

JP

Read only

0 Likes
440

Hi Naidu,

You have to use BADI, "BADI_ACC_DOCUMENT" to populate this field. This badi is being called from BAPI_ACC_DOCUMENT_POST.

In BADI, use the method 'CHANGE', there is an internal table it_accit. Modify field QSSKZ in this internal table.

1. First you put a debugger in 'PERFORM call_badi' statement of BADI_ACC_DOCUMENT.

2. Then double click above perform and modify it_accit internal table in method 'CALL METHOD g_exit->change'.

3. Execute and check whether this value is properly appeared in transaction or not.

If success, code it accrodingly..You can try other internal tables too in 'CALL METHOD g_exit->change' if needed.

Thanks..

SD