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

Automatic filling of field in sel screen where match code obj is used

Former Member
0 Kudos
1,132

Dear all.

Suppose you have a selection screen with two fields:

pa_usid and pa_name,

both fields are obligatory.

The user wants - as soon as field pa_usid is filled from the list opened through the matchcode obj,

default value gets filled in pa_name(based on the value he actually filled in

pa_usid).

How can i do that this.

Below is my code ;

*************************

parameters: pa_usid LIKE gs_leave-userid MATCHCODE OBJECT zname_lp2 OBLIGATORY DEFAULT sy-uname,,

pa_name LIKE gs_leave-name OBLIGATORY,

Thank you all very much in advance.

2 REPLIES 2
Read only

Former Member
0 Kudos
388

Hi,

Write code after AT SELECTION-SCREEN OUTPUT and assign values to parameter.

Regards,

Venu

Read only

Former Member
0 Kudos
388