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

Get all data from Databasetable

Former Member
0 Likes
739

Hi Everyone,
i need to check all the data from table PKPS where the same PKNUM contains the same PKPOS.
Is there an opportunity to get this data via a view? Or should we write a report for showing this data?

Example:
PKNUM: 1 PKPOS 1 => Relevant
PKNUM: 1 PKPOS 1

PKNUM: 2 PKPOS 1 => not Relevant
PKNUM: 2 PKPOS 2


Thanks in Advance.

4 REPLIES 4
Read only

davis_raja
Active Participant
0 Likes
697

There is no need to write a report for this.

Goto T code SE16

Type PKPS and ENTER

Enter PKNUM and PKPOS in to the fields

It will display all PKNUM and PKPOS from the table

Identify the data.

Read only

Chintu6august
Contributor
0 Likes
697

Hi,

go to SE16N, give table name PKPS and hit enter.
remove the no. of hit, if you don't have PKNUM and PKPOS.

alv list will appear, make use of FLITERS and compare the records.

thanks!!

Read only

Former Member
0 Likes
697

You can use select into table and  you can use:

  DELETE ADJACENT DUPLICATES FROM it_out COMPARING PKNUM PKPOS.

Read only

Patrick_vN
Active Contributor
0 Likes
697

Not sure if there is a direct way to only show the records that have "doubles". Maybe export the data from PKPS (via SE16N) into excel and check for records with the same PKNUM/PKPOS combo there.