Ansicht
Dokumentation

EDOC_MX_TRANSP_CP_V4 - BAdI: Filling of Transportation Complement V4.0

EDOC_MX_TRANSP_CP_V4 - BAdI: Filling of Transportation Complement V4.0

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Document Compliance Mexico (CA-GTF-CSC-EDO-MX) component. You use this BAdI to fill the Transportation (Spanish: Carta Porte) complement in invoice or delivery note XML files. This complement contains information about transportation of goods and is required in the following business scenarios:

  • Your company owns and transports goods. In this scenario, you include the Transportation complement in the electronic delivery notes that you issue to receivers.
  • Your company provides transportation services. In this scenario, you include the Transportation complement in the electronic invoices that you issue to your customers.

There's no predelivered XML mapping for the Transportation complement. You must implement the entire mapping of the complement fields through this BAdI. The system calls the BAdI when you display or submit an eDocument in the Mexico eInvoice or Mexico eDelivery Note process in the eDocument Cockpit.

is_source: Contains information about the source document. It has the following fields:

  • companycode: Contains the company code.
  • billingdocumentnum: Contains the billing document number (if the source document is a billing document).
  • accountingdocumentnum: Contains the accounting document number (if the source document is an accounting document).
  • deliverydocumentnum: Contains the delivery document number (if the source document is a delivery document).
  • fiscalyear: Contains the fiscal year.
  • edoctype: Contains the eDocument type.

CS_CARTA_PORTE: Contains details about the Transportation complement in the XML file. To include a field into this complement, you must fill the corresponding field in this changing parameter.

The Filling of Transportation Complement V4.0 BAdI accommodates new version 4.0 of Annex 20, while the Filling of Transportation Complement BAdI accommodates lower versions only.






rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2533 Date: 20240523 Time: 155014     sap01-206 ( 47 ms )