Hi,
I am having issue with following query-
LOOP AT IT_MKPF INTO WA_MKPF.
SELECT PERNR
USRID
FROM PA0105
INTO TABLE IT_PA0105
WHERE USRID = WA_MKPF-USNAM.
ENDLOOP.
That the loop is hitting the same select query more than 1000 times, I know that we should not write select query inside the 'LOOP' I have to pass USNAM field into USRID field as they both are from different table and nothing having comman between them.
Please suggest me new query.
Thanks Regards.