11-23-2007 8:39 AM
Hi Guys,
May I know if i can make an input field in screen painter as a variable which can hold th values inputted to it? Please let me know your thoughts.
Your response will be greatly appreciated.
Thanks!
Mark
11-23-2007 8:43 AM
Hi,
when you open the screen,
look at the top right hand corner of that screen.
there will be three buttons, just put the cursor on the buttons to know about them
then select the button, select from program
then select ur variable and click on ok
this will be reflected on the screen
Regards,
Omkar.
11-23-2007 8:42 AM
the input field on the screen are fields which hold values.. these values are storesd till the screen scope...
11-23-2007 8:43 AM
Hi,
when you open the screen,
look at the top right hand corner of that screen.
there will be three buttons, just put the cursor on the buttons to know about them
then select the button, select from program
then select ur variable and click on ok
this will be reflected on the screen
Regards,
Omkar.
11-23-2007 8:45 AM
11-23-2007 8:49 AM
declare the screen fields as say: MARA-MATNR,
in the program u declare : TABLES: MARA
and assign the value to the work area, this will get populated in screen
whatever fields that have same name will get values to screen vice versa
11-26-2007 3:58 AM
Hi,
Tanx for all ur inputs...
Where am i going to declare it? I declare the variable as sy-uname...
After doing all ur suggestions, still the screen input field doesnt hold the value entered into it... when I debug it, there's no value for the said variable...
Thanks a lot!
11-26-2007 4:01 AM
SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: p_name LIKE sy-uname.
SELECTION-SCREEN: END OF BLOCK b2.
access the field p_name to get the value entered at selection screen
11-26-2007 5:38 AM
Tanx,,,, But Im using the input field of screen painter...It still doesnt hold the value inputted to it...
11-26-2007 5:45 AM