Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ABAP Native SQL error: "INTO ..." not specified. OO context no longer supported.

$
0
0

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.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>