cancel
Showing results for 
Search instead for 
Did you mean: 

To run a GPS for different variable values . Using the UPC _ BUNDLE _ EXECU

Former Member
0 Kudos

Hello Guys,

I have a requirement.

I have to execute the GPS for a set of different variable values.

For example :

First I have to set the costcenter variable value from 100 to 200, value type variable 20 and then call the GPS - then again change the costcenter variable value from 500, value type variable 30 and then call the GPS .

I am using the UPC _ BUNDLE _ EXECUTE.

I can write a abap program to set the variable values after the completion of the GPS.

Do you guys have any solution.

Can you please advise.Thanks for your help guys.

Senthil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

You can create program that you put in a process chain that you schedule as required where :

1st step - use FM API_SEMBPS_GLSEQUENCE_EXECUTE to launch your GPS

Note here that with this module the data is only written in a data buffer, but it not yet posted into the database. The module API_SEMBPS_POST is used to post data into the database.

2nd step - update the values of a BPS variable via FM API_SEMBPS_VARIABLE_SET. The settings are only valid during the current planning session and can be saved by calling up API_SEMBPS_POST.

I hope it helps,

Jeoffrey