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: 

"/" character in ABAP dynpro screen element name

Former Member
0 Kudos

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

1 REPLY 1

MarcinPciak
Active Contributor
0 Kudos

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