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

module pool .

Former Member
0 Likes
512

Hello gurus ,

Hw to modify the screen in modulepool (loop at screen ) , i have a button in my screen , when I wl predssed that a new window wl come and main screen will enlarge , and when I pressed collapse , new wl remove from main screen , just like FINT tcode (intesest calculation) . If some have this idea , plz healp .

I m waiting for your valuable answer .

Regards ,

Joy .

4 REPLIES 4
Read only

Former Member
0 Likes
479

Hi,

you can assign your fields on the screen to different groups based on your requirements and then do like below

IF SCREEN-GROUP1 = 'G1'.

SCREEN-ACTIVE = 1.

SCREEN-INPUT = 0.

SCREEN-OUTPUT = 1.

SCREEN-INVISIBLE = 0.

MODIFY SCREEN.

ENDIF.

IF SCREEN-GROUP1 = 'G2'.

SCREEN-ACTIVE = 1.

SCREEN-INPUT = 1.

SCREEN-OUTPUT = 1.

SCREEN-INVISIBLE = 0.

MODIFY SCREEN.

ENDIF.

these change in attributes will totally based on your requirements

reward if helpful

Read only

0 Likes
479

hello friend ,

I m getting you , but prob is that in m in module pool , in that What i have to do for new window , I have created one screen like 2 and made that one screen group sc1 . but after putting your code through screen group(sc1) its not working , hw to do plz hhelp .

regards ,

Joy

Read only

0 Likes
479

You can use subscreens to do this sort of thing. Define two subscreens: one blank; the other containing the fields you wish to display when the window is open. When they click on the 'close window' button, detect this in the PBO and display the blank subscreen; when they click on the 'open window' button display the open window subscreen. Not difficult to do, and looks rather good.

Edited by: Christine Evans on Apr 28, 2008 5:51 PM

Read only

0 Likes
479

hi joy,,

you can do by making two screen in screen.

In your very first screen put one button . and write code like this

leave to screen 101(second screen).

after completion of your operation save it data in one variable which is declared in top_include.

and again to return back on main screen write again

leave to screen 100(first screen).

regards,

vipul