on 10-24-2007 3:13 PM
Hi All,
I'm learning ABAP and want to include field titles in my program output from the ABAP dictionary, rather than coding them as text elements.
Is there a function module to do this? Can someone provide some sample code?
Cheers,
Steve
Try this function.
data: label type string.
CALL FUNCTION 'DDIF_FIELDLABEL_GET'
EXPORTING
tabname = 'MARA'
FIELDNAME = 'MATNR'
* LANGU = SY-LANGU
* LFIELDNAME = ' '
IMPORTING
LABEL = label.
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
chk this if this FM AM_FIELD_TEXT_GET works in ur system
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.