‎2006 Oct 23 3:27 PM
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
‎2006 Oct 23 3:30 PM
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
‎2006 Oct 23 3:30 PM
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
‎2006 Oct 23 3:33 PM
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
‎2006 Oct 23 3:34 PM
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
‎2006 Oct 31 7:59 AM
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.
‎2006 Nov 02 2:12 PM
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