SAP Knowledge Base Article - Preview

1943752 - SYNTAX_ERROR Dump in Customer Program or Customer Exit Code after Upgrade to BW7.4

Symptom

  • You get SYNTAX_ERROR dump in a customer program or customer exit code (eg. Include ZXRSRU01).
  • The exit code could be the logic for customer exit variable in a BW query, or exit logic in a transform rule, update rule, transformation, DTP or infopackage.
  • When you carry out syntax check for the code, you find syntax errors. It could be like the below for example:
Include ZXRSRU01  (can also be other custom code)

"RRRANGEEXIT" must be a flat structure. You cannot use internal tables,

strings, references, or structures as components. -

 syntax error 2.PNG

or:
you cannot use offset and length specifications
    with fields of type "STRING" or "XSTRING"
 
 Call stack could be:
IF_RSROA_SMOD_COMP_MEDIATOR~OLAP_BADI_DEFINE CL_RSROA_SMOD_COMP_MEDIATOR===CP
IF_RSROA_SMOD_COMP_MEDIATOR~OLAP_BADI_DEFINE CL_RSROA_SMOD_COMP_MEDIATOR===CP
IF_EX_RSR_OLAP_BADI~DEFINE CL_IM_RSR_OLAP_BADI===========CP
IF_EX_RSR_OLAP_BADI~DEFINE CL_EX_RSR_OLAP_BADI===========CP
IF_EX_RSROA_OLAP_BADI~DEFINE CL_EX_RSROA_OLAP_BADI=========CP
DEFINE CL_RSR_USER_EXIT==============CP
READ_USER_EXIT CL_RSR_RRI2_DESCR_GENERATOR===CP
GENERATE_DESCRIPTION CL_RSR_RRI2_DESCR_GENERATOR===CP
GET_NEW CL_RSR_RRI2_DESCRIPTION=======CP
GENERATE CL_RSR_RRI2_QUERY_GENERATOR===CP
Syntax error happens when:
CALL FUNCTION 'EXIT_SAPMRSRU_001'
  • The customer exit code has been working well before and this syntax error occurs after upgrade to BW7.4.

Read more...

Environment

BW 7.4 SP2 and above

Product

SAP NetWeaver 7.4

Keywords

RSCHAVL, SSTRING1333, SSTRINIG 1333, 60, 1333, CL_RSROA_SMOD_COMP_MEDIATOR, EXIT_SAPMRSRU_001, SAPLXRSR, ZXRSRU01, RRRANGESID, DATA_UC_STRUCT_NOT_CHAR_LIKE, SAPLXRSR, USER_ZFARS_M05 , KBA , must be a flat structure. internal table , BW-BEX-OT-OLAP , Analyzing Data , BW-WHM-DST , Data Staging , BW-WHM-DBA , Data Basis , BW-WHM-MTD , Metadata (repository) , BW-EI-APD , Analysis Process Designer , How To

About this page

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

Search for additional results

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