SAP Knowledge Base Article - Public

3776198 - eDocument Mexico: InformacionGlobal Node Missing — CFDI40130

Symptom

A custom BAdI implementation for EDOC_MX_FILL_GLOBALINFORMATION (Enhancement Spot ES_EDOCUMENT_MX_CLOUD, Interface IF_MX_SET_GLOBAL_INFORMATION) has been created and published, but is never executed during actual eDocument submission.  

Custom Logic Tracing confirms the BAdI is not called. As a result, the <InformacionGlobal> node is absent from the generated CFDI 4.0 XML, and the PAC rejects the document with:  

  • CFDI40130: When TipoDeComprobante is I (Ingreso) and Receptor Rfc is XAXX010101000 and Receptor Nombre is PUBLICO EN GENERAL, the InformacionGlobal node must exist.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The BAdI EDOC_MX_FILL_GLOBALINFORMATION is only invoked when interface MX_SENDEDOC_REQUEST is running on Version 7. The issue occurs when Version 7 is not in effect, which can be caused by:  

  • The Active From date for Version 7 is set to a future date (e.g., 12/31/9999),
  • or The interface is configured to use a lower version.

Resolution

Please follow the steps below to adjust the interface version.

  1. In Manage Your Solution, search for Redefine Activation Date for Interface Version (SSCUI 103657) and open the configuration activity.  
  2. Ensure that interface MX_SENDEDOC_REQUEST is set to Version 7.  
  3. Set the Active From (Actual) date to today's date or an appropriate past date (e.g., 01/01/2025).  
  4. Save the configuration.  
  5. Re-submit the eDocument and confirm:  
    • Custom Logic Tracing shows EDOC_MX_FILL_GLOBALINFORMATION is now listed in the executed BAdIs.
    • The generated CFDI XML contains the <InformacionGlobal> node with the values populated by the BAdI.

Keywords

CFDI40130, InformacionGlobal, EDOC_MX_FILL_GLOBALINFORMATION, BAdI not called, Mexico eDocument, MX_SENDEDOC_REQUEST, version 7, XAXX010101000, PUBLICO EN GENERAL, Custom Logic Tracing, Redefine Activation Date, interface version, global invoice, SSCUI 103657 , KBA , CA-GTF-CSC-EDO-MX , Document Compliance Mexico , Problem

Product

SAP S/4HANA Cloud Public Edition all versions