05-24-2010 1:27 PM
Hello all,
I have a screen element on ABAP dynpro named as /DMNN/SD_SYS-SYSID
I changed this element to drop down and get listed values from data element /DMNN/SD_SYS-SYSID
Now on the PBO, I want to set initial value
/DMNN/SD_SYS-SYSID = 'D0P'
But I got the following error when I try to activate
Field "/DMNN/SD_SYS-SYSID" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
Thanks for any help
05-25-2010 12:10 PM
For each screen field you need corresponding data object defined in ABAP program. So all you need is to declare this structure either this way
tables /DMNN/SD_SYS.
or this
data /DMNN/SD_SYS type /DMNN/SD_SYS.
Now you can initialize its fields in PBO with any data you want.
Regards
Marcin