10-30-2007 3:11 AM
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-30-2007 3:13 AM
DD04L - Data element
DD04T - Data element text
DD01L - Domain
DD01T - Domain Text
Message was edited by:
Prashant Patil
10-30-2007 3:17 AM
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?
10-30-2007 3:19 AM
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
10-30-2007 3:21 AM
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.
10-30-2007 3:25 AM
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
10-30-2007 3:13 AM
10-30-2007 3:15 AM
Yes, you are correct, for data elements check tables DD04L and DD04T.
ashish
10-30-2007 3:17 AM
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
10-30-2007 3:36 AM
10-30-2007 3:37 AM
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.