Calling Portal iView from a WebdynPro ABAP application

Hi ,
I have a requirement where I need to call an iView in my portal from the Webdynpro application also existing in the portal.
Can anyone provide me the method with source code( if possible ) to call an iView existing in the portal from the WebDynPro ABAP application.
Best Regards
Sid

Hi Siddharth,
Well, I think you can go for Portal Navigation concept.
Please check the required source code in WDR_TEST_PORTAL_NAV Web Dynpro component. That will illustrate both Page based Navigation and Object based Navigation.
Hope that should solve your problem.
Regards
<i><b>Raja Sekhar</b></i>

Similar Messages

  • Need a call a portal iView from a WebDynPro ABAP Application

    Hi,
    I have to call a portal iView from the WD ABAP application.
    The iView root is e.g.
    folder1/folder2/check_workset1/iView
    How can we call it using Absolute navigation or Relative Navigation.
    I just want to call this path.
    Can anyone provide me with a code snippet.
    Best Regards
    Sid

    Hi ,
    I am calling the following method in my action call of a Webdynpro ABAP View
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
      EXPORTING
        NAVIGATION_TARGET   = 'Roles://portal_content/xxxx._and_remuneration'
        NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL
       WINDOW_FEATURES    =
       WINDOW_NAME        =
       HISTORY_MODE       =
       TARGET_TITLE       =
          CONTEXT_URL       = 'http://xxx.xxx.adsint.biz:50000/irj/portal'
       POST_PARAMETERS    = ABAP_FALSE
       USE_SAP_LAUNCHER   = ABAP_TRUE
       BUSINESS_PARAMETERS =
       LAUNCHER_PARAMETERS =
    But it is still noot opening the page for me from the WD ABAP application.
    Can anyone let me know , what can be the reason.
    Best Regards
    Sid

  • How to exit from a WebDynpro ABAP application and open another url

    Hi Friends,
    How to exit from a WebDynpro ABAP application and open another url like (www.yahoo.com) in the same window of the WD4 application on click of a Button?
    Regards,
    Xavier

    Hi,
    First of all you should create outbound plug in the window you are trying to exit with plufg type "Exit"
    Then create method handler in the view with this code
            data lo_view_cntr type ref to if_wd_view_controller.
            data lo_win_cntr type ref to if_wd_window_controller.
            data: l_parameter_list type wdr_event_parameter_list,
                  l_parameter type wdr_event_parameter,
                  l_val type ref to data,
                  l_val_url type REF TO data.
            field-symbols: <fs> type any,
                           <fs_url> type any.
            lo_view_cntr  = wd_this->wd_get_api( ).
            lo_win_cntr = lo_view_cntr->get_embedding_window_ctlr( ).
            CREATE DATA l_val type c.
            CREATE DATA l_val_url type string.
            ASSIGN l_val->* to <fs>.
            ASSIGN l_val_url->* to <fs_url>.
            <fs> = 'X'.
            <fs_url> = 'http://your-link.com'.     
            l_parameter-name = 'URL'.
            l_parameter-value = l_val_url.
            INSERT l_parameter INTO TABLE l_parameter_list.
            lo_win_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name = 'EXIT_PLUG'
                                                                    parameters = l_parameter_list ).
          You can easily change this logic to exit application instead of redirecting to the site
           just changing to
           l_parameter-name = 'CLOSE_WINDOW'.

  • Attach Interactive Forum to Workflow from a Webdynpro ABAP application

    I have a webdynpro ABAP application which has an Interactive form. After the user enters the form and clicks on 'Submit', I trigger a workflow for Approval. My requirement is to add this same form as an attachment to the workflow. I know I can do this by adding the Fileupload UI element and letting the user browse to the file after saving it. But I want to attach it directly without the user having to save the form to Desktop first.
    I tried passing the pdf_source(XSTRING) to the container and it does attaches a pdf to the workflow but when I open it, the form is blank and user entered values are missing.
    Please respond only if you know the solution and don't send me links to other forums on SDN, I have read them all.

    sharing the solution always helps some or the other person seeking similar answers to their problems. It would be good to share your solution in this open community. It helps.

  • 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

  • ****** Urgent ****** Calling portal iview from PCUI

    Hi All,
          I have added Event to toolbar group. My requirement is i need to call a BSP iview whenever i fired this event from toolbar group.
          I could able to point to BSP iview in a new portal window. But iview is not opening in full mode. I am able to view only the title of the iview.
    Please help. Will be appreciated with great reward points.
    Regards,
    Stella.

    Dear Purushothaman,
       Thanks for your response.
          I have already changed the iView appearance and sizing properties.
          But still I am facing the same problem.
          You would really appreciable if you give right solution.
    Thanks and Regards,
    Stella.

  • Popup for transport request in WebDynpro ABAP application

    Hi there,
    which function module can I use to prompt the user for the transport request in an WebDynpro ABAP application.
    In SAPGUI I found 'TR_ORDER_CHOICE_CORRECTION' to do this but I get a short dump when I call this one from a WebDynpro ABAP application ...
    Many thanks in advance!
    Regards,
    Steffen

    Thanks for your replay!
    The reason I get the short dump is the function modules I found call a dynpro screen inside for prompting for the request. I am not surprised this does not work for WebDynpro applications ....
    So I thought there is a generic function module for WebDynpro applications available or a WebDynpro component I can use for this ... Sure I could build it by myself but this does not seem to be the right way for me since this requirement seems to be of a generic nature.
    @Gaurav: I am interested to bring up a generic popup for prompting for the request. So I cannot use the flags to suppress the screen ...
    Best regards,
    Steffen

  • Calling a portal page from WebDynPro ABAp application

    Hi,
    I would like to call a portal page (any type) from a WebdynPro ABAP application. I have the PCD location of the page.
    Which call shall I make :
    Absolute Navigation
    Relative Navigation or
    OBN.
    Also, can anyone send me short code snippet on the following.
    The package SWDP test examples are not working.
    Best Regards
    Sid

    Hi Siddharth,
    Well, to start with you can go for ABSOLUTE NAVIGATION.
    Secondly, you can find the snippet here
      DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
      DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
      DATA L_NAVIGATION_TARGET TYPE STRING.
      LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
      LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
      MOVE 'pcd://portal_content/com.xxxx.zpof_f_XXXXportalcontent/com.xxxx.test/com.xxxx.folders.MaintenanceBusinessPackage/com.xxxx.test.mt.pages.Pages/com.xxxx.pages.MaintenanceTasks'
        to l_navigation_target.
      CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
        EXPORTING
          NAVIGATION_TARGET   = L_NAVIGATION_TARGET
    *      NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE
    *      WINDOW_FEATURES     =
    *      WINDOW_NAME         =
    *      HISTORY_MODE        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
    *      TARGET_TITLE        =
    *      CONTEXT_URL         =
    *      POST_PARAMETERS     = ABAP_FALSE
    *      USE_SAP_LAUNCHER    = ABAP_TRUE
    *      BUSINESS_PARAMETERS =
    *      LAUNCHER_PARAMETERS =
    Above it, the examples of SWDP will not work if you test them from SE80-ABAP WAS...I suggest you to create a WDA IView in Portal and test it in Portal itself.
    Hope this should solve your problem.
    Regards
    <i><b>Raja sekhar</b></i>

  • Iview for Webdynpro ABAP application with TimedTrigger

    Hello,
    I created an IView  for a WebDynpro  ABAP  application. This application uses a UI element TimedTrigger. Without portal integration this TimedTrigger works fine. Inside an IView  this TimedTrigger element does not work anymore. Did anyone have a similar problem? Does anyone have a solution for this?
    Thanks and regards
    Marc

    hi,
    Go through this link
    [****************/Tutorials/WebDynproABAP/TransactionCode/Create.htm]
    Hope it will help you.
    Regards,
    Rohit

  • FPM Navigation - asking for Log on when calling WebDynpro ABAP Application

    Hi Experts,
    I want to call a Non FPM based WebDynpro ABAP Application from a FPM Component.
    I have followed the method showed in the following thread by Rajkumar to call WebDynpro Application using URL.
    [Launch transaction without launchpad|Re: Launch transaction without launchpad]
    I could successfully call my WebDynpro ABAP application using this approach,
    However when the application opens in new Browser , it asks for log on again.
    Can anyone help me to avoid this log in screen.
    P.S. --> Both the applications are in the same server.
    Regards,
    Ashish Shah

    Hi Ashish ,
    I am also facing the same problem , did you find any solution ?
    Thank You,
    Aman

  • How to Call the RFC in Webdynpro abap application

    Dear Experts,
    Good Evening to all...
    I have to add two numbers using RFC in webdynpro abap application. If we give the numbers in the input screen then the RFC should add it and give it in the output screen. This is the application for that I have created the RFC.
    But the problem is i don't know how to call the RFC in that Webdynpro abap application and how to link the input view and output view with that RFC...? I am new to Webdynpro abap. Please kindly help me on this... I am struggled here... I need your help in this....
    Thank You.

    Hi Jaga,
    You asked the same question again.
    Without closing the [previous one|Re: Where SAP store the uploaded files?].
    I think Abhi has answered your question.
    If not please elaborate on the problem.
    The solution btw is to create a Service Call.
    Sumit

  • WebDynpro ABAP application issue from Portal after ECC 6 upgrade to SP14

    Hi,
       We have recently upgraded the Kernel, ABAP and Java stack of ECC 6.0 system to SP14. After the upgrade most of the WebDynpro ABAP applications doesn't load and just flickers when run from Portal as a WebDynpro iView, but they run perfectly fine when accessed directly using URL. These were running fine prior to the upgrade. Can someone suggest what can be going wrong.
       Will reward points for helpful answer.
    Regards
    Mukesh

    Hi Mukesh,
    As Gajendra said, restarting the service in SICF sometimes works for us, but not always.  We have also had to deactivate the entire Webdynpro node, and then reactivate it and all of the services below it.
    Obviously something changed in the SP, given that we now have to do this every time we create a new WDA application.
    Cheers,
    John

  • WebDynpro ABAP application opening blank in portal

    Dear All,
    There is a strange issue which is being faced by one user. when the user tries to access a Webdynpro ABAP application in Portal then it opens in new window but nothing is displayed in the tray. Now when the user right clicks on the opened window->properties and copies the url from properties and pastes it in new tab (IE 8 is used) then the application opens and works fine.
    The portal and backend roles are fine for the user as he can access/work when the application is opened using the copied url.
    Please suggest what could be the problem for the user. For other users the issue mentioned is not there.
    Regards,
    Samir

    Hi Samir,
    Pls look into these threads -
    IE8 problem (WebDynpro ABAP iView call)
    WebDynpro for ABAP and IE 8.0
    Regards,
    Sen

  • Webdynpro abap application attached to SWFVISU is tested from se80

    hi,
    when webdynpro ABAP application is attached to workitem in SWFVISU the the workitem id is passed via url when calling the application. (though the url seen in the application in se80 in the webdynrpo abap component does not have workitem id paramter)
    [link1|http://forums.sdn.sap.com/thread.jspa?threadID=1209159]
    [link2|http://forums.sdn.sap.com/thread.jspa?threadID=226957]
    [link3|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6?QuickLink=index&overridelayout=true]
    I am running this application from se80 - application - right click - test. (this is required to troubleshoot one of the issues.)
    at this time it does not ask for workitem id and directly runs the application . It picks the same workitem id everytime. I tried doing this with a couple of different user ids. but I cant figure out from where it picks this particular workitem id. the status of this workitem is complete in the system.
    thanks
    bhakti

    Hi-
    (though the url seen in the application in se80 in the webdynrpo abap component does not have workitem id paramter)
    It is required to have a parameter WI_ID (as an Application parameter) in your WDA. And via this Application parameter WDA will receive the workitem id, when the task is exceuted from UWL (provided configuration is done in swfvisu)
    Could you confirm, there is no Application parameter (WI_ID) in your WDA?
    It picks the same workitem id everytime. I tried doing this with a couple of different user ids. but I cant figure out from where it picks this particular workitem id
    If you defined WI_ID in Application parameter and there is an option to provide value and it seems, you have defined some value over there or other way might be in your method (inbound plug), you may gave default value to WI_ID in the parameter
    If your application is working properly from UWL and for testing purpose, you could put a breakpoint and change the workitem id, when executing from se80
    Vinoth

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

Maybe you are looking for

  • Recovering Data from a Back-up

    So I just recently dropped my iPhone into a gutter full of water. Yes it ***** but I'm over it (mostly). Now I know each time you update the software it makes a backup copy of your iphone. Is there anyway to retrieve all that data? If I buy a new iPh

  • Has anyone managed to get icloud to synchronise properly with outlook calendar?

    I have an iphone 5 and am running outlook 2010 on windows 7 32 bit. I can get icloud to do the intial upoload of the calendar but then after that it won't synchronise new calendar entries. The phone and icloud syc, but icloud won't sync with outlook

  • BAPI for KB61

    Hi experts, Is there a way of doing mass reposting of CO line items using KB61? LSMW by recording or BAPI? Could not find a BAPI. Was trying recording method, but then the number of line items per document is not the same. Regards, Sangeeta

  • Open a form from Find Form

    Hi, I am developing a new form using 6i Forms. The requirement is to first have a Find form and then when we click on 'Find', it should open the main form. I have developed both the forms. But my question is, where do we explicitly define that it sho

  • Export displayName via CSV

    Hello experts I need a help. I have a lot of users Samaccountname in CSV file. I wanna export their users displayname attribute to CSV. Please suggest me for my powershell scripts?  Thanks a lot.