Friday, 5 February 2016

How to Do a Sort in a Select Statement of ABAPIn Feburary 2016 05,

In Feburary 2016 05,
Click the 'Start' button in Windows and select 'SAP Management Console' from the 'All Programs' menu to open the SAP management console.
Type in the following code in the console window:DATA: BEGIN OF WA,CARRID TYPE SFLIGHT-CARRID,CONNID TYPE SFLIGHT-CONNID,MIN TYPE I,END OF WA.SELECT CARRID CONNID MIN( SEATSOCC ) AS MININTO CORRESPONDING FIELDS OF WAFROM SFLIGHTGROUP BY CARRID CONNIDORDER BY CARRID MIN DESCENDING.WRITE: / WA-CARRID, WA-CONNID, WA-MIN.ENDSELECT.
Click 'File,' 'Run' to run ABAP program using the SELECT statement for sorting database records.
In Feburary 2016 05,

No comments:

Post a Comment