Web Dynpro Java: Mobile Device Recognition Problem
Hi, all!
I' m building an WD App with different UIs for Mobile and Desktop usage and therefore try to get a com.sap.mobile.clientinfo.ClientInfo Object via:
ClientInfoFactory clientInfoFactory = ClientInfoFactory.newInstance();
ClientInfo clientInfo = clientInfoFactory.newClientInfo();
IWDProtocolAdapter protAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protAdapter.getRequestObject();
clientInfo.load(request);
For this I added DC "com.sap.mobile.clientinfo" out of SAP_JTECHS as Used DC.
When starting the Application, I receive the following error:
java.lang.NoClassDefFoundError: com/sap/mobile/clientinfo/ClientInfoFactory
at at.tmobile.proj.intern.vis4.start.StartCompInterface.getClientInfo(StartCompInterface.java:156)
at at.tmobile.proj.intern.vis4.start.StartCompInterface.wdDoInit(StartCompInterface.java:112)
at at.tmobile.proj.intern.vis4.start.wdp.InternalStartCompInterface.wdDoInit(InternalStartCompInterface.java:112)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doInit(DelegatingCustomController.java:73)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:448)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:167)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:304)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:619)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:685)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:546)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:715)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:570)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:300)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:204)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:707)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:229)
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.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
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)
Im a referencing the wrong DC in the wrong way? Any hints more than appreciated!
Regards,
Thoams
Thomas,
In your WD project right-click on project node, open "Properties", switch to "WebDynpro References" then select "Library References". Add here library <b>com.sap.mobile.clientinfo</b>
If you add it in wrong place before, then remove it. If you add run-time dependecy for used DC, then remove it (just left build-time dependency).
To find corresponding library/service in future, run Visual Administrator, find your service/library in Services/Libraries tree and copy the value of <b>Service Name</b> or <b>Library Name</b> respectively.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net
Similar Messages
-
Deploying problem of web dynpro java application
Hi,
I have a web dynpro java application with no problem about deploying.
I copied this application with another name.
I tryed new application to deploy but sdm aborted with error.
Error
19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : vserver0202
SDM port : 52018
URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
Result
=> deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item abortedHi,
Since the exception says "Are all referenced components deployed and available on the engine?"
Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
Hope this helps you...
Regards,
Saleem Mohammad. -
Web Dynpro Java Application for Handheld Device
Hi everybody,
I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
Please, can you help me with that.
Best Regards.Hi Deepti,,
Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
Regarding web dynpro and CRM
Thanks & Regards,
Jhansi Miryala -
Problem when generating an non-interactive form in Web Dynpro java.
Hi,
I'm trying to create a PDFDocument using a creation context in java. Everything works fine when the Interactive property of the creation context is set to true. When I change it to false however, the Web dynpro application hangs and eventually throws the following exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:806)
I'm wondering why this exception occurs when i'm generating a non interactive form and never appears when i'm generating a form with the Interactive property set to true.
Any ideas?
Edited by: Arjan Nieuwenhuizen on Feb 25, 2008 3:24 PMYeah I know changing the form properties will solve my problem, but since i'm developing a training for Interactive Forms in Web Dynpro Java, I wanted to figure out why the (static / non-interactive) combination didn't work, turned out to be a template problem, which i still didn't figure out, except the fact that having flowed content on your template is not the problem.
My ideas about your question:
When we have the layout of an Interactive Form, its clear if it's meant to be static or dynamic, we don't know however, if it's interactive or non-interactive.
I don't think we can judge a layout to have an Interactive or non-interactive purpose, can depend on the situation in which the same form is shown/used:
- One moment it can be interactive, e.g. user is filling in the form, can enter data etc.
- Next moment it can be non-interactive, e.g. form is shown to another user.
So it's more the scenario/situation that determines if the form is interactive or non-interactive. -
Problem of refreshing a tree in web dynpro java
hi all,
I'm facing a problem for refreshing a tree in web dynpro java for SAP HR.
I created a viewset with 2 cells( 1 view for each).
In the 1st view I created a droplistbyindex to select the unit ID and in the 2nd view ( defaut=false) I called a method to populate my tree according to my selection in the 1st view ( method called in wdInit).
When I make the first selection everything is ok.
But when I select another unit ID, the tree is not changed and I know the context is well changed according to my selection.
So I think the method is executed only the first the view is called.
In this case, how can I refresh my tree on real-time?
Thanks for your help
YiminMay be u can write the code wdDoModify instead.
-Ashutosh -
Problem in completing the TASK when using Web Dynpro Java and BPM
Hi,
I am using Web Dynpro Java and BPM.
i see my Web Dynpro View when i run the process.
Just that the task is not completing.
when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
a method in Component controller fires the event and a button click in the view calls this method.
i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
regards,
-Amol GuptaHi Amol,
The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
Regards,
Arafat -
Problem Web Dynpro Java applications using JasperReports
Hello all,
We have followed the footsteps of these blogs but we can not make it work.
Part I --> Part-I: Print Web Dynpro Java applications using JasperReports
Part II --> Part-II: Print Web Dynpro Java applications using JasperReports
Part III --> Part-III: Print Web Dynpro Java applications using JasperReports
Details system: 7.02 SP3
We believe that the problem is in the library, because it finds them.
1) We created project as a DC external library with *.jars
2) Public part DC external library.
3) Add public part of DC Library into new project DC WebDynpro Java.
4) Development Component -> Build is OK
5) Development Component -> Deploy is OK
6) Test app ERROR.
When we run the application shows the error:
The initial exception that caused the request to fail, was:
java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
... 28 more
See full exception chain for details.
Regards,
Luis.Hello John,
Thanks for the link. We have performed the steps in this blog:
1) Create DC Project "External Library" with name js/jars:
- Add *.jars in folder Libraries.[Screenshot Libraries|http://img846.imageshack.us/img846/8395/jsjars.jpg]
- Add archives (*.jar) to public part with name ExternalLib. Which option to choose?
a- Provides an API for developing/compiling other DCs (Option chosen)
b- Can be packaged into other build results (eg SDAs)
- Development Component -> Build
Step 1 is OK.
2) Create "J2EE Server Component / Library" DC with name js/lib:
- Add Used DC -> public part project ExternalLibrary -> "ExternalLib"
- Specify both build time and run-time dependency here and strong.
- Generated SDA file in <var>gen/default/deploy</var> How do we check that it contains <var>js.jar</var>?
- folder gen/default/plublic/defLib/lib/java then you meet *.jars files again. is OK.
- Development Component -> Deploy.
- Go to Visual Administrator. We found the library js/lib, but has no associated *. jar. It is the problem.[Screenshot Visual Administrator|http://img542.imageshack.us/img542/5537/visualadminlib.jpg]
3) Create "WebDynpro" DC with name pdf_jasper
- Add used DC (defLib) to WebDynpro DC with option "Build time".
- WebDynpro References -> Library references --> add <var>jslib
- Deploy
- Run error: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
Regards,
Luis. -
Problem: Changing Language for Web Dynpro Java within NW Portal (i18n)
Hi Experts out there,
I hope all you had a nice Christmas and a big New Years Eve :)!!!
i got a challenge for you about WD Java and internationalization (i18n)
Here is the scenario:
We are using a SAP NetWeaver Portal 7.0 and my task is to implement some smaller Web Dynpro Applications.
These Applications must be i18n conform, so i just created (according to the corresponding WD Java tutorial) some ".xlf" files.
Okay...Everything is working fine. The user can log at the portal and the application is displayed in his language, which is "english" or "german". (the application is just a simple form)
So far so good...Now here comes the point where it's getting tricky...
When the user wants to change his assigned language (of the portal user) he can use the "personalize" button in the Masthead (-> change portal language). All the portal content should now be displayed in his new chosen language.
For example the user is logged into the portal with "german" as portal language and now changes his languages settings into "english". After this everything in the portal (navigation, portal iViews ) is displayed in the changed language (from english into german) ...
BUT: my Web Dynpro Java Application stays as the original languages setting was. That means the whole portal is now english, but my WD Java Appl. stays german .
Only if the user logs of and logs in again, the WD Java Appl. is displayed in the corresponding portal language...
VERY Strange?!?!
Can anybody give me a hint how to solve this problem?
I guess i have to re-initiate the Web Dynpro Application some how ...(like killing the application and restarting it ...) but is just a "weak guess"...
Any Help / Hint is more than welcome !!!
Cheers
StefanHi Stefan,
This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
Regards,
Leo -
Date format problem in web dynpro java
Currently, the date format that gets displayed in our webdynpro java application is MMDDYYYY...i am assuming this is because the web dynpro application has language resource set to en_US as its Current locale in the web dynpro deployed content section. Howver i want it to display as DDMMYYYY. I have changed the default properties in visual admin for web dynpro from en to en_GB however this has no impact what so ever as the current locale is always set to en_US even after the change so am wondering this property is hidden some where else. Now the web dynpro i am talking about is a adobe portal application. Could you give me any pointers as to where else i can look for or how i can change the current locale properly ??
Regards
KalThe date format in the Web Dynpro Java Application depends upon locale. At runtime WDJ will do the following process to get the current locale for the date format to be determined.
1. First the WDJ Application will check for the locale set for the user in UME.
2. If there is no default locale in UME, then the it will check for the locale in the in the browser which in most cases by default is en-us.
3. If not, then it will check for the sap.systemLocale in the Propertysheet default of Visual Admin
4. If there no locale specified in Visual Admin, itu2019s taken from the WAS JVM
Please check the below SAP Note
http://help.sap.com/saphelp_nw04/helpdata/en/a0/58db515b95b64181ef0552dc1f5c50/frameset.htm
Regards,
Chandran S -
Problems with Adobe PDF forms in Web Dynpro Java
As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
1.Text getting wrapped and repeated from the first line :
Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
For eg:
If I have 4 lines in a text field that is at the end of the page
1111111111111111111111
2222222222222222222222
3333333333333333333333
4444444444444444444444
and the page holds space for only two lines it prints the lines
1111111111111111111111
2222222222222222222222
in the first page and then proceeds to the next page and prints
1111111111111111111111
2222222222222222222222
rather than printing
3333333333333333333333
4444444444444444444444
2.No way to hide a page at runtime:
It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
Any pointers on this????????
Helpful answers will be suitably rewarded with points!!!!Yes,I am using the versions that you mentioned.
I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
then
MasterData.MngrCmptnc.presence = "visible"
MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
MasterData.StrImp.presence = "visible"
else
MasterData.MngrCmptnc.presence = "hidden"
MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
MasterData.StrImp.presence = "hidden"
endif -
Capabilities of Web Dynpro JAVA
Hi
I had a requirement to capture Keyboard Events. After searching lot I found out that, it is not possible in Web Dynpro JAVA.
Is there any document which specifies
What are the things possible with Web Dynpro?
What are the things missing/not possible with Web Dynpro?
Thanks in Advance,
ApurvaHi
Refer the following but I dont to what extent it will help you
1 . http://help.sap.com/erp2005_ehp_02/helpdata/en/b1/968ddbded811d3b561006094b9440a/frameset.htm
2 . http://help.sap.com/erp2005_ehp_02/helpdata/en/b1/968dd8ded811d3b561006094b9440a/frameset.htm
also go through the following
Using the FunctionKey
Use
The FunctionKey allows you to trigger a Web Dynpro action using a specific key on the mobile device. In the following example, this UI element is used to navigate to another view via a specific key.
Prerequisites
● The SAP NetWeaver Developer Studio is installed on your computer, and you can use it to create your mobile Web Dynpro application
● You have access to a SAP NetWeaver Application Server, where you are running the Web Dynpro application
● You are using a Pocket PC with special scanning equipment manufactured by Intermec Technologies or Symbol Technologies
● You have created two views in a Web Dynpro project and called them StartingView and TargetView.
Procedure
1. Navigate to the StartingView and double-click the view or choose Edit from the context menu.
2. Insert the mobile UI element FunctionKey.
3. Switch to the Plugs tab, create an outbound plug with the name fromFunctionKey and define the navigation link to the TargetView.
4. Switch to the Actions tab page and define an action called NavigateToAnotherView.
5. Assign the value IBrowse_OnKey49 to the keyCode property of the FunctionKey.
6. Assign the NavigateToAnotherView action to the onAction event of UI element NavigateToAnotherView.
7. Switch to the Implementation tab and add the following source code to the implementation of the view controller. The read data is passed to the context and the relevant context attribute is set.
public void onActionNavigateToAnotherView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionNavigateToAnotherView(ServerEvent)
wdThis.wdFirePlugFromFunctionKey();
//@@end
Result
By pressing press key 1 on the mobile device, you navigate to the TargetView.
Regards
Abhijith YS -
Advantages and dis advantages of web dynpro java
Hi Guys,
May i know what are the advantages and dis advantages of web dynpro java?
Regards,
MadhuHi Madhu,
Web Dynpro (WD) is a proprietary web application user interface technology developed by SAP AG and exists in a Java (Web Dynpro for Java, WDJ or WD4J) and an ABAP (Web Dynpro ABAP[1] , WDA) flavor. Both have in general the same functionality, but usually one flavor is improved after the other, so temporary one flavor is more advanced than the other. Hence, the decision for one of the two flavors shall be based on organizational and business circumstances, but not on functionality.
WD follows an adapted MVC pattern and a model driven development approach ("minimize coding, maximize design") with a large number of dedicated hooks in generated code to place custom coding. It is intended for business applications that shall follow standardized UI principles, connect to backend systems and be scalable.
Main advantages of Web Dynpro over other technologies
typed access for design time checks, e.g. navigation links and messages are accessed via types instead of string keys like in JSF
diverse services for backend access, like aRFC, JEE and Web Service data models
integration with SAP Interactive Forms by Adobe, which are interactive PDF forms, during design (same IDE) and run time (data sharing)
integration with business process management and business rules management (since NetWeaver CE 7.1 EHP 1)
designed to support development big scale applications by adding multiple grouping layers on top of Java packages (DCs, SCs, products)
runs on different clients e.g. web browser, mobile device, widget engine
comes with a big collection of UI elements providing a wealth of functionality and only have to be configured but not programmed
Main disadvantages
proprietary, running only on SAP servers
less flexible due to support for multiple clients (i.e. custom html is not possible). To reduce the limitations, several measures have been taken. For example, WD supports so-called "islands" for e.g. flash applications that enrich the Web Dynpro UI element collection by rich UI elements. This disadvantage doesn't seem so serious but in fact basic features that user expect to receive cannot be implemented (e.g. coloured rows in table, colours in general, advanced aligning of simple UI elements (due to nonexistence of more complicated ones), selecting multiple rows in tree-like tables (this is due to preserving basic concept of WD) and many more). Having the flash feature means that developer completely avoids WD UI (And thus cannot use other features).
rendering speed in browser for larger tables (>1000 rows)
The designtime and runtime environment is part of SAP NetWeaver 7.0[2] (also known as Netweaver 2004s) and following releases.
The name comes after the original Dynpro library, whose name meant "Dynamic Program".
Regards,
Pradeep Kumar -
How to configure SSO for web dynpro ABAP (not web dynpro Java)
Hi Experts,
I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
procedure"
Then deleted all logon procedure other than "SSO Authentication" and saved.
3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
signal).
4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
After all this settings I opened a browser enter above URL and hit enter but there is an error
There is no login page. It directly showed this error page. No cookies is saving.
Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
How to set the for single sign-on?
Thanks in Advance
Regards
PiyushHi Piyush,
Pls refer below links,
Single Sign On with ABAP WebDynpro
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
Regards
K.N -
Web Dynpro Java : Failed to get deployable object part info for component
Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
Please help us as our project is about to go-live next week.
Thanks,
YuHi Meenge,
Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
Hope it helps
Regards
Arun -
How to run web dynpro java application
I am new to Web dynpro java.
I have created sample application through NWDS. I wanna run the application in server.
please tell me from where I have to download the server and the steps to install the server.
I have installed sap management console, but frankly speaking don know how to proceed my next step.
Struggling for last two days and I believe my search will come to an end.
Thanks in advance.
P.S: If I post in the wrong column, admin please redirect me to the right place.Hi Ram,
I tried to download the Software according to your instructions. I could follow the path Installations and Upgrades -> Entry by Application Group -> SAP NetWeaver -> SAP NETWEAVER, but then the only choices left are:
SAP NETWEAVER 04
SAP NETWEAVER 7.0
SAP EHP1 FOR SAP NETWEAVER 7.0
SAP NETWEAVER CE 7.1
SAP NETWEAVER MOBILE 7.1
SAP NETWEAVER PI 7.1
Please look this [Install & Configure SAP NetWeaver Composition Environment 7.1 ehp1 (Preview Version)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b057d7e3-b89e-2b10-1e9e-c426e967f8e1]
and [SAP NetWeaver Composition Environment 7.1|SAP NetWeaver Composition Environment 7.1]
Hope help full!!!
Regards
Vijay
Edited by: VijaySAPEP on Aug 11, 2011 11:50 PM
Edited by: VijaySAPEP on Aug 11, 2011 11:54 PM
Maybe you are looking for
-
my hard drive has broken or is hurt in some way. can i get this repaired or do i have to buy a new ipod?
-
Never could get Photoshop CS4 Extended to launch in Tiger or Leopard on my G5
I have the Adobe Creative Suite installed on my Powermac DP 1.8 MHz (2004). I have 1.5 GB RAM, and the system runs pretty well. I do have some 3rd party RAM added, and added a new graphics card recently. I cannot get Photoshop to launch at all. It cr
-
Hello all, We Have Oracle EBS R12. There are many invoices already entered to the application. There are more than 1000 Check (Receipts) already entered in the application, also there are 1000 Credit memo's Entered in the application. As there are no
-
We tried to use the Axis HTTP protocol in the definition of the communication channel as shown here: Adapter type: SOAP Transport protocol: HTTP Message protocol: Axis Adapter engine: Central Adapter Engine. When we tried to execute the scenario, we
-
help me to solve my promblem.. please