Pass paramenters from WDJ iView to Transactional iView

Hi All
I have a scenario where I need to pass the parameters from webdynpro Java iView to Transactional iView. We are implenting LSO and for a Manager role we deployed the MSS BP to access "Employee Search" iView. I created a transactional iView for transaction LSO_PV00. Created a page with these two iViews. Now the page will show the employees list for that manager and T iView. When I click the employee name, is there a possibility to set the employee's personal number in the input field of the transaction iView?
I am not sure will this be possible withou any code changes, but just wanted to have the input from SDN before coming to conclusions.
Thanks, Raj

you can pass the screen field of transaction uisng Application Parameters property of the transaction iView.
To know the parameter to be passed,
Press F1 in the input field and Click on Technical Information Icon at the top,then screen field name is the paraameter name to be passed for transaction.
Use WDPortalNavigate to pass paramter from Webdynpro.Check this link
Passing Parameters to Transaction Iview
If you WD appl is a standard one,then you might need NWDI to make changes in the same

Similar Messages

  • Passing information from an iView to SAP - ESS Related

    Hi,
    How do you pass information from an iView to SAP?
    For example, in my task the User will log into ESS.
    Then they will click on the iView link and be prompted with a dialog for their service number (how is that done)?
    Now, on SAP's side (backend), I need to take that service number and their user id and pass it to the transaction.
    For the service number, I will have to add leading zero's.
    How is this done?
    What is the ESS cookbook and does anyone have it?
    Thanks,
    John

    Thank you for the response - it gives me a better idea of how this system works.
    But how would you modify the information that is being passed? Would it be passed to a structure, which can be accessed from within SAP? For example, the medical service number would be entered as 15. It would be stored and then my program would extract that number, add leading zero's and call the relevant transaction.
    Please help.

  • Passing values from one iView to other iViews in the same page

    Hi all,
    I have one entry jsp+htmlb iView  and two other BW iViews( URL based). The entries made in one iView serves as the input for the other two iViews to generate BW reports.
    I know we should use EPCM event API but how do I dynamically change the URL (with application parameters) in the other two iViews?
    Thanks in advance.
    Rgds,
    Janvi

    Hi Janvi,
    look here:
    Permanent change of iView property programmatically
    Yoav.

  • Passing parameter from Iview to SAP WD ABAP application

    Hi All,
    Can we pass single / multiple parameter(s) from the Iview to the Webdynpro Component ? I mean we are calling a WD Component by executing its application from the Iview. In that process, is there a way we can send some parameters to the WD component from the Iview ?  If yes, please let me know how.
    Thanks and Regards,
    Sayan Ghosh

    Hi Sayan,
    It is possible to pass parameters from portal Iview to WD component. For that there is one property of Iview called
    Application Parameters
    You can pass value like this:
    parameter1=value1 &parameter2=value2
    Regards,
    Vikrant Trivedi

  • Retrieve field value  from webdynproABAP iview into portal using studio

    Hi.
    I have to solve this problem.
    I have assigned webdynpro ABAP iview (iview created by webdynproABAP team people) into one roles.then  i assigned  that role to one user....
    now i want to pass  values  from  webdynproABAP iview  to portal using NWDS.
    how do to acheive thisone?
    i created normal JSP,JAVA class in NWDS...I dont know how to pass values in NWDS..
    but  i want to retrieve  fieldvalue  into  portal.....
    plz help to solve this problem....

    Hi Vinothini21,
    If you are using Webdynpro ABAP iview and want to modify it then you need to do in TCODE se80 in SAP system. I think not in NWDS. Please check it.
    Best Regards
    Arun Jaiswal

  • Passing output of one iView as input to another iView using Visual Composer

    Hi
    I need urgent help. Is it possible to pass data from one iView to another using the Visual Composer tool. If it is how? Does anyone have an example or know where I can find one.
    Here is my example:
    I have created one Page with two iViews on the page. In the first iView i have a Bapi that accepts an ID number of a business partner as input and returns details like Name, Surname , title etc as well as the SAP Business Partner Number. The second Iview uses a Bapi that returns the Address details of the business partner.My problem is that I need to use the Business Partner Number from the first iView as the input into the second iView. Is this possible using Visual Composer? There will be a series of additional all bringing back different details of the same Business Partner and will need to use the same Business Partner Number.
    Please advise me if this is possible using VC or if not suggest an alternative way of doing it.
    Thanks in advance for the help. 
    Regards
    Yusuf Gangat

    Yes you can do this.
    You can use ports (Signals) for this.
    In order to explaing this, I will call the 1st iView - the source iView and the 2nd one - the target iView.
    1. In the source iView create an "Out Port" from the form or table where you have the details you want passed. Name it anyway you want (in the Properties task pane).
    2. In the target iView create an "Input Port" and connect it to the input of the BAPI you want run.
    3. Make sure that both ports have exactly the same name (it's case sensitive). and the same fields.
    4. Deploy the 2 iViews to the portal, put them in the same page.
    Data should be transferred now between the iViews.
    Lior

  • Pass PO Num parameter to SAP transaction iview

    Hi,
    I have a table column in my WDJ application that contain PO number.
    I have created an SAP Transaction Iview for TCode me23n (display po).
    When user clicks on the PO number in the table column, it should dynamically pass the PO number to the transaction iview and display ME23N for that particular PO.   How can I pass the PO to this SAP transaction Iview?

    Hi,
       You cannot do it with ME23N because the PO number field is not editable for this transaction. You have to navigate via the top-level menu to enter a new PO number. But you can do it for ME23, the older version of PO display.
       You will need to know the screen field name as well as the ok code that's fired when the user hits enter on the entry screen for ME23. Assuming you have the string for the PO number already from the table, you could use this code:
    WDPortalNavigation.navigateAbsolute(
    "ROLES://<pcd path of the SAP transaction iview>",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    "RM06E-BSTNR=<PO string here>&OkCode=AB"
    true,
    true);
    Regards,
    Satyajit

  • Pass parameter from iView to AbstractPortalComponent

    Dear All,
    I have an iView (PAR iView) which invokes an AbstractPortalComponent. Is there any way by which I can
    pass parameters to the AbstractPortalComponent?
    Kind regards,
    Sreejesh.

    Hi,
    When ever you are invoking the Abstract Portal Component ,you would be passing the url.
    The url can be appended with parameters as follows.
    url?p1=v1&p2=v2,,where p1 and p2 are the parameters.
    If you are directly calling the component from the Iview ,let us say in a new window, then you would write
    this in a javascript function
    <b>window.open('par.componentname')</b>
    or you can use EPCM.doNavigate('target')
    where target is the pcd path for the iview.I am not sure if the parameters can be appended in the same manner to the target,as shown above for url.
    In the code of your abstract portal component,
    you can write
    IPortalComponentRequest request = (Iportal ComponentRequest) this.getRequest();
    String parameter = request.getParameter("p1");
    Regards,
    Harish
    (Please award points for helpful answers)

  • Pass pernr from employee search iView to abap webDynpro in Related Activity

    Hi All,
    I have seen many threads explaining how to pass pernr from employee search iView to custom ABAP webDynpro application in the "Employee profile" page. Also seen sap note 1112733.
    I am trying to launch custom ABAP webDynpro application from "Related Activities" view found in the employee information page in MSS.  I want to pass pernr selected from Employee Search iView to the ABAP webDynpro application in "Related Activities" view.
    In the ABAP webDynpro application, I am listening to the portal event (as per note 1112733) but the ABAP webDynpro can not catch the event.
    Anyone has passed pernr from employee search iView to the ABAP webDynpro application launched from "related activities" view?
    Regards
    Ashutosh

    Hi Ashutosh,
    can you tell me exactly what you did? I have the same issue.
    Thanks,
    Joeri

  • How to pass parameters from GP to Portal-page or iView

    Hello all,
    I tried various things but I'm not succesfull in creating an callable object of type 'Portal-page or iView' which receives certain parameters.
    Currently we open the portal page from within a WebDynpro.  I pass a string "zaanum=909&zasnum=1" to the Portal-page. The parameters are received in the webDynpro-app.
    Now I want to do this from within GP. I thought to create a CO of type 'portal-page or iview' and the parameters are given to that CO.
    I expect the parameters to be received by the WebDynpro in the iView.
    I tried:
    - defining one parameter for CO of type string. At initiation time I fill this with "zaanum=909&zasnum=1" ==> Nothing received in iView/WebDynpro
    - defining two parameters (technical names 'zaanum' and 'zasnum')  for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
    - defining two parameters (technical names 'zaanum' and 'zasnum') for CO of type integer.  At initiation time I fill them with 909 and 1 ==> Nothing received
    - defining two parameters (parameter names 'zaanum' and 'zasnum')  for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
    Any help is appreciated!
    Maarten Rutten
    Edited by: Maarten Rutten on Jan 9, 2008 8:36 PM
    Edited by: Maarten Rutten on Jan 9, 2008 8:37 PM

    Hi Ramien,
    I have a similar problem. I need to pass values from webdynpro to jsp and vice versa. Kindly let me know how you solved this problem.
    Thanks & regards,
    Amrita

  • Passing data from JSP to existing iView in Portal

    Hello Experts,
    I'm new to EP and Web DynPro. Please provide your guidance for the following scenario:
    There are 2 iViews in different pages.
    iView 1(Web DynPro Java application) - its running in portal
    - created by other person long time back - it takes input from user to create a support message
    iView 2(JSP page)
    - since iView 1 is very generic, I have to create one more iView, which is simple & specific to user request, but should pass the data to the iView 1, which in turn will create a support message.
    My Question:
    Is it possible to pass data from my JSP page(in iView2) to the running application in iView1?
    (I don't have access to the code of the running application- so i can't use Client Data Bag or sessions)
    If the above condition is possible, then is it possible to hide the iView 1, so that user doesn't need to see the iView 1 when they submit data?
    Please guide me with sample code or links.
    Thanks in advance,
    Aruna Thamilmani

    You could have the Applet make a request to the server (via URLConnection).

  • Passing parameters from iViews to WAD Templates

    All,
    I'm a .Net developer new to the SAP world, so excuse me if I say anything ignorant about SAP.
    I want to pass some parameters from an iView to a Web Application Template. Then I want to be able to reference those variables in the Template and pass them to another Template. I know in the ASP world, I can refer to the Request object in the code behind. I do not know how to reference the request variables in the Template.
    Here's what I've tried with no luck (I want to be able to reference the variable "QueryName" in the Template):
    BEx Web Application Query String: cmd=ldoc&template_id=XROMO_IVIEW_PARM&QueryName=WhatDoYouKnow
    Web Application Template:
    <script language="javascript">
    function WindowOnload() {
    frmApp.romo1.value = '<Request.QueryName>';
    frmApp.romo2.value = "Request.QueryName";
    </script>
    </HEAD>
    <BODY onload="WindowOnload();">
    <form id="frmApp">
    Passed Query Name <input type="text" name="romo" value="<request.QueryName>">
    <br><hr>
    Passed Query Name <input type="text" name="romo1" value="">
    <br><hr>
    Test Parm Set <input type="text" name="romo2" value="">
    </form>
    Any help provided would be greatly appreciated.
    Thanks,
    ROMO

    To get the value of a parameter in the URL...
    Get the URL string and parse it.
    <script language="javascript">
    function WindowOnload() {
    var url = location.href;
    var i = url.indexOf("QueryName=") + 10;
    frmApp.romo1.value = url.substr(i,8);
    </script>
    -OR-
    Second option is to use the Text Elements web item to get the technical name of the query.

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

  • Pass parameter from dynamic navigation iView to WebDynpro iView

    Hi All,
    I know there are a lot of threads dealing with passing paramters from EP to WebDynpro using EPCM but actually I didn´t find a solution for my problem.
    I have in the dynamic navigation area of the SAP Portal an iView based on a JSP dynpage. In the corresponding JSP I fire an EPCM-event:
    EPCM.raiseEvent("urn:test.de:wochenb" , "passDataToWebDynpro" , evtData);
    In the content area there is a WebDynpro iView. In this WebDynpro-application I subscribe to the event in the wdDoInit-method of a view:
    WDPortalEventing.subscribe("urn:test.de:wochenb" , "passDataToWebDynpro" ,wdThis.wdGetDataFromJSPDynpageAction());
    and I have an event-handler:
    public void onActionDataFromJSPDynpage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
        //@@begin onActionDataFromJSPDynpage(ServerEvent)
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
         manager.reportSuccess("EPCM event testing " + dataObject);
      //@@end
    My problem is now that the event is fired correctly by the JSP Dynpage but the event-handler of the WebDynpro is never executed.
    As info: the domain of the J2EE-Server the webdynpro-application is deployed to is identical to the J2EE-Server the portal runs on.
    Can anybody help ?
    Thanks !
    Bernd

    Hi All,
    I found the solution by myself.
    For information: Click in the dynamic navigation fires the event und forces the content afterwards to refresh. During the refresh the WebDynpro subscribes to the event in the wdDoInit-Method. This is to late because the event is fired before the refresh.
    My solution is to use a setTimeout before the event-triggering in the dynamic navigation iView.
    Regards,
    Bernd

  • Pass parameters from JSP Dyn Page to WDJ Application

    Hi,
    I am trying to pass parameters from my JSPDyn Page to WDJ Application.
    I am using NWDS 7.1 EHP1
    My code is :
    function to_WEBDYNHK()
          EPCM.relaxDocumentDomain();
          EPCM.doNavigate
        ('ROLES://pcd:portal_content/Himanshu.Himanshu/TestDynUIApp?DynamicParameter="hkparam%3Dqwertyuio"');
    This method is being called on click of a button.
    hkparam is the parameter in question.
    The JSPDyn page is an iView and the WDJ application is a page and both have been assigned to a role.
    In the properties of the WDJ Page, I have removed DymanicParameter from "Do not Forward These Parameters To Web Dynpro" property.
    However I am getting null as the value of hkparam in my WDJ application.
    The code used is :
    IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
           String param1= request.getParameter("hkparam");
    What seems to be missing here.
    Please help.
    I went through the documentation on SDN but it does not seem to help.
    TIA,
    Himanshu

    Hi Himanshu,
    Try this code.
    EPCM.doNavigate("ROLES:portal_content/Himanshu.Himanshu/TestDynUIApp?hkparam=Dmypass1123")
    if the parameter is hkparam and the value to be passed is Dmypass1123. You need not change any design time property of the WD page, and WDProtocolAdapter should retrive the parameter.
    Regards,
    Vishweshwara P.K.M.

Maybe you are looking for

  • I have a photo PDF slide show in an email. How do I get the photos into my camera roll on iPad ?

    I have a photo slide show PDF file in an email. How to I transfer the photos in my camera roll on my iPad?

  • Sync problems with my calendars

    I am trying to keep calendars in sync using CalDav on my wife's MB Pro, the Intel iMac at home, my own MB Air, my iPhone and my work computer (MS Outlook 2003). I sync my Outlook calendar with Google calendars, which then syncs with MobileMe and my M

  • How to Implement a "Please wait......" animation

    Hi, Hoping someone can point me in the right direction in implementing a "Please wait......" ajax loading animation process that is then hidden on result set completion. I have a report where I would like to indicate to the user that the report is ru

  • Smart Folder in Finder displays incorrect list when using "File label" option.

    Hello. I created a Smart Folder in Finder, to display all files that have any color (label). But have a problem just with one file, and although it has no Label, it keeps displaying that file. Just to let you know: 1) File is not in Trash or hidden.

  • Software installation h

    I was wondering if anyone knows the exact software installation procedure for a Zen Xtra when updating to the plays for sure firmware- It took me a couple of days to get mediasource to recognize my player. I kept trying to install the drivers, firmwa