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: 

screen painter input/output field with output only

venkatasap
Participant
0 Kudos

Hi sapall.

here i have created one screen in se51with one text field ,2 I/O fields.

my requirment is when the user enters the value in first I/O filed ,the 2nd I/O should get the descryption based on the value in first I/O Field.

now iam getting the value descryption into 2nd I/O field while debugging but i cont get the value displayed in the 2nd I.O field of the screen.

can any body help me in this.

regards.

Varma.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Just to make sure...

Did u check that the variable name u declared in program (in which u get the value-as seen in debugging) and the name of IO field is same??

if they are same,

make sure the variable is not getting cleared in PBO ...

4 REPLIES 4

sridhar_meesala
Active Contributor
0 Kudos

Hi,

You need to trigger some event like button click or pressing ENTER key after entering value into first I/O field.

Now in PAI.

case sy-ucomm.
 when 'BUTTON'.              "if you place a botton
  if i/o1 = '1'.
   i/o2 = 'One'.
  endif.
endcase.

Hope it helps you.

Thanks,

Sri.

former_member1245113
Active Contributor
0 Kudos

Hi,

Make sure your Screen Field name and Variable in program are same.
Make sure your Variable in program must be in TOP include.
And Activate the Entire program in SE80  along with all includes and Screen Etc" why take a chance.

If you want to disable the Second Field make at screen painter level or programatically in PBO

loop at screen " Use this

Cheerz

Ram

Former Member
0 Kudos

hi,

you can caputer sy-ucomm in PBO if it is enter than pass value and if it is not enter then make it initial.

regards,

sakshi.

Former Member
0 Kudos

Just to make sure...

Did u check that the variable name u declared in program (in which u get the value-as seen in debugging) and the name of IO field is same??

if they are same,

make sure the variable is not getting cleared in PBO ...