cancel
Showing results for 
Search instead for 
Did you mean: 

UI LAPTOP for Netweaver Mobile7.1 problem

muhammed_nishad
Participant
0 Kudos

Hi All,

I have created new DC for Mobile application for Laptops. I have created the UI Application, Created Model, Created Query.. I tried to sync the the aplication , the device got registerd in the middleware. but, the data is not showing in the view.But when i check the queue in the middleware it is having messages like CLIENT FEEDBAK and DEPLOYMENT STATUS. I doubt the tables are not in laptop client.

Or I do not know this is due to my programming mistake. can any of you show how to create the query in the model also how to pull the values from the nodes and show it in the views.

Thank you all.

Muhammed Nishad J

Applexus

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Also, if you are able to view the application anad no data , then check that the your user has the required authorizations. For that your user should have entry in the Authorization Data Object of the SAP BASIS SWCV.

rohith_deraje
Employee
Employee
0 Kudos

Hi Muhammed,

Please check for the following.

DOE side

1) DMSCV is assigned to your logical device.

2) Data exists in the CDS and it satisfies the distribution rule you defined.

3) If above are true, you should be able to see the data in the pending extract of the device.If so please trigger the extract so that data comes to outboud queue of the device.

4) Once the data comes to outbound queue, on the next sync client recieves the data.

Client Side:

1) Check for the supply function of the nodes on the component controller.

MODEL_NAME mod = MODEL_NAME .getInstance();

wdContext.nodeNODE_NAME().bind(mod.getNODE_NAMEs());

2) Created binding for the table view.

Also please refer to the below link. it gives info about how to create and mobile application.

http://help.sap.com/saphelp_nwmobile71/helpdata/en/8f/0b674240449c60e10000000a1550b0/frameset.htm

Regards

Rohith

Former Member
0 Kudos

Adding to the above, hope you have activated the distribution rules from admin & monitoring portal(administration-->distribution rule admin)

Extract will bring data to outbound queue only when the DMSWCV is operational for your device.You can check this in the DMSWCV tab of your device in the manage devices screen in admin portal.

Are you able to view the application link in the client?

Regards,

Liji

muhammed_nishad
Participant
0 Kudos

Hi All,

I checked the Client Database. I am having the data in that. Now when I run the allipcation and getting an error like

Error in application

HTTP/1.1 500 Internal Server Error

Expires:-1

Pragma:no-cache

content-type:application/vnd.sap.webdynpro; charset=UTF-8

Cache-Control:no-cache, no-store, must-revalidate

<?xml version="1.0" encoding="UTF-8"?><!-- Business Client Protocol Error Page --><XBCML version="2" supportBits="00" sessionUrl=""><Header><Set><Localization/><Client/><Server/></Set></Header><Windows><Set><Window id="_ERR_" viewId="_ERR_.ErrorPageView" title="SAP NetWeaver Error Page" positioning="5"/></Set></Windows><Automation/><Messages/><Data><Set/></Data><SimpleTypes><Set/></SimpleTypes><ContainerTypes><Set/></ContainerTypes><Views><Set><View name="_ERR_.ErrorPageView"><Children><TransparentContainer id="RootElement"><Children><TransparentContainer id="root" width="100%"><LayoutData><FlowData/></LayoutData><Children><TextView id="ErrorCode" design="1" text="500 - Internal Server Error"><LayoutData><GridData/></LayoutData></TextView><TextView id="ErrorText" design="1" text="Failed to process request. Please contact your system administrator."><LayoutData><GridData/></LayoutData></TextView><Tray id="T0" width="100%" accessibilityDescription="Error List.java:1551)"><LayoutData><GridData/></LayoutData></TextView><TextView id="EC2_5" text=" ... 38 more"><LayoutData><GridData/></LayoutData></TextView><TextView id="EC2_6" text="See full exception chain in &quot;Detailed Error Information&quot; section."><LayoutData><GridData/></LayoutData></TextView><Tray id="T1" width="100%" accessibilityDescription="Error Summary"><LayoutData><GridData/></LayoutData><Children><TextView id="T1T" wrapping="true" text="While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page.

