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

selection window

Former Member
0 Likes
628

hi all

i have a requirement...i need to give three values in the screen 10,20, & 30...please giv d code and also tell me and giv d code like if the value is 10 in the abap editor i need to call a window1 in the script and if value is 20 then i need to select the window 2 and if its 30 then i need to select window3.....please tell me or send me d code if possible,,,,

with rgards

vijay

5 REPLIES 5
Read only

Former Member
0 Likes
603

hi,

Simply check the value...and use fm write_form....with different windows....

Amitava

Read only

Former Member
0 Likes
603

hey give it in if condiiton...

selection-screen begin of screen 100.

select-option : .....

selection-screen end of screen 100.

selection-screen begin of screen 200.

select-option : .....

selection-screen end of screen 200.

selection-screen begin of screen 300.

select-option : .....

selection-screen end of screen 300.

if selection_criteria = '10'.

call selection-screen 100.

endif.

if selection_criteria = '20'.

call selection-screen 200.

endif.

if selection_criteria = '30'.

call selection-screen 300.

endif.

You can do this way...in this way you will have diffrent selectionparameres in all the three screens...

Regards,

Jayant

Please award if helpful

Read only

Former Member
0 Likes
603

Hi,

Use POPUP_TO_DECIDE_LIST Fm.

Regards

Kannaiah

Read only

Former Member
0 Likes
603

hi,

use 3 subroutines to call the 3 windown in the write_form n use it in an case statement.

like this

open_form.

case 'screen'

when '10'

perform win1.

when '20'

perform win2.

..............

end_form.

form win1

write_form..-->> here give ur window name

endrom.

...............

try soething like this

reward if useful

ravi

Read only

Former Member
0 Likes
603

hh