cancel
Showing results for 
Search instead for 
Did you mean: 

field description

Former Member
0 Kudos

hi,

i want to select field descrition(not field name) and it's value in an internal table..an want to display field description in logon langauge.

kindly help me

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use the DESCRIBE function. From the help:


DESCRIBE FIELD f. 

Additions: 
1. ... LENGTH len 

2. ... TYPE type 

3. ... TYPE type COMPONENTS n

4. ... OUTPUT-LENGTH len

5. ... DECIMALS n 

6. ... EDIT MASK mask

7. ... HELP-ID hlp

Rob

Former Member
0 Kudos

Use function module DDIF_FIELDINFO_GET to get all the information about a DD table fields.

Srinivas

Former Member
0 Kudos

Welcome to SDN and please take some time to go through the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaborationareas/communityguidelines">Community Guidelines</a>.

Also, please close the thread when answered.

Thanks,

Srinivas

Answers (5)

Answers (5)

Former Member
0 Kudos

use fM FIELDNAME_ROLLNAME_TEXT

Former Member
0 Kudos

Hi,

Please use Function Module NAMETAB_GET.

Regards

Amole

ralf_geiger
Explorer
0 Kudos

Hi Rajesh,

please use the RTTS Classes to get things you want:

DATA:
  lr_elemdescr type ref to CL_ABAP_ELEMDESCR,
  ls_fielddescr type dfies.

lr_elemdescr ?= CL_ABAP_ELEMDESCR=>DESCRIBE_BY_NAME( <Data element name> ).
ls_fielddescr = lr_elemdescr->get_ddic_field( ).

I think the field you are searching is 'FIELDTEXT'.

Regards,

Ralf

Lakshmant1
Active Contributor
0 Kudos

Hi Rajesh,

Retrive the Field Texts from the table DD04T in the language you want and populate into the internal table and display.

Thanks

Lakshman

former_member197348
Active Contributor
0 Kudos

Hi,

Check in tables DD02T & DD03T for field descriptions.

Thanks,

Ramakrishna