FUNCTION Z_RAMZY1.
dear I am working with ABAP (new developer)
SAP ECC 6
i am trying to create SQL Native and i am facing this error: ""INTO ..." not specified. OO context no longer supported."
i know SQL Open but i want to try the native mode too.
thanks,
*"----------------------------------------------------------------------
*"*"Local Interface:
*"----------------------------------------------------------------------
DATA: BEGIN OF GetData,
FKDAT1(10) Type N,
Month Type I,
Year Type I,
Day Type I,
LowerName(100) TYPE C,
END OF GetData.
EXEC SQL PERFORMING LOOP_OUTPUT.
Select Top 1000
FKDAT as FKDAT1,
Month(FKDAT) as [Month],
Year(FKDAT) as [Year],
Day(FKDAT) as [Day],
Lower(ERNAM) as LowerName
INTO: GetData
From VBRK
Where (Month(FKDAT) = 2)
ENDEXEC.
FORM loop_output.
WRITE: / GetData-FKDAT1, GetData-Month, GetData-Year, GetData-Day, GetData-LowerName.
ENDFORM.