10-06-2016 10:25 AM
HI Guys,
I have these fields in Z table and ABCDE are my key fields, and in B field
there is a INITIAL and a NULL value.
I want wo remove that record from Z-table where ABCDEF are same and G = 'N'.
but i dont able to delete records bcz in my B column there is initial and a null value.
A B C D E F G
2506 initial 000000000100103003 23.05.2016 Z310 5.000 N
2506 null 000000000100103003 23.05.2016 Z310 5.000 S
2503 null 000000000100103003 23.05.2016 Z310 5.000 N
2503 initial 000000000100103003 23.05.2016 Z310 5.000 S
Thanks in advace
10-06-2016 11:00 AM
Hi,
Use this
DELETE ADJACENT DUPLICATES FROM itab COMPARING ALL FIELDS.
for specific,
DELETE ADJACENT DUPLICATES FROM itab COMPARING B
10-06-2016 11:11 AM
i dont want to delete from internal table but from z-global table, and adjacent duplicate entries are not work for this bcz key field have a null and a initial value.
10-07-2016 9:45 AM