SAP Knowledge Base Article - Public

2888478 - How to Enable PDI Offline for Extension Business Object

Symptom

You have created a Extension business object in your solution.

As per your requirement you wish to have access to this BO when using Offline Mode in the SAP Cloud for Customer application.

Environment

  • SAP Cloud for Customre

Reproducing the Issue

Prerequisites:

  • You have a PDI solution.
  • You have a Extension BO which you want to use for Offline.
  • You have assigned the necessary work centers to your business user for this BO.

Resolution

To enable your extension business object for Offline mode, you must add the necessary BO Annotation to your BODL in the Cloud Application Studio.

Steps:

  1. Log into the SDK.
  2. Open the solution containing the BO you wish to use offline.
  3. Open the file path "/[BusinessObjectName].xbo".
  4. Add the following annotation to your business object:  [OfflineEnabled]
  5. Save and Activate the business object.
  6. For consistency, it is recommended you reactivate your entire solution -> Right-click on the solution -> Activate All Items.

The corresponding BO should now be enabled for Offline mode.

Note:

  • [OfflineEnabled] annotation creates the offline model of the custom object which is used for synching the meta data and object data with the user device.
  • The annotation is allowed if the standard business object is offline enabled.
  • If the last shipped version of the BO or XBO was offline enabled and if you try to remove this annotation in development, a maintenance mode check error is thrown and removal of the annotation is prohibited.

Keywords

PDI, Offline, Extension, BO, ABSL, Exit, Business Object , KBA , business object , pdi , absl , offline , AP-RC-BDS-OFL , PDI Offline Enhancements , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions