...
Some BAdIs have been changed to be able to have the simplified flow. If any of this BAdIs are implemented with Z classes, this classes will need to be adapted.
Modification of mapping class /edge/cl_ei_it_map_general. So that, if you have a Z class it might need to be adapted. The modifications are the following:
Method invoice_auto_post: New optional parameter is_fattura_simplf.
Method execute_mapping: New optional parameter is_fattura_simplf.
Modification in received class /EDGE/CL_EI_IT_RECSI_IS_RECEIV.
Method GET_NUM_INVOICES.
Method GET_ATTACHMENT.
Modification in class /EDGE/CL_EI_IT_UTILITIES method TRANSFORM_FATTURA_XML.
New data base table /EDGE/EI_FC_RCVD to get the structure of the invoice. It needs to be customized. The two entries that this table needs to have, are transported from this product, version 2.1. In case this table is empty it needs to be customized like this:
...
BAdI /EDGE/BADI_EI_IT_GEN_FIELDS
New method created: SET_DATA_STRUCTURE. This method is used to set what structure we are going to work with. For simplified invoices this structure is /EDGE/SIMPLIFATTURA_ELETTRONIC. It also has a check as importing parameter to indicate if it is a simplified invoice.
When you instance this BAdI, this method needs to be called to set the structure. If this method is not called, automatically the structure for “normal” invoices will be set (/EDGE/EI_ITFATTURA_ELETTRONICA).
The method GET_COMPANY_CODE of this BAdI has been changed to cover both flows. If this method has a Z implementacion, please revise this method and adapt it.
BAdI /EDGE/BADI_EI_IT_FI_FIELDS
New method created: SET_DATA_STRUCTURE. This method is used to set what structure we are going to work with. For simplified invoices this structure is /EDGE/SIMPLIFATTURA_ELETTRONIC. It also has a check as importing parameter to indicate if it is a simplified invoice.
When you instance this BAdI, this method needs to be called to set the structure. If this method is not called, automatically the structure for “normal” invoices will be set (/EDGE/EI_ITFATTURA_ELETTRONICA).
...