cancel
Showing results for 
Search instead for 
Did you mean: 

Clarifications on ESDMA?

former_member185875
Contributor
0 Kudos

Dear SUP-DOE integration experts,

I have bellow clarification about esdma, Please help me to understand better

1. What is the use of creating projections?

2. What is the difference between Design time projection, and run time projection (could please tell with a real time example)?

3. What is the need of creating run time header?

4. I have search on help.sap.com for ESDMA related stuff but I did not find anything, I donu2019t know, why sap doesnu2019t update the nw mobile 7.1 developers guide?

5. I have found 5 documents from http://wiki.sdn.sap.com/wiki/display/mobile/SAPNWMobile+KnowledgePedia

But in each document they explain with different example?

Thanks and regards

Lakshman Balanagu

Edited by: lakshman balanagu on Jun 16, 2011 3:42 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lakshman Balanagu,

Check my reply below for your questions:

I want to take an example here. Let say you have a data object created in DOE with one root node and one child node. Each of them have 5 fields. Let me also give some names for better understanding here.

Data object name : TEST

Fields at header node : A B C D E

Fields at child node : F G H I J

1. What is the use of creating projections?

You might have created the data object based on the backend BAPI wrappers which are written by somebody. Now based on your business requirement, you want to develop a mobile application. Based on the given requirements you feel that only 4 fields out of each node are required for your application at any point of time. If we use plain data objects, then you get all fields. So in order to avoid that we create projections.

Point to remember here : ESDMA is to define list of all data objects which you need for your application from different SWCV's. Projection is to restrict certain fields from the created ESDMA.

2. What is the difference between Design time projection, and run time projection (could please tell with a real time example)?

Design Time Projection: As I explained in point 1, you need only first 4 fields of each node. So if you create a design time projection with fields ABCD at root node and FGHI at child node, then only those fields will be availalbe on device application. Meaning, when you use the ESDMA to create application, the tables on the device application are created only with those 4 fields at each node. All your messages will contain a max of only 4 fields.

In one shot if I have to say, design time projection actually defines the meta model of your device application.

Runtime Projection : By default when you create ESDMA, a default design time projection and run time projection is created with all the fields. The idea is, during design phase of your application you really never know what all fields might be needed on device application. So you create design time projection with all max fields in our case we selected 4 in each node. Now during runtime, if we feel only 3 fields in each node are required to run the device application/to suffice business needs then you can create the runtime projection with only 3 fields ABC and FGH at respective nodes.

3. What is the need of creating run time header?

This is again one more level filter on top of run time projections. Lets say you have a different requirement where in you want to send only very few fields of run time projection. And these fields change based on certain requirements. So you create all different possible combinations of runtime headers on top of runtime projection and activate any one of them to be active at any point of time. So whenever business requirement changes, instead of creating a new runtime header you just have to activate one of the existing ones.

4. I have search on help.sap.com for ESDMA related stuff but I did not find anything, I donu2019t know, why sap doesnu2019t update the nw mobile 7.1 developers guide?

You can also refer : http://help.sap.com/saphelp_nw73/helpdata/en/5c/12967fe4c44857bce4ef93afa09bf7/content.htm

5. I have found 5 documents from http://wiki.sdn.sap.com/wiki/display/mobile/SAPNWMobile+KnowledgePedia

But in each document they explain with different example?

Best Regards,

Siva.

former_member185875
Contributor
0 Kudos

Hi Siva,

Thanks for your reply.

Suppose on Data object TEST If i create two runtime projection on top of design time projection.

Design time projection: ABCD at root node and FGHI at child node

Run time projection:

r1: AB at root node and FG at child node

r2: CD at root node and HI at child node

initially runtime projection r1 is active.

Because of business requirement change, I have activated r2.

do i need to generate MBO code one more time?

Can i using the existing code, previously i have generated.

Thanks and regards,

Lakshman Balanagu.

Former Member
0 Kudos

Hi,

You dont need to re-generate the MBO again, because your MBO is based on design time projection. So it is a superset with ABCD and FGHI.

Only during runtime, based on your active run-time projection the fields with data changes.

Regards,

Siva.

Answers (0)