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

Similar Messages

  • Follow-up webdynpro for abap using portal theme nw2004s, sp12

    Hello,
    I wanted to get a follow up to this thread,
    Re: webdynpro for abap using portal theme nw2004s, sp12
    We are having a problem with the way reports developed in Web Dynpro for ABAP displayed in the portal (the pop-ups and dropdowns look out of wack).  The issue appears when we wrap the reports into portal themes (either standard or custom).  As per the thread (the link for which I posted above), the suggestion was to apply WDFORCEEXTERNALSTYLESHEET parameter to the WDP, however our system doesn't have this parameter in the system, but it seems like I can create my own parameter. Can some on give me all of the properties assigned to WDFORCEEXTERNALSTYLESHEET in table WDY_APP_PROP_DEF.
    Thank you

    Hi Brad, I was trying to apply the note 1033496 but our ABAP servers does not have the WDFORCEEXTERNALSTYLESHEET parameter available in WDY_APP_PROP_DEF table.  All other notes are not applicable to our issue.
    The portal is NW2004s SP12, the ABAP server is NW2004 SP11
    Regards.
    Message was edited by:
            Aleks Ozerov

  • Webdynpro for abap using portal theme nw2004s, sp12

    Hello,
    we use on instance 03 portal on netweaver2004s, sp12, which calls webdynpros with iview for abap on intstance 02, where ist netweaver 2004s sp12, abap stack.
    The problem is that the webdynpro is no more rendered with portaltheme. In the prevoius version of abap (netweaver2004s sp9) it was rendered with the portal theme.
    Abap- and portal-server are in the same domain.
    Where is the solution?
    Best regards
    Oliver Prodinger

    Hello Brad,
    SAP-Note 1033496 is the solution.
    The problem was, that I have added the parameter WDFORCEEXTERNALSTYLESHEET falsely in iview-configuration and not as parameter to webdynpro.
    Remarkable is, that portal and webdynpro-abap-backend have the same neteweaver2004s, sp12.
    Best regards
    Oliver Prodinger

  • 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

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

  • 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

  • Changing the look and feel of the logon screen and portal themes.

    Dear all,
    we got some  requirements  in the portal  where i have implement the following things..
    1) when we give the portal url in the browser along with logon screen i have to display the some content related to the organaisation ,,, there i want to do logon screen customization also.
    2)once login to the portal i need display the some company related information along with  different ESS services .i want to remove the masthead area and in the  role area want to display different services.
    please guide me   to achive this.
    the client is not at all happy with  present look and feel,
    so what we can do t achieve ths?
    Thank you in advance.
    Swapna

    Hi Swapna,
    Portalapp.xml is the configuration file of portal application holding comonents and services. Where as authschemes.xml file is used to determin and tell portal which of the user authentication schemes is to be used. It also tells portal about which logon PAR file should be used. It is defined inside following tags.
    <frontendtarget>Logon PAR File Name</frontendtarget>.
    Take a scenario for example. You have created a custom logon PAR file and made some changes. You cannot see the changes before deploying it. You have to deploy it first. Now, you want that whenever somone logon to portal, your logon PAR should be referred and executed. Authschemes.xml does this work. It maintains a reference to the PAR file that should be used for logon.
    Now, still have to create a custom authschemes.xml file and upload it. (Follow this link for the authschemes file location http://help.sap.com/saphelp_nw04/helpdata/en/1a/3afd4e641b8f42ac07bb77fe30375b/content.htm)
    Refer this link for details on authschemes.xml file: http://help.sap.com/saphelp_nw04/helpdata/en/d3/1dd4516c518645a59e5cff2628a5c1/content.htm
    Let us see in brief what are the steps executed:
    1) You request a portal login
    2) Portal, after receiving a request, looks for a reference to which Authschemes file to be used. It finds it in Visual Admin
    3) Once portal have the name of authschemes file, it parse this file and determin what are the authentication schemes to be used and which logon PAR should be executed.
    4) Only after these steps, it renders logon page to you
    Once you do all these steps, you can see the result on logon page itself. You do not have to look for deployed PAR file.

  • ABAP and EP

    Hi Experts,
    Is it possible to use ABAP as an alternative to Java in EP Development?
    Thanks,
    Abdul Hakim

    I guess it depends on what you consider 'EP development'. Native development, i.e. programming against the portal api is of course only possible in java (as the api is java).
    Developing BSPs with ABAP and including them within a BSP-iView (maybe even interconnecting these iViews with client-side eventing via EPCF) is perfectly possible. I don't know if this is what you meant though..
    Regards,
    Sebastian

  • Connect J2ee UME to WAS ABAP and WAS ABAP to LDAP and Role sharing

    Hi,
    We have a requirement of using the same roles in ABAP and Portal, and also that Both can authenticate to LDAP server.
    the first Question is, can we use the roles in R/3 connecting the Portal UME to the WAS ABAP for authentication?
    the second Question is, if we connect J2EE UME to the WAS ABAP and the WAS ABAP to the LDAP then the Portal will be geting the user authentication from LDAP as well?
    Thanx in Advanced!!
    Gerardo J
    Message was edited by: Gerardo Jiménez

    Gerardo,
    Kindly check blog
    Portal UME data store and various options (Opinions needed!)
    There are also presentations on that topic on sdn.
    James

  • WebDynPro ABAP iView not picking Portal Theme stylesheet

    Hi,
    We are facing issues in integrating the WebDynPro ABAP application in Portal . The WebDynPro ABAP iView is not picking the portal theme. It is picking its actual color.
    We are in EP 6 SP 14.
    Can anyone let me know what can be the reasons.
    Best Regards
    Sid

    Hello,
    for the web dynpro for abap application you can create a application configuration. To create the configuration
    right click on the application -> create/Change Configuration -> and once you create the configuration, it will open up in browser and you can see 2 tabs structure and parameters
    In parameters tab you will find an option Force Use of External StyleSheet check the box and save the configuration. Once done with this process.
    Go to the iView Properties of the applications and set the application configuration name and it would take the Portal Theme.
    hope this helps.
    Pramod
    reward points if helpful.

  • Portal Theme in Webdynpro ABAP

    Hi Experts,
         I want my portal theme to get applied to the webdynpro abap application.But WDA application is not adapting the portal theme.
    This is the version of the theme's style sheet in portal=7.1.3.0.1;ur=7.1.3.0.1;7.1.3.0.0(Major version.minor version.SP.patch.generation run)
    The version of Webdynpro abap theme is 7.11.3.2.0.
    Portal Version is NetWeaver 7.0 Ehp1
    and SAP Basis Version is 701 and level 5.
    Is there  version incompatibility?
    How can I solve this.
    Thanks and Regards
    M.Karthiheyan.

    Hi M.Karthiheyan,
    Please follow below steps to apply Portal theme in Webdynpro ABAP.
    1. Go to transaction SE80 and navigate to the MIME Repository
    2. Create a folder in the MIME repository that will contain all the custom theme files. Make sure the folder is created in following directory /SAP/PUBLIC/BC/UR/<theme_name>
    3. Go to the Repository browser in SE80 and select u201CProgramsu201D from the drop down list.
    4. Enter BSP_UPDATE_MIMEREPOS in the input field and hit Enter
    5. Execute the program and enter the MIME repository path to the folder that is to contain the custom theme. Our custom theme is located in MIME path /SAP/PUBLIC/BC/UR/<Theme Name>
    6. Execute the program and select root folder that contains all the custom theme files.  The custom theme can be directly pulled down from the file server on portal or can be exported from Portal Theme Editor and imported into Eclipse Theme Editor in order to generate the necessary css files. We only need the root folder that contains the actual css files and images. The upload process might take a while depending on the size.
    7. Once the upload is complete, go back to the MIME Repository and check if the files were uploaded.
    8. To specify a theme at the global level you can execute WebDynpro component WD_GLOBAL_SETTING. Maintain parameter u2018Stylesheet URIu2019 with the MIME Repository path of the custom theme (i.e. /SAP/PUBLIC/BC/UR/<custom_theme>).
    9. Enter the path under "Stylesheet URI:" and select the check box which says "Force use of External Stylesheet".
    Thanks.
    Sushil S Aher

Maybe you are looking for

  • List of values problem

    Hi... during data entry,the user selects from a select list a value and then goes to another select list to continue data entry,the problem is that the second list depends on the first one.Both select lists are on list of values and in the second lis

  • Inner join for two tables

    Hello All i have these to tables country: name,population borders: country1,country2 every country have some neghbors, in borders table, now i should calculate sum of pupulation of all neighbors of every country thank u so much for ur help I use orac

  • Announcing UC320W 2.2.2 GA firmware release

    WHAT: Today  we are announcing the General Availability of the Cisco UC320W 2.2.2  firmware feature release.  Features and bug fixes are described in the  2.2.2 release notes found here.  WHEN: The 2.2.2 firmware version is available via the Cloud to

  • Errors while db defragging

    Hi folks, i have troubles with some database files while doing defragmentation. 11:11:27:301: storage_messages_env::do_defrag: checking 1 database, fragmentation level: 22%(140209261) 11:11:27:301: storage_messages_db::do_defrag(1): starting 11:13:07

  • On demand process fails with session state checksum protection on

    im doing something like this: : http://apex.oracle.com/pls/otn/f?p=56976:2 but the On Demand Application Process errors if session state checksum security is turned on.. works fine if I turn it off.. any ideas?