Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BPS: Starting global sequences from within exit functions

Hi all,

I am facing the following situation: In a SAP GUI planning folder a few header variables (e.g. Profit Center) need to be selected by the user.

On layout change, an exit function is run, which checks a few control tables and then triggers the correct global planning sequence.

However, when doing this, it seems the variable selections done by the user in his session (e.g. Profit Center) are not available for the functions running within the global sequence which I trigger from within the exit. If I directly run the global sequence "on layout change", it works. If I run it from within the exit function, I get the variable not assigned messages.

The coding looks like this:

CASE l_module.


READ TABLE lt_modsel INTO l_modsel INDEX 1.

IF l_modsel-SOI_OPTION = 'S'. "

l_sequence = 'RTGSS398'.





What did I do wrong???

Many thanks in advance,


Former Member
Former Member replied

Try using FM API_SEMBPS_GLSEQUENCE_EXECUTE to execute the sequence and then call FM API_SEMBPS_POST to post it to DB (check documentation of the first FM in SM37).

This is just a suggestion (not something I have done in exit FM : usual disclaimer).

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question