WebDynpro ABAP and Portal Navigation

Hi,
I have two Webdynpro applications as an IView linked in the portal, now I want to navigate between the applications.
I know, that I can trigger a protal event by:
method ONACTIONFIRE_PORTAL_EVENT .
data: L_API_COMPONENT  type ref to IF_WD_COMPONENT,
        L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
  L_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
  L_PORTAL_MANAGER = L_API_COMPONENT->GET_PORTAL_MANAGER( ).
  L_PORTAL_MANAGER->FIRE(
        PORTAL_EVENT_NAMESPACE = 'my_namespace_for_Web_Dynpro_documentation'
        PORTAL_EVENT_NAME      = 'showCustomer'
        PORTAL_EVENT_PARAMETER = CUSTOM_ID ).
endmethod.
And catch the event by
method WDDOINIT .
data: L_API_COMPONENT type ref to IF_WD_COMPONENT,
L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION,
VIEW type ref to IF_WD_VIEW_CONTROLLER.
L_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
L_PORTAL_MANAGER = L_API_COMPONENT->GET_PORTAL_MANAGER( ).
VIEW ?= WD_THIS->WD_GET_API( ).
L_PORTAL_MANAGER->SUBSCRIBE_EVENT(
PORTAL_EVENT_NAMESPACE =
'my_namespace_for_Web_Dynpro_documentation'
PORTAL_EVENT_NAME = 'showCustomer'
VIEW = VIEW
ACTION = 'RECIEVE_CUSTOMER_ID' ).
endmethod.
But in which WDDOINIT  I had to implement the code?
Best regards,
Marcus

Marcus Schug ,
I need some help from you pls..
I have same requirement now.. I have two webdynpros navigating between each other, in portal and both navigations are in same TAB.
I am not able to figure out how i can do this.. meaning.. on one action of WD1 i need to call WD2, and on CANCEL button of WD2, i need to go back to WD1.
pleaseeee could u pls share that u did with me..
I will be so happy if u cuold pls help me out.. i am not at all able to sovle this.
pls Marcus Schug ,
kindly take some time and reply... to my id: its mmate4u at g mail.
thanks and appreciate it.
Niraja

