NO CHECK or IF SY-TFILL > 0 preceeding SELECT...FOR ALL ENTRIES was found
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.
Tags:
Eric Cartman replied
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.