cancel
Showing results for 
Search instead for 
Did you mean: 

Run-time Global Variables from Run_Batch_Job are not passed to JOB.

Former Member
0 Kudos

We are upgrading to SAP Business Objects Data Services from 12.2.1.2 to 14.1.1.210. We are invoking a Job/Data Flow via web services Run_Batch_Job method. It works fine in 12.2 but it 14.1 the global variables are not passed to job and we are getting the below error

(14.1) 03-04-14 22:54:32 (E) (3804:0884) FIL-080131: |Data flow JOB_NAME_1

The variable <$OUTPUTFILE> of the file loader is empty.  Initialize the variable to a valid value.

(14.1) 03-04-14 22:54:32 (E) (2584:3648) FIL-080131: |Data flow JOB_NAME_1

The variable <$OUTPUTFILE> of the file loader is empty. Initialize the variable to a valid value.

I am thinking it might be a setting we missed. Can some one point me to solution for this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Found the solution.

In 12.2 below SoapUI request works.

<soapenv:Body>

      <ser:RunBatchJobRequest>

        <jobName>JOB_NAME_1</jobName>

         <repoName>DataServicesMDRDev</repoName>

         <jobParameters>

             <globalVariables>

               <variable name="DATAFILES">D:\Sap\Data_Files</variable>

               <variable name="INPUTFILE">JOB_NAME.in.20140303110323.txt</variable>

               <variable name="OUTPUTFILE">JOB_NAME.out.20140303110323.txt</variable>

            </globalVariables>

         </jobParameters>

      </ser:RunBatchJobRequest>

   </soapenv:Body>

In 14.1 globalVariables element should not be under is not under jobParameters. See below.

<soapenv:Body>

      <ser:RunBatchJobRequest>

        <jobName>JOB_NAME_1</jobName>

         <repoName>DataServicesMDRDev</repoName>

         <globalVariables>

            <variable name="DATAFILES">D:\Sap\Data_Files</variable>

            <variable name="INPUTFILE">JOB_NAME.in.20140303110323.txt</variable>

            <variable name="OUTPUTFILE">JOB_NAME.out.20140303110323.txt</variable>

         </globalVariables>

      </ser:RunBatchJobRequest>

   </soapenv:Body>

Answers (1)

Answers (1)

Former Member
0 Kudos

You have to assign a value to the variable. It is looking for a value at run time

Former Member
0 Kudos

We are passing the global variables in SOAP request. As I mentioned earlier the same request works in 12.2 but not in 14.1

Former Member
0 Kudos

You are using Run_Batch_Job_Service, in that case you need to change the way the value is passed.

You would have to use a name attribute for outputfile.