Skip to Content
avatar image
Former Member

How to Guides for the Methods from IWBEP-Runtime

Hello Experts,

I have been going through the How-To-Guides in Gateway Forum.

I have worked my way around and used the Basic CRUD Methods, Expands, Streams, Function Imports.

But what I would really want to know is that we inherit so many methods from the IWBEP to DPC class.

What about the uses of all the other methods. I want to know the use of some/all the other methods and their use cases.

Please comment/share knowledge and enlighten on the same which would be useful to the Gateway/UI community 😊.

Thanks and Warm Regards,

Kartik Suru

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 24, 2014 at 12:01 PM

    Hello Kartik,

    Few which i know.

    1. /IWBEP/IF_MGW_APPL_SRV_RUNTIME~PATCH_ENTITY

    This for Partial Update.

    You need not to send all the properties of your model as art of payload during update.

    Only fields needs to be updated can be sent in payload with Key.

    HTTP method - PATCH

    If required you can redefine this method and can write our own code as per our needs.

    2. /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_DEEP_ENTITY

    This is to Perform POST operations involving Header and Item relation.

    3. /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN & /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END

    You can redefine these if any logic which you would like to call before begin or end.

    Explicit Commit need not be written during modifying operations as it will already be handled by frame work.

    4. The below methods can be called accordingly for exception handling and commit.

    /IWBEP/IF_SB_DPC_COMM_SERVICES~RFC_EXCEPTION_HANDLING

    /IWBEP/IF_SB_DPC_COMM_SERVICES~COMMIT_WORK


    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2014 at 07:41 AM

    The Base class of DPC is /IWBEP/CL_MGW_ABS_DATA which implements multiple interfaces. The methods that you see in your Data Provider class are defined in those interfaces.  The details of these methods can be found in their interface documentation at OData Channel Runtime APIs - SAP NetWeaver Gateway - SAP Library

    Add comment
    10|10000 characters needed characters exceeded