Skip to Content
Author's profile photo Former Member

Downloading Data Dictionary structure into local file.

Hi All,

Background:

I got this scenario very interesting as during complex system upgrades we used to take snapshots of critical tables where we have added so many custom fields as part of various requirements. This is done as part of documentation process as Quality Analysts teams will review these snapshots of before and after upgrade table structures.

I decided to spend some time on this and tried some common methodologies existing.

Investigation

  1. Usage of FM BKK_DB_GET_TABLE_FIELDS


    /wp-content/uploads/2015/04/1_683630.jpg

/wp-content/uploads/2015/04/2_683631.jpg


I passed the input as the table name MARA and got the various fields available in MARA on alphabetical order. But no other informations are conveyed.


2.Usage of Table DD02T

This is a SAP Standard table for storing the table texts.

/wp-content/uploads/2015/04/3_683632.jpg

Passed the field as Mara and executed.

/wp-content/uploads/2015/04/4_683636.jpg

Result was like short description based on various language keys. As no other field details are covered I decided to go further.

3.Usage of view DD03VT

The database view shows all the table fields’ related information.Looks like too many information on the one screen.

/wp-content/uploads/2015/04/5_683637.jpg

/wp-content/uploads/2015/04/6_683638.jpg

4.Tried SE15.It was also directing me to the standard SE11 Screen.

Solution

Finally I got one solution in the SE11 itself. I have documented the steps as follows.

I have chosen MARA  as the table structure which I want in the downloaded format.

1. Type Mara in the Database table column in SE11 and click on display

/wp-content/uploads/2015/04/7_683639.jpg

2.Choose Table–>Print

/wp-content/uploads/2015/04/8_683640.jpg

3.Choose the required print settings option from the menu.

  1. SAPMAXINFO –> Provides maximum information related to field.
  2. SAPMEDINFO –> Provides medium information related to field.
  3. SAPMININFO  –> Provides minimum information related to field.

I am going with Medium information.

/wp-content/uploads/2015/04/9_683641.jpg

4. Once settings are chosen click on the print button.

/wp-content/uploads/2015/04/10_683642.jpg

5.Give your output device name and choose print preview.

/wp-content/uploads/2015/04/11_683643.jpg

6.A print preview will be generated

/wp-content/uploads/2015/04/12_683644.jpg

7.Click on Goto–> List Display

/wp-content/uploads/2015/04/13_683645.jpg

8.List will be converted into General Abap List

/wp-content/uploads/2015/04/14_683646.jpg

9.Go to system–>Lists–>Save–>Local File option.

/wp-content/uploads/2015/04/15_683647.jpg

10.Choose Spreadsheet and press enter

/wp-content/uploads/2015/04/16_683648.jpg

11.Choose the desired location on your desktop and click on generate button

/wp-content/uploads/2015/04/17_683649.jpg

12.It will generate an excel file containing all the structure of the fields.

/wp-content/uploads/2015/04/18_683650.jpg

Hope it helps… 🙂

Regards,

Kannan

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Kannan,

      Nice post! Very useful one. Thank you for sharing.

      Best Regards

      Venkat...

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Venkat,

      Thanks for providing your feedback.. 🙂

      Regards,

      Kannan