Symptom
You would like to add the the section FirstArrivalPortLocation in the eDocuments XML.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to the eDocument Cockpit app.
- Select Delivery Notes for Peru.
- Mark an eDocument.
- Choose Go To... -> Display/Preview XML.
Observe that the section FirstArrivalPortLocation is not displayed in the XML.
Cause
The FirstArrivalPortLocation section is not available in the standard eDocuments XML for Peru.
Resolution
Currently there is no specific BAdI is available for Peru in order to add the section FirstArrivalPortLocation in the eDocuments XML.
Therefore, the EDOC_ADAPTOR_CLOUD BAdI is currently the most suitable and compliant approach to add the section FirstArrivalPortLocation in the eDocuments XML.
Using the Badi EDOC_ADAPTOR_CLOUD will allow you to directly change, remove or add information in the tags of the XML of the eDocument through a custom logic.
Therefore, it is recommended to review the implementation of a custom logic along with your development partner in order confirm the feasibility to add the section FirstArrivalPortLocation in the eDocuments XML.
See Also
SAP Community Blog: Enhancing the standard XML file for Electronic Documents using the BAdI EDOC_ADAPTOR_CLOUD
SAP KBA: 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Public Edition
Keywords
FirstArrivalPortLocation, eDocument XML, Peru, SUNAT, port tag, airport tag, eDocument Cockpit, Delivery Note, Electronic Documents, BAdI EDOC_ADAPTOR_CLOUD, XML enhancement, Document Compliance Peru, missing tag, GRE, export scenario , KBA , CA-GTF-CSC-EDO-PE , Document Compliance Peru , Problem
SAP Knowledge Base Article - Public