on 08-17-2006 11:41 AM
Hi friends,
In my smart sync MAM Application, I am facing a problem,
The synchronization with MI Server is successful and I am getting all required data into my application,
But while creating Order/Notification from client, I am getting Runtime Errors
While Creating an Order (when I click on create link), I get the following error:
<b>An error has occurred
Component order
View com.sap.mbs.mam.order.control.OrderList
Event onCreate
Error Message 100: Runtime Error
Exception
java.lang.Exception: 986: Required user Customizing data not found</b>
While Creating a Notification (when I click on create link), I get the following error:
<b>
Error: 500
Location: /MAM25/notification/notification_add.jsp
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:461)
at noti_00025ication._0002fnotification_0002fnotification_0005fadd_0002ejspnotification_0005fadd_jsp_1._jspService(_0002fnotification_0002fnotification_0005fadd_0002ejspnotification_0005fadd_jsp_1.java:1189)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
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(AbstractMEHttpServlet.java:724)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:498)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:262)
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 noti_00025ication._0002fnotification_0002fnotification_0005fadd_0002ejspnotification_0005fadd_jsp_1._jspService(_0002fnotification_0002fnotification_0005fadd_0002ejspnotification_0005fadd_jsp_1.java:590)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
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(AbstractMEHttpServlet.java:724)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:498)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:262)
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)</b>
Sorry for the length,
For your information I have following configuration:
<b>MIClient 2.5 SP 14
MIServer SP 14
MAM 2.5 SR 4</b>
Please suggest some solution,
The suggestion will be highly appreciated,
Regards,
Deepak
Hello Deepak,
Look in the folder <MI_HOME>/work/<app> and search for your java file <b>(_0002fnotification_0002fnotification_0005fadd_0002ejspnotification_0005fadd_jsp_1.java:1189)</b>. At line 1189 there is an object which is null.
Regards,
Patrick Willems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
For client application to get data from the middleware MAM25_090 data is the most important thing because it is the one which contains user specific data and based on it only the other data is fetched from the middleware.
You specified that backend bapi wrapper is returning data for syncbo MAM25_090 but i think in the return structure there are some errors. Just check what exactly that error is because even if one user has some customization and that has got problem then the entire call is ignored. So check the return structure and find out what exactly the error is and fix that in the customization and then run the replicator on the middleware and again check in the table MEREP_207 for entries. Iam sure that some user's customization has some problem because of which entire call is ignored. Fixing this should solve the problem.
Regarding the last question that you have asked, sending the data from backend to middleware is also possible but you should implement server driven scenario and run and intial report and thereafter if some changes are done on the backend they are automatically reflected on the middleware. But for that you have to implement some notes related to server driven scenario.
Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Problem is solved and the application is working fine now,
I have rewarded points to everyone appropriately,
Let me summarize the problem and the solution:
<b>Problem:</b>
I was not able to create Order/Notification etc.
because I was not getting the <b>"USER CUSTOMIZING DATA"</b>
<b>Cause:</b>
In the data at backend, I created to equipments with the same name, I dont know how R/3 allowed me to do the same, But this is why I was not able to replicate my syncBO MAM25_090 to middleware,
I got to know this from the log in MEREP_LOG,
which showed me <b>Error: Duplicate R/3 Keys found with R/3 key = <xyz> </b>
<b>Solution:</b>Refer <b>SAP Note: 773244</b>
Simply delete that duplicate key and replication was done successfully,
Thanks for all your support,
Regards:
Deepak
Hi Deepak,
You have specified that MIAUTH work is done now. Can you tell us clearly what error you are getting in the middleware inbound monitor when you do synchronization from the client?
Does all the inbound request getting completed and moved to finish state in the middleware?
Does backend BAPI wrapper return data for both MAM25_090 and MAM25_095 syncbo's or does it give any error in return structure because even if one field gives an error entire call is ignored.
If backend is returning data properly then check if those entries are also present in the middleware by going to the transaction SE16 and check in table MEREP_207 and check for both syncbo's MAM25_090 and MAM25_095? Data returned on the backend should be present in the middleware too.
If data is present on the middleware also then let us know what errors you are getting when you do a sync from the client.
Last step i would suggest you to check if data is present on the middleware is re-install the application and check what happens and let us inform if any new errorw you are getting.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
<<<Does backend BAPI wrapper return data for both MAM25_090 and MAM25_095 syncbo's >>
<b>Yes, these are returning data when executed</b>
<<If backend is returning data properly then check if those entries are also present in the middleware by going to the transaction SE16 and check in table MEREP_207 and check for both syncbo's MAM25_090 and MAM25_095? Data returned on the backend should be present in the middleware too. >>>
<b>for SyncBO MAM25_095 I am getting the data but for MAM25_090 there is no data in the table MEREP_207,
even after executing the replicator many a times.</b>
I am wondering for all SyncBOs except MAM25_090, the data is getting replicated into the middleware,
How can I replicate the data from Backend into the Middleware for MAM25_090?
Thanks and Regards:
Deepak
Hi Deepak
I think the user customization data is not available in the device.Sync once again and try creating an order after that.
If you still get the error then
1) Check for customization data in the MEREP_MON
2) Check your MAM customization User Dependent Data
Thanks
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
Thanks for the reply,
I have sync many a times, but same result all the time,
I checked MEREP_MON,
where I could not see any customization data, I mean I dont know how to see there,
because figures were there only under finished column
But in the worklist there was a SyncBO id <b>MIAUTH</b>,
which was showing I-waiting = 4,
I dont know where this MIAUTH have come from?
Does it smthing internal to MI Server,
because I tried to find SyncBO with name MIAUTH, but I could not find,
Please reply,
Regards,
Deepak
Hi Deepak
Then I would suggest you to check your MAM customization in the backend.
Check the BAPIs for the customization data
1) Goto SE37
2) Enter the FM MAM25_095_GETDETAIL
3) Enter the MAM Scenario
4) Check for customization data like Measurements,PM Activities, Order Types etc.
To create MAM Scenario refer to the Document SAP MAM2.5 Configuration Guide available with the MAM CD.
For MIAUTH check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/25/ef27b061f2fa4281a35d8404203271/frameset.htm
Thanks
Gopi
Hi Gopi,
Thanks for the response,
Regarding_095_getdetail, I am getting data for all items except the following........
1) NOTIFICATION_PROFILE
2) CE_SCENARIO
3) WSAP_EXTENSION
4) RETURN
Please tell me which one can be requirement in our problem, because I have created the scenario as per the configuration guide.
Secondly The link you send for MIAUTH ,
it talks about importing MIAUTH, but I dont have the definition of MIAUTH,
Can you tell me from where can I get the definition of SyncBO MIAUTH,
Because I have checked it is not existing in my system, even then I dont know why worklist shows MIAUTH with waiting figure,
Please revert,
Regards,
Deepak.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.