‎2009 Jul 09 6:50 AM
Hi,
i am unable to pass the default value to the screen field in the PBO event. How to use the text field in PBO to assign some default value. When i am trying to pass the value using the screen field name it saying field does not exist.
Kindly guide me how to achieve this.
BR,
Rajani
‎2009 Jul 09 6:52 AM
Dear Rajan,
whatever field names u have in the screen, declare with the same name and with same type in the top include.
It will take values automatically
Regards
Sajid
‎2009 Jul 09 7:07 AM
Hi Sajid,
I declared my variable in my top include of new subscreen that i created, but still i am not able to do that.
As this screen is for a screen exit, even after declaring the variable also i am not able to show the default value.
BR,
Rajani
‎2009 Jul 09 7:16 AM
Hi Rajani,
Try declaring the field name in the PBO itself and assign value to it..
sample code:
DATA: pb_telecit(20) TYPE c.
Check your condition here.. (if any)
IF sy-subrc EQ 0.
pb_telecit = 'YTEXT'
ENDIF.
‎2009 Jul 09 6:53 AM
Hi,
Please check if you have declared the field name in the TOP Include...
‎2009 Jul 09 6:55 AM
Hi,
Check if the name of variable defined by you & its corresponding screen name are same. If not, then it will not be displayed.
Regards,
Rajneesh
‎2009 Jul 09 6:56 AM
Checkwhether the text field is populated with new values or not and not the i/o field.
‎2009 Jul 09 6:57 AM
Please maintain the field name in TOP include and use the same field for other screens.
‎2009 Jul 09 11:11 AM