cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST for Parking with withholding Tax

0 Kudos

Dear All,

We have developed a custom program with using BAPI_ACC_DOCUMENT_POST for parking the document. It is working fine but we stuck in a below scenario:

We have assigned two tax code in vendor master

A1 for TDS on contractor rated 2%.

J1 for TDS on professional services rated 10%

During parking of document through BAPI system is not giving me any pop up screen like FBV1 transaction code to remove it. So both the code gets deducted at the time of FBV0 (with reference of parking through BAPI).

Please suggest how we can control this situation.

Regards,

Ravi

coleti
Active Contributor
0 Kudos

Dear Ravi,

What you mean by "during parking of document through BAPI system is not giving me any pop up screen like FBV1" ? This is not the behaviour of this BAPI.

Best regards,

Gabriel Coleti

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Dear Gabriel,

Thanks for your input. We applied suggested note and it's updating correct value in table except few:

Through FBV1

VBSEGS – HWMET field getting update with E.

TBTKZ field getting updated with value blank.

VBSEGK – XSKFB field getting updated with value X.

VBKPF – XBWAE getting update with X

XPRFG getting update with X

Through BAPI

VBSEGS – HWMET field getting update with blank.

TBTKZ field getting updated with value S.

VBSEGK – XSKFB field getting updated with value Blank.

VBKPF – XBWAE getting update with blank

XPRFG getting update with blank.

I have only one doubt for field XSKFB only which is not updating in case of BAPI.
coleti
Active Contributor
0 Kudos

Dear Ravi,

I am not sure if this indicator is related to the Withholding posting. It´s use to calculate amounts qualifying for cash discount.

Best regards,

Gabriel Coleti

coleti
Active Contributor
0 Kudos

As I know, if you do not inform the ACCOUNTWT in the importing parameter, the WHT will not be calculated.

But check the following OSS Note if they are applied in your system:

2342497 - Parking via the accounting interface, for instance with 'BAPI_ACC_DOCUMENT_POST', and exte...

2349797 - Parking via the accounting interface, for instance with 'BAPI_ACC_DOCUMENT_POST', and exte...

BR,

Gabriel Coleti

0 Kudos

Dear Gabriel,

Actually if you run FBV1 for vendor invoice processing you will get below pop-up screen due to withholding tax assignment in vendor master: if we want to remove BB , AI or both we can do it here. But same option is not available in BAPI. BAPI is posting both tax code. How we can handle same in BPAI because there is no pop-up screen in BPAI.