How to map output of a function to an internal table in SAP ABAP using Gateway service



Not Found
404
Not Found

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.

raja
Updated on 12-Dec-2019 09:04:35

Advertisements