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

Difference bw Z table & Y table

Former Member
0 Likes
4,613

Hi,

Please give me an explanation to Z table & Y table.

Ratheesh

Hi,

Please give me an explanation to Z table & Y table.

Ratheesh

8 REPLIES 8
Read only

Former Member
0 Likes
2,362

both r user created one its naming convention.

All characters except ‘Y’ and ‘Z’ are reserved for SAP. SAP ABAPs may not be modified (except for SAP fixes and in special circumstances approved by project Steering Committee/Change Control).

Y – donates an SAP ABAP which has been copied and modified. All the original SAP code must remain in place, commented out if appropriate.

Copies of the original SAP ABAPs must remain Y-ABAP’s in the following situations.

•If the changes to the standard SAP code will have to be applied again after each upgrade.

•If the ABAP is called automatically by another standard SAP ABAP or transaction.

Z – Donates a generated ABAP, either written from scratch or based on an SAP original without the original code being retained. (This may be done if the changes become significantly large. As a guide, if more than a quarter of the original code lines are changed, a new Z-ABAP is desirable).

Read only

Former Member
0 Likes
2,362

Hi Ratheesh,

Both 'Y' & 'Z' are custom tables

'Y' has been copied and modified. All the original SAP code must remain in place, commented out if appropriate.

Copies of the original SAP ABAPs must remain Y-ABAP’s in the following situations.

•If the changes to the standard SAP code will have to be applied again after each upgrade.

•If the ABAP is called automatically by another standard SAP ABAP or transaction.

'Z' is either written from scratch or based on an SAP original without the original code being retained. if the changes are significantly large (i.e) more than a quarter of the original code lines are changed, a new Z-ABAP is desirable.

Read only

Former Member
0 Likes
2,362

Hi Ratheesh,

As others have pointed out, both denote user defined programs. They are name spaces reserved for the custom developed programs which are either modification of the original SAP program or developed from scratch.

I am not sure if Y programs denote the set of programs which are modification of the SAP standard ones, as far as i know both names are used interchangebly for both tyes of developments.

Thanks

Janani

Read only

Former Member
0 Likes
2,362

Hello,

I am not sure about it but i heard some one gave me the difference as

Y-table is not transportable where Z-table is transportable.

Read only

GrahamRobbo
SAP Mentor
SAP Mentor
0 Likes
2,362

Hi there,

there is no technical difference between 'Z' objects and 'Y' objects.

Some customers choose to implement rules about how to use them but this is arbitary.

Cheers

Graham

Read only

0 Likes
2,362

As Graham says, the way these are used is site-specific so you cannot rely on finding all custom developments in just the "Y" or just the "Z" name range. For example, one site I work at uses the "Z" name range for adhoc / one-off programs and the "Y" name range for ongoing major development projects, whereas another site uses the "Y" convention for non-transportable ($TMP) objects, and "Z" for anything going to production.

Read only

Former Member
0 Likes
2,362

HI

THERE IS NO DIFFERENCE B/W ZTABLE AND YTABLE

WHAT EVER THE OBJECT OR TABLE OR ETC.. IN SAP WHICH STARTS WITH

Z OR Y STANDS THAT THAT IS A USER DEVELOPED ONE

OTHER THAN THIS IF THAT STARTS WITH ANY LETTER THEN IT MEANS IT IS DEVELOPED BY STANDARD SAP

YOU CAN HAVE ACCESS TO CHANGE ZTABLE OR YTABLE BUT YOU DON'T HAVE ACCESS TO DO ANY CHANGES TO STANDARD SAP OBJECTS

SO THERE IS NO DIFFERENCE IN ZTABLE AND YTABLE ONLY DIFFERENCE IS NAMING CONVENTIONS , ONE CLIENT WANTS TO DEVELOP THE OBJECTS OR TABLES WITH 'Z'Z AND SOME WANTS TO DEVELOP THE TABLES WITH 'Y'

REWARD IF USEFULL

Read only

Former Member
0 Likes
2,362

there is no difference between 'Z' table and 'Y' table. All user defined tables start with Z or Y.

regards,

srinivas

<b>*reward for useful answers*</b>