SAP Knowledge Base Article - Preview

3782354 - Brazil CIAP - CNPJ_BUPLA is not Type-compatible with formal parameter EV_CNPJ

Symptom

A SYNTAX_ERROR short dump occurs in CIAP-related classes after implementing SAP Note 3737378 without its corresponding correction note. The error refers to a type incompatibility between CNPJ_BUPLA and the formal parameter EV_CNPJ.

Scenario 1 – Manual transaction creation

  • SYNTAX_ERROR dump in program CL_CIAP_CREATE_MANUAL_TRANS_NFCM00S
  • Error message: "CNPJ_BUPLA" is not compatible with the type of formal parameter "EV_CNPJ"

Scenario 2 – NF-e cancellation

  • SYNTAX_ERROR dump in program CL_CIAP_TRANSFER==============CP when cancelling a Nota Fiscal (NF-e)
  • ST22 error message: "CS_NFHEADER-CNPJ_BUPLA" is not compatible with the type of formal parameter "EV_CNPJ"
  • Observed specifically when cancelling a subcontracting NF-e generated by movement 541
  • The NF-e cancellation is not processed in the ERP, even if the cancellation was accepted in SEFAZ
  • The NF-e document remains in a pending state (e.g., gear icon visible in J1BNFE)
  • Movement 542 is not generated

Scenario 3 – SE24 class inspection

  • When opening class CL_CIAP_TRANSFER or CL_CIAP_DA in transaction SE24, syntax errors are visible directly in the class editor
  • The errors indicate a type incompatibility involving CNPJ_BUPLA and parameter EV_CNPJ


Read more...

Environment

  • SAP ERP
  • SAP ERP Central Component
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA 
  • SAP S/4HANA Finance
  • SAP S/4HANA Cloud Private Edition
  • SAP Fiori for SAP S/4HANA
  • SAP Fiori for SAP S/4HANA Finance
  • SAP Fiori for SAP S/4HANA Cloud Private Edition

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP Fiori for SAP S/4HANA Cloud Private Edition all versions ; SAP Fiori for SAP S/4HANA Finance all versions ; SAP Fiori for SAP S/4HANA all versions ; SAP S/4HANA Cloud Private Edition all versions ; SAP S/4HANA Finance all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

CL_CIAP_CREATE_MANUAL_TRANS_NFCM00S, CNPJ_BUPLA, Type-compatible, EV_CNPJ, CIAP, FILL_BRANCH_DESTINATION, CL_CIAP_DA , KBA , FIN-TMF-BR-CIAP , Tax Management Framework Brazil - CIAP , LOD-LH-NFE , SAP Document and Reporting Compliance, Outbound Nota Fiscal , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.