Hello ABAP Gurus,
As part of an in house development we are using the bapi BAPI_INCOMINGINVOICE_CREATE to post invoices (MM)
We have a business scenario that require us to post multiple tax lines against the same PO Line item (to manage the taxes payment for good and services associated for one PO Line item).
The scenario works fine with MIRO, but we are having problems to replicate the behavior using the BAPI.
Below some screenshots and extra information i hope might help you to understand better the situation
Scenario we need to replicate
- MIRO Transaction
- Manual tax processing
- Split the taxes in more than one tax line (multiple tax lines).
- One PO line.
- Purchase Order information – PO with Multiple account assignment
Requirement
Replicate the functionality of multiple manual tax lines vrs one PO line using the BAPI: BAPI_INCOMINGINVOICE_CREATE
TAXDADTA STRUCTURE:
TAX_CODE
TAX_AMOUNT
TAX_BASE_AMOUNT
COND_TYPE
TAXJURCODE
TAXJURCODE_DEEP
ITEMNO_TAX
In terms of manual tax handling the internal structure TAXDATA is being updated with the information about the taxes.
We need to understand or know on how to update the information on the structure TAXDATA (items order, nomenclature, etc) in order to replicate the MIRO scenario described above but using the BAPI. (We are currently summarizing the taxes information per tax code)