WebDynpro online vs offline (reuse)
Hi all,
I am interested in the reuse of coding when you have an online WebDynpro application and you want to migrate it to an offline WebDynpro application based on SAP NetWeaver Mobile 7.1.
I understand the difference in technology so I can accept that there is a lot to do in the backend and middleware systems, but I am interested in the front-end.
Can we reuse the frontend coding or do we have to completely rewrite the coding to get the same offline application?
Thanks in advance and kind regards,
Bart Elshout
Hi,
If my guess is correct, earlier the webdynpro online application is directly using Function modules of the backend to create model classes in the client application and on top of it you would have created your own webdynpro components for UI and also other logic.
With Netweaver Mobile 7.1 you still can use the old option of online, but there is also a possibility to create Data objects on the middleware using the function modules from the backend. So all you need to take care with the client application is you need to create model classes based on data objects from Netweaver mobile 7.1 component called DOE instead of using function modules directly and I think you can still use your old UI layer of webdnypro client application and all the code which is independent of persistence layer. Only the persistence layer of your old application might get affected but otherwise your presentation and application logic still holds good.
Best Regards,
Siva.
Similar Messages
-
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
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. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
How to implement XI interfaces in online and offline modes?
Hi Everybody,
Can you please tell me how to implement XI interfaces in online and offline modes?
thanks a lot,
Ramya Shenoy.Hi,
Are you looking for Push and Pull mechanism of PI?
When the adapters like SOAP, HTTP, IDOC, etc. send the data to PI , it is nothing but a push mechanism, and hence the communication is synchronous by default.
But adapters like JDBC, File, etc. they fetch the data from Source Applications, so it is a kind of Pull mechanism for PI, and
by default communication is asynchrnous.
Pls elaborate exactly what are you looking for?
Regards,
Supriya. -
Hello,
I would like to learn webdynpro online. Like is there any link through which I can learn. Like is there any possibility to download and install a component and start doing the programming. Please help me providing some relevant information.
thnx in advance
cheers
muralihi,
You could certainly learn webdynpro online. Many documented files are there.
You can see this thread where in many of our friends have given the details
how to learn webdynpro?
Hope it helps...
Regards,
Ganesh -
Wut mean by online and offline option in OBIEE Administration?
Hello Dears ,
any one cane told the difference of online and offline option to open a repository in oracle BI Administration?
Regards
shakeel khanOBIEE Administration can be done in two modes
1) Offline
2) Online
Offline: Where most of the developement work is done and repository is not loaded in to the server
Online: Repository is loaded in to server and few modifications are done.
When the services are started( Bi Server and Presentation Server) the repository is loaded in to the server and when try to open the repository in Offline mode it open in Read only mode. -
AE 12.2 - online or offline updates?
Just updated adobe applications, not sure after effects was even one of them but hey, and my workspaces have disappeared.
Ae says it's version 12.2.1.5
I'm aware they're about to update, but I'm not keen on downloading that until bug roll outs come into force.
C:\Users\ME\AppData\Roaming\Adobe\After Effects\12.2\ModifiedWorkspaces
I have two modified workspaces in here, xml files, yet in AE I only have the standard options, with new, delete and reset at the bottom.
Is this to do with sync settings and being online or offline? What do I need to do to get these back.. I'm sure those two workspaces are what I need, they just aren't loaded in at all?
I have re opened a few times.
Thanks all.Any one have any hints on this?
I can see where my account is connected to now but don't know where it would have been kept or connected to before..
I just find this a bit confusing. Any light on this would be great. -
Itunes won't play on computer when online only offline
I have 2 computers- I downloaded the Itunes program on both of them yesterday. On computer A I purchased 2 songs and played them yesterday without problems (online and offline). I copied them onto a flash drive and moved them onto comptuer B and it played fine. This morning while using computer A & connected online, my newly purchased Itune songs would not play (completely skipped the songs- although they were checked). I was logged on to Itunes and the computer was authorized (I was also logged off on computer B). As for being authorized it said I was successful in authorizing 2 computers out of 5 that I'm allowed. So I recently got off line and and the songs play just fine. Why? And how can I correct this?
Hi,
Delete track and go into iTunes Store>purchased (under quicklinks) and redownload track.
Jim -
How recognize if you are working online or offline
How an application programmatically find if it is working online
(you started from the browser so you have a connection for sure)
or if you are working offline(started from the local webstart center)?
best regards
ATThere is no way to really tell if you are online of offline. you can try the api: BasicService.isOffline(),
but this will allways return false unless you set the Application Manager to offline mode, and then
launch the app from there. Then it will run javaws -offline ... which will return true from isOffline(). -
HT2513 it ask to go online or offline and keeps on asking
it ask to go online or offline and keeps on asking. i then have to force quit ical.
You cannot lock or find the device until it comes online. You can schedule a lock sequence to be sent once the device is online. That's it. Furthermore, if whoever finds the device completely erases it, then even when it comes online you will not be able to track it.
What To Do If Your iDevice Is Lost Or Stolen
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices) -
hello,
i am doin a project which needs to find if the system is online or offline and i couldn't get any information regardin that. if u know pls kindly help
bye,
regardsLook at this URL:
http://www.vamphq.com/jwsfaq.html#offline
It describes two methods, one dumb method, used by Java Webstart and JNLP-Services, but the second method could be usable for you, it tries to resolve a Internethost within a given timeout.
Best regards,
Arne -
I just signed with Skye, and I see my profile, nothing else. I would like to see where I findout if I am online or offline please help
What device are you using your Skype application on?
http://www.skype.com/en/download-skype/skype-for-computer/ -
I love the way the Adobe Forum is structured where you can
see if a user is online or offline. I wish to produce the same
method. I have a list of users in my admin page where I see the...
Username | First Name | Last Name | E-mail
I wish to make a fifth column called status that would have
online or offline such as...
Username | First Name | Last Name | E-mail | Status |
MySQL statement looks as such...
CREATE TABLE `adminusers` (
`userID` int(11) NOT NULL auto_increment,
`userName` varchar(50) NOT NULL default '',
`userPassword` varchar(50) NOT NULL default '',
`emailAddress` varchar(50) NOT NULL default '',
`firstName` varchar(50) NOT NULL default '',
`lastName` varchar(50) NOT NULL default '',
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
`userTypeID` int(11) NOT NULL default '3',
PRIMARY KEY (`userID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
I believe that the online/offiline status is a boolean
statement but I am not sure and do not know how to incorporate it.
Can someone help me what I must do. Thank you all for your
help.AdonaiEchad wrote:
> I love the way the Adobe Forum is structured where you
can see if a user is
> online or offline.
There is no way that you can tell whether someone is online.
The web is
stateless. All that Adobe is doing is taking an arbitrary
time since
that individual either logged in or last clicked a link. It's
done by
updating a timestamp each time the visitor clicks a link.
Online or
offline status is determined by the time elapsed since the
last activity
(usually 5 or 10 minutes).
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
How to use form design for both online and Offline Scenrio!
Hi All,
I have created the forms using WebDynpro context with ZCI layout for Online scenario.
There are some fields which need to be prefilled and are read only.. Header fields.
There is no interface structures created seperately but the interface is constructed through webdynpro context.
Now that I have to use the same for offline scenario, I don't see layout in SFP of form. I can create a structure for Importing fields but there is no Layout for mapping?
Do I need create seperate forms for this as I have some prefilled hedaer fields which I can't pass using download beacause there is no context design available for this?
Regards,
Srinivasyou could either create a separate form for your offline form using Data Dictionary interface or use the Data Dictionary interface for both of your forms.
You do have the option of creating your own XML file for your offline form - you may be able to copy the XML code out of your online interface, save it to a file and use that for your offline interface - i'm not 100% sure on this as I've never done that. -
Problems with download jdk 6 update 3 online and offline
Hello,
I am italian.
I have same problems with download of jdk 6 update 3 for Windows Vista 32bit HomePremium.In passed i download without problems jdk 6,6 up 1,6 up 3 and 6 up 3(past saturday).For problems with my pc i installing new jdk but i have problems:
In online installation recive error with download file cabinet and in offline installation i recive error with file "st160000.cab" that is corrupted.
I have equal error with Xp sp2,Millenium edition and Vista Business edition.Help me.ThanksI add that the connection internet tested are variouse:gprs,adsl 2Mb,4Mb anda fastADSL 20Mb
-
Skype contact showing online when offline?
One of my contacts is being shown online but in reality they are offline. How is this even possible and is there a way to fix it? I'm running the newest version of Skype and I've tried re-installing it many times but it just keeps doing the same thing :S
Also, when I try sending them a message when they are online the message just goes to pending and never sends.There are 2 issues here which may be related, they may not be. I was only commenting on the first which is the apparently 'incorrect' status showing. That has been the case for mobile devices for quite a while ... maybe from when the functionality to identify mobile devices was introduced into Skype for Windows.
If the problem of not being able to send messages is only affecting one of your contacts, it makes me wonder whether the problem is with their account.
You say the problem started "randomly". Does that mean that sometimes you can send to that contact and sometimes you can't? Or it always affects that person but nobody else which makes it feel 'random'?
Maybe you are looking for
-
Change different 7912 logos on two sites
Hi, CCM 4.1(3) cluster within head office. We created the 7912 logo for system default image. However, the remote site 7912 phones, need to use a different logo other than the head office. as per http://forum.cisco.com/eforum/servlet/NetProf?page=net
-
I want to find sites I've previous visited in past sessions, but when I go to "Show All History," it doesn't show anything. I forgot to save the tabs before I quit Firefox and now I can't find those sites. Isn't there a way to view all the sites I've
-
Photo gallery with thumbnail and caption
Hi, am looking for a good photo gallery extention or application with thumbnails and captions, preferbly free or willing to pay for good working application, please help - would like to incorporate into website gallery page thank you
-
Can I have some open and honest feedback on this site?
Hello everyone, I am posting to get some open / honest feedback on my site. Please feel free to comment, you will not hurt my feelings. I would rather here it from you guys, the pros and enthusiasts who do this for a living (or hobby) and who know
-
Hi Experts, I wanted complete notes on SAP-BI 7.0, which talks about the background process and also the flow of it, immediately. Awaiting to hear from you. cheers, CHK