Sometimes we may need to download the structure of a SAP database table in .txt or .xls format with all the details...
including data element and domain details. Here's an easy way to make it happen.
For example, let's say we want to download the structure of BSEG table into .xls file so follow these steps.
Step 1 - Goto SE11 Screen.
Step 2 - Write the table name 'DD03L' into database table field and press display button.
Step 3 - Select Display Table contents from Utilities menu.
Step 4 - In selection screen you can give the table name you want to download in Tabname field.
Step 5 - If you want the details of all the fields then execute this transaction otherwise select the Settings->List Format->Choose fields to select the fields you want in display.
Step 6 - Execute this Transaction. It will give you all the details of all the fields in that table.
Step 7 - For Downloading these details, goto Edit->Download and follow the usual procedure for download.