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

Function Modul for read field label

Former Member
0 Likes
2,109

hi all

i search a function modul for read the field label from data element.

Example for data element matnr, i must have field label text material.

Thx abap_begin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,365

Hello

You do not need FM for this.

Just goto table DD04T with ROLLNAME = 'MATNR' (for your case). All labels (short, medium, ...) will be here.

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,365

Try : DDIF_DTEL_GET "DD: Interface to Read a Data Element from the ABAP Dictionary" (there are many FM like DDIF*GET)

Regards,

Raymond

Read only

Former Member
0 Likes
1,366

Hello

You do not need FM for this.

Just goto table DD04T with ROLLNAME = 'MATNR' (for your case). All labels (short, medium, ...) will be here.

Read only

Former Member
0 Likes
1,365

why don't use the function modul?

Read only

Former Member
0 Likes
1,365

Hi Friend,

Please search it in forum first.. there are plenty of trheads which could have informed you about DDIF_DTEL_GET or DD04T

Read only

Former Member
0 Likes
1,365

Hi,

If you give input parameters type, field and table you get data element using

RP_PRINT_GET_DATA_ELEMENT

Try also

KL_TABLE_INFO_GET

But not sure if this futfill your requirement...