For further information about the Web Dynpro error page, error analysis and a description of well-known error situations, see SAP note 1113811."><LayoutData><GridData/></LayoutData></TextView></Children><LayoutData><GridData/></LayoutData><Header><Caption id="T1H" text="Error Summary"></Caption></Header></Tray><Tray id="T6" width="100%" expanded="false" accessibilityDescription="System Environment"><LayoutData><GridData/></LayoutData><Children><Tray id="TC" width="100%" accessibilityDescription="Client"><LayoutData><GridData/></LayoutData><Children><TextView id="TCA0" wrapping="true" text="Web Dynpro Client Type"><LayoutData><GridData width="20%"/></LayoutData></TextView><TextView id="TCB0" wrapping="true" text="SmartClient"><LayoutData><GridData width="80%"/></LayoutData></TextView><TextView id="TCA1" wrapping="true" text="User agent"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCB1" wrapping="true" text="SAP-NW-Java/7.00/2/6A"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCA2" wrapping="true" text="Client Type"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCB2" wrapping="true" text="java"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCA3" wrapping="true" text="Client Type Profile"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCB3" wrapping="true" text="java"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCA4" wrapping="true" text="ActiveX"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCB4" wrapping="true" text="false"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCA5" wrapping="true" text="Java Applets"><LayoutData><GridData/></LayoutData></TextView><TextView id="TCB5" wrapping="true" text="true"><LayoutData><GridData/></LayoutData></TextView></Children><Layout><GridLayout colCount="2"/></Layout><Header><Caption id="TCH" text="Client"></Caption></Header></Tray><Tray id="TS" width="100%" accessibilityDescription="Server"><LayoutData><GridData/></LayoutData><Children><TextView id="TSA1" wrapping="true" text="J2EE Engine"><LayoutData><GridData/></LayoutData></TextView><TextView id="TSB1" wrapping="true" text="Unknown Version"><LayoutData><GridData/></LayoutData></TextView><TextView id="TSA2" wrapping="true" text="System ID (SID)"><LayoutData><GridData/></LayoutData></TextView><TextView id="TSB2" wrapping="true" text=""><LayoutData><GridData/></LayoutData></TextView><TextView id="TSA3" wrapping="true" text="Server Node IDfalse" accessibilityDescription="Detailed Error Information"><LayoutData><GridData/></LayoutData><Children><TextView id="ERROR" wrapping="true" text="java.lang.ClassCastException: model01.com.MMS_001_DO_ORDER_HEADER

at appl.comp.wdp.IPublicApplComp$IQueryouputElement.&lt;init>(IPublicApplComp.java:4485)

at appl.comp.wdp.IPublicApplComp$IContextNode.doCreateElement(IPublicApplComp.java:58)

at com.sap.tc.webdynpro.progmodel.context.NodeInfo.createElement(NodeInfo.java:1201)

at com.sap.tc.webdynpro.progmodel.context.Node.createElementInternal(Node.java:1071)

at com.sap.tc.webdynpro.progmodel.context.ModelElementList.getElement(ElementList.java:1551)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:391)

at com.sap.tc.webdynpro.progmodel.context.Node.getCurrentElementInternal(Node.java:679)

at com.sap.tc.webdynpro.progmodel.context.Node.getParentElementInternal(Node.java:707)

at com.sap.tc.webdynpro.progmodel.context.MappedNode.getDataNode(MappedNode.java:217)

at com.sap.tc.webdynpro.progmodel.context.MappedNode.isValid(MappedNode.java:422)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementListAsObject(Node.java:241)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:259)

at com.sap.tc.webdynpro.progmodel.context.Node.validate(Node.java:369)

at com.sap.tc.webdynpro.clientserver.data.DataContainer.validate(DataContainer.java:493)

at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.validateDataContainer(ClientComponent.java:665)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.retrieveData(WebDynproWindow.java:526)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.retrieveData(AbstractClient.java:208)

at com.sap.tc.webdynpro.clientserver.phases.RetrieveDataPhase.execute(RetrieveDataPhase.java:69)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)

at com.sap.tc.webdynpro.clientimpl.scxml.client.SmartClient.executeTasks(SmartClient.java:671)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1439)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1259)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:88)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:614)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:634)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:565)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:304)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:701)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:228)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:233)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest0(WebDynproRequestHandler.java:189)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.WebDynproRequestHandler.handleRequest(WebDynproRequestHandler.java:127)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.AbstractRequestHandler.handleRequest(AbstractRequestHandler.java:306)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest0(SimpleHttpServer.java:247)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.handleRequest(SimpleHttpServer.java:215)

at com.sap.tc.mobile.mwd.runtime.fwk.dispatcher.http.SimpleHttpServer.run(SimpleHttpServer.java:164)

at java.lang.Thread.run(Unknown Source)

"><LayoutData><GridData/></LayoutData></TextView></Children><Layout><GridLayout/></Layout><Header><Caption id="T9H" text="Detailed Error Information"></Caption></Header></Tray></Children><Layout><GridLayout/></Layout><Header><Caption id="T0H" text="Error description"></Caption></Header></Tray></Children><Layout><GridLayout/></Layout></TransparentContainer></Children><Layout><FlowLayout/></Layout></TransparentContainer></Children></View></Set></Views><Actions><Set></Set></Actions></XBCML>

How to solve this. I am trying to just display a set of records (some thing like Select * from table) and to show it in a table.

Regards

Muhammed Nishad

Applexus.

Edited by: Muhammed Nishad J on Sep 15, 2009 11:13 AM

muhammed_nishad
Participant
0 Kudos

This issue is solved. This was due the problem with the query