on 11-23-2009 3:43 PM
Hello All,
I have a requirement where i need to have a pop up for the first time when a smartform is executed and for the rest of smart forms in the same loop ,i need to supress the pop up.Here the printer which is choosen by the user in the first POPUP should be automatically assigned for the next few smartforms which doest have pop up...
eg:
i have values x =1
and smartforms A and B
when i execute the smart forms keepinthem in loop.
i need to get the pop up for only A and B should not show pop up.
and B should have the same printer as A.
In the control_parameters parameter always mark with an 'X' the no_close field.
After the first loop passes, mark the field no_open to avoid the printer popup in the next loops
When the loops finish call FM 'SSF_CLOSE' and that's it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
w_ssfctrlop-no_close = 'X'.
LOOP AT i_alv_temp INTO w_alv_temp.
CALL FUNCTION l_fname
EXPORTING
control_parameters = w_ssfctrlop
TABLES
i_alv = i_alv_lista
EXCEPTIONS
user_canceled = 1.
IF sy-subrc <> 0.
l_canc = 'X'.
ENDIF.
w_ssfctrlop-no_open = 'X'.
ENDLOOP.
CHECK l_canc IS INITIAL.
CALL FUNCTION 'SSF_CLOSE'.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.