on 05-09-2011 3:06 PM
Hello,
Is it possible to automatically display value in a table containg field with key?
Eg. table contains field of type NATSL (Nationality) - I wish for nationality description ('English') to be visible, not only code 'EN'.
I know I can simply create additional field and fill it by myself when creating internal table, but I want to know if there is a more automatic approach.
Best regards
Marcin Sawicki
Hi Marcin,
you could use GET_STATIC_ATTRIBUTES_TYPE( ) of the interface if_wd_context_node_info which will give you the reference
of CL_ABAP_STRUCTDESCR and use the appropriate method.
Regards
Anurag Chopra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thenks!
Not exactly what I wanted, bot I think this answers my question.
Best regards
Marcin Sawicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where can I put such function call? I know how to get appropriate text, just not how to display it (except by defining new table column).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You have to display this in another field(i mean input field), as my understand is correct, table is field with some values
so based on that values fill other fields with different values. use on enter event of field or in wddoinit method based on some values fill another values.
Cheers,
Kris.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.