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

client dependent database view

Former Member
0 Likes
1,439

Hey,

how can I make a database view client dependent? If I put the clients of the different tables I want to join, in the joinconditions, it joins the different tables for the right clients, but it is not restricted to the client I'm currently logged on to. So I still have too much data.

greet,

Pieter

5 REPLIES 5
Read only

Former Member
828

Hi pieter,

1. Make MANDT (client)

as the FIRST FIELD in

<b>THE VIEW.</b>

(U must have forgotten that)

2. It will solve the problem.

regards,

amit m.

Read only

Former Member
0 Likes
828

hi Pieter

adding first field "MANDT" can solve ur problem...

Read only

Former Member
0 Likes
828

the first field should be MANDT which will hold the client no. Using this u can see the entries to which system they belong.

Always it is good to maintain MANDT for all tables & views.

Read only

Former Member
0 Likes
828

ok thanks, my MANDT field was not the first field in the view fields. Moving it upwards has solved the problem

greet,

Pieter

Read only

Former Member
0 Likes
828

people has given u the solutions...

So, u need to atleast assign points before closing the thread as it has solved ur problem.