07-14-2005 10:38 AM
Hi guys,
could someone help me. I'm just wondering how I can get the actuall pop-up level of my pop-up window?
Regards
07-14-2005 10:45 AM
If you are talking about list processing then use
SY-LSIND otherwise please explain your req. more
07-14-2005 11:55 AM
Hi,
thank but I'm not talking about list processeing. If I make a pop-up window (=pop-up level 1) and by pressing a button there will open a second pop-up window (= level 2) ... .
How can I get the current pop-up level?
Thanks Christian
07-14-2005 12:10 PM
U can open as many popup as u can, i guess there is no restriction.
But the size of each pop-up window can be defined in teh function mkodule itself.
START_COLUMN = 25
START_ROW = 6
see the above reply.
07-14-2005 10:57 AM
Hi,
U can specify it as below
call function 'POPUP_TO_CONFIRM_STEP'
exporting
DEFAULTOPTION = 'Y'
textline1 = 'Do you want to continue'
TEXTLINE2 = ' '
titel = 'Please Confirm'
<b>* START_COLUMN = 25
START_ROW = 6</b>
CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = X_ANS.
WRITE: / X_ANS.
Hope this helps.
Kindly reward points if ur problem got solved.
07-14-2005 12:11 PM
yes, i think you are right. I don't care about a restriction. I need the actuall pop-up level.
07-14-2005 12:14 PM
I think for this you have to have your own counter. When ever there is a popup add 1 to that and when you close it subtract 1.
07-14-2005 12:21 PM
Hi,
U can call this fucntion module with in a loop and check?
So that u can count the no of times it occurs, but if it has some max level it will give a count or else it will be infinite and endless loop.
Can u tell me clearly what do u mean by pop-up level?
Also please reward points for the answers which helped u.
07-14-2005 12:31 PM
pop-up level: Hierarchical level of a window. The first window that appears in a logon procedure to an ABAP-based SAP system has the popup level 0. You create popup levels by stacking modular dialog boxes using the CALL SCREEN or the CALL SELECTION-SCREEN command. The maximum popup level is 9.
My Problem:
You can only display a container (e.g. for alv-grid) in different dynpro's if they have the same pop-up level. To make sure that they are on the same level i have to check this.