Show TOC

Interface /IWBEP/IF_V4_DP_PROCESS_STEPSLocate this document in the navigation structure

This interface provides methods to influence the request processing at specific pre-defined steps.

Generically implemented data provider classes may initialize their framework or retrieve information about the service(s) of the current request in method /IWBEP/IF_V4_DP_PROCESS_STEPS~INITIALIZE. The handling of logical units of work (LUW) during processing of change operations or change sets in a batch request may be adapted in /IWBEP/IF_V4_DP_PROCESS_STEPS~COMMIT and /IWBEP/IF_V4_DP_PROCESS_STEPS~ROLLBACK.

Methods
Method /IWBEP/IF_V4_DP_ PROCESS_STEPS ~INITIALIZE

This method provides the initialization before the request processing is delegated to a specific method of the data provider class.

The method is reserved for application data provider class. The generic implementation in /IWBEP/CL_V4_ABS_DATA_PROVIDER leaves the method empty.
Table 1:

Parameter

Description

IO_REQUEST

The request object IO_REQUEST is provided to the method where the relevant services and model information may be retrieved.

Note that several services may be relevant in the context of a request execution if cross-service navigations are used. The leading service specified in the request URI is returned separately.

Exceptions

An exception may be raised to terminate the request processing if the initialization fails.

Example

See /IWBEP/CL_V4_F4_DP for an example implementation in the context of a generic data provider class for value helps.

Method /IWBEP/IF_V4_DP_ PROCESS_STEPS ~COMMIT

This method ends the current change operation or change set processing persisting the changes.

Exceptions

An exception may be raised to terminate the request processing. It overrides the exception that led to the rollback.