Application Development 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: 

An input field in Screen Painter as a variable

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

8 REPLIES 8

Former Member
0 Kudos

the input field on the screen are fields which hold values.. these values are storesd till the screen scope...

Former Member
0 Kudos

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.

Former Member
0 Kudos

it can hold the variable value . with pbi.

Former Member
0 Kudos

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

0 Kudos

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!

0 Kudos

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

0 Kudos

Tanx,,,, But Im using the input field of screen painter...It still doesnt hold the value inputted to it...

0 Kudos

can you give the definition of the field?