SAP Gateway – OData implementation

Posted on Leave a commentPosted in ABAP, ABAP OO, Gateway

A little roadmap to create an OData service in SAP. ODATA Examples for understanding: If the version of the Netwearver is greater than 7.3, the component is already installed: When the version is less than 7.4, you need to install these two components: GW_CORE IW_FND Transactions separated by Front End and Back […]

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 […]