Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Error while calling ABAP program from Data Services

$
0
0

Hi All,

 

We have a ABAP program which accepts two parameters 1] a date 2] a string of comma separated ARTICLE numbers .

We have used a ABAB transform in ABAP dataflow which refers this ABAP program.

 

If I pass a string of 6 articles as second parameter the job executes successfully

 

But if i pass 9 articles as follows


$GV_ITEM_VALUES='3564785,1234789,1234509,1987654,1234567,2345678,3456789,4567890,5456759';


i get the following error

 

ABAP program syntax error: <Literals that take up more than one line are not permitted>.

 

The error occurs immediately after ABAP dataflow starts, ie even before the ABAP job gets submitted to ECC

 

I am using BODS 4.2 . The datatype of $GV_ITEM_VALUES is varchar(1000).

The ABAP program that gets generated by the DS job has the following datatype for this parameter

 

PARAMETER $PARAM2(1000) TYPE C

 

Is there a different way to pass string characters to ABAP transform in data services?

 

I have attached the screen shot of trace log and error

 

Regards,

Sharayu


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>