To enhance the FI and MM position tables, the following adjustments must be done.
...
The ALV structure must be extended with an append by adding the required fields. The structures to be enhance are:
ALV to enhance | Dictionary structure |
---|---|
FI document items | /EDGE/EI_IT_ALV_FI |
FI tax positions | /EDGE/EI_IT_ALV_FI_TAX |
Purchase order items | /EDGE/EI_IT_ALV_PO |
Incoming invoice positions | /EDGE/EI_IT_ALV_MM |
Example:
BAdI Implementation
To give a default mapping to these new fields it will be necessary to implement the mapping BAdIs:
ALV to enhance | BAdI | Method |
---|---|---|
FI document items | /EDGE/BADI_EI_IT_FI_FIELDS | GET_ITEMS_FI |
FI tax positions | /EDGE/BADI_EI_IT_FI_FIELDS | GET_TAX_FI |
Positions for MM | /EDGE/BADI_EI_IT_MM_FIELDS | GET_POSITIONS |
The default mapping for the new fields is not necessary, since the mapping is only carried out when you press the posting button without having previously saved the data in the database using the SAVE button.
...