Skip to Content
0
Former Member
Jun 29, 2007 at 10:11 PM

Help with small code

10 Views

Hi,

The matnr exists in the table and it should pull something in, however, the following code is not pulling the matrn:

SELECT SINGLE MATNR FROM MARC

INTO LV_MATNR

WHERE MATNR = XVBAP-MATNR

AND WERKS = XVBAP-WERKS

AND ZZLIFNR = LV_ZZLIFNR.

LV_MATNR is type MARC-MATNR.

The other variables exist and i checked in the table for a record, but it does pull it up.

Thanks,

John