Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Before learning ooalv

0 Likes
1,350

Is it necessary to learn alv reports before learning OOALV ?

Is it necessary to learn alv reports before learning OOALV ?

3 REPLIES 3
Read only

former_member717457
Participant
1,274

Hi,

No, Not required. Straight away you can learn OOALV, no prerequisite.

Thanks

Sathish Kumar Sidhaiyan

Read only

former_member717457
Participant
1,274

Sample Code:

TABLES MARA.

data : it_mara TYPE TABLE OF MARA.
data : o_alv TYPE REF TO cl_salv_table.

START-OF-SELECTION.
select * from MARA INTO TABLE it_mara UP TO 100 ROWS.

call METHOD cl_salv_table=>factory
* EXPORTING
* list_display = if_salv_c_bool_sap=>false " ALV Displayed in List Mode
* r_container = " Abstract Container for GUI Controls
* container_name =
IMPORTING
r_salv_table = o_alv " Basis Class Simple ALV Tables
CHANGING
t_table = it_mara
.
*CATCH cx_salv_msg. " ALV: General Error Class with Message
*CATCH cx_salv_msg. " ALV: General Error Class with Message

o_alv->display( ).

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,274

I wouldn't be able to tell anybody if it's worth learning OOALV or ALV reports (unprecise terms, don't you mean CL_SALV_* classes A.K.A. ALV Object Model, and function modules REUSE_ALV_* function modules), it depends on the context!