Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2161

Output in Column Format - ABAP program

$
0
0

Hi,


I need small help in one of my ABAP program.


I am retrieving data from a table, but the output I am receiving is in row format , rather I want it in column format. Please see blow example.


 

TABLES: SFLIGHT.

SELECT * FROM SFLIGHT.

WRITE: / 'Carrier ID : ' , SFLIGHT-CARRID.

WRITE: /'Aircraft type :' , SFLIGHT-PLANETYPE.

 

Output I am receiving is:

 

Carrier ID: 'AA'

Aircraft Type: 747-400.

 

Rather I want the output to come in this format.

 

Carrier Id            Aircraft Type

AA                     747-400

 

 

Please help me , how to show desired output.

 

 

Regards

Shafali Jain


Viewing all articles
Browse latest Browse all 2161

Trending Articles



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