Hi All,
I'm using Tables CDHDR and CDPOS.
Fetching data from CHDHR first using -
SELECT * FROM cdhdr INTO TABLE lt_changed_hdr WHERE objectclas = 'DEBI' AND
udate GE v_last_run_date AND
change_ind = 'U'.
Thereafter using the FOR ALL ENTRIES Query on CDPOS.
SELECT * FROM cdpos INTO TABLE lt_changed_itm FOR ALL ENTRIES IN lt_changed_hdr
WHERE objectclas = lt_changed_hdr-objectclas AND
objectid = lt_changed_hdr-objectid AND
changenr = lt_changed_hdr-changenr AND
tabname IN ('KNA1', 'KNB1', 'CDPOS').
When running the query for the single missing customer its appearing in the output.
But when running the query for set of customer's the entries goes missing, unable to figure out the issue involved here.
Also the missing entries are picked up CDHDR but not by CDPOS.
Need suggestions why is this happening.
Thanks & Regards,
Ritiz