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

regarding module pool program

Former Member
0 Likes
725

Hi,

I have the following requirement.

The initial screen having 2 input fields and one push button.

After pressing the Pushbutton, the entries in the 2 input fields have to displayed in subscreen area of the same screen.

Before pressing the Pushbutton the subscreen should be in invisible mode. Once the user press the pushbutton the subscreen has to be displayed

Please provide me the approach how do it.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
681

hi,

use custom control and display that same screen in custom control. before displaying it hide the first screen.

Regards,

shankar.

5 REPLIES 5
Read only

Former Member
0 Likes
681

Hi,

Lets say your subscreen name is SUB1,

1. in pbo module write code to make the subscreen invisble like:

loop at screen.

if screen-name = 'SUB1'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

2. Once push button is pressed set a flag say v_press = 'X'.

if v_press = 'X'.
else.
loop at screen.
if screen-name = 'SUB1'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
endif.

Thanks & Regards,

Navneeth K.

Read only

Former Member
0 Likes
682

hi,

use custom control and display that same screen in custom control. before displaying it hide the first screen.

Regards,

shankar.

Read only

0 Likes
681

hi Shankar,

if you have sample code please provide. it will be more helpful for me.

NAVNEETH Bothra and Rajesh Kumar: There is no possibilty to identify the subscreen with Screen name in IF statement.

So there is no chance for us to make that screen invisible.

Edited by: subas Bose on Oct 17, 2008 1:47 PM

Read only

Former Member
0 Likes
681

Hi,

initially make the subscreen area invisible using modify screen statement.

After pressing the pushbutton, call the subscreen area and get the variables from first screen using SET PARAMETER and GET PARAMETER statements.

Thanks

Rajesh Kumar

Read only

Former Member
0 Likes
681

Thanks