Dynpro application in Portal (iView reload problem)
Hello,
I have an iView, which is based on a Dynpro app.
This iView is placed on a Portal page.
My problem is that if I run the application (as
a Portal user), and navigate within this application
through a sequence of Dynpro views, and then
switch to some other portal Page (e.g. by clicing
on some workset tab), and then go back to the
page (workset tab) with my Dynpro application,
the Dynpro iView is reloaded. This causes the
Dynpro application to restart (the user sees
the initial Dynpro application view, instead
of the one he navigated to previously).
Is it possible to avoid the dynpro iView being
reloaded when going back to the iView's workset?
In other words, I would like the dynpro iView
to maintain its state for the whole Portal
session.
Many thanks for any help.
Greetings,
Tomek.
hi
We have already implemented the Work Protect Mode. But that will just force you to save up the data in the iview. But to maintain the same data in the iview when you come back like the scenario Tomasz is having, work protect mode will not be helpful.
anyway to know more about that api refer this link
http://help.sap.com/saphelp_nw04/helpdata/en/17/76d93f130f9115e10000000a155106/frameset.htm
If you still require clarifications let me know and i can help you out.
regards
ravi
Similar Messages
-
Not able to run web dynpro application from portal.
Hi portal experts,
I want to run my web dynpro application from portal.
So created a seperate iview and a role for the purpose.
Assigned the iview to the role and also mapped a abap user id to the new role created.
But when I click on 'preview' the iview , getting the following dump.
Error when processing your request
What has happened?
The URL http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ was not called due to an error.
Note
The following error text was processed in the system HRM : Die URL enthält keine vollständige Domainangabe (mnghcmsap statt mnghcmsap.<domain>.<ext>).
The error occurred on the application server mnghcmsap_HRM_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CHECK of program CX_FQDN=======================CP
Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HRM in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server mnghcmsap_HRM_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server mnghcmsap_HRM_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 200 -u: INF51515 -l: E -s: HRM -i: mnghcmsap_HRM_00 -w: 0 -d: 20110209 -t: 121224 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
Please let me know if I am doing the process correctly and also let me know if I am missing somthing.
Thanks,
Aditya.Are you able to run teh web dynpro application independtly i.e. without creatin an iview.
http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ by using this link.
or there also you are getting the error.
i guess there also you should be gettign the error.
this is some problem with the FQDN settings in the abap system.
in the host name of the web dynpro applciation server one .(dot) is must.
so you might have to change the host name to some thing like mnghcmsap. from mnghcmsap
thanks
sarbjeet singh -
Navigate from Web Dynpro application to an iView URL using parameters
Hi all,
I have a problem navigating from a Wed Dynpro application to an iView URL. For the navigation, I use the WDPortalNavigation.navigateAbsolute() method. The navigation works fine, unfortunately any parameter that I pass to the iView URL is ignored.
Here is the code I use:
WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/rack_visualization/RackView",
WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
"space=1&style=3&rack=none");
The RackView iView is based on the "iView URL" template. I expect that the navigation points to a URL like my_encapsulated_url?space=1&style=3&rack=none. Unfortunately the parameter passing doesn't seem to work.
Any help would be greatly appreciated!
Thanks,
Christophedid u get this working ???
I have a similar issue with the url iview.
thanks
venkat -
Accessing Web Dynpro application outside portal
Hello alles,
Our customer wants to display a Web Dynpro application result on a regular hmtl intranet page, i.e. without showing the portal.
We have tried with html frames, but end up with a flickering or empty screen. The problem occurs both with a quick link to the application within the portal, an SSO link, a link to the iView, a webdynpro/dispatcher address ...
It seems as if the problem occurs with all WD iViews, but not with e.g. a regular News iView.
Do you have any suggestion on how we could solve this? Reasons?
Thank you in advance!
Brgds,
Caroline
Message was edited by:
Caroline Janzonhi
good
go through this link,hope this ll help you to solve your problem
http://www.sap-press.de/download/dateien/1103/sappress_maximizing_web_dynpro_for_java.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20ejbs%20in%20web%20dynpro%20applications.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62
thanks
mrutyun^ -
Storing user defaults of Web Dynpro application on portal
Hi folks,
I am trying to develop Web Dynpro application that runs in an iView on a portal. I would like to remember certain user defaults for this application (e.g., user default plant). User also has control over this value, so whenever they change it, the value should be update on a backend as well.
My first thought was to use PCD, but I am not sure how to do that - all the code examples for I found for PCD looked like they were created for portal application, not Web Dynpro ones.
Anybody here actually done anything similar?
Edited by: Alexei Isaev on Jan 29, 2008 8:20 PMHi Alexei,
If you need to store default values for a portal application, you may consider your development in Web Dynpro for ABAP. I have not come across application level personalisation yet in Web Dynpro for Java, unless someone else can throw some light here.
Regards,
Subramanian V. -
Passing a parameter while calling a web dynpro application on portal
hi
I am having a web dynpro application which retrieves data from R/3 system via RFC using Jco destinations define in the Portal.
Now we have different kinds of portals running on the same WAS, now I want the application to run which access data from different R/3 systems thru different JCo destinations.
I need to create a logic such that mu application runs fine on any portal with any Jco destination.
Is there any provision to achieve this.
kindly let me know about this.
Thanks and regards
krisGopi,
there's an parameter called "sap-wd-arfc-useSys" you can pass to the application, to change the used JCo-Connection (read more at http://help.sap.com/saphelp_erp2005/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm)
so, if you're running the WD-aaplication on <b>one</b> WAS and call it from different portals, you have to create three (or six with the META-connections) JCo-Connection on your WD-WAS.
In a WD-application you can access URL-Parameters with:
WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your URL Parameter-Name>");
kr, achim -
Deploying web dynpro application into portal
hi
I have created a simple example in webdynpro in Netweaver developer studio, and I have deployed it into the portal whose version is EP6 SP9.
where can I see that deployed webdynpro application(in my case it is WebDynpro_Basics.ear) in the portal.
Can any one tell me the navigation part in the portal.
thanks
krishHi Krish,
You will find the deployed webdynpro application in webdynpro content administrator. You have to access it using portal administrator user-ID. the url is:
http://<hostname>:<J2EE engine port>/webdynpro/welcome
If you want to display the webdynpro application as an iView in the portal have a look at the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm
Regards,
Aniket -
DB access in Web Dynpro application in Portal
Hi,
I will develop a web dynpro application which will run in the EP and use an DB. How are the best practices in this scenario ? Should I use a Web Dynpro Model (EJB or WebService) for the persistence operations or should I use Portal Services ?
Regards
FloHi Florian,
go trrough these docs:
EJBs in Web Dynpro Application Using Wrapper Class
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
Accessing database table using EJB and web dynpro
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
Oracle Connectivity with EJB using WebDynpro Application
[https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/oracle%2bconnectivity%2bwith%2bejb%2busing%2bwebdynpro%2bapplication]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b657b7e-0c01-0010-74a4-b71518871800]
hpe it hlps u...
Regards
Khushboo -
ABAP Web Dynpro: Application Configuration vs Admin Personalization problem
Hi,
I created an application configuration for the application MT_ORDER_APP with a component configuration on RPLM_MT_ORDER_COMP. I changed several Labels and UI Element visibility... and saved.
When I test this application config for viewing an order of type ZX99, I don't see my changes. If I right-click on the page, I see that the configuration Id used is MT_ORDER_ZX99.
Why my Z config is overrided by this one???
By testing in Admin mode, I discovered that I can personalize this MT_ORDER_ZX99 Config.... But then, the changes are visible to all users viewing ZX99 type orders.
How to manage to make my Application Config highest in priority?Hi,
how did you open in administrative mode?
to open in adminstrative mode do as follows:
In se80 ,i.e in the menu bar:
Web Dynpro Application->Test->Test in Administation mode.
i hope u can see the option "Settings for surrent config" .
you can refer the thread.
[Re: ABAP Web Dynpro Application changes in Administation mode]
Priya. -
Calling a web dynpro application via portal using SSO
Hello Expert,
i have a requirement where i need to call a web dnpro application via portal.
But it is asking for user name and password.
i want to call using single sign on.
Can u please suggest a way.
i did the coding like this:-
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = l_c_appl_name
IMPORTING
out_absolute_url = l_v_gv_url_string.
l_v_icf_url = l_c_icf_url_val. "#EC SYNTCHAR
CALL METHOD cl_icf_tree=>if_icf_tree~service_from_url
EXPORTING
url = l_v_icf_url
hostnumber = l_c_0
authority_check = space
IMPORTING
icfactive = l_v_m_sso_active.
IF l_v_m_sso_active = l_c_x .
CREATE OBJECT o_viewer
EXPORTING
parent = o_empty_co.
CALL METHOD o_viewer->enable_sapsso
EXPORTING
enabled = l_c_x
EXCEPTIONS
OTHERS = 0.
l_v_gv_url_c = l_v_gv_url_string .
CONCATENATE l_v_gv_url_c l_c_url_string p0022-pernr INTO l_v_gv_url_c.
CALL METHOD o_viewer->detach_url_in_browser
EXPORTING
url = l_v_gv_url_c
EXCEPTIONS
cntl_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
RAISING error_occured.
ENDIF.
cl_gui_cfw=>flush( ).
ENDIF.
but it is not working
thanks
MaheshHi Mahesh,
You need to setup a Single Sign On between SAP Portal and ECC system where yoy are doing the development.
Ask basis team to setup the single sign on and usually this is the job done by Basis teams. Refer the below link to get some idea on SSO setup:
http://scn.sap.com/community/enterprise-portal/blog/2013/12/15/sso-configuration-between-sap-portal-73-and-ecc-60-ehp-6
Thanks
Krishna -
When to use WEb Dynpro application and Portal application in NW dev studio
I would like to know what is the difference between
webdynpro application and EP Application using PDK.
Are they comaparable ...Which one has an edge over the other specific to any applications.
I want develop an application related to e-commerce using the SAP R3 as backend for an industiry(where in a registered user can place an order and query on the staus of order. All the data will be stored in R3 ).
I am planning to dev this using NW dev studio , but have an appehension about which application is useful for this kind of application either webdynpro or EP application .
can anybody explain which one has edge over the other ( Webdynpro or EP applcations in context with NW Dev studio) and why.
thanks
PKHi,
<b>Webdynpro</b> is used when requirements ask for a prototype using minimal time n effort.
Highly skilled programmers are not necessary to write a webdynpro application
It uses dynamic controls without reloading the page.
<b>Portal components</b> esp Abstract portal component provides a lean method to write HTML command to web client
Large interactive components requires more programming.
<b>WebDynpro</b> is a highly declarative, tool-based programming model. It minimizes platform-dependent "plumbing" code for building UIs and maximizes declarative metadata describing huge portions of a typical application in a platform-independent way.
Web Dynpro follows a "top-down" approach in order to consistently support multiple runtime platforms.
In Web Dynpro you just have to drag & drop the UI components.
<b>Portal components</b> has followed a "bottom-up", programming-driven approach to Web development.
Regards,
Pooja. -
Web Dynpro application Session time expired in Portal
Hi All ,
I am runnnig my web dynpro application in portal. When i log in for first time its working fine. But if if lof off and try to log in again in portal in same browser and try to access that web dynpro application then i am gettting error as follows in the browser. And even if i click on link the application could not be refreshed/opened.
500 Internal Server Error
The Web Dynpro Application 'WhowhoAppl' has expired. Restart the application using the Refresh button or via the following link WhowhoAppl.
Details: No details available
I am also sending detail log trace below. Reply how to send this issue.
#1.#001083FEF475004D00000024000003E00004458D7D628B13#1202373905933#com.sap.tc.we
bdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmana
gement.ExceptionHandler.handleExpiration#J2EE_GUEST#0####fb017f90d55811dc93ff001
083fef475#SAPEngine_Application_Thread[impl:3]_31##0#0#Warning#1#/System/UserInt
erface#Java###Session unknown: Request with URI= was sent to unknown session.
Either request with wrong session parameters was sent, or session has expired b
efore . Current request parameters=. Is termination request=. Request w
as sent from host with IP=/name=. Hint: see SAP note 842635 for more detai
ls on session expiration. RID=
[EXCEPTION]
#8#/webdynpro/dispatcher/asianpaints.com/Whoswho/WhowhoAppl#Thu Feb 07 07:44
:39 IST 2008#{}#false#172.18.40.57#172.18.40.57#faf5bfc0d55811dccc92001083fef475
#com.sap.tc.webdynpro.clientserver.session.SessionExpiredLongJumpException: Sess
ion has expired due to a concurrent invalidation or logoff request. Hint: This m
ight occur if multiple logoff requests are sent to Web Dynpro by the portal as i
t is the case when a logoff is executed and the portal has active embedded and i
solated Web Dynpro applications. Only the first logoff request is processed, all
following logoff requests will lead to this message but but can be ignored. Ple
ase restart the application.
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doSessionMana
gementPostProcessing(ClientSession.java:868)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(
ClientSession.java:302)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing
(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doConte
nt(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(D
ispatcherServlet.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.runServle
t(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReq
uest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
t(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
t(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebCo
ntainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Requ
estAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:9
5)
at com.sap.engine.services.httpserver.server.Processor.request(Processor
.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSes
sionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRu
nner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:3
7)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.ja
va:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:1
70)
Edited by: kavita chavan on Feb 8, 2008 12:04 PMDefault expiry time of a webdypro is 3600 sec.Try to increase it in the visual j2ee admin tool.
-
Prob. exec. print job from RFC which im calling Web Dynpro java in Portal
Hi,
Ive got a problem executing a print job from an RFC which im calling in Java web Dynpro Application in Portal. Im using an Acess Method G: for Front End Printing but Order gets stuck with the Status "Waiting" "Front end unavailable".
Any help would be greatly appreciated.
Thanks in advance!!!HI,
I dont think you would be able to do this. Instead, you need to get the content from RFC into WD java and print from the browser.
Regards
Srini
Edited by: Sinivasan Rajamani on Jun 14, 2010 4:25 AM -
Hi All,
Current Scenario -
We have deployed ESS & MSS Business package on one WAS and the iviews are present on another WAS.We have created a Dedicated R/3 system which is pointing to the WAS where these packages are deployed.
All these things are working fine i.e. once the user maps the id pswd it directly runs the Web Dynpro applications in the iviews.
That means, even if application is running on one WAS, and the user personalises data on another WAS, it still retrieves the credentials and shows the appropriate results for ESS MSS Packages.
Query-
Now i need to implement the same scenario in my Web Dynpro application
Steps
1) I have the WD application running on one WAS and portal on another
2) In portal there is a R/3 system created
3) The Web Dynpro application needs to know if the user has personalised mapping against that system created on portal(other WAS)
4) If yes show him the home page else take him to the login page.
Just as it is implemented for ESS MSS Packages.
How can i pass the mapped data to the Web Dynpro iview ?
Thanks and Regards,
Samta NichaniAmol,
as this questions existed twice, I've deleted one.
As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
Regards,
Benny -
Replacing web dynpro application URL
Hi Experts,
I have created a web dynpro application with 2 views. view 1 has a button when I click on it it opens view2 in "external window". To do this I am getting absolute URL using cl_wd_utilities=>construct_wd_url and pass this URL into lr_window_manager->create_external_window and everything works great. Now, I integrated my web dynpro into MSS portal iview. When I click the button on view1 it tries to go to different URL (We have single sign on ) instead of actual URL which is "HTTP://<host>.<domain>.<extension>.<port>/sap/bc/webdynpro/sap/mycomponent". In portal the section "HTTP://<host>.<domain>.<extension>.<port>/" is getting replaced by "https://dev.xxxxx.com" and due to this a blank page opens up because this URL is not found.
Is there any way I can get actual URL of web dynpro application? I have done plenty of reserach but could not resolve this. Please let me know if anyone has any information.
Thanks.
MithunMithun Dha wrote:
Hi Experts,
> I have created a web dynpro application with 2 views. view 1 has a button when I click on it it opens view2 in "external window". To do this I am getting absolute URL using cl_wd_utilities=>construct_wd_url and pass this URL into lr_window_manager->create_external_window and everything works great. Now, I integrated my web dynpro into MSS portal iview. When I click the button on view1 it tries to go to different URL (We have single sign on ) instead of actual URL which is "HTTP://<host>.<domain>.<extension>.<port>/sap/bc/webdynpro/sap/mycomponent". In portal the section "HTTP://<host>.<domain>.<extension>.<port>/" is getting replaced by "https://dev.xxxxx.com" and due to this a blank page opens up because this URL is not found.
> Is there any way I can get actual URL of web dynpro application? I have done plenty of reserach but could not resolve this. Please let me know if anyone has any information.
>
> Thanks.
> Mithun
I am not Sure what is going wrong here . How can it be different url ? You may have to check THE sso configuration and the system defintion in the portal. How ever you cannot see the actual url in THE portal url.
Is That Correct That your wda application with view1 is loding correctly but THE opening external window is not going good? In that case you can try to change THE generated url from cl_wd_utilities=>construct_wd_url to https protocol.
Maybe you are looking for
-
Can I have an Action file install when a ZXP is opened in Extension Manager for CC 2014?
I have an extension that I'm packaging as a .zxp file. I'm using Adobe Exchange Packager and setting to the proper install location for the files for the extension. However, my extension requires an action file (.atn) is installed in the user's Acti
-
No Audio or MIDI using Focusrite Saffire Pro 24 DSP Firewire soundcard
I installed the latest version of Mixcontrol, all my motherboard drivers and BIOS etc are up to date. No problems reported by Device Manager. I've emailed Focusrite about this, but still waiting for a reply. I've tried reinstalling everything, but st
-
hi excuse my ignorance but what does the v20.0.016 update give you apart from crashing ngage, now sorted, cant find anything obvious. thanks steve...have vodafone branded n95 8gb.
-
RunMigrate.sh Java error for patch AddrBook migration to UWC
Hello All -- The MigratePab java app appears to core dump half-way through "batch" migration of PAB entries to new UWC AB Server. /tmp/migrate.log to shows the pabMigrate finds all users for domain and correctly constructs new AB entry for o=piserver
-
Repartitioning Windows partition.
Is it possible to repartition the Windows partition to a bigger size without losing the data? And if not, what is the easiest way to do this without losing everything?