SAP Knowledge Base Article - Preview

1798953 - Generated ABAP Code in ECC shows a syntax error - SAP Data Services

Symptom

  • Global variable names are not replaced in the Generated ABAP code when Data Services is trying to upload the ABAP code to the ECC server.
  • Getting the error "The generated program named <ABAP_Code_Name> in ECC shows a syntax error on line <Syntax_Error_line>.
  • The global variables names appear explicitly in the select statement inside of the ABAP code. The Select statement inside of the ABAP code would look like:

SELECT
  SPRAS
  SPTXT
  SPRSL
INTO CORRESPONDING FIELDS OF T002T
FROM T002T
WHERE SPRAS IN ($G_LANGUAGE,
$G_LANG_02,
$G_LANG_03,
$G_LANG_04,
$G_LANG_05,
$G_LANG_06,
$G_LANG_07,
$G_LANG_08,
$G_LANG_09,
$G_LANG_10).
ALTMP2675 = T002T-SPRSL.
IF ( T002T-SPRAS = ALTMP2675 ).
ALTMP2676 = T002T-SPRAS.
ALTMP2677 = T002T-SPTXT.
 move ALTMP2676 to ITAB2-LANG_ID_MULTI.
 move ALTMP2677 to ITAB2-LANG_DESCR.
 append ITAB2.
 cntbuf = cntbuf + 1.
 if download = 'N'.
  if cntbuf > 5000.
    perform FORM3.
    clear cntbuf.
    refresh ITAB2.
    append_flag = 'A'.
  endif.
 endif.
ENDIF.

 


Read more...

Environment

SAP Data Services

Product

SAP BusinessObjects Business Intelligence, Edge edition 4.0, version with data integration

Keywords

DI , DSXI , DS XI , BODI , BODS, RapidMart, Rapid Mart , KBA , EIM-DS , Data Services , 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.