Skip to Content
avatar image
Former Member

How to create dictionary association between a field of an ABAP dynpro and a class attribute?

Hi all,

I am creating an okd fashioned ABAP dynpro (not web dynpro) .

I am able to bind a class attribute to a dynpro field using the <instanc>-><attribute> syntax in the dynpro element list:

In the above screen you see, that G_CONTROLLER_D9150 (defined globally as: DATA g_controller_d9150 TYPE REF TO lcl_ve_card_controller.) provides data for thw field (green mark).

Unfortunately I am not able to use the same approach to get this field to refer to a dictionary entry (data element or structure). The marked red area is ready for input :-(

How to achieve the binding to a dictionary definition (to get the label texts inclusive translations)?

Kind Regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 09, 2017 at 05:47 PM

    To my knowledge, for Dynpro fields that refer to dictionary types, you need a TABLES statement in the ABAP program and that supports only flat types, no references.

    Therefore, you might think of creating a dictionary structure with all the fields and semantic properties you need, use it as an "interface work area" to the Dynpro and assign the values at PAI to the class attributes.


    Add comment
    10|10000 characters needed characters exceeded