‎2006 Nov 27 10:44 AM
Hi,
how can we change the attributes of standard selection screen 1000.
i want some selection fields initially , on that basis i want another selection fields .
how can I do that.I have to validate both selection sceeen also.i don't want to call
any screen. I just want to change the attributes of standard screen
Regards
Rahul
‎2006 Nov 27 10:45 AM
u need to use sub screen concept and based on the values u give u can display the subscreen
‎2006 Nov 27 10:46 AM
Look at the DEMO programs
DEMODYNPROSEL* in SE38
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Nov 27 11:06 AM
Hi Ravi.
You can do one of the two things.
Use subscreen and blank screen to solve your purpose or
put every selection fields you want in both selection screen on one screen only.
Give one Modification group (say INIT) to initial selection fields and other(say NEXT) for next selection field you require.
Now loop at screen,
at first hide elements with modification id of 2nd group i.e. NEXT and take values in selection fields of INIT.
then take this values hide fields of INIT and now show selection fields with modif-id (modification group) of NEXT.
Hope this works.
Regards,
Kaushal N. Shah .
‎2006 Nov 27 11:14 AM
Hi Rahul,
In this case you have to use:
LOOP AT SCREEN.
IF SCREE-NAME <> 'Name of the field'.
SCREEN-ACTIVE = '0' -
Like this you can use others Invisible,input etc (Check SCREEN structure).
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Use the above logic under AT SELECTION-SCREEN OUTPUT event.
Thanks
eswar
‎2006 Nov 27 11:17 AM
Hi,
use Modif id for the selection screen fields as M1 for the fields you want to display first and give the other modif id to other fields and while displaying the selection screen in the at slectionscreen output event you use Screen modifications.
BR,
Ravi.