10-14-2008 7:44 AM
I created a screen in the screen painter and it works fine .
Now i want when i push a button to display a small selection criteria in a window subscreen (?) so to take some result.
I dont know if this can happen . Is there any FM to do this ?
Thanks a lot ...
10-14-2008 7:52 AM
You can do this by..
1. Create a Pushbutton or set a PF status.
2. u can create input fields without a subscreen.
3. u can code to hide the input fields by using
LOOP at Screen.
case screen-fieldname.
when <fieldname1> or <fieldname2>..
Screen-Invisible = 1.
Screen-active = 0.
endcase.
ENDLOOP.
4. when u press the button.
i. Catch the Ok code
ii. Unhide the input fields.
LOOP at Screen.
case screen-fieldname.
when <fieldname1> or <fieldname2>..
Screen-Invisible = 0.
Screen-active = 1.
endcase.
ENDLOOP.
I dont know ur requirement.....but this is just a idea....
10-14-2008 7:48 AM
Hi,
In the PBO module of the main screen, write the following code,
call subscreen <Subscreen Name> including <Program Name> .
10-14-2008 7:52 AM
hi,
refer to DEMO_DYNPRO_SUBSCREENS.
hope it will be helpful
regards,
sreelakshmi
10-14-2008 7:52 AM
You can do this by..
1. Create a Pushbutton or set a PF status.
2. u can create input fields without a subscreen.
3. u can code to hide the input fields by using
LOOP at Screen.
case screen-fieldname.
when <fieldname1> or <fieldname2>..
Screen-Invisible = 1.
Screen-active = 0.
endcase.
ENDLOOP.
4. when u press the button.
i. Catch the Ok code
ii. Unhide the input fields.
LOOP at Screen.
case screen-fieldname.
when <fieldname1> or <fieldname2>..
Screen-Invisible = 0.
Screen-active = 1.
endcase.
ENDLOOP.
I dont know ur requirement.....but this is just a idea....
10-14-2008 8:00 AM
Dear friends , my problem is that my new screen to be as window ....
10-15-2008 7:00 AM
Hi,
Simply Create a new screen and put the fields you want in that screen.
And in the screen Attributes change screen type as Modal dialog box.
And Simply call this screen where ever you want.
Syntax : CALL SCREEN '0450'
STARTING AT X1 Y1
ENDING AT X2 Y2.
X1, X2, Y1, Y2 are the dimensions of the screen.
try it out.
10-14-2008 7:56 AM
Hi,
watch out thsi link for complete info on subscreens...
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/frameset.htm
Regards,
Manish
10-14-2008 7:59 AM
hi,
for this u hav to do following steps
>>Define the sub-screen area(s) on a screen. Resizable, Minimum size and scrollable are the attributes
>>Define suitable sub-screen screens
>>Include the sub-screen screen in the sub-screen area.
>>Adjust the frame of the sub-screen within the "main" screen. Name the sub-screen in the Field name field.
>>Arrange the fields within the sub-screen so that they appear in the main screen .
>>You include a subscreen screen using the CALL SUBSCREEN statement in the flow logic of the main screen.
To include a subscreen screen in the subscreen area of the main screen and call its PBO flow logic, use the following statement in the PBO event of the main screen:
PROCESS BEFORE OUTPUT.
...
CALL SUBSCREEN in the PBO event. This can call PAI modules of the ABAP program in which the subscreen screen is defined. Data is transported between identically-named fields in the subscreen screen and the ABAP program either when the PAI event is triggered, or at the corresponding FIELD statements in the PAI flow logic of the subscreen screen.
thanks
Sachin