Skip to Content
0
Former Member
Jun 02, 2006 at 04:58 PM

To get the customer name

237 Views

Hi,

I have the following loop, to get the customer name. I have 9 records for the selection and after execution I am able to see only one customer name, because I am not catching it in the loop. How to do it. and where should I clear NAME1.

LOOP AT ITAB_LIKP.

AT NEW KUNNR.

SELECT SINGLE NAME1 FROM KNA1 INTO TNAME1

WHERE KUNNR = ITAB_LIKP-KUNNR.

ENDAT.

ENDLOOP.

ENDIF.

LOOP AT ITAB_LIPS.

-


-


Thanks

Veni.