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 screen dessign

Former Member
0 Likes
438

Hi

i had a req

on slection screen i had only one parameter plant number

there are differnt users for me

if user1 enters into the program the selection screen plant must display 1000

if user2 enters the program the selection screen plant must display 2000

give me solution

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
411

Hi

parameters : plant like marc-werks.

initialization.

case sy-ucomm.

when 'user1'

plant = '1000'.

when 'user2'

plant = '2000'

etc...

end case.

reward if usefull

3 REPLIES 3
Read only

Former Member
0 Likes
412

Hi

parameters : plant like marc-werks.

initialization.

case sy-ucomm.

when 'user1'

plant = '1000'.

when 'user2'

plant = '2000'

etc...

end case.

reward if usefull

Read only

Former Member
0 Likes
411

at selection screen.

if user = `1000`

p_para = 1.

elseif user = `2000`.

p_para = `2`.

else.

endif.

else.

assizn value to su01 user setting parameters.

get parid syntax chk.

Read only

Former Member
0 Likes
411

add this event to your code and make required changes.

at selection-screen output.

if sy-uname = 'user1'.

plant = '1000'.

elseif sy-uname = 'user2'.

plant = '2000'.

endif.

Reward if useful, get back in case of query