Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Re: Start Routine - Delete Data w/ No Matching Record In Target

$
0
0

Hi Larry,

 

Since in initial question you said Start routine is not preferable hence I suggested routine in DTP.

 

Anyway here is the idea to delete records from source package

 

  1. Create ACDCNR as RANGE Table let called R_ACDCNR
  2. Loop at GT_VALID_RECORDS and update R_ACDCNR-LOW = GT_VALID_RECORDS-AC_DC_NR.
  3. Delete adjustment duplicates from R_ACDCNR.
  4. DELETE SOURCE_PACKAGE WHERE AC_DC_NR NOT IN R_ACDCNR-LOW.

 

Please check this.

 

Thank you,

Nanda


Viewing all articles
Browse latest Browse all 3366

Trending Articles



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