cancel
Showing results for 
Search instead for 
Did you mean: 

SmartSync Example JSP

Former Member
0 Kudos

MDK Plugins that comes with tutorial

C:\Documents and Settings\won\Desktop\New Folder\MDK\offlineindex.html

After download the sample MDK_smartsync_inventory_JSP.war

and upload create entry in MI WAS

if the table name not startwith "Z" / "Y" is standard table ,

i try to find in se11 , se16, not found,

and try to create , also cannot pls advice

***************************************************************************************

SmartSync Example - Inventory - ABAP Prerequisites

The following steps are necessary for the SmartSync - Inventory example.

Create new table MDK_INVENTORY with following definition:

Technical attributes

Data class: APPL1

Size category: 0

No buffering allowed.

New function group MDK_INVENTORY with following RFC-enabled function modules (click on the modules to get the source code):

MDK_INVENTORY_GETLIST

MDK_INVENTORY_GETDETAIL

MDK_INVENTORY_CREATE

MDK_INVENTORY_MODIFY

MDK_INVENTORY_DELETE

New message class MDK_EXAMPLES with following entries.

Import SyncBO YMDK_INVEN einspielen with transaction merep_mig with text file ymdk_inven.txt.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Yzme,

The table has not been shipped with higher versions of WAS. So you won't find it.

It is available with ECC 6.0 system ( WAS + R3 ).

I sugges to skip the example, and try the smart sync tutorial given at the end of the MDK.

Regards,

Rahul

Message was edited by:

Rahul Gavande

Former Member
0 Kudos

Tutorial: Developing a simple Smart Sync Application

In this tutorial you will create a simple Smart Sync application to download master data on country information from the WebAS. In the course of the tutorial, you will

where can i get the war file , it is not available in MDK plugins folder,

do you have it...

ph.won@emi-solutions.biz

help is much appreciated

Message was edited by:

yzme yzme

Former Member
0 Kudos

Hi Yzme,

Once you have created the metarep.xml file, you need to create a SmartSync project in the MI perspective of the NWDS.

Then export the application as a .war file. Make sure you follow the application naming rules. You will find those in MDK itself.

Regards,

Rahul

Former Member
0 Kudos

i think you have misunderstand me,

the last tutorial in MDK doesn't show how the JSP communicate with SYNCBO and pass data from R/3 and pass data to R/3 .....

i need tutorial like this...

the last tutorial no coding in JSP right ....?

Former Member
0 Kudos

Hi Yzme,

Well then you can refer the JSP examples given earlier. They have Java coding in them, but may be the BAPI wrappers may be missing.

Regards,

Rahul

Former Member
0 Kudos

HI Yzme,

To create a Smart Sync Applictaion.follow the steps as mentioned.

1.Identify the Function Modules in the R/3 system as defined in the MDK Link smart sync example.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a">Steps for creating Smart syns application</a>

2.Create the SyncBo as defined in the tutorial.

for creating syncBO go to merep_sbuilder transaction.Define RFC destination.Use SM59 to define the RFC destination.

3.Define the mapping of the fields in SyncBO for Getlist and Getdetail Function module following Bapiwrapper Rules.

4.Go to MI_MCD.Create a MCD with the syncBO what u have created.

5.Export the metarep.xml file.

6.Create a new Smart sync MI application in NWDS by importing the metarep.xml.

7.Generate the war file of the project what u have created by exporting the Project.

8.Upload on warfile on webconsole.

9.Install client on your PC.Assign the application to your device.

For developing the applcation according to your requirement.Please check this link.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a">Developing smart sync JSP application</a>

Thanks

Regards

Devendra

Former Member
0 Kudos

THERE ARE 2 tutorial

one is smartsync Example JSP ,

another is Reference>Tutorials >Smart Sync Tutorial

which one you mentioned ?

the smartsync Example JSP can't be done , right

Former Member
0 Kudos

Hi Yzem,

The tutorials what i ahve mentioned are the sample when regarding the various classes and methods that are used to create the smart sync application.First one can be used but there is no need of syncbo for the same its just the naivigation exampe..

Thanks

Regards

Devendra