‎2007 Mar 30 11:34 AM
.hi experts, im creating a screen and a draw an input/output screen which i named a 'workarea-field'. The problem is i can't call what i put in that field in my program. how should i do this?
Thanks and thanks,
zry
‎2007 Mar 30 11:38 AM
screen can always be called with its number..
ex: call screen 300.
‎2007 Mar 30 11:40 AM
try creating a variable with the same name in the screen and pass the value to that variable .. it will work.
‎2007 Mar 30 11:39 AM
‎2007 Mar 30 11:40 AM
‎2007 Mar 30 11:42 AM
First declare that variable in ur program, activate program
then click on the penultimate button at the top right corner in the layout of the screen , then select the variable from your program
‎2007 Mar 30 11:43 AM
in the pai of ur screen u must create a module that modifies ur internal table (containing the input output fields )from the screen than only the changes made will be captured in the table then only u can use them
regards
navjot
reward points accordingly
‎2007 Mar 30 11:43 AM
Make sure that have you delclared that field with same name in your program.
‎2007 Mar 30 11:44 AM
.thanks, i can call the screen, what i can retrieve is the entry in put in the input field. Let say this screen has an input field for customer number,then i want this customer number entered by the user be retrieved in my program,yes i declared it same name with the program, it is a 'workarea-field'.
Thanks,
zry
‎2007 Mar 30 11:59 AM
Suppose you have created a field ex: field1 in input screen.
Then declare the same in the program global definition.
ex: field(4) type c. "name,Type & length should match screen field
now you can access the same.
field.