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

database table

Former Member
0 Likes
835

hello friends,

I want to find out the number of unique customers in KNVV table. Is there a way in SE11 to do this.

Madhu.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
807

Well, if these customers exist in KNVV, then they must exists also in KNA1, which in this table is the key, so you will have unique customers for every row in KNA1.

Regards,

Rich Heilman

6 REPLIES 6
Read only

Former Member
0 Likes
807

Hi,

I believe this cannot be done in SE11.

Instead you can write a small program to get the unique customers in KNVV.

Thanks,

Naren

Read only

Former Member
0 Likes
807

Hi,

There is no such provision in SE11. YOu can probably write a code to read the unique Customers or else download the data into an excel and sort excel sheet by customer. This will give you the number of unique customers.

Regards,

Vara

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
808

Well, if these customers exist in KNVV, then they must exists also in KNA1, which in this table is the key, so you will have unique customers for every row in KNA1.

Regards,

Rich Heilman

Read only

0 Likes
807

No, I am actually doing it on a custom table. Have uploaded it through excel sheet. Am doing some validations on a field, comparing with excel. Hence want to find the unique data in that field.

Thanks for the answers.

Madhu.

Read only

Former Member
0 Likes
807

Hi ,

Try this SE16 >KNVV>Display all records of the table . now goto settings>listformat>choose fields , deselct all fields other than KUNNR , so now u have only Customer being displayed. Now goto SETTINGS->USERPARAMETERS and select the ALV Grid display radio button . so now ur display is in LAV , now sort the data on KUNNR.

Hope this helps.

Regards

Arun

Read only

ferry_lianto
Active Contributor
0 Likes
807

Hi Madhu,

Perhaps you may want to use SE16N to browse table KNVV.

Regards,

Ferry Lianto