Skip to Content
0
Jan 16, 2023 at 11:25 PM

BAPI_ACC_DOCUMENT_POST tax line item

211 Views

I'm using BAPI_ACC_DOCUMENT_POST to post an FI document with two line items: GL ACCOUNT line item and TAX line item.

The document is correctly posted and I can see the line items in BSEG and BSET tables.

The problem is that I need to update some BSEG values for the TAX line item but the ACCOUNTTAX in the BAPI doesn't have those fields: ALLOC_NBR (ZUONR) for example.

My question is How can I populate BSEG-ZUONR for example for a TAX line item (ACCOUNTAX BAPI parameter) using BAPI_ACC_DOCUMENT_POST ?