Skip to Content
0
Former Member
Jan 11, 2011 at 09:08 AM

Using Function Module API_SEMBPS_VARIABLE_SET in a Background Job

23 Views

Hi Exprets

I have a scenario in which I shoud set variable (ZCOMPANY) value and afterwards run a Global Planning Sequence.

The whole scenario is scheduled as a background job implemented in a BW Process Chain.

The problem occurs during the run of a 'Z' ABAP program that calls the function API_SEMBPS_VARIABLE_SET.

For some reason - the function fails with the Error Message:

"Values of variable ZCOMPANY cannot be determined" (UPC_FW 136)

I made sure the import parameters are OK.

When I launch the same 'Z' ABAP program in dialog mode (using SE38) - everything is OK.

Also, everything was OK when I tested it in the DEV & TEST systems and the problem occurs only in PROD system. The only difference is that the PROD system has several Application Servers (and DEV/TEST has only one Application Server).

What could be the reason for the Function Module failure?

Please help...

Thanks,

Yaniv