cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling the SyncBO

Former Member
0 Kudos

Hai

I am new to MI.I want to try the sample smart sync tutorial given in the mobile development

kit(MDK) help.

I have a created a syncBO for downloading country information.It use two database tables(MEREP_COUNTRY,MEREP_COUNTRYT)

It is a syncBO of type download(D01) and the corresponding BAPI wrapper is MEREP_COUNTRY_GETLIST.

The syncBO is generated without any problems.But when I try to enable the syncBO using the

transaction MEREP_PD the enable syncBO chekbox is disabled.So I could not enable the syncBO.

what could be the problem? Please suggest me what could be the wrong in it and how to rectify it.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Veerabhadram,

You need to replicate it before enabling it. If you are using WAS 640 middleware, in transaction merep_pd under synchronizer tab kindly select the syncBo which you have created and click on 'execute' icon at the top of the table displaying all the syncBo . This will replicate the syncBo.

In WAS 620 system the same can be achieved through function merep_replicator function.

After that in the change mode the the syncBo can be enabled.

Regards,

Rahul

Message was edited by: Rahul Gavande

Former Member
0 Kudos

Hi Rahul!!

I ran the replicator then the enable checkbox is enabled.Thank you.

But Finally when I deployed it on the webconsole and assigned it to a client.Then "Page can not be displayed" error is coming in the browser.Is it a

namespace problem? In this case even

getApplicationName = war filename = MCD name.

Still It is not opening.What could be the problem?

Former Member
0 Kudos

Hi Veerabhadram,

Does the application shows on your client screen in form of a link?

If yes, have you restarted the client after installing the application? If you have tried to access the application link before restarting the client then it could be the reason for your problem. Kindly un-deploy the application and then re-deploy it.

Kindly revert if you the problem is not resolved yet.

Regards,

Rahul

Former Member
0 Kudos

Hi Rahul!

I undeployed the application and re-deployed it.But

the problem still persists.There is no problem with normal MI applications.Actually I want to create

a

smart sync application for practice.I am just trying the examples given in the MDK(for them the BAPI wrappers already exist).

The link for the application is coming on the mobile client.When I click on the link it says "page can not be found.When I opened it seperatly on the browser the following exceptions are coming.Please suggest possible solution.Actually I want create a simple smart sync application that works.

Error: 500

Location: /me/jsp/login/login.jsp

Internal Servlet Error:

javax.servlet.ServletException

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)

at jsp.login.login._jspService(Unknown Source)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(Unknown Source)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

Root cause:

java.lang.NullPointerException

at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:103)

at java.util.ResourceBundle.getObject(ResourceBundle.java:308)

at com.sap.ip.me.api.services.MEResourceBundle.handleGetObject(Unknown Source)

at java.util.ResourceBundle.getObject(ResourceBundle.java:308)

at java.util.ResourceBundle.getString(ResourceBundle.java:274)

at jsp.login.login._jspService(Unknown Source)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(Unknown Source)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(Unknown Source)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

Answers (1)

Answers (1)

kishorg
Advisor
Advisor
0 Kudos

Hi Veerabhadram Mantha ,

just select the particular syncbo . then click on edit . then u can check the check box there .

D01 SyncBo type is obsolete.

u can create S01 SyncBo with GETLIST Wrapper only.. thats best. (or even T51 for master data)

Regards

Kishor Gopinathan