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

general

Former Member
0 Likes
1,219

Can you create a table with fields not referring to data elements?

a) Yes

b) No

c) Not Applicable

d) Not Applicable

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,192

yes u can create using built in type button.

10 REPLIES 10
Read only

Former Member
0 Likes
1,192

Hi

Yes,

we can create

using the user defined data types

like CHAR 20

Reward points if useful

Regards

Anji

Read only

0 Likes
1,192

But anji, Char20 itself a data element. If you dauble click "CHAR 20"....it will open the data element screen where you will see that char20 is a data element and all the characteristics of data element "char20" there including domain, field level etc.

user defined data types like CHAR 20 is itself a data element.

If you try it SE11 then everything will be clear.

Read only

Former Member
0 Likes
1,192

No you can not create a table not referring to data element. Because when you add any field to table, it will ask you for data element for that field. If you do not give any data element for a field, it will give you syntax error.

Read only

0 Likes
1,192

Hi Abhishek,

We can create a with out referrring to a data element. Check it urself by clicking on the <b>Predefined Type</b> button beside the <b>Srch Help</b> button.

Read only

0 Likes
1,192

Yes i did that exactly. But when i double click that "char20", it open a data element screen. Can you plz check that???

Read only

0 Likes
1,192

when u click on the <b>Predefined Type</b> the fields <b>Data Type</b> and <b>Length</b> get input enabled. Choose the datatype of ur choice and select the length accordingly.

Don't give the value as<b> CHAR20</b> and double click on it.

Read only

0 Likes
1,192

I click for the f4 help of a predefined type "/1SAP1/CL_ACH0001" or any other such as int2. I save it, now when i double click it (/1SAP1/CL_ACH0001) or open it ("/1SAP1/CL_ACH0001) in SE11 data element, i clearly see the predefined type as a data element.

Now plz give me a example of a <b>Predefined Type</b> which is not a data element means and <b>which i can not open in SE11 -> Data element</b>.

Read only

0 Likes
1,192

<b>CLNT, CHAR</b> are predefined types, can u find them as data elements?

Read only

0 Likes
1,192

I have tryed the same and got the following errors:

Key field ZABT has unpermitted type

Field ZABT: Component type or domain used not active or does not exist

i dont know why i tryed them. If they are not data element then how could i put them as data element for a field when creating a table. Have you ever tryed to create a table without mentioning a data element or just arguing????

Read only

Former Member
0 Likes
1,193

yes u can create using built in type button.