02-10-2010 7:12 AM
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.
02-10-2010 8:53 AM
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 ...
02-10-2010 7:19 AM
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.
02-10-2010 7:30 AM
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
02-10-2010 7:33 AM
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.
02-10-2010 8:53 AM
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 ...