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

Z-table

Former Member
0 Likes
752

Hi experts,

Is it mandatary to insert MANDT field for every Z-table?

Suppose if we transport this Z-table to quality or production in that case is it mandataory?. I think Is it not good way to create a table with out MANDT field?

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
693

Hi,

It is not mandatory to give the MANDT field.

It only depends whether you want it to be client dependent or not.

If MANDT is present then client dependent

If MANDT is NOT present then client independent

Message was edited by: Dominic Pappaly

5 REPLIES 5
Read only

Former Member
0 Likes
694

Hi,

It is not mandatory to give the MANDT field.

It only depends whether you want it to be client dependent or not.

If MANDT is present then client dependent

If MANDT is NOT present then client independent

Message was edited by: Dominic Pappaly

Read only

Former Member
0 Likes
693

Hi

It depends on which kind of data your ZTABLE has to store.

Every system can have more than one client, so if the data of your ZTABLE has to be client dependent that table has to have the MANDT (client number) as key field.

So generally the tables have to have the MANDT as key fields, the reasons to create a table client independent are rather rare.

If you are sure the data have to be the same in all client, you can create a table without MANDT, in this case when you insert a data in a client, it'll be available for all clients of the systems.

Max

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
693

Hi Ravi, anytime that you want the data to be client specific, you should include the MANDT field. Most transaction data and master data you will want to use the MANDT. It is not mandatory, this is because in some cases you may want your table to be cross-client, for example if you are creating custom configuration tables which are to be cross-client.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
693

it is not mandatory to have a MANDT field in your table,

since, that field is necessary only when u want your table to be client dependent.

Read only

Former Member
0 Likes
693

hi Ravi Kumar,

its not mandatory

but while creating the table it gives information as

<b>Application table should be client-specific</b>

its good if you maintain that field