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

MANDT field

Former Member
31,930

hi,

can anyone tell me what if i don't put MANDT as a part of primary key?

thanx,

maja

Message was edited by: Maja Zugaj

17 REPLIES 17
Read only

athavanraja
Active Contributor
0 Likes
14,182

if you dont use MANDT as key of the table, table will become client independent.

Regards

Raja

Read only

0 Likes
14,182

Thank you so much!

Read only

Former Member
0 Likes
14,182

it is not a mandatory field ... yes you can do that .. but the table will act as a client independenet table

Regards,

Santosh

Read only

Former Member
0 Likes
14,182

Hello Maja,

MANDT is the client field. If a table has MANDT as the first field with dataelement is MANDT then that table is clent dependent. If a table doen't have this filed then it is a client independent table.

If useful reward .

vasanth

Read only

Former Member
0 Likes
14,182

HI ,

That will mean that you don't want a client specific database table.

Manish

Read only

Former Member
0 Likes
14,182

Hi maja,

1. The system won't allow.

2. IF MANDT is the first field,

and u have specified the 2nd field as primary key,

it won't accept.

The key fields of a table must be grouped together at the beginning of the table

regards,

amit m.

Read only

santhosh_patil
Contributor
0 Likes
14,182

Hi...

I think it will be become client independent..

Check it out...

Regards,

Santhosh

Read only

Former Member
0 Likes
14,182

HELLO,

YOU CAN, BUT MANDT IS THE CLIENT NO. FILED AND EVERY QUERY/SQL COMMANDS, IT FATCH RECORDS OF CURRENT CLIENT(DEFAULT) .

SO, IF U NOT TAKE MANDT AS PART OF PRIMERY KEY THEN YOUR QUERY TAKE MORE TIME TO EXECUTE.

MUKESH AGGARWAL

Read only

Former Member
0 Likes
14,182

hi,

Please check my answer ..... even though i answered second but it was unfortunate that you did not like my answer .. it would be great if you can assign some points to me too..

Regards,

Santosh

Read only

0 Likes
14,182

hi,

that is why i checked your answer with 2 points as helpfull answer, from my view i can see it is checked but not grayed also, that is why maybe you cant see it, i'll try to check it right again.

so sorry for this.

maja

Read only

0 Likes
14,182

Hi

In BI side MANDT (client) it is the primary (mandatory) why put as a primary key, need to map the filed in transformation so that .. along with primary key will do the success full transformation and get the data properly........

Read only

0 Likes
14,182

Hello maja,

many of people tell here that table will become client independent. but i think this concept is wrong. Because table always client independent object. But records of the table is always client dependent object. For this reason it is maintained by mandt field.

Thanks

Sabyasachi

Read only

0 Likes
14,182

SCN is not a place where you ask for some points. Dont ask for points. Read SCN rules and engagement.

Thanks

Sabyasachi

Read only

0 Likes
14,182

Hi Karforma,

I agree with your comment, yes table always client independent, if we put MANDT as a key field then the data in that table become client dependent.

if you not put MANDT field as a key field than the data in that table become client independent.

Regards,

Ramesh.T

Read only

0 Likes
14,182

Yes i agree with you Karforma....

Good....

Regards,

Ramesh.T

Read only

0 Likes
14,182

Hi Ramesh,

you are right. According to me most of people (Diamond, Topaz contributor) writes wrong. Kindly request to all people that dont write wrong things in SCN. its a great a place to share knowledge. Beginner will become confuse for this type of answer.

Regards

Sabyasachi

Read only

Former Member
0 Likes
14,182

This message was moderated.