Application Development 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: 

duplicate record

Former Member
0 Kudos

Hi

In my SQ01 Query i have two duplicate records,

i want to delete one duplicate record .

I have used Logical data SDF.

how to find code for it and how to wirte code in SQ01 ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

there are two entries in my BKPF table thats why its comming twice.. but i want only one ..

how to delete next one ?

5 REPLIES 5

former_member186143
Active Contributor
0 Kudos

perhaps check all the key relations you have in the query. perhaps you missed a key to declare or there are duplicate and legitemate records in a linked table

kind regards

arthur de smidt

Former Member
0 Kudos

if in the Query while mapping if all the key fields are been used, no duplicates would occur. There might be some key missing due to which the duplicates are occurring..

Former Member
0 Kudos

there are two entries in my BKPF table thats why its comming twice.. but i want only one ..

how to delete next one ?

0 Kudos

HI,

Being a dadabase table, how could BKPF contain duplicate entry? Check the key entry of them. In SAP , no datatable can contain duplicate entry.

Regards,

Anirban

0 Kudos

and are you aware that BKPF is a multiple key table !! so you have to fill all the keys in the selection or link all the keys ! if you want to get 1 record back