2011 Sep 19 10:39 AM
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.
2011 Sep 19 10:58 AM
Hi,
Write code after AT SELECTION-SCREEN OUTPUT and assign values to parameter.
Regards,
Venu
2011 Sep 19 11:56 AM