Data Staging

By enabling data staging through the ConfigPanel, you can reduce the initial sync time for a very large data set to the mobile client.

Business case: assume that you are using an Agentry application for SAP backend and during your go-live or user acceptance phase, you are expecting hundreds of users to concurrently connect to the SAP Mobile Platform and synch data for the first time. In normal scenarios, without data staging, you could see long wait times for users trying to download complex table data. Additionally, there is a large load on the SAP back-end system. With data staging enabled, you can reduce the sync time significantly by prepopulating the complex table data ahead of time. The Agentry mobile framework supports data staging from the SMFND 610_700 Add-On Support Package 04 and onwards.

Data staging is only recommended for the initial sync, provided data volumes are justified. Although there is no technical limitation of using it during later stages, data staging poses a different set of challenges to keep data staging tables up to date. You have the option to deactivate data staging after initial go-live or you can continue to use it.

General Configuration Steps for Activating Data Staging

The following steps provide general directions required for activating data staging. For specific tab or field details, see the appropriate topic in the ConfigPanel - Data Staging Settings chapter of this guide.

  1. From the ConfigPanel Home screen, go to Start of the navigation pathData Store Definition Next navigation step Data Staging Framework SettingsEnd of the navigation path and create a new data store definition.

    Use the data store definition settings to define the data store settings, data storage, data agent assignment, schedules, and mapping information. A data store is a data storage that can provide data to a mobile data object. A data store can consist of multiple data segments, which are related data sets. A data store is populated by assigned data agents and schedules.

  2. From the ConfigPanel Home screen, go to Data Agent Definition and create the data store agent definition.

    Use the data store agent settings to define the agent type, data object including the BAPI wrapper, and MDO used by the data loading program, which is read during runtime. Then, assign the data agent to a data store.

  3. From the ConfigPanel Home screen, go to Mobile Data Object Configuration and create a separate MDO for the data store.

    You can either create a new MDO from scratch or you can copy an existing standard MDO object, changing the namespace and definition.

  4. From the ConfigPanel Home screen, go to BAPI Wrapper Configuration and add the assignment for the data store MDO object at the BAPI wrapper level.

    You can use the same BAPI for populating staging data and downloading data to the mobile client.

  5. From the ConfigPanel Home screen, go to Mobile Data Object Configuration and on the Data Staging tab, activate data staging at the consuming MDO object level.
  6. Execute the program SMFND/DSF_DRIVER_PROG to populate the data staging table.
  7. To test data staging on the SAP side, execute the BAPI wrapper associated with the complex table.