Additional parameter in EPCM.doNavigate

Hi all,
I would like to know if I can pass additional parameters in EPCM.doNavigate like
EPCM.doNavigate("pcd://...."?name=value). If it is not possible is there anyother anyway of achieving it.
Regards,
Janvi.

Sure you cud, if the recieving thing cud take it...
Eg: If you want to pass some vlaue to a screen field on R3 Transaction Iview, then in the DynamicParameter part you wud say something like this:
var myValue = 'XYZ';
EPCM.doNavigate('ROLES://pcd_path/iview?DynamicParameter=P_Val%3d'+myValue,1);void(0);
where P_Val is the screen field on transaction.
Plz don forget points, if it helped.
Regards,
p.

Similar Messages

  • Pass parameter in EPCM.doNavigate

    Hello!
    I have JSPDynpage the button, that have OnClientClick:
    addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication', 1, 'width=400,height=500');");
    It's open WebDynpro page in new window.
    How can I pass parameters into opening WebDynpro page?

    Found solution.
    Write doNavigation with parameter qqq=test:
    addPosButton.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/Webdynpro/java_local_add_lot_position_jwd_nrj_applications_AddLotPositionApplication? sap-qqq=test ', 1, 'width=400,height=500');");
    In Object property of WebDynpro page iView fill field "Parameters to Pass from Page Request" with value qqq (without sap-)
    Than in WebDynpro page get parameter:
    WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter( "sap-qqq" )

  • URL change in EPCM.doNavigate

    Hi Devina,
    one idea, two remarks:
    1.) Just try to set the onClientClick programmatically, that is before closing the button (</hbj:button>), call setOnClientClick on the button object. <i>Maybe</i> the encoding only happens by the taglib... (just an idea, didn't check it).
    2.) You have a strange parameter passung URL of the form blabla/blubblubb&p=1=2 instead of something like blabla/blubblubb?p1=1&p2=2 or so... any reason for that?!?!
    3.) Hardcoding the PCD location doesn't sound like a good idea in general. Maybe a relative navigation could work, otherwise at least you should parametrize the PCD location.
    Hope it helps
    Detlev

    Detlev ....
    I am still stuck ...
    Now, I do get the number of the row clicked .. but i need to pass this value to the bean to get the corresponding employee to pass as a parameter to EPCM.doNavigate. But i guess it is not possible to pass a value frm javascript to java. Pls see the code..
    JSP
    <script language='JavaScript'>
    <% int i = 0;
    %>
    function test(){
    alert(' i am being passed to onclick of button ' + i);
    <b>pernr = <%=myTableViewBean.getModel.getValueAt(i,2) %>;</b>
    EPCM.doNavigate('ROLES://portal_content/com.hersheys.Hershey_Content/com.hersheys.Human_Resources/com.hersheys.hr.sap_mss_iviews/EmployeeExit?SCENARIO_PARAMS=PERNR=pernr',0);
    function test2(){
    alert(' selected row is ' + htmlbevent.obj.getClickedRow());
    i = htmlbevent.obj.getClickedRow();
    </script>
    <hbj:page title="AIP TeamViewer" >
            <hbj:form id="myFormId">
                   <%  pageContext.setAttribute("myRootNode", OrgSelectionBean.getTree());
                    OrgSelectionBean.renderTree(myFormId);
                   %>
              <hbj:tableView
               id="myTableView2"
               model="myTableViewBean.model"
               design="ALTERNATING"
               headerVisible="true"
               footerVisible="true"
               fillUpEmptyRows="true"
               navigationMode="BYLINE"
               selectionMode="SINGLESELECT"
               headerText="TableView example 1"
               onNavigate="myOnNavigate"
               visibleFirstRow="1"
               visibleRowCount="5"
               rowCount="16"
               width="500 px"
              >
              <% 
               myTableView2.setOnClientRowSelection("test2()");
               myTableView2.setJsObjectNeeded(true);
               %>
              </hbj:tableView>
    <hbj:button
                   id="ButtonSearch"
                   text="Retrieve Forms"
                   width="50px"
                   tooltip="Click here to search"
                   jsObjectNeeded="true"
                   disabled="false"
                   design="STANDARD"
                   onClientClick="test()"
                   />
              </hbj:button>

  • EPCM.doNavigate

    Hello!
    I would like to navigate from one iView to another. I'm using javascript EPCM.doNavigate method.
    When User click on some button with this method new iview opens instead of current iview, but tab of current iview in top navigation is active.
    What can I do, that opening iview's tab become active?

    hi ,
    hope this will give some idea,  it has the parameter to pass to navigate from one view to anview
    http://help.sap.com/saphelp_nw04/helpdata/EN/26/71c74030308431e10000000a1550b0/content.htm
    and explain u r problem more clearly
    ravindra

  • Parameters with EPCM.doNavigate

    Hi ,
    I want to call transaction and pass 2 parameters ,  one of them is to execute the screen ( like skip first screen in abap , or iview property ...show first page )..
    The first parameter passed but the execute parameter not working....
    The code :
    EPCM.doNavigate( 'ROLES://portal_content/xxx/iview?DynamicParameter=PRSNUM-LOW%3D"resnum'%26<b>okcode%3donli'</b>, 1)
    I try also ... sy-ucomm%3donli
    How to pass this parameter to make the screen execute ????
    Thanks

    Hi Faniel,
    You can use the following solutins:
    1) Crate another transaction iview and define the ok code, then, navigate to it.
    2) Use Application Integrator
    For example:
    document.location.href('/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.
    Transaction?System=<system name>&TCode=<Transaction
    code>&GuiType=WinGui&AutoStart=true&OkCode=<ok
    code>&DynamicParameter=<param name>%3D<param value>')
    res.write("document.location.href
    ('/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.
    Transaction?
    System=SAP_R3&TCode=ME9F&GuiType=WinGui&AutoStart=true&OkCode=ONLI&
    DynamicParameter=%3D123456');");
    Where:
    SAP_R3 is your backend system
    ME9F is the transaction
    OkCode is ONLI
    Parameter name is S_EBELN-LOW
    Parameter value is 123456
    res in the response component in your dynpage
    Omri

  • Epcm.doNavigate(): browser url changes

    Hi,<br>
    <br>
    i created a whole new navigation area. When using epcm.doNavigate, the url of the browser changes to the location of the current page.But i want it to stay the same: .../irj/portal.<br><br>
    I compared my code to the original topLevelNavigation, but i can't find any differences that could prevent this url change.<br><br>
    Any ideas?<br><br>
    kind regards,<br>
    Stephie<br><br>
    <script><br>
    function doMouseClick(clickedNode){<br>
         EPCM.doNavigate(clickedNode);<br>
    }<br>
    </script<br>
    ...<br>
    a href="#" onclick="doMouseClick('<%=node1stLevel.getHashedName()%>')"><%=node1stLevel.getTitle(locale)%>  </a

    Hi,
    do you have a real link or an HTMLB link?
    In HTMLB you just have to
    link.setOnClientClick("EPCM.doNavigate('ROLES://" + <yourTarget> + "', 0);");
    But even if it is no HTMLB you could try to set the mode as second parameter.
    0 or not specified: Depending on the setting of the WorkProtect feature the target is opened in a new window or on the current desktop.
    1: Open target in a new window, with no a portal header and navigation bar.
    2: Open target in a new window, with a portal header and navigation bar.
    Maybe that helps.
    Best regards
    Robert

  • Crystal Reports 2008 SP3 Additional parameter values are needed

    I recently upgraded to Crystal Reports 2008 SP3, and now when I try an export a report from the Crystal Reports Designer, I get the error "Additional parameter values are needed before this report can be saved or viewed with data.  Click 'Ok' to enter the missing values or 'Cancel' to proceed without data".  I am trying to export the report to Crystal Reports format.  The report is getting data from a MS SQL 2005 stored proc. I tried building a new simple report (just took all the fields in the result set and put them in the details section) using the same stored proc, and get the same error when I try to export.  
    FYI, before I try to export I always preview the data in the report, so the parameters are defiantly set correctly.
    This was working correctly in Crystal Reports 2008 SP2.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Reload page with additional parameter?

    Hi!
    I'm writing a site with the following simple structure: JSP using taglibs is for page structure, and taglibs are for applying XSLT to XML. Model uses XPath to extract needed XML , and there is no controller. Typical JSP is like that news.jsp:
    <my:page>
    <my:header title="News" />
    <my:news show="10">
    <my:rangeSelector />
    </my:news>
    </my:page>This displays a page with 10 news list and a range selector string like that:
    1..10 | 11..20 | 21..25
    Tag my:rangeSelector asks its parent tag my:news (which implements IHasRange, so as my:photos for photogallery thumbnails grid, etc.) about the total number of news to form that range selection string. The idea is the following: after the user clicks for example on 11..20, there goes a request, the same as the previous one, but with additional parameter, something like rangeStart=11. The question is HOW TO ACHIEVE THIS keeping in mind that my:rangeSelector knows nothing about its parent, but that it should implement IHasRange. In other words, how to reload the current page with the same set of parameters, and one more additional parameter, without explicit specifying the page, i. e. without that:
    <my:rangeSelector target="news.jsp" />Maybe Struts as a controller can help? I have no idea about it...
    Thanks a lot! :)
    Constantine Kulak
    FAMI BSU, IBA BY

    I have the same problem: I had used F5 to make text smaller (zoom out). F6 to Zoom In still works, but F5 doesn't. It worked under Safari 4 BETA, but not the release version. I've tried this on several machines.

  • Why EPCM.donavigate doesnt work for Iview with isolation type embedded

    I am using EPCM.donavigate in JavaScript  in portal jspdynpage to navigate to different page. This works fine when my iView  isolation method is URL but it doesnt work when it is embedded. Am I missing something here? some import?
    Regards,
    Nitesh

    Hi,
    In Javacript of Portal jsp page, we are calling EPCM.doNavigate method  as below:
       function callfunc(obj,externalLink,rid,portalPageURL,InvalidLink)
                   return EPCM.doNavigate('ROLES://' + obj)     
    Final URL look something like this...
    portal_content/com.sap.pct/com.sap.prod_fld/com.sap.roles/com.sap.rol_career/com.sap.wks_1_1/Folder_2/com.sap.pag_1_1_2
    This Code works only for Iviews with URL Isolation but doesnt work with Embedded Iviews as my Page which contains this Iviews is also Embedded and Desktop is also embedded.

  • EPCM.doNavigate within page

    Hi all -
    our problem is that we click on a sidebar iView and do a
    EPCM.doNavigate to a 2nd iView on the same page, but
    we want the 2nd iView to scroll to the location that was clicked on the first
    the alerts are telling us the data is getting through
    but the 2nd iView just loads (1st iView is questions 1-10)
    2nd page is answers 1-10
    on 2nd page we are trying EPCM.doNavigate to scroll to
    the right location but not working

    Hi Dennis,
    I guess you have links in your iview and when clicked you want to call an iview of the same page and want them to be opened in the portal content area right.
    Probably you could think of Dynamic navigation iviews then where such iviews appear in the portal content area
    else have alook at this forum where they ve tried forwading control from one iview to another of the same page using EPCM.
    EPCF - iView forwarding with EPCM.doNavigate()
    Hope this helps,
    Regards,
    Uma.

  • How to  EPCM.doNavigate in WD4J?

    Hi,
    I've a WD Java Application and want to add a LinkToAction UI Element to give an Iview Link.
    I want the link to be opened on the same page not as a popup.
    On JSP Pages of Header codes like below are working.
    a href="#" onclick="return EPCM.doNavigate ('ROLES://portal_content/pathtorole/ROLES/GeneralRole/Applications/ApplLink')">LinkText /a
    Via above link, when i click LinkText on page, it navigates to the ApplLink application within a role on the same page.
    How to simulate same with WD Java?
    regards
    Message was edited by:
            HUSEYIN BILGEN

    Hi Huseyin,
    In WD4J you need to use portalNavigation:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content...",
      WDPortalNavigationMode.<MODE>,
      WDPortalNavigationHistoryMode.<MODE>,
      null);
    Omri

  • Adding Additional Parameter in Oracle Reports -- Is this Possible?

    Hi,
    Please help me with this predicament: There are several reports being called through a single form, wherein a common parameter list is being used. Now I need to add another parameter called BLANKPAGES to one report only. Is it possible for me to put this script inside that one report's trigger?
    ADD_PARAMETER ( pl_id , ' BLANKPAGES ' , TEXT_PARAMETER , ' NO ' ) ;
    What are my other options?
    Thanks in advance,
    Jansen

    Try this
    if :report_name = 'NEW_REPORT' (user substr if needed) then
    ADD_PARAMETER ( pl_id , ' BLANKPAGES ' , TEXT_PARAMETER , ' NO ' ) ;
    end if;

  • Pass additional parameter to SOAP header?

    We are using webservice datawindows to pass request xmls to call webservices. Additionally we use 'wsconnection' objects authenticationmode, username and password property to send information to SOAP header.
    Now we have to send one more value to SOAP header. This new value will be a string(like username).
    I checked the wsConnection properties and did not find anything which could be used. Can anyone please advise on it.

    If they constructed the web service correctly, the WSDL should include information on the custom header attributes you need to pass.  If it's there, any version of PowerBuilder 10.5.1 or later will provide a method you can call to pass it.
    Custom header support for .NET Web services

  • Parameters - Prompt for additional parameter

    Hi Everyone,
    I have created a parameter with 2 values ( for example A and B).
    If A is selected the report will appear as normal based on a set value.
    If B is selected I would like another parameter to appear prompting the user to enter another value.
    Is this possible?
    i.e. Is it possible to make a second parameter appear only if the results of the first parameter = B?
    Thanks in advance for any help....
    Best regards to all
    Roger.

    I think it is not possible to hide the paraemter dynamically. As a workaround you can try considering the other parameter value depending on the value selected in first parameter. Try this
    if ="A" then
    condition 1
    else
    condition 2
    you can use the other parameter in condition 2. But you need to enter all the parameter values everytime and you can only consider the other parameter value when you select parameter value as B.
    If you are using CR2008 you can make the parameter as optional in which you can run the report without entering any value in the second parameter
    Regards,
    Raghavendra.G
    Edited by: Raghavendra Gadhamsetty on Jun 25, 2009 6:16 PM

  • Problem with EPCM.doNavigate

    Hello all,
    I have a problem here with navigation.
    The code works fine in the dev portal, I hit the 'Enter' button and I'm taken to the appropriate page.
    When I transfer to prod it doesn't work.
    I hit the 'Enter' button and the 'homepage' loads, the default page after login.
    Strange thing is though, I have a button beside an input field, if I click the button it all works fine but when I press the Enter button after making an entry in the input field (I have the button set as default) then the navigation takes me to the homepage and not the appropriate page.
    So clicking the button works, but pressing 'Enter' when the button is the forms' default doesn't work. It navigates to the wrong place.
    Has anyone faced similar problems, any ideas what it could be?
    I'm all ears...
    Best regards,
    Patrick.
    Message was edited by: Patrick O'Neill

    Hi,
    Yeah the paths are the same from dev to prod. I'd checked that in the morning.
    I played around with it, played with onClientClick, onClick, played with this, played with that...... done a transfer and now it seems to be working.
    Strange thing though, for a whiles it was working only on my client and nowhere else..... I think that was related to setJsObjectNeeded somehow. I'd set that true when I was using onClientClick and forgotten to remove it when I went back to onClick. It's so strange though that it worked on this machine and not on the others untill I removed the setJsObjectNeeded. Once I removed that it worked everywhere. Versions of IE I guess.
    It seems to be sorted now anyhoos. Thanks for the contribution
    Best regards,
    Patrick.

Maybe you are looking for

  • Error message when displaying a report in a windows form

    Hi, use Cr 2008.SP3 Fixpack 3.5, Visual Studio 2008 prof. editon version 9.0.30729.1 SP, :NET Framework 3.5 sp1 vb.net 2008 when displaying a report in a Windows form sometimes the following error message appears System.NullReferenceException: Object

  • Left, Right or center justified. Need some help

    Hi, I have to do an assignment in which i am asked to read a file containing text of strings. I have to set some properties for my implementation class so that i will get the output in desired format i.e left, right or center justified. Can anybody t

  • Device registration is awful!

    I am Sky Multiscreen customer so I have 4 available slots for sky go devices but I only use 2. I removed a xbox from the 3rd slot yesterday as we no longer have that xbox Anyway I was using Sky go fine yesterday on my laptop then earlier today I upda

  • Dynamic Layout on Edit Customer page

        Hi, I need to customize Edit Customer page so that when the value of Line Of Business is "A", some fields should hide and some others should show, and when the value of Line Of Business is "B", those hidden fields should appear and some fields sh

  • SQL statement - tricky search problem

    Hi, I am working in asp and use an Access db. I have a database with 500 shops around the world, the table contains among other things shop name, country and region (Europe, Asia etc). Then a search page with dropdown lists, one for Region and one fo