You are on page 1of 1

11/8/2019 ABAP - New features (sample) - Code Gallery - SCN Wiki

Getting Started Store

Community WIKI SAP Community Welcome, Guest Login Register Search the Community

Code Gallery

ABAP - New features (sample)


Created by Waldemar Schakiel, last modified on Apr 21, 2016

Author: Waldemar Schakiel


Submitted: 1st April 2016

Description

Today i want to show you an example with some new features in ABAP.

inline declarations
ALV with integrated data access (IDA)
Conversion operator CONV
A constructor expression with the conversion operator CONV converts the argument to the data type specified using type and creates an appropriate result

The sample code is really short.

REPORT z_sample.
DATA(lo_alv_ida) = cl_salv_gui_table_ida=>create( CONV #( 'SFLIGHTS' ) ).
lo_alv_ida->fullscreen( )->display( ).

abap inline-declaration alv-ida

2 Comments
Enno Wulff
Short Version:

cl_salv_gui_table_ida=>create( CONV #( 'SFLIGHTS' ) )->fullscreen( )->display( ).

ram g
superb master ...

Contact Us SAP Help Portal


Privacy Terms of Use Legal Disclosure Copyright Cookie Preferences Follow SCN

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=491920171 1/1

You might also like