ESDMA Runtime Header
Runtime projection is the subset of Design Time Projection and is used to create the subset of the main entity set defined during Design Time Projection. Multiple runtime projections can be created on top of a single design time projection but only one will be active at one point of time.
For creating Runtime Projection please refer to the following blog.
The full field set defined at the runtime projection might not be required by the mobile devices. Runtime Header is used to further filter the field set of runtime projection for the mobile devices and it works on top of the runtime projection. We can create multiple runtime headers on one runtime projection.
The main advantage of creating multiple runtime headers is that the user can switch between headers to make any header active during runtime without regenerating the ESDMA. So based on the user requirements the application developer can create multiple runtime headers and set anyone active at any point of time.
In this blog we will discuss in detail about creating and using Runtime Header:-
Creating Runtime Header:
To create runtime header start the transaction sdoe_esdma_design and select the already created ESDMA in blog 1: Design Time Projection
Click the button Runtime Projections & Headers in the top menu row the following screen will be displayed.
To create a runtime header click on create button and it will ask for the header name. Fill in the appropriate runtime header name and click ok.
Add the required field from the Runtime Projection field list and click add selected fields. The selected fields will get added to the runtime header. Clicks save to save the runtime header.
Now the creation part is done and this header metadata has got saved and can be used during message preparation. Using the same steps mentioned above we can create multiple headers and can calculate the field set based on the mobile user’s business requirement.
Note: We can create multiple runtime headers on a single runtime projection but at a time only one header will be active. To set the runtime header active select the checkbox Active displayed in the screen shot.
DOE: Data Orchestration Engine
DMSWCV: Distribution Model Software Component Version
ESDMA: Entity Set Definition for Mobile Application
DO: Data Object