Application Development and Automation 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: 
Read only

Table definitions

Former Member
0 Likes
1,043

Hi,

How to save table definitions into a local file?

Advance thanks.

Regards,

V Balaji.

6 REPLIES 6
Read only

thomas_jung
Developer Advocate
Developer Advocate
0 Likes
888

There is program RDDSRCG0. It generates programming langauge structure descriptions. But given the languages it generates for (Cobol, PL/1, C, and RPG) this program is a little dated.

If you want something more recent (like MS Excel), you might want to look at the type Desccriptor classes (cl_abap_typedescr and its children). I have used them before to build a simple download to Excel utility.

Read only

0 Likes
888

Thanks.

Can I upload the downloaded file into other production system, whether domains & other properties are copied. It's advisable to create a "Z" table in this manner?

Regards,

Balaji Viswanath.

Read only

ssimsekler
Product and Topic Expert
Product and Topic Expert
0 Likes
888

Hi

This (trying to upload table definitions and change table structure/definition in the production system) is not a suitable way to interfere database definitions at production system. You should use standard transport mechanism instead. If you want to create table definitions dynamically, that will be another issue.

*--Serdar

Read only

0 Likes
888

I certainly wouldn't recommend it. Why not just create the table in development and transport it? You wouldn't want your systems to become out of sync.

Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
888

Hello Balaji,

You might want to write a program that use function module DDIF_TABL_GET or run this function directly using SE37. Then download the content of internal table DD03P_TAB.

Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
888

You should not upload DDIC definition into production using a custom program although the DDIC is a custom one. However in development system, you can look at function group SIFD that has function modules to read and maintain DDIC.