cancel
Showing results for 
Search instead for 
Did you mean: 

How to Guides for the Methods from IWBEP-Runtime

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

former_member184867
Active Contributor
0 Kudos

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