10-17-2008 2:34 PM
Please help with this issue " NO CHECK or IF SY-TFILL > 0 preceeding SELECT...FOR ALL ENTRIES was found"
SELECT docnum countr st1 st2 st3 st4
FROM edids INTO TABLE i_edids
FOR ALL ENTRIES IN i_edidc
WHERE docnum = i_edidc-docnum.
10-17-2008 2:39 PM
if the internal table i_edidc is empty, than all records will be selected from edids
better to check the internal table first:
IF i_edidc[] IS NOT INITIAL.
SELECT docnum countr st1 st2 st3 st4
FROM edids INTO TABLE i_edids
FOR ALL ENTRIES IN i_edidc
WHERE docnum = i_edidc-docnum.
ENDIF.
10-17-2008 2:39 PM
if the internal table i_edidc is empty, than all records will be selected from edids
better to check the internal table first:
IF i_edidc[] IS NOT INITIAL.
SELECT docnum countr st1 st2 st3 st4
FROM edids INTO TABLE i_edids
FOR ALL ENTRIES IN i_edidc
WHERE docnum = i_edidc-docnum.
ENDIF.