cancel
Showing results for 
Search instead for 
Did you mean: 

what is main use of Function Imports

Former Member
19,587

What is the use function imports in Gateway.

View Entire Topic
rakeshpatra
Explorer

Function Imports in SAP Gateway are used to expose custom actions or operations that do not fit into standard OData CRUD operations (Create, Read, Update, Delete). These functions allow you to execute business logic such as validations, calculations, or complex operations.

You should use Function Imports when:

  • You need to perform a complex operation (e.g., mass data processing).
  • The operation does not directly map to an entity in your OData model.
  • You want to trigger a BAPI, RFC, or custom ABAP logic from UI5.
  • You need a custom action (e.g., Approval, Status Change).