Map Output of a Function to an Internal Table in SAP ABAP Using Gateway Service



You need to just import the function so that it can be used. First, you need to have a ABAP structure which should map the structure of the output parameters.

Example

define structure zza_enqtstat {
    entries_total  : abap.int4;
    entries_peak   : abap.int4;
    entries_actual : abap.int4;
}

Then map this newly created structure to a new entity in the gateway project. Now for the function ‘ENQUEUEGETSTAT’’ create a function import. Next step for you will be to redefine the method in DPC_EXT. Save you changes and it should work.

Updated on: 2019-12-12T09:04:35+05:30

278 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements