Application Development 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: 

Need to fetch field description

Former Member
0 Kudos

Hi

I need to fetch description of field rfbsk in table vbrk. It is given in the value range in its domain( rfbsk). How to proceed. Any pointers would be helpful.

Thanks and regards

Dinesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Check FM - DDIF_FIELDINFO_GET

by passing fieldname and tablename

or DDUT_DOMVALUES_GET for domain values

Regards,

Arun

Message was edited by:

Arun Nair

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Sure, you can use this function module to get the values that are defined in the Domain.




data: idd07v type table of  dd07v with header line.

call function 'DD_DOMVALUES_GET'
     exporting
          domname        = 'RFBSK'
          text           = 'X'
          langu          = sy-langu
     tables
          dd07v_tab      = idd07v
     exceptions
          wrong_textflag = 1
          others         = 2.

loop at idd07v.
  write:/ idd07v-domvalue_l, idd07v-ddtext.
endloop.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi

Check FM - DDIF_FIELDINFO_GET

by passing fieldname and tablename

or DDUT_DOMVALUES_GET for domain values

Regards,

Arun

Message was edited by:

Arun Nair

Former Member
0 Kudos

Hi,

U will get it frm table 'DD07T' by giving the domain name as RFBSK. So u will get everything.

Give points if helpful.

Regs

Manas

Former Member
0 Kudos

Hi all ,

Your answers were great and solved my query. Thanks to you all,

There has been some problem with settings that is not showing option to award points.

Anyways.. BIG THANX to you all..

Regards

Dinesh