Pass parameters dynamically to url iview from web dynpro abap

Hi,
I am trying to pass 3 key-value pairs via absolute navigation to a URL iview.
The url expected is : http://www.sap.com?field1=value1&field2=value2&field3=value3
For this, I have done the following:
1) Created a url iview with the 3 parameters in get.
2) Used the pcd location of the url iview and referred it in the navigate_absolute method.
Following is the call:
        CALL METHOD lr_port_manager->navigate_absolute
          EXPORTING
            navigation_target   = wa_navigation-target
            navigation_mode     = wa_navigation-mode
            use_sap_launcher    = abap_false
            business_parameters = l_bus_parameter_tab.
The l_bus_parameter_tab has the key-value pairs populated and I can see them populated.
However, when the url is being called the parameters are not getting passed. Am I missing anything to be passed?
Thanks.

Hi Kumar,
I have followed your reccomendation and updated the code and iview properties.
The code now looks like:
        l_parameter-key = 'userid'.
        l_parameter-value = sy-uname.
        INSERT l_parameter INTO TABLE l_bus_parameter_tab.
        l_parameter-key = 'portal'.
        l_parameter-value = 'test'.
        INSERT l_parameter INTO TABLE l_bus_parameter_tab.
        l_parameter-key = 'mode'.
        l_parameter-value = 'I'.
        INSERT l_parameter INTO TABLE l_bus_parameter_tab.
*End of business parameters population
        CALL METHOD lr_port_manager->navigate_absolute
          EXPORTING
            navigation_target   = wa_navigation-target
            navigation_mode     = wa_navigation-mode
            use_sap_launcher    = abap_true
           business_parameters = l_bus_parameter_tab.
            launcher_parameters = l_bus_parameter_tab.
However, when the method is called, it does nothing and the url does not get called.
When I manually add parameters to the url iview and preview it, it does the job.
For some reason, these parameters are not getting passed to the url iview or page.
Is there a limitation that parameters cant be passed to url iviews?

