Simple first ABAP OO program

Posted on Leave a commentPosted in ABAP, ABAP OO

Simple first program of ABAP OO, using a selection in the database. Posting to keep in mind the keywords of a ABAP OO for who does not have any experience with OO. I recommend this course:     REPORT  z_teste01. *———————————————————————-* *       CLASS flight DEFINITION *———————————————————————-* * Definition, where are the data and the methods definitions *———————————————————————-* CLASS flight DEFINITION. PUBLIC SECTION. DATA: it_flight TYPE STANDARD TABLE OF sflight. DATA: wa_flight TYPE sflight. METHODS: get_flight IMPORTING fldate TYPE sflight–fldate connid TYPE sflight–connid. ENDCLASS.                    “flight DEFINITION *———————————————————————-* *       CLASS fligh IMPLEMENTATION *———————————————————————-* * Where are the execution of the methods […]