Change properties of Roles in Abap web dynpro

Hello Gurus,
I need to hid or unhide a role based on a condition in my abap web dynpro.
Can anyone please update me how I can access it from abap web dynpro.
Is there an API call from abap to set or reset the invisible in navigation area value in portal?
Regards,
Dale

End of days play, this is what I was able to achieve.
Realised the masthead jsp is the best place to call my abap web dynpro as it is just after the login and at the load of default framework page.
I was able to call my abap web dynpro and on success, I am calling the homepage role.
What I have done in the jsp is written an if else statement:
1) If it is the first call to the jsp call my abap web dynpro in navigation mode 3. This ensures the roles are not visible and the redirection works before the page loads.
2) Else load the framework page as usual.
The only issue I have at this point is, I cannot depend on the first visit of the user.
I need to know in the jsp where the call to jsp is coming from, if it is coming from login page, i will direct the user to WDA else if the call is from my WDA, the normal load should work.
It would be ideal if my abap web dynpro could write something in the http header which the jsp could read as success. Still close but dont have the solution working yet
Regards,
Dale

Similar Messages

  • 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

  • ABAP Web Dynpro Application changes in Administation Mode no longer working

    Hi Gurus,
    To apply customizing to a standard SAP Web Dynpro application we used to simply run the application in administration mode. After we changed a parameter to allow for theme application this adminstration mode no longer works. Right-Click simply acts as if you are running the application normally. We have tried to remove our parameter but this had no effect.
    How can we "fix" this error without creating a new custom configuration which will cause the URL to change?
    Thanks,
    Garth

    Hi,
    how did  you  open in administrative mode?
    to open in adminstrative mode do as follows:
    In se80 ,i.e in the menu bar:
    Web Dynpro Application->Test->Test in Administation mode.
    i hope u can see the option "Settings for surrent config" .
    you can refer the thread.
    [Re: ABAP Web Dynpro Application changes in Administation mode]
    Priya.

  • BADI for changing Appraisal document application name for Web dynpro ABAP

    Hi,
    For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL  to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
    Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
    how do we change application name to some custom web dynpro application name
    Regards,
    Kothand

    Hi Karim,
    I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
    One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
    Best regards
    Renald

  • Change font size of url link in abap web dynpro

    hi
    i want change the fonr size of an url link connection in abap web dynpro
    but i didnt find where to do that
    isi it possible?

    Hi,
    There is no option to do that.
    The user has to change the TEXT SIZE option for the browser. I guess there is no other way.
    Let Thomas give some inputs on this.
    Regards,
    Lekha.

  • Change style of ABAP web dynpro

    Hi,
    I have to change the style / color of an ABAP Web Dynpro application at one of our customers.
    So the standard blue background must be white and the dark blue heading backgrounds should be green for example.
    How can I do this?
    Is there a guide to do it?
    Thanks in advance and kind regards,
    Bart

    Hi Jan,
    Even i have done the same process for changing background theme for web dynpro application.
    My requirement is to upload background image for the theme , i achieved it by changing the css file and uploading back to the custom folder and calling folder in application parameter.
    But i am facing lot of issues listed below.
    1.)In the application F4 help, pop up window and dropdown are not working
    2.)Even for standard applications also facing similar situation
    I don't know how to resolve this issue?
    My SAP System version is SAP-BASIS Release 702  Level 007

  • Creating 'Z' views for Standard ABAP Web dynpro Application

    Hi Experts,
    I am totaly new to ABAP web dynpro objects.
    In our project there were some client requirements which required us to change the properties of the Views related to the Webdynpro. The Client now has said that he needs to apply some  enhancement pathces on his system. Due to this, the changes made to the Views i.e all the changes done in standard code are  lost.
    The client now wants a long term solution where all the changes need to be done in 'Z' implimentataion so that changes are not lost every time the pathces are applied.
    Is it possible to create an entire new 'Z' Views for the standard Webdynpro instead of standrad ones?
    If Yes how does one link them to the Webdynpro application ?

    Hi
    Have a look at following article about enhancing webdynpro applications.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true
    Regards
    Manas Dua

  • ABAP Web Dynpro application in new UWL tab

    Hi All,
    I have been looking for an option to open a web dynrpo abap application in a new tab in UWL which i created. I have been searching on SDN for this but i could only find the help docs which say how to open a task in web dynrpo abap application.
    But in my case i want to open a web dynpro abap application on click of a  new tab in UWL. The WD ABAP application doesn't have any workflow task.
    Also is it possible to restrict the tabs which user see based on their roles ?
    please help me on this.
    Thanks
    Hussain

    Hi,
    how did  you  open in administrative mode?
    to open in adminstrative mode do as follows:
    In se80 ,i.e in the menu bar:
    Web Dynpro Application->Test->Test in Administation mode.
    i hope u can see the option "Settings for surrent config" .
    you can refer the thread.
    [Re: ABAP Web Dynpro Application changes in Administation mode]
    Priya.

  • New ESS/MSS in ABAP web dynpro??

    I heard from a somebody that the new ESS/MSS is going to be redeveloped by SAP on ABAP Web dynpro instead of java? Does anybody have info on this? or any links on articles, news etc.?

    You need to replace the T&E portal content and Homepage Framework config (if using it) for the "older" Webdynpro Java version with the newer (EhP2) Webdynpro ABAP version. There is a very good step-by-step guide (I believe in Service Marketplace) that guides you through each and every change to make to switch one with the other. To your immediate questions...
    (1) Those are the replacements for the WDJ iViews. They are pretty much the same. As said, you need to "switch them out".
    (2) Switch out the WDJ iView with  the WDA iView. The parameter needs to reflect YOUR ESS ROLE pcd path to the object. (the one you show is the standard SAP ESS role....which is fine if you are just using it as is).
    Again, best to find that guide. I used it on my last project and it took all of maybe 30 min. to switch the old for new if you follow it.
    Also, read all the help.sap.com info on it....
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2c/1ec6e9352c4766a4eb1ed0b924309c/frameset.htm

  • Incorporating web service in an ABAP web dynpro view

    Hi,
    I am trying to call an external web service to have its results displayed in an ABAP web dynpro view. I've seen various threads that are dealing with the same issue, but none of them seemed to have helped me (I am quite new at this so maybe I'm just having a slow beginning, please bear with me)
    I'm interested in extracting information from a simple web service online. To this end, I went on www.xmethods.net and found a "quote of the day" service, which is practical because it doesn't even need input.
    I am writing down all the steps I've taken, even if they seem trivial, because maybe my problem is the result of a silly mistake I'm not yet capable of noticing...
    I am mostly following the instruction from here:
    <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap:///people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    The SAP I use is the one on the SC7 system, seems to be ECC 6.0
    After I created my package, I go on to create a Proxy Object, and when prompted for a WSDL source, I give the URL destination I got from xmethods.net: <a href="http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL">http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL</a>
    Doing this I get an HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED") (others have had this problem, e.g. Calling Web Services from ABAP, but the answers offered haven't been much help to me)
    and having no idea what to change or not change in SICF and other settings, I decided to save the file locally, and so I then created a Proxy Object by choosing the WSDL source as the local file I saved.
    Telling me that multiple port types exist (SOAP, httpGet and httpPost) I picked SOAP. I can then see the properties of my Client Proxy Object, its structure with the classes and methods etc.
    Then, following Thomas Jung's procedure, I went to create a logial port which I named QUOTE_PORT. When I do the F8 test he suggests to do, I get an error: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED") which was predictable since I still haven't resolved that same problem above.
    I then proceed to create a Web Dynpro Component. In that component, in the component controller's context, I created a simple node into which I added attributes which I created using the wizard -> Attributes from components of structure, and there I picked the structures that had just been created in my proxy object, each in its own node
    I have three proxy structures generated: GET_QUOTE_SOAP_IN, GET_QUOTE_SOAP_OUT and QUOTES. This last one has two attributes which are STRINGs, the quote of the day and its author.
    I then create a rather trivial view, whose context I have mapped to the component controller's context so as to have access to those "quote" and "author" attributes I just mentioned. The layout is simplistic at best, containing only two textviews, each one bound to its respective attribute.
    Once the application has been done and tested, the output is a blank page. I'm hoping that this is only because of that ICM_HTTP_CONNECTION_FAILED error. Has anyone else had these problems when calling external web services? Is this the right procedure for displaying output?
    Thanks and Regards,
    Micol

    Hi, sorry for the long reply time.
    from work I do have proxy settings:
        automatic configuration script: http://proxy:8083
        proxy server for LAN: proxy / 8080
    from home it's a proxy free connection.
    In both cases I tried changing the settings in the SICF transaction, but it hasn't changed much.
    With the HTTP error that I get, I get a long text on how to maybe solve it,
    <b>No connection to Integration Builder (only generic data visible)
    Message no. SPRX081</b>
    In this long text, I have four tests to do in order to check the connection (as far as I can understand)
    1. The address of the Integration Builder must be stored in the SAP system
    =>Check/maintain with report SPROX_CHECK_IFR_ADDRESS
    2. The HTTP connection of the ERP application server must function correctly
    =>Check with report SPROX_CHECK_HTTP_COMMUNICATION
    3. The Integration Builder server must be running correctly
    =>Check with report SPROX_CHECK_IFR_RESPONSE
    4. Proxy generation must interpret the data of the Integration Builder correctly
    ==>Check with report SPROX_CHECK_IFR_CONNECTION
    The checks for 1&2 work okay, but I get errors for checks 3&4
    "Integration Builder data not understood"
    How can I go on from here?
    Thx

  • ESS 1.2 - ABAP Web Dynpro Clarifications

    Hi all,
    We are on Ehp 2 in ECC 6.0 with ESS 1.2 in EP 7.0 and using only 'Travel & Expense' part for our implementation. I have below clarifications
    1. In ESS 1.2 package we have an Overview page and iView, I believe it is for JAVA Web Dynpro, will this support for ABAP Web Dynpro iViews or how to bring ABAP WebDynpro applications with Overview ?
    2. I have Mirrored the ESS PCD Content and modified only 'Invisible in Navigation Areas' parameter. Now the issue I am facing is while selecting button 'Create Travel Request' under 'My Trips and Expenses'. The request is fetching the original content navigation instead of the new Mirrored content. Also while debugging we find the routing 'Navigation Context' as below:
    DynamicParameter=SAP_FITV_ACTION=&SAP_FITV_EXIT_OP=CallTripsPOWL&SAP_FITV_TRIPCMP=R&HistoryMode=1&NavigationContext=ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_travel_expenses/com.sap.pct.erp.ess.12.request
    Is this parameter set by default to fetch the content ? Is it possible to change this entry, if yes, how ?
    Kindly let me know if any clues.
    Thanks!
    Sankar Kumar

    You need to replace the T&E portal content and Homepage Framework config (if using it) for the "older" Webdynpro Java version with the newer (EhP2) Webdynpro ABAP version. There is a very good step-by-step guide (I believe in Service Marketplace) that guides you through each and every change to make to switch one with the other. To your immediate questions...
    (1) Those are the replacements for the WDJ iViews. They are pretty much the same. As said, you need to "switch them out".
    (2) Switch out the WDJ iView with  the WDA iView. The parameter needs to reflect YOUR ESS ROLE pcd path to the object. (the one you show is the standard SAP ESS role....which is fine if you are just using it as is).
    Again, best to find that guide. I used it on my last project and it took all of maybe 30 min. to switch the old for new if you follow it.
    Also, read all the help.sap.com info on it....
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2c/1ec6e9352c4766a4eb1ed0b924309c/frameset.htm

  • ABAP Web Dynpro CSS Stylesheets

    Hallo,
    I have a question concerning "ABAP Web Dynpro". My current task is to implement an application for our company intranet. This application must have the look an feel (corporate design) of the company I'm working for. How can I manage this by using ABAP Web Dynpros?
    Where can the Stylesheets be found and how can I change them in order to fit our corporate design.
    While answering please consider that I am a raw beginner concerning ABAP Web Dynpros.
    Thank you in advance.
    Kerstin Röck

    You need to Change the Themes , For that you need ThemeEditor. You can download that from SDN. First install that and then Download the theme from Mime repository. and then Create a Theme Editor project (It is basically NWDS which consists of ThemEditior plug in).
    Here you can change the CSS properties and then Go back and create a New theme under the Respective mime Repository.
    Search in SDN also you get lot of articles and Forum questions.

  • Enhancing ABAP web dynpros

    We need to enhance some of the ABAP Web dynpros in the Travel area (add custom fields, change values loisted in drop-down boxes etc.)
    Is there any documentation on enhancing ABAP web dynpros ?
    Thanks in advance.

    Thanks for the reply Steve.
    I have only ever work with user-based FireFighter, but will now revisit role based FireFighter.
    One aspect of User based FF which appeals to me is that SAP change logs are clearly marked with the FF userid (assuming a clear FF user-id naming convention is used).
    A potential problem I may encounter with role based FF is that our ABAP systems are connected to SAP IdM. SAP IdM is the source of truth for role assignments. If something else is assigning roles to a user-id (i.e. FireFighter) then IdM may remove these changes. This may be unlikely, but archtecturally it doesn't seem ideal.
    Thanks for the input.
    I'd also be keen to hear the official SAP view if the GRC team is watching.

  • Adding an ABAP Web Dynpro application to a Java Web Dynpro screen

    Hey fellow SAPers
    This is an interesting one .........
    We have developed a bespoke ABAP Web Dynpro screen that we want to include into a tabstrip in a Java Web Wynpro application. We have managed to do this by inserting an iFrame into the tabstrip, and then passing the UWL of the ABAP Web Dynpro app. This works. However, life is never that easy and of course whenever the screen is refreshed, the ABAP WD app is called again and so any changes to the data on the ABAP screen are lost as the data in the ABAP app is re-selected and the data returns to it's original state.
    Does anyone know:
    - of another way to incorporate an ABAP WD screen into a Java WD screen (as a tabstrip)
    - how to de-activate a Java view so that the view containing the ABAP WD app is refreshed (i.e. the window is refreshed), the view is not refreshed and the ABAP app is not re-called .....
    - any other ideas ....
    of course, we could re-develop the same screen in Javam, but that would be too easy
    Looking forward to your responses
    Jon

    >
    > Hi Jon,
    >
    > First of all Iframe is not officially supported until 7.01 version.
    I believe it is deprecated in 7.01 and re-supported in 7.02
    [7.01 IFrame Help|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    [7.02 IFrame help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/15/c07941601b1d09e10000000a155106/frameset.htm]
    >
    > Would you not use Portal for that and incorporate two iViews in a Page?
    I'm guessing you want to show this within the WDJ app not above, below to the left, right...
    This is a very very difficult thing to do - I'm guessing that you are not actively passing data into the URL of the WDJ IFrame, but just have "decorated" the WDJ app with the a statically linked IFrame. In this case the only thing you have to tie the two together is the user id that you are using - and potentially the time the app was launched. You could in theory use a shared memory area (watch out for multi app server environments) to store the state of the app in case it got refreshed... but this is not a simple thing to do...
    Consider if it is absolutely necessary to enhance the WDJ in place - hopefully you can just replace it with a WDA when you install EhP5
    Good luck,
    Chris

  • ABAP Web Dynpro: Application Configuration vs Admin Personalization problem

    Hi,
    I created an application configuration for the application MT_ORDER_APP with a component configuration on RPLM_MT_ORDER_COMP.  I changed several Labels and UI Element visibility... and saved.
    When I test this application config for viewing an order of type ZX99, I don't see my changes.  If I right-click on the page, I see that the configuration Id used is MT_ORDER_ZX99.
    Why my Z config is overrided by this one???
    By testing in Admin mode, I discovered that I can personalize this MT_ORDER_ZX99 Config.... But then, the changes are visible to all users viewing ZX99 type orders.
    How to manage to make my Application Config highest in priority?

    Hi,
    how did  you  open in administrative mode?
    to open in adminstrative mode do as follows:
    In se80 ,i.e in the menu bar:
    Web Dynpro Application->Test->Test in Administation mode.
    i hope u can see the option "Settings for surrent config" .
    you can refer the thread.
    [Re: ABAP Web Dynpro Application changes in Administation mode]
    Priya.

Maybe you are looking for

  • Hi i need help with getting my homework for school

    im in a nine week class that ends tommorw and need help go\etting my program working properly these are the requirements ofr the assignments: Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, t

  • Questioning the recent bill

    We have been going back and forth on our Bill. Per ticket # [edited for privacy-please do not post personal or unique information such as but not limited to full names, employee ID numbers, email addresses, phone numbers, account numbers, etc.] it wa

  • My Apple TV keeps telling me it cant find my itunes account.

    I have an Apple TV2 - initially it worked fine and I happily rented movies. However recently I have been having problems. Whenever I go to rent a movie to watch it tells me that it cant find my itunes account or I have entered the incorrect password.

  • Integration Of iviews

    Hello Everyone,                       Can anyone tell me whether a Customised iView developed using WebDynpro can call Standard iViews which are already present in EP and can function accordingly? Your response would be very useful. Regards, Santhosh

  • Default Printer Problem - Epson 9800 and 9900

    OK. I attended the Epson Academy meeting in Chicago yesterday - -and I learned several new things. None of the Epson speakers, however, ever heard about an issue that is my problem: Blacks are blocking up on my 9800 used with MK. I am printing on Som