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

why we create ztable

Former Member
0 Likes
1,359

Hi Experts,

I am new to abap and i want to know why do we create ztable, when we have standard sap tables.

Adv tnx

nani

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,042

Hi,

you create Z or Y-tables, because the SAP-standard can not be changed without a object key and in the best case, you should try to work with SAP without changing the SAP standard.

On the other side, if you have an update for release or so, the standard tables are overwritten with the standard and you need to rework all your changes after this.

The Z and Y-tables are saved from this.

So, if you don't want to make yourself more work, use the z and y namespace from sap. :O)

Regards

Nicole

6 REPLIES 6
Read only

Former Member
0 Likes
1,043

Hi,

you create Z or Y-tables, because the SAP-standard can not be changed without a object key and in the best case, you should try to work with SAP without changing the SAP standard.

On the other side, if you have an update for release or so, the standard tables are overwritten with the standard and you need to rework all your changes after this.

The Z and Y-tables are saved from this.

So, if you don't want to make yourself more work, use the z and y namespace from sap. :O)

Regards

Nicole

Read only

Former Member
0 Likes
1,042

Hi

assume that your customer wants to track any user accessing a particular transaction and changes made by different users to the transaction. (example)

And the transaction realted SAP tables are not capturing that sort of details. Then we will go for a Z-table with the required fields. and we will write our own programs to Update the table as well as get reports from using the table data...

Whenever the existing SAP tables are not satisfying the requirements, we will go for Z-tables.

Read only

Former Member
0 Likes
1,042

Hi nani,

1.why do we create ztable

If we want to capture some data / information,

which is not available in standard r/3,

2. then for storing such data, we have to create Z tables.

(we cannot and should not directly use the standard tables , in sql,

for saving data)

regards,

amit m.

Read only

Former Member
0 Likes
1,042

Hi,

SAP standard tables does not mett all the client requirements.

When a client specifies a particular requiremenst and its not available with SAP std tables, then v goin for creating a Ztable with all Z fields, where in the client can upload his own set of records.

This makes it easy for the client for his further processings.

Z table thus plays a very vital role when it comes to specific requiremenst by the the various companies for their operation.

Hope wat i said is clear.

****reward points if useful.

All the best

Read only

Former Member
0 Likes
1,042

Z/Y Tables:

1)Standard Tables do not meet all the requirements. For example you may have to declare any structure as per the client requirement.

2) The enormous amount of data may not be any use to you when you need few lines of data

Read only

Former Member
0 Likes
1,042

CAN ANY BODY EXPLAIN THIS EXAMPLES