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: 

Get the filednames and characters from Data dictionary

Former Member
0 Kudos

Hi All,

I want to download the list of fields field type,data element ,length and decimal to a xls sheet .

How can i do this one?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

pls use table DD03L and extract all the required data with the help of Select query....

ie

code:
select TABNAME FIELDNAME ROLLNAME DOMNAME from dd03l INTO <INTERNAL_TABLE>.

" use FM SAP_CONVERT_TO_XLS_FORMAT 

ie CALL FUNCTION SAP_CONVERT_TO_XLS_FORMAT 

and download the table to an xls file on your system....

thanks

3 REPLIES 3

Former Member
0 Kudos

Hello,

One way ....

From an ABAP program you can use FM DD_NAMETAB_TO_DDFIELDS.

Then you can download the internal table which is output from the FM.

Open the text file with Excel.

Regards

Greg Kern

Former Member
0 Kudos

Table DD03L will give you list of Fields,Data Elements,Length,Decimals.

Just use select Query on the table DD03L and get the data into an internal table.

Use Gui_Download or SAP_CONVERT_TO_XLS_FORMAT to download the internal table

to a local Excel file.

Regards,

Gurpreet

Former Member
0 Kudos

hi,

pls use table DD03L and extract all the required data with the help of Select query....

ie

code:
select TABNAME FIELDNAME ROLLNAME DOMNAME from dd03l INTO <INTERNAL_TABLE>.

" use FM SAP_CONVERT_TO_XLS_FORMAT 

ie CALL FUNCTION SAP_CONVERT_TO_XLS_FORMAT 

and download the table to an xls file on your system....

thanks