...
Moreover, a PBO module needs to be added in the PBO logic:
This logic, retrieve the data of these fields in case the invoice had been saved in data base before, using the save button in the posting screen( )
For the FI dynpro we need to retrieve the data for the FI fields:
...
Enhance BAdI /EDGE/BADI_EI_IT_SAVE_BUTTON
This BadI is necessary to save the data of an invoice in database through the save button of the posting screen and to be able to retrieve it
...
In these methods we need to enhance the changing parameter CS_STRUCTURE_GEN adding the new fields data to it, to be able to save it in data base and retrieve further on:
Enhance BAdI /EDGE/BADI_EI_IT_SCREEN
This BAdI is necessary to add new fields to the posting screen.
The interface has six methods:
- SET_HEADER_GENERAL
- SET_POSTING_FI_VENDOR
- SET_POSTING_FI_PAYMENT
- SET_POSTING_PO_VENDOR
- SET_POSTING_PO_PAYMENT
- GET_SCREEN_VALUES
If the ALVs for Document items, Tax positions or Logistic positions want to be enhancement, please check the indications for it in the next link: 2.2.2.5 ALV enhancements.
...