Ansicht
Dokumentation

EDOC_MX_FILL_PEDIMEN - BAdI: Customs Document Number Filling

EDOC_MX_FILL_PEDIMEN - BAdI: Customs Document Number Filling

CPI1466 during Backup   CPI1466 during Backup  
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 can use this BAdI to fill in customs import/export document (known as pedimento in Mexico) numbers for electronic invoices. It's called during XML mapping, which is triggered when you submit or display an eDocument from the Mexico eInvoiceprocess in the eDocument Cockpit (EDOC_COCKPIT).

This BAdI uses the method Fill Customs Document Number (FILL_PEDIMENT). You can find some information about the method parameters below:

  • Importing parameters
The parameter IS_SOURCE contains the data of the source document.
  • Changing parameters
The parameter CT_PEDIMENT_DATA has the EDOC_MX_BADI_CUSTOMSDATA_TAB table as the associated type, which contains the Customs Document Number (EDOC_MX_PEDIMENT_NUM) field. There is no standard logic to fill this field, you can set up your own logic as required.
Customer-Specific ABAP Development -> Enhancement Framework.





CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1743 Date: 20240523 Time: 165928     sap01-206 ( 43 ms )