Skip to Content
0
May 09, 2016 at 07:32 PM

Select Statement Fails, SY-SUBRC = 4

3275 Views

Hello Community,

I'm in need of help since my following Select Statement does not give any results and a can't figure out why:

TYPES: BEGIN OF ts_lifex,
vbeln TYPE vbeln_vl,
lifex TYPE lifex,
mblnr TYPE mblnr,
END OF ts_lifex.

DATA: lt_lifex type standard table of ts_lifex.

SELECT vbeln lifex FROM likp
INTO CORRESPONDING FIELDS OF TABLE lt_lifex
FOR ALL ENTRIES IN lt_docno WHERE lifex = lt_docno-docno.

lt_docno and likp are filled with values that should match.

Thank you in advance,

regards,

Philipp