Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

pop-up level

0 Likes
1,427

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

8 REPLIES 8
Read only

Vinod_Chandran
Active Contributor
0 Likes
1,270

If you are talking about list processing then use

SY-LSIND otherwise please explain your req. more

Read only

0 Likes
1,270

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

Read only

0 Likes
1,270

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.

Read only

Former Member
0 Likes
1,270

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.

Read only

0 Likes
1,270

yes, i think you are right. I don't care about a restriction. I need the actuall pop-up level.

Read only

0 Likes
1,270

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.

Read only

0 Likes
1,270

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.

Read only

0 Likes
1,270

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.