Similar Messages

  • Portal dynamic iView from Web Dynpro ABAP?

    I wish to use a "Dynamic iView" from a Web Dynpro ABAP application, but it appears the API is only available in Web Dynpro Java.  Can this feature be used from Web Dynpro ABAP, or can this be accomplished in another way?
    Scenario: I have two iViews on a page, one Web Dynpro ABAP and another iView whose source I want to change dynamically based on something a user clicks in the Web Dynpro ABAP.
    Dynamic iView:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/a72c155df77038e10000000a422035/frameset.htm

    So you are suggesting the WDA fires an event to a new WDJ that we would need to create that would in turn use the Dynamic iView service mentioned in that help document?

  • Pass Parameters to an external appl when launched from web dynpro ABAP .

    I want to Pass Paramaters to an external application when launced from Web dynpro ABAP . I have successfully launched an .exe file ( Notepad / eViewHSEditor ) from Web dynpro using the logic from Standard WD_TEST_APPL_ACFEXECUTE component  But I am unable to Pass paramters to the .exe file .
    example :-  I would like to pass parameters  text1 text2 in the arugement list and I expect it opens an untitled notepad and in the file it will have parameters text1 text2 . But it is behaving in a different way . Below are the detailed steps of what I have done .
    The steps that I followed :-
    1)  Right now I have created the white list Configuration for Notepad.exe
    2) I have created 1 and 2 postions both of type string and permission Legal .
    3) The Paramter Value is * for both 1 and 2 .
    4) I activated the whitelist and it generated an .XML file
    5)
              application = 'C:
    WINDOWS
    system32
    notepad.exe'.
              argument = 'text1 text2' .
              co_element :- I am reading the element from the conrtext .
          co_element = wd_context->get_lead_selection( ).
          co_element_stru-attribute_name = 'ERROR'.
          co_element_stru-element = co_element.
          wd_this->acf_method_handler->if_wd_acfexecute~execute( application =  application
                                                                 argumentlist = argument
                                                                 errorinformation = co_element_stru ).
    when i execute  the application , it is trying to launch a notepad with file  'text1  text2.txt'  and it doesn't have one , it is asking do you want to create .  If You yes, it will open notepad with name 'text1 text2.txt' . If you Pass abcd in the arugement list , if the file with name abcd.txt exists , it opens the notepad with that file name .

    You try to open notepad from your PC with the same command, you will the same result.
    start->run->notepad "test1 test2". You get the popup saying that "test1 test2" file is not existing. You can google it to find a way to pass the text while opening notepad and try to fit that in your WebDynpro argument. I doubt if it is possible though.

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Adding attachments to workflow from Web Dynpro ABAP Application program.

    Hi,
    workflow is supposed to start by a Web Dynpro ABAP Application.
    The user can attach files to it.
    A superior is supposed to review the files and either approve or reject the request.
    I tried the following in Web Ddynpro ABAP:
    CALL FUNCTION 'EWW_WORKFLOW_START'
    EXPORTING
    X_TASK = 'WS90000074'
    IMPORTING
    Y_WORKFLOW_ID = lv_WF_ID
    TABLES
    X_CONTAINER = lv_IT_CONTAINER
    EXCEPTIONS
    then followed by:
    CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
    EXPORTING
    WORKITEM_ID = lv_wf_id
    ATT_HEADER = lv_swr_att_header
    ATT_BIN = Item_FILENAMEATTACHED
    DOCUMENT_OWNER = SY-UNAME
    LANGUAGE = SY-LANGU
    IMPORTING
    ATT_ID = lv_swr_att_id
    The Workflow has only one user decision step and one notification Step.
    In the user decision step, there is a binding from ATTACHOBJECTS to the task.
    But, in the log, you can see the attachment in the Workflow Container of the workflow instance, but you don't see it in the task (neither Inbox nor UWL)
    I have checked the binding it is correct. I am getting the attachment in workflow container in '_attach_objects' element. but this attachment has to go to the user decision step, so I am binding the '_attach_objects' of workflow container to '_attach_objects' of user decision step. But the attachment was not going to user decision step.
    Could you please let me know where am i doing wrong?
    Thanks,
    V.Nagaraju

    @Ruslim Chang 
       Sorry to point out but the FM will return the Workitem ID only so there is no problem with the LV_WF_ID variable.
    @vundralla nagaraju
    Instead of making binding between attachobjects make binding between
    WiGroup_ID <---- attachobjects
    and then on the next step you try to make biniding in the user decision step by using WiGroup_ID.I think it should work.

  • SAP GUI call from Web Dynpro Abap

    Hi all,
    I heard about the possibility to call the SAP GUI directly from my Web Dynpro Abap Application, so that the GUI is integrated in my web browser. But i could not find any information about that.
    Maybe you can help me.
    Thanks,
    Johannes

    Hi Johannes,
    Its not possible to directly call your R/3 GUI from your WDA. You can try the "Screen Design Time Conversion" tool in SAP. You can go through this [link|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/30/f2156a26fb4b4d86c5b0ce9f86bfb3/frameset.htm] for further details regarding it.
    But please also pay heed to Thomas's advise in [here|Is there a converter for classic dynpros?;.
    Regards,
    Uday

  • How to open print dialog from web dynpro abap application

    Hi experts,
            I have a web dynpro application with several views and onone of the view there is a button that should open print dialog with printers list and all other options (standard print dialog we see in windows). I did reserach on SDN and came to now that this is a limitation of web dynpro abap. I did find some code also but unfortunately our current version of ABAP(7.0) do not support the code I found. I am not able to find any proper solution for this. Could someone please let me know how I can open a print dialog by clicking on a button in web dynpro abap? Any sample code or any information would be greatky appreciated.
    Thanks.
    Mithun

    Hi Mithun,
    Have you check this?
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f8/872806981d4411b5ce51a00207ed31/content.htm
    and also go through..
    How to print in a web dynpro application
    Print button
    Cheers,
    Kris.

  • Call Existing Asset IViews from Web Dynpro using eventing

    Hi,
      I am trying to pass a Equipment Number from one of my WebDynPro's converted to IVIEW to a stock IVIEW from SAP called Create Notification.
    Basically I followed the example and coded
    WDPortalEventing.fire("urn:com.sap.pct.plm:NotificationCreate", "equipmentID", "32000140");
    I got the URN from the properties of Content Management of the  portal as far as event and parameter how can I find this out since I don't have access to SAP's code.
    Any help would greatly be appreciated
    Cheers,
    Devlin
    (A java developer trying to get my hands around the SAP implementation)

    Hi Devlin,
    I am not sure if my post can help. In the first iView u are firing a portal event with a function name.
    The namespace with the function name act as a signature.
    In the second iview we have to subscribe to this using the same signature.
    (Second iview)And in the place of argument called action give the name of a action which has a string parameter with the name dataObject. This will have the value you have passed.
    Regards
    Bharathwaj

  • Calling iView from Web Dynpro

    Hi All,
       I am trying to call a iview from webDynpro using
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/TestFolder/Iviews/TestECCiview",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
    "RFKN1-RPNUM="+"71000056");
    But i am getting a blank screen, instead of target iview.
    Does any one have resolved this type of problem.
    Thanks in advance.
    Regards,
    Sridhar

    Hi Sridhar,
    Try this code.
                        IWDWindowManager mgr = wdComponentAPI.getWindowManager();
                        IWDWindow window  = mgr.createExternalWindow(
                             "../PROJECTNAME/APPLICATIONNAME?APPLIATION PARAMETER=" + XX,
                             "Edit View",
                             false);
                             window.open();
    Regards,
    Nakul

  • How to call t-code from web dynpro ABAP application

    Dear Gurus,
    I am new to ABAP web dynpros. I have to add a button and have to call a SAP standard t-code if user clicks on this button? How to accomplish this task? Any help or example would be appreciated.
    Thanks,
    GSM

    Hi GSM,
    You have to create a SAP transaction iView in your Portal, then obtain its URL in your webdynpro and call WDPortalNavigation.absolute() method.
    Below are the same steps in more detail:
    1) Create a SAP Transaction iView or an Internet Application Component iView (whichever you find convenient). While creating you can select whether you want to use SAP GUI for windows or SAP GUI for HTML. For the latter(GUI for HTML) ensure that your ITS is working fine and configured while creating the system in EP.
    2) Open the properties of the SAP transaction iView created. In the OK code field you can give the ok code value just as you give in SAP R/3 in case you want to navigate to the second screen of SAP R/3 when you pass values from WebDynpro.
    Example for the above would be say Transaction "VA03" for displaying Sales order. Suppose from Webdynpro i want to pass a parameter called "Order number" and when i click a button it should pass the order number to R/3 and skip the first screen required for inputting the sales order numbe.
    It should directly go to the main display of sales order for that ordernumber.
    3) Create your WebDynpro component and deploy it on the server. In your WebDynpro use the WDPortalNavigation.absolute() method and give the url of the SAP Transaction iView created as a parameter and also the required parameters that you would like to pass from WebDynpro.
    4) Create a SAP WebDynpro iView in the Portal.
    5) Now run the Component. It should open up your SAP Transaction iview.
    Regards,
    Uday

  • Unable to perform Calculations on Excel exported from Web Dynpro ABAP

    Hi Gurus,
    I have a custom functionality "Export to Excel" internal table data on my web dynpro application. I dint go with standard ALV feature because it doesnot give flexibility to add colours to excel sheet and add multiple tabs and so i had to write XML ABAP coding in the web dynpro application to achieve this. While passing the internal table data into cells, i created cells with string data type and hence all the fields in the excel are now in char type. Users are unable to perform any calculations because of this issue, i tried to format the cells but it doesnot work. Please help me.
    Regards,
    Pravs.

    Hi,
    Just do the following in excel before downloading and check whether it works.
    Tools->Options->International tab.
    In that mention decimal separator as ,(comma).
    Thousand separator as .(dot).
    Uncheck use system separators.

  • Passing Parameters dynamically to an iview in the portal

    Hi All,
        I have 2 iviews.  IviewA, IviewB. These are PAR based iviews(dynpage technology).
    IviewA displays a dropdown which contains:
    2006
    2007
    2008.
    If the user selects a particular year say 2006 and click next, IviewB should display 2006 data.  Right now, it is displaying only 2006 data irrespective of the year selected from the drop down since 2006 value is hardcoded in the property of IviewB.
    Is there anyway to pass these parameters (2006,2007,2008) dynamically in portal so that respective year data will be displayed instead of achieving it through coding?
    Hope I am clear.  Please suggest.
    Regards,
    Subashini.

    Hi Subashini,
    When a business application uses more than one iView, you need the EPCF service to transfer data between the iViews. The EPCF service provides:
    ·        Mechanisms for eventing between iViews.
    ·        A Java object, called a client data bag, that serves as transient data buffer on the browser.
    The EPCF implementation itself is based on JavaScript and Java applets.
    Kindly go through the following links, you should find a solution.
    Forum threads:
    1.
    2.
    SAP Library:
    1. http://help.sap.com/saphelp_nw04/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
    2. http://help.sap.com/saphelp_nw04/helpdata/en/9f/6fa84016631814e10000000a1550b0/frameset.htm
    Regards,
    Anagha

  • Passing parameters dynamically to crystal report from oracle

    Hi,
    I have a Crystal Report that is based on an Oracle Stored Procedure. This was created using Crystal Reports XI R2 and it is published on a Infoview environment.
    There are 2 parameteres in  an Oracle Stored Procedure, of which one parameter is Region which contains values like AP,GJ,HP,MP,TN. The report run daily at scheduled time in infoview and the output of the report for each region is passed and stored in that particular region folder for easy access to enduser. The other parameter is a refcursor.
    Now my issue is i want to add new region value like KA. As i am new to crystal reports i am unable to understand how to do this also if possible can any one send me liknk which explains the procedure how to run a report that is based on an Oracle Stored Procedure.
    Thanks in advance.

    Hello,
    Typically when you create the report this way the Store Procedure will query the table for values and present those in a drop down list in the report Prompts when viewing. Or if it's not interactive then simply typing in 'KA" into the parameter UI should/could return data.
    So it all depends on how you have this configured and how it was set up in the CMC when the report was scheduled. The BOE Administrator may have manually added the filter for each state or it's part of the report itself and other than updating the table field values is all that is required.
    So it's not clear what role you play in the Admin group of BOE but it appears to be fairly simple to do. If you are not the Administrator find out who is and that person can explain it to you also.
    I'll move this post to the Business Objects Enterprise Forum for someone there to give you specific details.
    Thank you
    Don

  • Call a report from web dynpro abap

    hi i need to call a abap program inside my webdynpro project anyone know how i can do it? i´m using the submit command to do it but a exception error is displayed

    Hi John
    you can't direct call report program from ABAP. Instead you can write the functionality in Function module and get the result in some internal table and  that table you can show in webdynpro for ABAP  using some UI element.
    Regards
    Naresh

Maybe you are looking for

  • How do I save journals in iPhoto App

    I have the new Iphoto App for my Iphone 4s.  I need to do a factory re-set on the phone.  When I do that, all the apps will be gone, including the Iphoto App, (I would assume) therefore I will have to re-sync everything to my phone.  When the Iphoto

  • Hiding the some fields in print PDF adobe form

    Hi all Im working on travel expense form in webdynpro ABAP.I have a requirement of hiding some field in the  adobe form.Can anyone tell me how to proceed ? Thanks and Regards Reeha

  • After I updated to iOS 7.1 I can't download any apps

    I have an iPhone 4 and I am not able to download any apps at all. The loading circle will spin for a minute and then nothing appears on my phone. Does anyone know why??

  • Send report Via Email in HTML format

    hi, i am using forms 6.0 I want to send my report Via Email to an email address in HTML Farmat.i want to set destination property at run time retriving from database. (mean without giving any runtime parameter manually)Plz tell me how i can do that i

  • Help listening to my music

    Could someone please help me? I've been a verizon customer for many years and in general I love the service, but I've been having major issues listening to the music I bought through them. I bought the music on my last phone, the LG Envy 2, and saved