Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: ABAP code to delete duplicate records

$
0
0

Data flow:

 

DS -> WODSO -> SDSO -> IC

 

key fields in WODSO: fiscper, fiscvarnt, fiscper3, fiscyear, Ac_doc_no, Pstng_date, comp_code, chrt_accts, gl_account, item_num

comparing with 0FIGL_O02, in my WODSO I have Posting data in addition.

 

For the time being I deleted all delta requests in WODSO as they were bringing duplicate records.

Need to figure out solution first and implement it for data load either from PSA to WODSO (wiht DSO setting: don't allow duplicate records) or from WODSO to SDSO (where WODSO setting: allow duplicate records)

 

I need to use below code but complete is for my scenario.

 

Sort <internal table>.

delete adjacent duplicates from <internaltable> comparing all fields.

 

thanks


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>