on 11-07-2006 6:37 AM
Hi All,
We are all very new to the <b>SAP Mobile Infrastructure</b> can you help me for while
I followed this process; this process is correct or wrong, if it is wrong please tell me the correct process; that is help full for us
Goal: I need to retrieve the values from the SAP database through the SAP MI
1. I created one table <b>ZMOBILETABLE</b> and inserted the values
2. I created one structure <b>ZMOBILESTRUCTURE</b>
3. I created the Functional Group <b>ZMOBILEGROUP</b>
4. I created the Functional Module <b>ZMOBILEFUNCTION</b>
5. I would like to try to create the <b>BAPI Wrapper</b>; while I am creating the BAPI Wrapper, I got a conflict with <b>Repeating Parameter is not appear</b>
6. Once I will successfully create the <b>BAPI Wrapper</b>!
7. I need to enter the value in the <b>ME_WIZARD</b> like method name, function module and function Group name, then it will ask for the Generating the java code. Then it will show the Inbound and outbound container coding
8. Here we need to create the request or at the creation of the <b>MCD</b> we create the request can you please tell me
9. Then I need to create the <b>MCD,</b> at the creation of the MCD we need to specify the <b>Request, SyncBO </b> 10. for the creation of SyncBO we can use the <b>MEREP_SBUILDER</b>, at the creation of the <b>SyncBO</b>; we should select which option can you please tell me
11. once you successfully create the <b>MCD</b> that should reflect in the web console
12. There we will upload the <b>WAR or JAR files</b>
13. Assign it to a user and hence a mobile device.
14. sync from the mobile device
15. we will find the application downloaded to your device
16. Restart our device / client
17. then we will run the application
hello dileep,
what kind of MI application are you trying to develop?
is it a GenericSync or SmartSync?
it seems that you have a mixed up steps...
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi deelep,
If you are going for smat sync application.
1)Create a header(top)table.(Only one table for simplicity)
2)Create a bapiwrapper(function module which is RFC enabled)(GETLIST BAPI wrapper is must)(Create bapi is a choice)
3)create a syncbo(select type of syncbo as T01 for simplicility as u r new to MI)(include this bapi wrappers insyncbo and give the mappings)
4) Create MCD
5) Download meta data XML.
6) Deploy application(war file)
7) install MI client
😎 Assign this application to the installed client.
9) Sync it to get the data which is already there in BE and MIddleware( make sure that the SYncbo is repplicated from Backend TO mIddleware)
I hope this helps little bit.
But i recommend that you to go through the MDK documentation to understand Smart sync better (like designing syncbos etc)
As JO has mentioned above you are tying to mix up both Smart sync and Generic sync
Thanks & Regards,
Karthick
hello dileep,
first i would suggest that you should look up the dev process
described in MDK.
<a href="http://media.sdn.sap.com/public/html/submitted%5Fdocs/MI/MDK%5F2.5/content/appdev/genericsync/introduction.html">Generic Synchronization - Overview</a>
<a href="http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/introduction.html">Smart Synchronization - Overview</a>
as a summary, here are the steps:
[Smart Synchronization]
Server/Backend side development:
1)Define your business objects, tables and BAPIs in the
backend system.
2)Create a BAPI wrapper with the proper interface
<a href="http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html">Details of BAPI wrappers</a>
3)Define SyncBo (for your BAPI wrappers)
<a href="http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_syncbo.html">Details on SyncBO</a>
- generate SyncBOs and enable the synchronizers if necessary
4)XML metadata generation and download
- you cannot download the XML metadata of your SyncBo
definitions unless you assign them to an MCD. thus you
have to:
a)create an MCD for your application (tcode: mi_mcd)
b)assign the defined syncBo into your MCD
c)from the sbuilder, download your XML metadata
Client side development:
5)Using the XML metadata, create your client app basing
on the XML metada defintion of your SyncBOs.
- NWDS/MDK has a framework generator for a SmartSync
application project.
6)When your apps is ready (at least you have the subclass
of the AbstractMeHttpServlet for JSP/Servlet's case),
register and upload your app into the MI WebConsole.
7)Assign the application to the device or user.
8)Sync the MI client for application deployment.
*Then you can do the reiteration for improvements of your
client app, overwriting the deployed apps in your MI client
or use the deploy function of MDK.
9)Prepare data in the backend and try to sychronize the
client to retrieve your SyncBO data.
[Generic Synchronization]
1)Define your business objects, tables and BAPIs in the
backend system.
2)Create a BAPI wrapper with the proper interface for the
BAPIs.
<a href="http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html">Details of BAPI wrappers</a>
*Generating a skeleton wrapper function using ME_WIZARD
this wizard will generated a skeleton BAPI wrapper,
register your method/function mapping into the BWAFMAPP
table, and also generate the GenericSync Java skeletons.
(this Java skeleton codes are old APIs thus are useless.)
3)if your BAPI wrappers resides in remote location, you
have to specify it into the MEMAPPDEST table.
4)create your client app which will invoke the method
mapped to your BAPI wrappers and process the returing
response. use the GenericSync APIs. see <a href="http://media.sdn.sap.com/public/html/submitted%5Fdocs/MI/MDK%5F2.5/content/appdev/genericsync/example_simple.html">example</a>
what ive given are the summary of steps. please refer to
MDK and administration guide for details.
regards
jo
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.