Quantcast
Channel: SCN: Message List - Business Content and Extractors
Viewing all articles
Browse latest Browse all 5631

Re: Generic Delta for Z extractor based on view of RBKP and RSEG tables

$
0
0

Dear Florencia,

 

Why dont you go ahead with Function module based generic extractor and do enable delta mode at logic level.

 

There are chances to miss deltas if you go with Delta on View

 

Check this code for reference: logic is depends on ROOSGENDLM table.

 

SELECT SINGLE * INTO IS_DELTA_RUN

                          FROM ROOSGENDLM

                          WHERE OLTPSOURCE = I_DSOURCE.

        ENDIF.

 

 

*This means it's a delta run

        IF IS_DELTA_RUN IS NOT INITIAL.

          SELECT MBLNR MJAHR CPUDT CPUTM FROM MKPF

                             INTO TABLE LT_MKPF

                             WHERE CPUDT GE IS_DELTA_RUN-DELTAID(8)

                               AND BUDAT IN R_BUDAT.

 

 

      ELSE.

*This means that it is a full run or FIRST run, since no pointers are found

          SELECT MBLNR MJAHR CPUDT CPUTM BUDAT FROM MKPF

                     INTO TABLE LT_MKPF

       endif.

 

 

Best wishes. Vijay


Viewing all articles
Browse latest Browse all 5631

Trending Articles



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