Similar Messages

  • WebDynpro ABAP and Portal Navigation problem

    Hi all,
    I've a problem with triggering Portal navigation from a custom WD4A application.
    The request is to have an "Exit" button implemented and if pressed, the portal goes back to the top page:
    --> Search
       --> Kind of Search
          --> WD4A -> Exit goes back to "Search"
    I've tried using absolute_navigation/relative_navigation methods from interface if_wd_portal_integration, but they do not work at all.
    It seems that the portal totally doesn't care about the request and remains still.
    Methods are called passing the PCD of the "Search" page (i've tried even with the ROLES).
    Anyone has an idea?
    By the way, I was thinking about raising some kind of "standard" event like "navigate" or something...I don't know if it's applicable.
    Thanks in advance,
    R.

    Hi,
    If you are navigating from one WD Application to another you can either use URL or Object Based Navigation.
    In URL Method you can call the target application from the source application.
    You can create the method in the Window of WD Component.
    You also need to create exit plug (outbound) with parameter url (type string) and specify the plug type as Suspend.
    Trigger this method as desired by you in your application.
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'TARGET_APPLICAITON_NAME'
        IMPORTING
          out_absolute_url = lv_url.
    CONCATENATE lv_url '?sap-client=' sy-mandt '&sap-language=' sy-langu '
      INTO        lv_url.
      wd_this->fire_exit_plg(
        url = lv_url                              " string
    Thanks
    Vishal

  • How to check ABAP and Portal connections

    Hi
    I was told to check ABAP and Portal connections. What does that mean? And what and where to check?
    Thanks
    Annie

    Hi
    Thanks for your reply.
    We are on BI 7. SP16.
    When i run that in se38, i am getting the following information: No default in RSPOR_T_PORTAL and no user parameter RSPOR_DEFAULT_PORTAL" when i clicked on yes(tickmark), view BI_Content of web template 0ANALYSIS_PATTERN(A) is displayed
    There are two options with check box are present 1. 30 template present (Unchecked) 2. BI- Template Present (checked), and a big XML code is displayed.
    When i executed in browser mode, it says Windows cannot find'/irj/servlet/prt/portal............... make sure you typed the name correctly and then try again. to serch for a file, click the start button, and then click search"
    What does that mean?
    Regards
    Annie
    Edited by: Annie on Nov 17, 2008 5:38 AM

  • How authentication and authorization works in webdynpro for abap and portal

    Hi Experts,
    I have to create an webdynpro abap application for portal which will update the user information in the backend HR standard table.
    The SSO  (certificate)setup is already doen between portal and backend sap system . Do I need to pass the portal userID to the webDynpro ABAP application, via IView created to update the table. OR SSO will take care itself.
    Thanks and regards,
    Ajay

    Dear Ajay
    If SSO is configured as you have mentioned, then all is ok and you don't need do pass the user ID.
    It will be done automatically.
    Just try for yourself - create a simple WD ABAP and put it inside an iView.
    Then have this WD to write the SY-UNAME on the screen.
    That way you will confirm what I'm saying
    Kind Regards
    /Ricardo Quintas

  • ECC user licenses issue for using Webdynpro ABAP in portal

    Hi all,
    If we want to use Webydnpro ABAP in our external facing portal which is being used by more than 20000 users, how do we manage the ECC licenses for all these users? It will be really expensive to have that many number of licenses in ECC (one for every portal user). Is there any other work around for this?
    Any info on this will be beneficial.
    Thanks,
    Hari

    I am not sure why you want to use WebDynpro for External Portal . As Webdynpro is resource intensive ,  I never saw client asking for this type of  requirement. Are developing any prototype ?
    In my experience ABAP webdynpro is more is used more for business packages and  internal portals  not for external portals. If you want to use this AWD for EEP  Please see below link from SAP Help for pre-requisites
    http://help.sap.com/saphelp_nw04s/helpdata/en/96/bdab419451db34e10000000a1550b0/content.htm
    Last Step in above Link, this mentions that ABAP Webdynpro needs logon.
    As other people mentioned there might be a good way of doing if you contact your SAP account executive to find out if there are any different types of licenses. But you end up in taking other extra licences which not acceptable solution for clients.
    If you want to use WebDynpro for external Portal ( which is not at all suggested for external ) at any cost , better to go with Web Dynpro for Java which will not need any extra  licences on R3.

  • Integration of webdynpro abap into  portal

    Hi All,
    Can any one suggest me the procedure for integarting the webdynpro abap application into the portal .
    I tried searching the blogs and e learning but was unable to find the right one  as i am very new to portal .
    wants to know the process and settings to be done in the portal .
    It would be better if given in detail. or any blog or download where i can find the detailed procedure .
    Looking forward for your help . 
    Regards,
    Sana.

    Hi Sana,
    Check this online help documentation...
    http://help.sap.com/saphelp_nw04s/helpdata/en/27/96b9c8f14e7d498b90a674710dc9c2/frameset.htm
    Regards,
    Narendra

  • Webdynpro ABAP and Light Speed Rendering Engine Performance reports

    Hello,
    We will be applying the NW EhP1 and ERP EhP4 in November this year.
    I am very much excited about the new Lightspeed rendering technology that SAP has delivered with Webdynpro ABAP.
    Has anybody installed this already and can you comment about the performance of Webdynpro ABAP AFTER activating this new rendeing engine?
    regards,
    Atul Kulkarni

    We have implemented the EHP1 for NW 7.0 and ERP EHP4 back in May 2009.  The performance of web dynpro  applications is much better with the new rendering engine. The new name is living up to it's character of speed of light.
    The usability of the application has increased with the new trade show plus theme. For example pink background for fields with errors. Access Keys and Hot Keys are very useful, specifically if you are migrating legacy applications from systems/languages which rely heavily on access keys.

  • SAP Workflow, Webdynpros Abap and NW Business Client

    Hi All,
    Are there good explanations or examples about using Webdynpros Abap in Business Workflow in combination with Netweaver Business client? There is one for using WD4A with UWL, but i'm not sure if this is the same...
    Kind Regards Thomas
    Edited by: tw18399 on Jun 22, 2010 2:29 PM

    Hello !
            Please refer to Practical workflow for SAP - second edition or refer
            http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?quicklink=elearn&overridelayout=true
    Regards,
    S.Suresh

  • Webdynpro for ABAP and Portal Integration

    Hi Experts,
    we created a WebDynpro  for ABAP application for portal. The application will modify/update few fields in backend sap HR table PA0006 (infotype 6) . The end user (portal user) should be able to update his data in backend with the iview created on this application.
    I have below two questions in my mind.
    1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro  for ABAP application.
    2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
    Thanks
    Ajay

    1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro for ABAP application.
    Answer: If you use, for exemple ITS to access this Webdympro, you will not need any action on portal for sure. Actually you will just need actions on portal, if you want to make some customization on portal side. If you want just show the Webdympro how it is, your action are all on backend..
    2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
    If you access via ITS, te custome will acess the backend with the user you have set on the SSO or user-mapping. The portal there is nothing to do in this regards, you must just take care of this on backend.
    Please evaluating the answer you are contributing for the SDN keep growing.
    Edited by: Fabio Sarmento on Sep 19, 2011 2:41 PM

  • View past transation performance of ABAP and portal

    I would like to know where I can find past statistics on transaction performance for both an ABAP stack and a java like a portal system.
    I am familiar with NWA on java but I don't know where to find a performance period for inbound transaction and how many seconds it tooks to process.
    Also I would like to know the transaction where I can find how long it took for a transaction for a particular period or a particular user.
    I know under admin--> workload there is a large bunch of information but I need to find transaction performance and I can't seem to find it under this tcode.
    Thanks
    Weyland Y.

    Weyland,
    You need to enable Portal Activity Report for Enterprise Portal 7.0 and then you will be able to see it.
    Check this link and SAP Note 1084379
    [http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/content.htm]
    Thanks,
    Digesh
    Edited by: digeshjoshi on Dec 15, 2009 4:32 PM

  • WD ABAP and Portal theme

    Hi,
    I am launching a WD ABAP application from a Portal iView and would like the application to take on the Portal theme.  The launching of the application is being implemented like this:
      DATA: low_window TYPE REF TO if_wd_window_manager,
                  lv_url    TYPE string.
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'zmy_wd_abap'
        IMPORTING
          out_absolute_url = lv_url.
    lo_result = low_window->create_external_window(
                   url             = lv_url
                    title          = 'My WDABAP'
                    modal       = abap_true
                    has_menubar    = abap_false
                    has_location   = abap_false ).
    Should I set the application parameters WDFORCEEXTERNALSTYLESHEET and WDTHEMEROOT.  Obviously the preference would be to reference the custom CSS in the portal.  I do not want to store the stylesheets in the MIME repository if it can be helped.
    Any help would be much appreciated.
    Cheers,
    John

    Update.  I got the Portal Administrator to zip the theme folder (from the directory on the portal server), unzipped the files into a local directory and uploaded the directory to the MIME repository.
    I proceeded to set the WDTHEMEPORTAL to the uploaded directory.  Unfortunately, the WDA application is still being rendered with no layouts.  On viewing the source, I note that the reference to the CSS is as follows
    <link rel="stylesheet" type="text/css" href="/sap/public/bc/ur/customerthemes/myTheme/ls/ls_ie6.nosprite.css?201010290817">
    I was expecting the reference to be:
    "/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/customerthemes/myTheme/ur/ur_ie6.css?7.0.23.2.0"
    I also tried the following with the same result"
    http://..MYWDA?sap-cssurl='https://MyPortalServer/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/customer/myTheme/ur/ur_ie6.css?7.0.23.2.0'
    Cheers,
    John

  • WD ABAP and PORTAL: Logging the user out

    I have a requirement where I need to logout the user of my web dynpro abap application(the application resides in portal).
    I need to log him out of portal.
    How would I do that?
    Thanks in advance

    Deleting the Authentication in Logoff
    When you log off from some applications, the authentication of the user may also have to be reset in the browser, which means that a new authentication is needed when the application is called again. If basic authentication is used for the logon, this information can only be deleted in the browser with Internet Explorer 6.0 SP1 and higher.
    document.execCommand( 'ClearAuthenticationCache' );
    If an SSO2 cookie is used for the authentication, you can delete the cookie with JavaScript:
    function DelSso2Cookie(sName,sPath)
        var sso2Domain = location.hostname;
        if (location.hostname.indexOf(".")>0)
          sso2Domain = location.hostname.substr(location.hostname.indexOf(".")+1);
        p="";
        if(sPath)p=" path="sPath";";
          document.cookie = sName"=0; expires=Fri, 31 Dec 1999 23:59:59 GMT;"p + "domain="sso2Domain";";
    You can also include this JavaScript in logoff pages.

  • WebDynpro iViews and Portal Eventing

    Hi All,
    I am planning to prepare a proof of concept with following requirements.Can you please give me hints and resources to prepare this in 2 days?
    1)Interaction between iViews using EP eventing.
    2)Exploring how and what kind of data can be passed from one iView to the another (String , Java Objects etc)
    3)Keeping track of various events of EP especially finding out if we can track when the user session is invalidated by the Portal so that we can free objects from memory.
    4)The sample code should have 2 to 3 iViews interacting with each other and passing data.With detailed description of each steps from coding till deployment to the EP.
    Thanks & Regards,

    Hi Noaman,
    You can use EPCM for eventing between iviews in portal. Also we can use the same for communication between Webdynpro and EP applications.
    You can pass parameters using client data bag. The code for sender ....
    var an='Hello';
    EPCM.storeClientData("urn:namesapce","key",an);
    EPCM.raiseEvent("urn:namesapce","eventname");
    Code at the reciver....
    function fn_selection()
    var info=EPCM.loadClientData("urn:namesapce","key");
    document.myform.name.value=info;
    EPCM.subscribeEvent("urn:namesapce","eventname",fn_selection);
    This is the javascript code for triggering and subscribing  events in between iviews.
    Hope this Helps
    gEorgE

  • How to open a new window with no Portal Header and Portal Navigation bar

    Hi,
    I am working with the EPCM.doNavigate() method and passing the value "1" for the mode parameter in order to open it in a seperate window without the Portal header.
    For some reason, the Portal header is still seen in the new window.
    Do anyone know the reason?
    Thanks,
    Aviad
    int openType = 1;
    "EPCM.doNavigate(\""Url"\", "openType"); \n"

    Hi Aviad,
    Try out the command
    EPCM.doNavigate(\""Url"\", "openType",'toolbar=no','status=no','menubar=no');
    <b>Put opentype=1</b>
    I think it will work
    Thanx & Regards
    Anish

  • Webdynpro ABAP/Portal. Plugin HTTP connection issue on WaitingEventQueue.js

    Hello,
    We are experiencing a strange Portal Behavior with our Webdynpros. Our portal contains several iViews including some Webdynpro (ABAP) and some reporting transaction calls that use SAPgui for HTML.
    When portal is called for the first time and a user logs in, two connections of type RFC can be seen for that user in SM04 in our ERP system. All iViews work as expected. For example, calling the Time Management webdynpro closes one of the RFC connections and starts a new Pluguin HTTP connection. We can go back and forth between the welcome page and this Webdynpro with no issues.
    If we then select one of the reporting transaction codes, the portal launches the SAPGUI for HTML. Report retrieves and shows data, and then we close using the "Exit" button provided by the sapgui for HTML
    Next we try again to launch any webdynpro (abap), but SM04 shows that the new Plugin HTTP session gets stuck and spinning mid way, and will stay there. Refreshing the Portal screen with F8, navigating back and forth, logging off and on again has no effect. The webdynpros will not launch again. Only webdynpros are affected, any of the reporting transactions can be called successfully over and over.
    We have figured that deleting Temporary Internet files (we are using IE 7), and in particular by just deleting the WaitingEventQueue.js?XXXXXXXXXXX file, the system will break away from the spin loop and show the webdynpro again, but eventually it will get stuck again, and asking the users to delete their Temporary Internet Files every 5 minutes is not a workable solution
    I have reviewed the contents of this javascript file at different points during the test, and the contents do not change, so deleting the file and the recreate process must be resetting somehow the queue and allowing for a new correct communication.
    Is there a way to properly reset this event queue (for example from ABAP, when the webdynpros are reloaded) in order to avoid the spin loop?
    Thanks for any help!
    Andres

    Well, we got the issue resolved, so here is what we did, in case anybody is interested:
    Tested again our portal with multiple versions of Internet Explorer, in particular IE8 and IE6, the Webdynpro behavior was normal (no timeouts or locks). It even worked when we installed IE7 in a brand new machine and tried our portal.
    So we started suspecting if maybe the particular IE7 that we install internally (with specific settings and policies) may be the culprit. We took a desktop that was producing the timeouts and used the following options in IE7:
    Tools->Internet Options->Advanced(tab)-Reset Internet Explorer settings
    and, voila! the next time we ran there, the portal did not create any timeouts.
    We even asked our desktop support team to uninstall and reinstall IE7 in the same machine after we did the reset, and even after the re-install that the timeout problems did not re-appear.
    One of the things that the "reset" option does is delete the Add-ons used by IE.
    So as a last test, we took a machine that was presenting the problem and went to the Internet Options to disable all the add-ons (in the Programs Tab). The error disappeared.
    And even after enabling back all the add-ons, the error would not return.
    Conclusion:
    Without being able to pinpoint the specific add-on (or combination) that causes the problem, we suspect that some of them conflicted, causing IE7 to behave abnormally. Disabling them all, restarting Internet Explorer, and enabling them again, makes the WaitingEventQueue.js work as it should

Maybe you are looking for

  • Lost WP Text = Recovery Possible?

    I've lost text in an AppleWorks Word Processing file. Here's what happened: I opened a new file, gave it a name, and saved it to my desktop. I wrote and perodically saved my work from the keyboard using Command-S. While the document was open, I then

  • Installation guide for OWB 9.2 name and address

    Hi, May you show me where I can find the OWB 9.2 installation document for name and address cleaning software. In the installation guide of OWB 9.2, it ask to refer to the installation instruction of software vendor. I am going to use the default ven

  • Error when trying to use FaceTime

    facetime previously worked fine on my daughter's macbook pro with lion, now when opening facetime it asks for the password, flashes verified for a second, then gives this error: 'the server encountered an error processing registration, please try aga

  • No option to not import duplicates in iPhoto 6

    When importing from my digital camera into iPhoto 5 running OS 10.3, I was always asked if I wanted to import duplicates or not, so only new photos would be imported and I could leave some of my favorites on the camera. Having just installed Tiger an

  • Wrong positive spam on ipad

    How can I tell apple that mails in my ipad junk folder are NOT spam, and how to avoid this in the future. It is more than enojing not to get electronic invoices and then have to pay extra cost for delayed payment - can I send these extra invoice to a