Application Development and Automation 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: 
Read only

Field lables on dynpro without using TABLES

Former Member
0 Likes
681

Hi there,

I want to put some fields of LFA1 onto a customer dynpro and I want also that the lables of the different fields come from the DDIC. I created a global structre called GS_LFA1. After that I puttet the fields onto the dynpro, but there are no texts available.

When I use the TABLES-statement the texts are available from DDIC. But I don't wanna to use the obsolete TABLES-statement, so what can I do to implement the different texts?

Thank you in advance

Kind regards

Markus

Hi there,

I want to put some fields of LFA1 onto a customer dynpro and I want also that the lables of the different fields come from the DDIC. I created a global structre called GS_LFA1. After that I puttet the fields onto the dynpro, but there are no texts available.

When I use the TABLES-statement the texts are available from DDIC. But I don't wanna to use the obsolete TABLES-statement, so what can I do to implement the different texts?

Thank you in advance

Kind regards

Markus

3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
617

In Screen Painter go to each field of structure GS_LFA1 and in the attributes select option From Dict. . This way you are inheriting the text and all semantics which comes from DDIC for that field (inlcuding its "label").

For more info please [refer|http://help.sap.com/saphelp_470/helpdata/en/d1/801c47454211d189710000e8322d00/frameset.htm]

Regards

Marcin

Read only

0 Likes
617

Where would you be inheriting the attributes from? You can't click the 'From dict' checkbox if the name of the field doesn't exist in the DDIC...Well, you can but then you get a big fat warning/error and the box automatically unchecks it...

To the poster, the 'TABLES' statement is not obsolete; it is simply not usable in OO programming. Perhaps you are referring to 'TABLES *' which is obsolete.

Read only

0 Likes
617

Where would you be inheriting the attributes from? You can't click the 'From dict' checkbox if the name of the field doesn't exist in the DDIC...Well, you can but then you get a big fat warning/error and the box automatically unchecks it...

Ok, sorry you are right. I just remind myself that option not checking it first. Indeed this can't be copied as the reference to DDIC field does not exists at all.

@ Markus

Alternatively to TABLES you can use simple strcuture declaration using data , but it's not effect is the same. As Brad mentioned, this is not an obsolete statement.

Regards

Marcin