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

Application table should be client-specific

Former Member
0 Likes
5,653

Is it mandatory to add a mandt field when created predefined Database Table?

7 REPLIES 7
Read only

matt
Active Contributor
2,902

Yes, if that's what is required. No, if that's not what is required.

Read only

tamitdassharma
Active Participant
2,902

Please share a better clear answer as the person who has posted this question might be new to the world of ABAP. Or please refrain from providing such trivial answers and demotivating the person.

Read only

matt
Active Contributor
2,902

If a general question is asked,I'll answer generally.

If the OP wants to understand the difference between client dependent and client-independent, then I'd suggest he or she do some research. There's plenty of blogs with this information, and other documentation.

Read only

muttepawar-2009
Active Participant
0 Likes
2,902

HI

Yes : it is mandatory to add a mandt field when created predefined Database Table.

Regards

Prashant

Read only

0 Likes
2,902

No. It isn't.

Not if the predefinition is that it is client independent.

Read only

tamitdassharma
Active Participant
0 Likes
2,902

Hello anand07,

It is important to add a mandt field if you are creating a client dependent table. Example: A table which holds data pertaining to users of that tenant or client.

It is not important to add a MANDT field in a cross-client table. Example: A table which contains the name of other tables or programs in a specific system.

Read only

matt
Active Contributor
2,902

"A table which contains the name of other tables or programs in a specific system."

Not really. You might well want different tables or programs in that table, in different clients of the same instance.