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 with XMWST field

nanda_veera
Explorer
0 Likes
2,082

Hi Friends,

I am creating Accounts Receivables documents in SAP using the BAPI. I need to calcualte the taxes on each line item and get into populated into TAX structure of BAPI.

We already have extended the BAPI by implementing the BADI. Is it possible to get populated the field XMWST through the dame extension BAPI extension? If it is get populated does it really calculate the taxes automatically?

Can any one through some light on this?

Warm Regards,

Nanda.

Hi Friends,

I am creating Accounts Receivables documents in SAP using the BAPI. I need to calcualte the taxes on each line item and get into populated into TAX structure of BAPI.

We already have extended the BAPI by implementing the BADI. Is it possible to get populated the field XMWST through the dame extension BAPI extension? If it is get populated does it really calculate the taxes automatically?

Can any one through some light on this?

Warm Regards,

Nanda.

1 REPLY 1
Read only

Former Member
0 Likes
1,003

Hi,

The field xmwskz is not available in any of the structures in BAPI_ACC_DOCUMENT_POST.

The field TAX_CODE (MWSKZ) is available in BAPIACGL09.

check the note: 487722 / 333424

sample FM: SAMPLE_INTERFACE_RWBAPI01 this has to be copied and the process needs to be activated.