Skip to Content
0
Former Member
Dec 13, 2013 at 12:20 PM

Repair Full load in Generic Datasource not working

60 Views

Hi,

Repair full load is not working for generic datasource

I need to load data on selection from source. The datasource is generic. If i use full/repair full then only dela data is coming

if i delete the init and use full, only then full load is working

I need experts help on changing this to pick full load without deleting the init

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.