SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

BAPI Wrapper Pattern (Interface, Class, Factory)

A wrapper is a custom ABAP object that encapsulates a non-released SAP function module or API, exposing its functionality through a stable, released interface that developers can safely consume. Developers use wrappers to mitigate the absence of a released SAP API — for example, wrapping the BAPI_PR_CREATE function module to enable the creation of purchase requisitions from custom business objects such as a Shopping Cart. This pattern allows a business object to integrate indirectly with core SAP functionality while maintaining upgrade stability and clean API boundaries.

Tutorials that teach this

Prerequisites

Concepts that build on this