How to navigate from WD iView to another WD iView
Hi experts,
I'm wondering the best way to do a navigation from WD to another one, I've triyed absolute and relative navigation and neither of two works.
I'll try to explain what am I doing:
Application A wich is running in a iView needs to call an Application 2 located in another iView (separate WD project too).
<b>my code looks like this:</b>
DATA: l_api_component TYPE REF TO if_wd_component,
l_portal_manager TYPE REF TO if_wd_portal_integration,
path TYPE string,
path_table TYPE string_table.
l_api_component = wd_comp_controller->wd_get_api( ).
l_portal_manager = l_api_component->get_portal_manager( ).
path = 'ROLES://portal_content/fl_mjcf_workarea/fl_mjcf_web_site_unimet/fl_mjcf_ivews/fl_mjcf_intranets/fl_mjcf_int_estudiante/iv_mjcf_web_pagos'
CALL METHOD l_portal_manager->navigate_absolute
EXPORTING
navigation_target = path
navigation_mode = if_wd_portal_integration=>co_show_inplace
window_features = navigation_data-window_features
window_name = navigation_data-window_name
history_mode = navigation_data-history_mode
target_title = navigation_data-target_title
context_url = navigation_data-context_url
post_parameters = navigation_data-post_body
use_sap_launcher = abap_true
business_parameters = bus_parameter_table
launcher_parameters = launcher_parameter_table.
I don't know what am I doing wrong, but, the application is not showing anything, no error, no message.
Please any suggestion is really apreciated and of course rewarded.
Thanks in advance.
RR.-
Hi,
Thanks for your reply I found that the PCD location was wrong, I wasn't copying from the role, that's why the application didn't navigate ritgh. But still havin problems with parameters.
Do you have any idea? and thanks for your reply.
Ramien.-
Similar Messages
-
How to Navigate from af:internalFrame to another page in the parent frame?
Hi!
I'm using an ADF IFrame Component <af:internalFrame>..
we have a requirement where we needed to navigate from a page in the Internal frame to another page in the browser, i.e., on clicking a ceratain button in IFrame , the browser window should load an another page in the main window/frame(not in IFrame). I know this can be done with javascript by setting the
window.location='newurl'
But that would take me away from the normal JSF lifecycle, that is I have to perform certain processing of the inputs from the Iframe, and then navigate in the normal JSF way to another page in the main browser window,according to the navigation configured in the faces-config.xml; or if possible, programmatically ,in the backing bean.
Can someone give me any hint of how to do this?
Thanking you in advance,
SambaCorrect. To achieve this functionality JavaScript is required.
--Ric -
How to navigate from one view to another view?
Hi everyone facing a problem in navigation when i click on the list another view should be appear..
page1.view.js:-
list1.onclick=function(evt){
$.sap.require("sap.ui.core.EventBus");
var bus=sap.ui.getCore().getEventBus();
bus.publish("nav","to",{
id:"idDemoUI2", //..id of page2...//
context:evt.getSource().getBindingContext()
page2.controller.js:-
onBeforeRendering: function(evt) {
if (evt.data.context) {
this.getView().setBindingContext(evt.data.context);
i have a list i want when i click one the row of that list another view will appear so i use onclick event on the list and then use bus for navigation and recieving data in the target page but its not working anyone please tell me where i am wrong.
Regards
KelvinHi Kelvin,
How about using Routing concept than the getEventBus. Below link should help:
Step 3: Navigation and Routing - User Interface Add-On for SAP NetWeaver - SAP Library -
How to use Go URL to Navigate from one report to another
I have used Actionlink option to navigate from one report to another, It is nopt working on the dashboard because i used presentation variables in my first report and its throwing me an error below, I have to pass on id from one summary report to detail report, I have created Go URL, Do i need to use that URL in my summary report column formula ?
Need some info ~ Thanks ~Srix
An invalid object was accessed during evaluation.
Error Details
Error Codes: QBB4RZQS:SDKE4UTF
Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
Expression: report.variables['TimePeriod']Hi ,
Please refer the below threads.
How to Navigate from one report to another report based on column values
Navigating from one report to another report
Re: Navigate from Report 1 to Report 2 using Go URL
Award points it is useful.
Thanks
satya -
How to navigate from a view to an IView in portal
Hi all,
Onclick of an application in my portal my appliaction gets opened.But the problem here is onclick of cancel in my applcation i want to navigate to my IView in portal.
For navigation between view2 to view1 i used wdThis.wdFirePlugtoView1();
by creating a navigation link.
How to navigate from view1 to Portal IView
Regards
Padma NHi padma,
Go to Iview Property in portal Content managment and take the PCD location.
It may look something like this
ROLES:portal_content/ZABC/ZPROJECTS/com.abc.ZPortfolio/com.abc.ZPortfolio/com.abc.ZRoles/com.abc.ZPortfolioReconle/com.chep.ZReconciliation/com.chep.ZReconEnquiry_IView
Create a string variable with the PCD location
String pcdLocation = <pcd location>
And call using the iview using the following code
WDPortalNavigation.navigateAbsolute(pcdLocation, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,"&reference="+reference);
Here &reference is the application parameter, if the application with which the iView is created has parameter and is not mandatory.
Hope this helps. -
How to navigate from a Servlet to a WebDynpro?
Hi together,
I've the following Problem:
On the same EP, there are 2 deployed components:
- a WebDynpro-Application with several Views, each in a separate iView
- a Servlet
Question:
How can i navigate from the Servlet to one special iView or CustomController of the WebDynpro-Application passing a Parameter?
I've tried to navigate using the WDPortalNavigation.navigateAbsolute()-Method, but when I create the Target-Url using the following Code, my Debugger leaves the Code uncontrolled:
deployableObjectPart = WDDeployableObject.getDeployableObjectPart("vendor/App", "webdynproApp",WDDeployableObjectPartType.APPLICATION);
urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart);
Some Ideas?
Regard
ThomasHi Thomas,
I think you may have to use session concept here.
check with following code
you can use the following code to set value to the parameter.
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpSession session = request.getSession(true);
session.putValue("col_id", <value>);
This code below is used to get parameter value.
HttpServletRequest request = ((IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletRequest();
HttpSession session = request.getSession(true);
String Col_id =(String)session.getValue("col_id");
Let's say the pcd location of the target page is
pcd://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg
In the event handler for the onAction event of the button
String appParams = "ApplicationParameter=<your parameter name>=" + <put your value here>;
WDPortalNavigation.navigateAbsolute(
"ROLES://portal_content/com.sap.pct/specialist/com.sap.test.pages/com.sap.test.target_pg",
WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
appParams,
null,
true,
true);
For more details you check the following URL. it describes on how to navigate from html/servelt to portal iview.
Passing value from page to WD
Reward points if it helps
Regards
Praveen -
Navigate from a chart to another tab page
I have a requirement to navigate from a chart to another tab page. Right now my implementation requires that I select one of the bars on the chart to navigate which also performs filtering. I want to be able to click any area on the request (not just the bars) that contains the chart to take me to another tab page and I don't want any filtering. Can this be done?
Thanks in advance!
Edited by: user9213142 on Oct 24, 2010 5:50 AMHi Srikanth,
Thanks for getting back to me.
The method that recommended is what I am currently using. However, I want to be able to click anywhere on the chart not just the bars. Is there away to navigate by clicking on anywhere within a section?
Thanks again! -
HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES
HOW TO MOVE FROM ONE JSP TO ANOTHER BY HIDING URL CHANGES IN AN ADDRESS BAR
Please check before posting that you have not accidentally turned on the CAPS LOCK feature of your keyboard.
To answer your question. You can't do that. There are alterate ways to solve this sort of problem. What exactly is the nature of the problem you are seeking to solve? -
How to skip from one list to another list in interactive report?
Hi Friends,
How to skip from one list to another list in interactive report that means now i am in 7 th list how to skip 4th list ?
Or now i am in 7 th list how to skip 9th list ?
can anybody send sample code please.
Thanks in advance.hi,
at line-selection.
case sy-lsind.
when 9.
sylsind = 4.
endcase.
try like this when u r in 9th list next it goes to 4 th list -
How GroupArt remove from one layer to another.
hi all,
How GroupArt move from one layer to another.
Thanks in advance.Hi Vijay,
1) To add new events you have to define a custom action, e.g. under the settings of a button you can choose custom action and define a name for this action
2) You have to add a custom action, e.g. "next" then you must connect the two layers (drag a line from one layer to the other) and change the event name into "next"
3) you can pass data from one layer to another like you do it from a form into a rfc/query and so on
There is also a tutorila available in the help:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/04/80aab03df044ec995000842e77e1be/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/04/80aab03df044ec995000842e77e1be/frameset.htm</a>
The bank example shows you how to use layers as a wizzard.
Best Regards,
Marcel -
How to navigate from a component to a specific view in other component
Hi guys,
i have an issue in my application where i have two components compA and compB. In defaultview of compA i have a navigationlink and a viewcontainer element which contains three views viewone,view two,view three and In default view of compB we have 3 links where each link should navigate to its corresponding view in the viewcontainer element of compB. The navigation between default of compA and CompB is working fine But prob is with the navigation between the links in the compB view to views in the view container element. can anybody give me some idea on it i am hanging here from somany days. It would be appreciable if anybody solved this problem. Thanks In Advance
Regards
Ravikumar SaragadamHi Ravi,
Check the following links.
DC reusability in webdynpro
Passing a value from one dc to another dc in webdynpro
How to pass a value from one dc to another dc in webdynpro java
Thanks -
How load data from One Infoobject to Another Infoobject?
Hi GuRUS
Any body has succeded in loading data from One Infoobject to Another Infoobject?
Pls Let me kNow
Regards
DuraiHi Durai,
Create export datasource on the info-object and then load the data to the other info-object.
Check this link also:
Re: How load data from Infoobject to another Infoobject?
Bye
Dinesh -
How to Navigate from Graph page to Customization page?
Hi All
If i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed?
Also in that customization page i need to make changes in the SQL statement for graph also the type of graph( Pie or Bar).... when i provide this changes it needs to be saved. And when i save it has to provide me the new graph according to the edited SQL Statement...
How to achieve this?
Can anyone pls pls help me out in resolving this issue???
GaneshIf i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed? Destination URI
You can programmatically define a destination URI on a graph, that allows users to drill down to additional information. If the Destination URI property is defined on a graph, the URI specified is used as the drill-down URL. The Destination URI can be an absolute URL or a relative URL to an OA Framework page. The group and series values for each data point are appended to the specified destination URI, so that the resulting URL is specifically associated to a particular data point plotted in the graph. The group and series values can be obtained by the destination page using the parameters OAGgroup and OAGseries.
For the drill down feature to work, you must also set the Display Data Bubble Text property on the graph to True. Enabling this property generates an image map, which is required for the drill-down feature to work. When a user selects any data point in the graph, the specified URL is launched.
Thanks
--Anil
http://oracleanil.blogspot.com/ -
How to navigate from view of slave DC to view of matser DC?
Hello!
I've got DC1 (master) and DC2 (slave) in different projects. Both projects are WD Java local DC projects. DC2 has one component (say A) with view, window, view interface, controller and controller interface and has no applications. This view should be called at start of application. Only DC1 has application. Public parts created properly so DC2 visible for DC1.
In main window of DC1 I embedded View Interface from DC2 and make it default. View Interface has outbound plug connected with inbound plug for View of DC1.
What I should to do to allow user navigate from View Interface of DC2 to view of DC1 by press button placed at view of DC2?
I'm working with NW7.0.
Regards, Lev.Hi
What I should to do to allow user navigate from View Interface of DC2 to view of DC1 by press button placed at view of DC2?
Hi
One solution will be already provided by jithin james .
Apart from that if u want to make something generic (For your case View interface of different Dc) follow this [Best practices |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0409d83-5ed5-2910-ef91-e41da6d5b8b4]
Best Regards
Satish Kumar -
How move apex from one server to another
Hi All,
I am just a beginner who has just started with APEX. Its strange but even though I am just a beginner I was given a task to move the current whole apex system from one server to another.
Can any one help what the steps do I need to follow to do this?
I also need to setup backup server to this new server so that in case this new server goes down, the backup one can be made productional.
I think I should move apex first then move the whole database. Is there any tool or some thing which can do it for me?
ThanksHi,
what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
As far as I can see you have three options.
1. Hire a consultant/contractor with the necessary skills to perform the tasks.
2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
3. Look for a new job.
Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
Regards
Andre -
How to copy from one Version to Another version with single click
Hi Everone,
Users wants to copy from one version to another version with single click only. I.e Actuals to Planning etc.,
They don't want use standard COPY Data manager package to do this activity as this involves many steps.
Please let me know Is there any way to COPY with single click. Thanks in advance!!
Regards,
ViswanathHi Viswanath,
Use /CPMB/DEFAULT_FORMULAS
Then edit automatically created advanced script:
PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,DEFAULT.LGF)
Remove bold lines and change the script name in line with your script name:
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,YOURLOGICNAME.LGF)
Vadim
Maybe you are looking for
-
Hello All, I need to have two more fields(Dunning level and last dunned) in F-30 transaction screen number 331 which are also from the table bseg as the other fields in the screen. Can you please tell me how to acheive this.? Is there any exit for th
-
Trying to install the snow leopard update, but get a grey apple logo screen
I cleaned my imac out, and now want to install snow leopard (NOT LION), I already installed Leopard, and the machine works, but when I try to install snow leopard, it runs(installs) and after a while it gives a message that it will finish installatio
-
How do i back up my iphone to an external hard drive and not my computer
How do I back up my iphone to an external hard drive attached to my pc and not my pc? My disk on my pc is almost full and even though I selected the external hard drive it still seems to try to back it up to my computer, then says I don't have suffi
-
Apple store credit, can't change my region!
i bought a few 50 dollar cards back when i was at USA. I have been happily using those credits and buying apps from the US store. Now i have 4.78$ left and i want to change my region and buy from my onw countries store, because there is less than 5 b
-
Import Previews and Collections Only
GOAL: to export the Previews and Collections info ONLY on an old Lightroom catalog/computer and apply that info to same photos on a new Lightroom catalog/computer. I'm moving my Lightroom Catalog from one computer that utilized multiple external driv