Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Data Services use job_run_id() in real time job scripting doesnt work

$
0
0

Hi experts,

 

I implemented the following SQL statement in a SAP BODS script. The script is placed in a catch block of a Real-Time job.

 

     sql('database_name','INSERT INTO table (ID, MESSAGE, SUCCESS) VALUES ([job_run_id()],\'text\',\'true\')');

 


When I execute the same script in a Batch Job (also in a catch block) everything works fine.

 

If I replace the job_run_id() function with an default value (for example '1234') it works in the Real Time job.

 

I already tried to enter the job_run_id() in a variable and enter the variable in the SQL statement.. No success...


Does anybody has an idea?


SAP Data Services version is 4.2.4.


Thank you in advance!

Best Regards


Viewing all articles
Browse latest Browse all 4013

Trending Articles



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