Skip to Content
0
Former Member
Sep 12, 2007 at 10:20 AM

Reg : Select & Endselect

28 Views

Hi Experts ,

IM Having doubt in Select & Endselect Query .abt this Code .

SELECT matnr kwmeng werks lgort

UP TO l_index ROWS """"l_index contains 2 rows

FROM vbap

INTO tp_vbap

WHERE vbeln = com_kbv1-vbeln.

ENDSELECT.

When i try 2 execute this Query , it has to read 2 times as L_index = 2.

But it is Reading for only one time.

Here we have 2 use only Select & Endselect Not Internal table.

after reading this 2 entries , it wil go for further Processing .

Please provide me a proper solutions for this ?

Thanq Very Much !!

Regs,

Murthy.