SAP Knowledge Base Article - Preview

3791581 - ABAP dump CX_SY_DYN_CALL_ILLEGAL_TYPE in J_1BNF_FILL_HEADER_FROM_BUPLA during billing - Brazil

Symptom

  • ABAP dump occurs during billing document creation for Brazil in transaction VF04 or VF01
  • Exception class CX_SY_DYN_CALL_ILLEGAL_TYPE is raised and not caught in procedure J_1BNF_FILL_HEADER_FROM_BUPLA (FUNCTION)
  • Issue can be observed after a system upgrade

Error Analysis:

The call to function module "J_1B_BRANCH_READ" is incorrect:
The function module interface was defined in such a way that only
fields of a particular type can be specified under "CGC_NUMBER". Field
"LV_CGC_NUMBER" specified here has a different field type however.

In the function module J_1BNF_FILL_HEADER_FROM_BUPLA, the following declaration is present:

DATA lv_cgc_number TYPE j_1bcgc.


Read more...

Environment

  • SAP ERP
  • SAP S/4HANA
  • Country/Region: Brazil

Product

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

Keywords

CX_SY_DYN_CALL_ILLEGAL_TYPE, J_1BNF_FILL_HEADER_FROM_BUPLA, J_1B_BRANCH_READ, CGC_NUMBER, LV_CGC_NUMBER, J_1BCNPJ_ALPHA, J_1BCGC, ABAP dump, VF04, billing, Brazil, CNPJ, alphanumeric CNPJ, Tax Reform, localization, SD, illegal type, function module interface, 3710954 , KBA , FI-LOC-LO-BR , Brazil , FI-LOC-SD-BR , Brazil , 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.