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

Native SQL Program and ALV Layout

$
0
0

Dear all

I created a program using from tCode = SE38

I am using Native SQL.

 

Here is my code:

DATA: BEGIN OF GetData OCCURS 0,
AUFNR
Type COAS-AUFNR,
AUART    
Type COAS-AUART,
END OF GetData.

 

EXEC SQL PERFORMING loop_output.
SELECT AUFNR, AUART
INTO STRUCTURE :GetData

FROM Mytable
Where (MANDT = 450)
ENDEXEC.

FORM loop_output.

WRITE: / GetData-AUFNR,
GetData
- AUART.

  1. ENDFORM.

Everything is working very well.

 

Now I want to add this report to ALV layout, how can I do this?

 

Thanks,


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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