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_member474499
Participant
0 Likes
1,639

Hello everybody,

I'm using actually the bapi BAPI_ACC_DOCUMENT_POST and I don't know how to do to activate the 'Determine base tax' box.

Can you please tell me wich structure / field should I populate to get this information?

thank you a lot for your help.

10 REPLIES 10
Read only

Former Member
0 Likes
1,566

Dear Hk Kima,

Kindly go through the following links.. it may help you.

http://scn.sap.com/thread/1678171

http://www.sapnet.ru/viewtopic.php?t=1510

With Regards,

Akshay

Read only

Abhijit74
Active Contributor
0 Likes
1,566

Hello,

It's probably CURRENCYAMOUNT structure of AMT_BASE field.

Thanks,

Abhijit

Read only

Former Member
0 Likes
1,566

Dear Hk,

go through this link.. it will help you.

http://scn.sap.com/thread/1470846

With Regards,

Akshay

Read only

former_member474499
Participant
0 Likes
1,566

Hello,

Thank you for your help.

As I see in the links provided, that show me how to feel the amt_base field and not how to check the 'determine base tax' box.

Can you please tell me is there any field that helps me to check that box?

Best regards.

Hk

Read only

former_member474499
Participant
0 Likes
1,566

hello,

I'm still looking for the solution, is there anyone who can help me to solve this issue?

Thank you in advance.

Kind regards

Read only

0 Likes
1,566

Hi hk,

Check the below program it helps for your requirement

  •      ACC_BAPI_TEST_DOCUMENT

Regards,

Venu.

Read only

former_member474499
Participant
0 Likes
1,566

Hello venu,

I had a look at the test program provided but I didn't find how toi check the determine base tax box.

Is there any way to do that ?

best regards.

Hk

Read only

eduardo_hinojosa
Active Contributor
0 Likes
1,566

Hi

Check SAP Note 1431727 - AC interface: Separate summarization of tax data, and related notes. Check if there is any problem related with summarizing or any other issue. Check also SAP Note 487064 - Direct posting to tax account with AC BAPIs, although I think it isn't relevant for your requirement.

I hope this helps you

Regards

Eduardo

Read only

former_member474499
Participant
0 Likes
1,566

Hello eduardo,

thank you for your answer. i'll check the SAP Notes and tell you if they help me or not to solve my issue.

thank you a lot.

Hk

Read only

Former Member
0 Likes
1,566

Hello,

By 'determine base tax' box, do you mean the automatic tax determination that the transactions provide? In that case you're out of luck, you'll have to calculate the tax before populating the tax structures in the bapi. It will not calculate tax for you. The bapi structures are "accounttax" and a corresponding line in "currencyamount". There is a hack somewhere that lets you tick the box through the extension structure of the BAPI, but that will not work properly, so don't use it.

check these FM's for the actual tax calculation.

CALCULATE_TAX_FROM_GROSSAMOUNT.

CALCULATE_TAX_FROM_NET_AMOUNT.