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: 

Which tables store the domains and data types?

Former Member
0 Kudos

Hi.

From what I know, DD01L stores all the domains (both SAP and user-created) in the system. Is this understanding correct?

As for data types, which table stores them?

Thanks.

10 REPLIES 10

former_member223537
Active Contributor
0 Kudos

DD04L - Data element

DD04T - Data element text

DD01L - Domain

DD01T - Domain Text

Message was edited by:

Prashant Patil

0 Kudos

Hi All.

Thanks for the answer.

I don't mean data elements. I mean data types (e.g. CHAR, NUMC, etc)...

Which table stores the data type allowed in SAP?

0 Kudos

Hi,

Goto SE11 in change mode for any cusotm table. Enter a dummy field and click on "Predefined Type", here you can press F4 and check allowed data types in SAP tables.

Hope this helps.

ashish

PS: You can also check the "Value Range" for domain "DATATYPE" in SE11 which will show all data types accepted for a field in ABAP tables.

Message was edited by:

Ashish Gundawar

0 Kudos

Hi Ashish.

Thanks. But is there a table that store those values?

I need that table so that I can program a check on the user-entered datatype.

0 Kudos

Hi,

The values are stored at domain level, if you debug search help for DATATYPES, it is calling this fm DD_SHLP_CALL_FROM_DYNP.

This might help you to debug this fm and check what you are exactly looking for.

ashish

Former Member
0 Kudos

Hi,

for data elements DD04L

Thanks

Naren

Former Member
0 Kudos

Yes, you are correct, for data elements check tables DD04L and DD04T.

ashish

Former Member
0 Kudos

Hi,

All abap program stored in the TADIR table and TRDIR

Z_reports are stored in the table REPOSRC

TVDIR is the system table(view) maintained by sap.

in this all Tables are stored.

TVDIR is a repository of VIEWS.

The domains are stored in DD01L

The tables that are created are stored in DD02L

Fields are stored in DD03L.

Data Elements are stored in DD04L

DD06L Pool/cluster structures

DD07L R/3 DD: values for the domains

DD08L R/3 DD: relationship definitions

DD09L DD: Technical settings of tables

Former Member
0 Kudos

.

Former Member
0 Kudos

Solved:

SELECT COUNT(*) INTO CHECK_DATATYPE FROM DD01L

WHERE DATATYPE = ZDM_OS-FIELD_DATA_TYPE.

IF CHECK_DATATYPE = 0.

SET CURSOR FIELD 'ZDM_OS-FIELD_DATA_TYPE'.

MESSAGE E001(DMT) WITH 'DATA TYPE DOES NOT EXIST'.

ENDIF.