Skip to Content
0
Former Member
Apr 11, 2012 at 08:20 AM

select query not selecting values into table

52 Views

Hi,

i want the AUFNR to be extracted from QMEL for a QMNUM, i used the below statement, but it is showing sy-subrc = 4.

IF git_qmnum[] IS NOT INITIAL.

SELECT qmnum

aufnr

FROM qmel

INTO TABLE git_qmel

FOR ALL ENTRIES IN git_qmnum

WHERE qmnum EQ git_qmnum-qmnum.

ENDIF.

please help

regards,

sama

Moderator message : Not enough re-search before posting, discussion locked.

Message was edited by: Vinod Kumar