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

Getting the primitive data types for the SAP data types?

Former Member
0 Likes
1,017

Hi,

In the project I work there is a request to get the primitive data types, such as char, integer, etc for the ABAP SAP types.

Problem is that we want to print the primite datatypes for each field for a lot of tables so we dont want to click at each field to find the primitive datatype but rather to do some kind of "print this table with the primitive datatypes in the column field type instead of /SAPAPO/MATNR"

is there a way of printing this information or do I have to click for each field to find the primitive datatype for each field?

regards

Baran

1 ACCEPTED SOLUTION
Read only

MichaelTe
Contributor
0 Likes
873

Hello Baran,

the information you want is stored in table DD03L;

in the field DATATYPE. So you could write an report which reads the DD03L and outputs the datatype.

Regards, Michael

Hi,

In the project I work there is a request to get the primitive data types, such as char, integer, etc for the ABAP SAP types.

Problem is that we want to print the primite datatypes for each field for a lot of tables so we dont want to click at each field to find the primitive datatype but rather to do some kind of "print this table with the primitive datatypes in the column field type instead of /SAPAPO/MATNR"

is there a way of printing this information or do I have to click for each field to find the primitive datatype for each field?

regards

Baran

4 REPLIES 4
Read only

MichaelTe
Contributor
0 Likes
874

Hello Baran,

the information you want is stored in table DD03L;

in the field DATATYPE. So you could write an report which reads the DD03L and outputs the datatype.

Regards, Michael

Read only

venkata_ramisetti
Active Contributor
0 Likes
873

Hi,

YOu will find all those details in table DD03L. You can use this table.

You can also refer DD01L and DD02L also.

Thanks,

Ramakrishna

Read only

Former Member
0 Likes
873

You can write a small z program which selects the data from the tables:

DD01L-DATATYPE If you know the Domains

DD03L-DATATYPE If you know the Table fields

DD04L-DATATYPE If you know the Dataelements

Regards,

ravi

Read only

Former Member
0 Likes
873

Hi Baran,

look at table DD03L.

Regards, Dieter