Skip to Content

How to pass global variable values to exec function in SAP BODS?

May 09, 2017 at 03:16 PM


avatar image

I have job1 which calls job2 which has 2 input parameters.

Input paramter 1: $start_year = '2016'

Input parameter2: $end_year ='2017'

Job2 is exported and saved as a TEST_FILE.bat file in the server. Now I am trying to trigger job2 using below command in job1.

EXEC( 'cmd','C:\\ProgramData\"SAP BusinessObjects"\"Data Services"\log\TEST_FILE.bat',8)

But my job2 has 2 global parameters $start_year and $end_year. Can anyone please write me the syntax of passing 2 parameters to the job2 using exec function.

Please don't provide my links for the syntax as I have seen them which are not working. Please provide the syntax:)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Dirk Venken
May 09, 2017 at 03:59 PM

Try this. The first hit is this page, the 2nd gives you the solution.

10 |10000 characters needed characters left characters exceeded