Passing parameters between views in different Web Dynpro applications

Hi everyone,
I would like to pass the value of one parameter between one view in a webdynpro application and another view that is in other webdynpro application. How can I do this in a secure way?

Hi,
Check below links for passing parameters between two applications:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e
Re: Pass parameters via POST in WDPortalNavigation.navigateAbsolute method
Regards,
Anagha

Similar Messages

  • 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
    kris

    Gopi,
    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

  • How to execute a BI query/view from a web dynpro application?

    Hi all,
    I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
    I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
    Please guide me and help me achieve this.
    Thanks & Regards,
    Kishan

    Hi Kishan,
    Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
    Create the Technical System and connect with JCO Destinations
    or
    Connecting through the BI Connecters (ex: XMLA Connecter)
    Refer below link:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    In this document you will get details related to connector and other admin activity.
    Hope this may help you.
    Deepak!!!

  • Pass values between views of different window

    Hello Experts,
    I am a newbie in ABAP Webdynpro. I have 2 views in 2 different windows. I want to pass values calculated from one view to the other view. But i cannot connect the views.
    If the views were within the same window, I could connect them using inbound and oubound plugs with parameters. However in this case i am unable to establish the navigation link between these 2 views.
    Has anyone of you experts come across such kind of requirement? If so, can you please guide how to connect the 2 views?
    Thanks and regards,
    Nitish.

    Everyone,
    I was finally able to connect the 2 views by using the component controller.
    I created an attribute on the context of the component controller and read/set of the attribute of component controller on the button click event.
    To access the attribute of the component controller, please find below a code snippet which was useful to me:
    Data declaration for accessing the component controller
    DATA:
           lo_component     type REF TO if_wd_component,
           lo_context       type REF TO if_wd_context,
           lo_controller    type REF TO if_wd_controller,
           lo_node          type ref to if_wd_context_node,
           lo_child         type REF TO  if_wd_context_node.
    DATA lo_el_test_depts  TYPE REF TO if_wd_context_element.
    get component controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    accessing the context of the component controller
      CALL METHOD lo_controller->get_context
       RECEIVING
       context =  lo_context.
    lo_context is the required context, from here we can manipulate its components
    get to the root node in context of component controller
      lo_node = lo_context->root_node.
    using lo_node i was able to  read and write to the attribute i created in component controller.
    Thank you all for your help.
    Nitish.
    Edited by: Nitu_0105 on Apr 8, 2011 3:29 PM

  • Skipping first view of a Web Dynpro Application

    Hi,
    I have an entrance screen to a WebDynpro Component on which the user has to enter a value for an input field and select one of the processing modes( Create, Delete, Change) for this object. There are some input checks and some data are filled for the second screen when the user fills in the input field and presses one of the buttons on the screen. Now i want to open this functionality with an API to a SAPGUI based application and I would like to skip the first screen when the user gives the value of the input field and the processing  mode(Display, Create or Change) on the screen. Is it possible to program a kind of CALL TRANSACTION ...  SKIP FIRST SCREEN with WebDynpro applications and navigate to the second screen automatically with triggering the filling of data and checks on first screen with displayigng it?Thanks.
    Regards,
    Sukru

    Hi,
    It is possible.
    I have some parameters in the at the WD application level. In the WDDOINIT of the view, im using these parameters based on
    these values i'm skipping the 1st view and going to 2nd view directly.
    In my 1st view, I have a input field and some button with an action to it.
    for ex:
    i read application parameter into some variable lv_var.
    and EXECUTE is the action attached to the button where im firin my plug to second view.
    lv_var = wdr_task=>client_window->get_parameter( 'VAR' ).
    if lv_var eq 'X'.  "Skip screen
    ***Set the values to the Input field here
        CREATE OBJECT lref_event
          EXPORTING
            name = 'EXECUTE'.
        wd_this->ONACTIONEXECUTE( wdevent = lref_event ).
      ENDIF.
    endif.
    In the button handler, i have my coding....
    Hope this is clear.
    Regards,
    Lekha.

  • Question on passing parameters between 2 pages in a BSP application

    Hi Group,
    I have defined a page attribute "zcid" in both the pages where I need this attribute value. And in one page I calculated a value and assigned it to this attribute. And also I checked the attribute as "Auto" in both pages.
    And I used navigation->set_parameter( name = 'zcid' and value = zcid ), I was getting an error saying, use "." after name and not proceeding any further.
    Please let me know the procedure for accessing a value of an attribute in Multiple pages within a BSP application.
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Vishnu
    To pass the parameter,
    Firstly the name of attributes should be same of both pages and the check of AUTO should be checked on target page.
    I am giving you small example to pass the Firstname parameter from Default.htm to Result.htm .
    the Parameter name in Default.htm is --> fname type string.
    --> Auto should not check
    the Parameter name in Result.htm is --> fname type string.
    --> Auto should be checked.
    in Default.htm inputprocessing use the code
    navigation->set_parameter( 'fname' ).
    navigation->next_page( 'TORESULTS' ).
    or
    For more detail you may also go through the following links
    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
    If this will helpful please reward the points
    Kuldeep Verma

  • How to make use of Portal service in the web dynpro application

    hi
    I have some portal service and how to use that in the web dynpro application.
    and also what is the main diff between Portal Component and web dynpro application.
    do we required portal to run web dynpro application.
    thanks
    mmukesh

    Hi,
    >> I have some portal service and how to use that in the web dynpro application.
    Yes. U can use Portal service in webdynpro. Check the link given by subathra.
    >> and also what is the main diff between Portal Component and web dynpro application
    Portal Components are components designed to run in portal server while webdynpro application can run in J2EE WebAS.
    >> do we required portal to run web dynpro application.
    No for general cases. Just WebAS is sufficient to run webdynpro appl. But if u use portal service in ur webdynpro appl, then make sure both (portal service and webdynpro appl) run on same J2EE engine. That is mandatory.
    Regards,
    Vijai

  • How do i pass parameters to a web dynpro application ?

    Hi all,
    how do i best possible pass (serverspecific) parameters to a web dynpro application ?
    i wrote a web dynpro application that, among other things, sends an email and stores files on a server directory. Therefor i need parameters like e.g. "mailhost" or "directory".
    The way i chose is to make a *.properties file. But from my point of view there are some disadvantages.
    1) When i deploy the WD App to a new server, i have to edit the properties file before. I don't know how to do that. Do i have to edit the *.properties file again, before i make a new ear-Archive with NWDS ?
    2) When the properties a wrong or change for a deployed app, i have to restart the J2EE Engine. Thats not convenient for a production server.
    Is there a better way ?
    Thanks
    Andreas
    (And I promise to return and reward the answers)

    Hi Andreas,
    You can't use something like portalapp.xml because this is not supported by webdynpro, but ... you can add this parameters at the end off the webdynpro address line. like http://<host>:<port>/webdynpro/dispatcher/local/<Webdynproproject>/<webdynproApplication>?host=yourhost
    In your application you can get these variables:
    String host = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("host");
    when you create a webdynpro iview you can specify the default value for the variables in the URL in the properties of the iview and i think you can personalize them later.
    kind regards,
    Joachim

  • How to use different Web Dynpro Applicat. in one view?

    hello all,
    i want to call at least 3 different Web Dynpro Applicat as main view in one component configuration (or as subtables in one page in portal).
    can anyone please show me how to resolve this?
    thank you
    SR

    in one Portal page, i have several subtables that they are mapped to the same webdynpro application, and i want add an other subtables to the others, but that one has/mapped to a different webdynpro application..
    exampl :
    one portal page containes a subtables that have at the moment only one Web Dynpro Application( HRTMC_01) and  Web Dynpro configuration(ZHRTMC_01)  so, i want to add another subtables that have another Web Dynpro Applicat(HRTMC_02) and a different Web Dynpro configuration(ZHRTMC_02).
    please show me how can I do this?
    thank you all

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • OBIEE 11G - Issue passing parameters between two reports

    Hi folks,
    I am struggling to pass parameters between two reports in OBIEE 11G.
    My first report contains the following columns: Rolling Year Type (VCHAR), Year(VCHAR), Month(VCHAR), Cost(Double).
    My second report contains the following columns: Rolling Year Type(VCHAR), Year(VCHAR), Month(VCHAR), Category(VCHAR), Cost(Double).
    My requirement is to pass the Rolling Year Type, Year and Month values from report 1 to report 2.
    On the Month column properties of report 1, I have created an Action Link called 'Drill to Category'. I have clicked on 'Navigate to BI Content' and selected Report 2.
    Then on Report 2, I have included three filters: Rolling Year Type is prompted, Year is prompted, Month is promted.
    When I run the report I always get the following error:
    The specified criteria didn't result in any data. This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
    When I check the cursor cache, the filter values are correct. Does anybody have any idea why Report 2 does not display?
    When I remove the Month filter, the report works correctly.
    I have since changed the third filter to be Month No and although Report 2 does display, it does not pick up the filter on the Month No.
    I initially thought this may have been a caching issue and so I have disabled BI Server Cache but this does not fix my problem.
    This was never an issue on OBIEE 10G as I found it very easy to navigate between two requests.
    Has anyone else experienced problems with passing parameters between two request in 11G?
    Any help appreciated.
    Thanks
    Gavin

    Hi,
    I once tried this kind of requirement(with dashboard prompts though) and hit at similar issue. I later found out that the problem is with the space in the parameter values. Can you please let me know, if the same is the case with you?
    Suppose the parameter passed is "Jan 2010", but the report on the destination takes the value as "Jan" & "2010". Yes, it kind of split the parameter value to two based on space. I think we can notice the filters the destination report got, by enabling filter view.
    In this case, since you pass only value at a time, could you try placing the parameter value anyway in double quotes? I think the Server then will understand it as one value.
    Thank you,
    Dhar

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

  • Trying to pass parameters between GUI classes and methods

    Hi All.
    I have been working on a rather large final year project in college and it is getting close to the deadline. It looks as though I need to "tidy up" my code as it contains too many static methods, variables and other bad programming habits. My package consists of many different GUI's and classes. Up until now I have been calling different GUI's with guiName.NameOfMethod. I have been told this is bad practice so I am trying to fix this. Also instead of passing parameters correctly I have been creating static variables in my main class and using them. So for example if one class needed to pass a variable to the other I would first myGlobalVariable = X; in the first class. And then the second class can use this. This is also bad, right?
    So I guess im really just looking for a good example or tutorial on how to pass parameters between classes and methods, GUI if possible. Here is an example of how my GUI classes look:
    public class anotherGUI extends JFrame implements ActionListener {
            private JTextField a, b, c;
            private JButton button1, button2;
            JPanel p, p1;                   
            public anotherGUI() {
                LayOutAnotherGUI();
                setLocationRelativeTo(DnDMain.pictureArray[a]);
                setTitle("Example");
                setVisible(true);
                pack();     
            private void LayOutAnotherGUI(int c) {
         //GUI is layed out here     
            public void actionPerformed(ActionEvent e) {
                Object source = e.getSource();
                if (source == submit)
                    clickOK();
            public void clickOK(){
                //Here is where I have been accessing and modifying static global variables.  (But this needs to change).
    public void showanotherGUI() {
            new anotherGUI();
    }This is more or less how I have been going about creating my GUI's. These are used as pop ups. The user enters a value and then it is closed.
    To be honest I have been able to pass a variable correctly from one class to a GUI class but I have still having difficulty. For example in my code above I can pass the variable into this class but I cannot pass it into clickOK(). An this is where it is needed.
    Can anyone please help?
    I hope I have explained my problem well.
    Thanks in advance.

    I dont think that is what I need. An example of what I do in my program is:
    I have a main GUI with an array of images. There are a number of other small GUI's that appear for certain functions when the user clicks on an image or does some other function. I am trying to pass a value into the GUI class that is used for the smaller "pop up" GUI. So lets say the user has clicked the image in array[12]. Then a GUI is displayed. I need to pass the integer 12 into this class.
    Thanks.

  • Difference between mobile web dynpro and simple web dynpro application

    Hi Everyone,
    Can anyone pls let me know what's the difference b/w mobile web dynpro application and an offline or simple web dynpro application.
    Thank U!!
    Ravi Aswani

    Hi ,
    Mobile WebDynpro
    The SAP Web Application Server allows direct online access to Web Dynpro applications using mobile devices. As part of the SAP Web Application Server, Web Dynpro provides a development and runtime environment with which you can quickly and simply create professional user interfaces for desktop PCs or for mobile devices. An appropriate infrastructure and renderer classes are provided for developing mobile Web Dynpro applications for Pocket PCs as well as for BlackBerry Wireless Handhelds and Nokia Series 80 devices.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/100d4113eff16fe10000000a1550b0/frameset.htm
    WebDynpro Java
    Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
    Web Dynpro helps you with the development of Web applications by:
    ·        Ensuring platform-independence with the meta model approach
    ·        Minimizing the implementation effort through declarative programming
    ·        Supporting a structured design process by applying the model view controller paradigm
    ·        Providing reuse and better maintainability by using components
    ·        Providing graphical support with tools in the Web Dynpro perspective
    ·        Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/100d4113eff16fe10000000a1550b0/frameset.htm
    Thanks
    Suresh
    Edited by: Suresh Mandalapu on Sep 2, 2008 11:07 AM

  • How can i navigate via navigational link between views in different windows

    hello
    i am using CRM_UI and have opened a popup
    gv_transcr_popup is a attribute referrring to if_bsp_wd_popup in my implementation class
    gv_transcr_popup = comp_controller->window_manager->create_popup(
        iv_interface_view_name = 'AIC_CM_TRANS/AssignTranspReq' "#EC NOTEXT
        iv_usage_name          = 'CUBAssignTransporReq'         "#EC NOTEXT
        iv_title               = lv_title ).
    get instance of BOL dynamic query
      lo_qs = cl_crm_bol_dquery_service=>get_instance( 'BTQAIC_CM_TRANSPORTREQ').
      gv_transcr_popup->set_on_close_event( iv_view = me iv_event_name = 'AssignTranspReq' ).
      gv_transcr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
      gv_transcr_popup->open(   ).
    through the iv_usage_name i will open in this popup a search view from another window
    in this window is a searchview implemented and now after selecting the line in the result view in want to navigate through outbound plug / inbound plug to the starting view .
    but i get the exception
    Target view AIC_CM_TRANS/TransportReq of the navigation is not assigned to the current window AIC_CM_TRANS/AssignTranspReq ( which is true)
    now the question: how can i navigate between views of different windows?
    Best Regards
    britta

    hi
    i have found a way : you have to use a outboungplug from the windows interface ..then it is working
    best regards
    britta

Maybe you are looking for

  • 480x270 still squeezed

    I'm experimenting with Compressor right now, but am wondering about a setting. I need to upload my movie to IMDb and their parameters are Quicktime 480x360 at 30fps. Of course 480x360 results in a squeezed image so I'm trying to output my original 16

  • Merging output files with bursting ...

    BIP 5.6.3 (eBus 11.5.10.2 + bursting integration patch) We have a case where we are attempting to burst a subset of the records to a single merged PDF file, with other records being sent to individual files (same template for all records). I thought

  • CS5 Bridge low on system resources

    Everytime I open CS5 bridge and work on my camera raw files I get the foloowing error message: bridge low on system resources and needs to be closed. I never had this problem in CS4. I am running Windows XP Pro with 4gb of ram. I have talked to Adobe

  • Blurry photos with zoom lens

    I have a canon xsi that takes lovely, crisp pics with the EFS 18-55 IS lens and a EF 50 1:1.4.  I wanted a zoom to take pictures of sporting events like soccer, baseball, and horseback riding.  I purchased Canon zoom EFS 55-250 1:4-5.6 IS.  Every sin

  • Dreamweaver CS4 Hangs On Loading

    Hi folks! I have been trying to start Dremweaver and it gets as far as iinitializing browserlab and just hangs. Does this sound familiar to any one? bookie56