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

View

Former Member
0 Likes
1,082

Please use a meaningful subject in future

hi,

I've 2 tables X and Y .

Z is the Database View of X and Y tables.

So, on activating this view........Displaying error message "Field name MANDT not unique."

Edited by: Matt on May 29, 2009 5:39 PM

11 REPLIES 11
Read only

Former Member
0 Likes
1,041

Are you adding MANDT in your Join condition? I think you need to.

Also see if both are transperent tables as we can define joins only on transperent table.

Read only

Former Member
0 Likes
1,041

Hi,

Are your X and Y Tables are Client Dependent or Client Independent? Have you included MANDT fields in both the tables? And are both the tables Transparent one?

A Database View can be created on Transparent Tables and can be used for tables maintenance if created on a Single Transparent Table.

As for your Error, Check that whether you have included the Mandt field in the Table or Join Condition? Hope that will resolve your error. Have a look at the link below for a complete overview of the Database Join.

http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm

Thanks,

Samantak.

Read only

0 Likes
1,041

hi,

Yes ,i've included MANDT fields in both the tables and both are trasparent one.

Read only

Former Member
0 Likes
1,041

hi

check whether u have included the MANDT field in both the tables and check

whether the UNIQUE field checkbox is selected for MANDT field in both the tables

and also while joining both the table check whether u have joined the tables based on Client

field MANDT.

Regards

Read only

Former Member
0 Likes
1,041

Hi,

Go and check the standard view T333_V.

Naveen M.

Read only

0 Likes
1,041

Hi,

In T333_V Database table, i've the following feilds

MANDT, LGNUM, BWLVS, LBWAT, XDREL.

Would u plz, Tell me What should i check in this view table.

Edited by: SSK on May 29, 2009 5:28 PM

Read only

0 Likes
1,041

Hi,

Have you added MANDT twice in the view fields like for each table ?? Sounds crazy but have a check

Regards,

Yogesh

Read only

matt
Active Contributor
0 Likes
1,041

Please use a meaningful subject in future

Read only

Former Member
0 Likes
1,041

HI ,

For X and Y field one should be unique field , the only you can create view of that both table, first check that .

Regards

Sathish

Read only

Former Member
0 Likes
1,041

I Solved the problem by myself......

and i created a view.

No more answers plz.

Read only

Former Member
0 Likes
1,041

Experts ,

Give answers ...straight to the point.

dont "beat around the bush".