Skip to Content
avatar image
Former Member

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,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 16, 2007 at 03:38 PM

    I understand a SUBMIT runs in its own space/session and will not share the context of the submitting program. As such, UPC_BUNDLE_EXECUTE will have access to the sequence name (that you passed in parameter) and nothing else. This is as I see it.

    Add comment
    10|10000 characters needed characters exceeded