2010 May 19 6:36 PM
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
2010 May 19 8:50 PM
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
2010 May 19 9:21 PM
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.
2010 May 20 8:08 AM
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