on 08-16-2007 4:33 PM
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.
WHEN 'VO'.
READ TABLE lt_modsel INTO l_modsel INDEX 1.
IF l_modsel-SOI_OPTION = 'S'. "
l_sequence = 'RTGSS398'.
ELSE......
ENDIF.
ENDCASE.
SUBMIT UPC_BUNDLE_EXECUTE WITH BUNDLE = l_sequence.
What did I do wrong???
Many thanks in advance,
Andreas
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.