Skip to Content
0
Former Member
Nov 25, 2005 at 11:46 PM

Select into fields

25 Views

Hi all!!.

I want to put just a record in three fields, is it necesary to put them in a structure?

TABLES PB4000.

DATA: APSTA LIKE PB4000-APSTA,

STREA LIKE PB4000-STREA,

MASSN LIKE PB4000-MASSN.

SELECT APSTA STREA MASSN

FROM PB4000

INTO APSTA, STREA, MASSN.

WHERE PERNR = '99999803'

AND ENDDA = '99991231'.

ENDSELECT.

Comma without preceding colon (after SELECT ?).