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
644

hi folks

i hav created a view. it joins 4 tables and i want to display 5 fields.

they are:

mara-matnr

mara-mtart

marc-werks

mard-lgort

makt-maktx.

the prblem is each line item is duplicating in the output.

how i can avoid this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
622

use these conditions

mara-matnr = marc-mtart and

mara-matnr = mard-matnr and

mara-matnr = makt-matnr and

mara-werks = mard-werks.

5 REPLIES 5
Read only

Former Member
0 Likes
622

Hi,

after selecting data u can write delete adjacent duplicates.

Read only

Former Member
0 Likes
622

Hi

Have you given the valid Join condition with MATNR in all the tables

Read only

Former Member
0 Likes
622

Hi,

Inorder to get only unique records,

Do a join condition on all the tables..

For eg: MARA-MATNR = MARC-MATNR

MARA-WERKS = MARC-WERKS

This will get all the uniqure records from MARC..

Hence do the same join conditon on all the key fields in the restof the table MARD and MAKTX

Reward if useful

Regards

Shiva

Read only

0 Likes
622

hi shiva

i hav written the join condition already.

still the same error...........

Read only

Former Member
0 Likes
623

use these conditions

mara-matnr = marc-mtart and

mara-matnr = mard-matnr and

mara-matnr = makt-matnr and

mara-werks = mard-werks.