SAP Knowledge Base Article - Preview

3768756 - Syntax errors in class TC_EDOC_BR_CREATE_EDOCUMENT after Alphanumeric CNPJ SAP Notes

Symptom

After implementing Alphanumeric CNPJ SAP Notes, there may be activation syntax errors in class TC_EDOC_BR_CREATE_EDOCUMENT.
For instance, syntax errors such as these:
Method FILL_SEARCH_PARAMETERS_OK
The literal "12345678901234" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_FAIL
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_NO_SUP
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETER_NO_CNPJ
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_NOK_CTE
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_NOK_KEY
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_NOK_NFE
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_NOK_OTH
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_ACT_NOK
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_ACT_OK1
The literal "12345678901234" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".
Method FILL_SEARCH_PARAMETERS_ACT_OK2
The literal "0" is not type-compatible with the formal parameter "IV_EMIT_CNPJ".


Read more...

Environment

  • SAP ERP
  • SAP S/4HANA

Product

SAP ERP all versions ; SAP S/4HANA all versions

Keywords

TC_EDOC_BR_CREATE_EDOCUMENT, Alphanumeric CNPJ, test class, Syntax Error, type-compatible, Brazil, Brasil, Localization, Localização  , KBA , CA-GTF-CSC-EDO-BR , Inbound Nota Fiscal , How To

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.