Stoping the navigation in FPM Framework

Hi All,
I am working on Travel Request Application which is built in Web Dynpro ABAP and FPM technology.
I have added custom button on General Data component to check some validation, when i through a error message it is showing the error  but the navigation is not canceled   how to stop the FPM navigation when there is an error ?
Your help is really appreciated
Thanks

Hi Kiran,
I assume you are using the FPM message manager to throw the error message. If yes, then it is possible to stop the navigation of the application based on your validations.
In the FPM message manager methods, there exists a parameter IS_NAVIGATION_ALLOWED. All you need to do is pass the value abap_false explicitly to this parameter when you throw the message. The FPM framework will take care of stopping the validation.
Regards
Rohan

Similar Messages

  • Stop navigation in FPM on error message

    Hi All,
    I am working on FPM framework . I am raising error message on click of the review button.
    I have a requirement to stop the navigation further on error message.
    User must click the flight details custom button before clicking the review button.unless the flight details button is not clicked user should not go to the next screen.
    I hope I am clare
    any inputs
    Thanks
    Santosh

    Hello Santosh,
    it just an idea...
    1/ Set a flag (default abap_false) attribute to true when flightdetails is clicked in the controller of your component as Lekha said;
    2/ If your review custom button is part of the FPM toolbar, as I suppose it is, you can trigger the event in the controller process_event method, check if flag is true else call the FPM message manager.
    for example with a T100 msg:
    CALL METHOD wd_this->mr_message_manager->report_T100_MESSAGE
         EXPORTING
           IV_MSGID          = 'MSGID'
           IV_MSGNO          = 001
           IO_COMPONENT      = wd_this
           IV_SEVERITY       = if_fpm_message_manager=>GC_SEVERITY_ERROR
           IV_LIFETIME       = if_fpm_message_manager=>GC_LIFE_VISIBILITY_AUTOMATIC
    *            IV_PARAMETER_1    =
           IO_ELEMENT        = lo_el_sflight_selection
           IV_ATTRIBUTE_NAME = 'CARRID'.
    Where the mr_message_manager is a reference to of IF_FPM_MESSAGE_MANAGER.
    Hope it can help you.
    Best Regards

  • How to change the size of the Navigation Panal?

    Hi,
    I would like to adjust the width size of the navigation panel. Because I am facing problem to view the full navigation panel.
    Can any one help me in this?
    ~ B Vincent
    Message was edited by: B Vincent

    You can change this in waandnavp.js. It is in com.sap.layouts.framework.par. Please try.
    Thanks,
    Venu Padmanaban

  • Can we move the navigation bar (prev, next link) of advanced table to left?

    Hi,
    I have a question regarding the OA Framework advancedTable navigation bar.
    Normally it is shown on the top right corner of the table, if it contains more than 10rows,
    it will show on the bottom as well.
    My question is, is there a setting to move this navigation bar (Previous Link, Records List, Next Link)
    from the right side to the left side or to the middle?
    In the OAF Developers Guide it doesn't state about being able to move this navigation bar.
    Navigation
    The navigation bar allows you to traverse across different row ranges of a table and is rendered:
    - At the top of the table if the number of rows in the table is less than 10.
    - At both the top and bottom of the table if the rows in the table is equal to or greater than 10.
    Note: No navigation bar is displayed if the number of rows in the view instance is less than the value specified
    for the advancedTable Records Displayed property.
    When a user first navigates to the page, OA Framework does not know how many rows will be returned to the
    table. The navigation bar simply shows the Previous and Next links.
    Once the user navigates through all the rows, the navigation bar displays the row range as a poplist so that the
    user can navigate directly to a specific range of rows, as shown below.
    Thanks.

    Hi,
    I don't think there is anyway to move the same from right to left/Middle.
    Regards,
    Gyan

  • How to display the navigation path in the masthead.

    hi,
       Requriement is to display the navigation path in the masthead.
       how to achieve it.
    regards,
    Shanthakumar.

    Hi,
    I think you want to show the bread crumb in your masthead to show the path to the actual navigation node.
    This functionality already exists in page title bar iview you need to just enable the options in the page title bar iview in your active framework page.
    If you want to have this Functionality in your masthead, just check the codes of page title bar iview and do similar coding in your masthead.
    NavigationEventsHelperService has alot of helper methos which will give you the currently clicked navigation path nodes and more. So also check them.
    NavigationEventsHelperService service =
                    (NavigationEventsHelperService) PortalRuntime.getRuntimeResources().getService(
                        NavigationEventsHelperService.KEY);
                NavigationNodes navNodes =
                    (NavigationNodes) service.getNavNodesListForPath(request, INavigationConstants.NAVIGATION_CONTEXT_ATTR);
    Regards,
    Praveen Gudapati

  • Defining the navigation frame: Cannot find the menu path in Customizing

    DEFINING THE NAVIGATION FRAME
      I do not find the path in this CRM 7.0 to change the navigation frame.     The navigation frame for the header area is customized in the following path (in CRM 2007, I think)
    SPRO -> IMG -> Customer Relationship Management -> Business Roles -> Define Navigation Frame
         Here you select the navigation frame specified for your business role, the component ID for the logo area, and so on. when you have the navigation frame ready, you assign it to the business role, but I cannot find this path in CRM 7.0, so help would be needed. Regards, Martin.

    Hello Martin,
    The correct path is
    SPRO->IMG->Customer Relationship Management->UI Framework->Define Navigation Bar Profile
    Here you select your customized profile defined your Business role and configure it as per your requirement.
    I hope this helps. Please let me know if you have more questions.
    Thanks
    Vishal

  • Customising the navigation structure in the portal

    Hi All,
    Please help me in solving this issue
    Requirement:Instead of two level navigation in the top level navigation and the sub levels in the detailed navigation requirement is all the levels should be in the toplevel navigation like the one in www.ibm.com
    for example when we mouse over system administration it should show all the things under that like Transport,Monitoring etc in the table format and when i mouse over Transport it should show all the things under that in another table  and so on.
    Hope you understand the problem
    My doubt is can we implement this requirement because there are two different iviews DetailednavigationIView and TopNavigationIView.can we combine these two iviews and create a single navigation structure.
    If yes please let me know and please refer www.ibm.com for the navigation structure
    I am at the client location.Please send me the reply ASAP.
    Thanks in advance
    Bala

    Hi Bala,
    I had seen ur other thread. In that thread u had specified that u had made the changes. does it work?
    Anyway to make changes to the top level navigation (in case of  levels)
    Go to Portal Users --> Standard Portal Users in the portal catalog.
    Open the Default FrameWork chose Properties
    Set the "Number of Display Levels " according to u r requirement.
    To change the detailed navigation level
    Select the "Desktop InnerPage" select the iview "Detailed Navigation" --> Properties
    Change the "Start at Level" value property to u r required value.
    May this will solve u r problem in a simple way.
    if u want to it like what u specifie in the thread u need to go through the Navigation API and develop it u r self.
    Look at this links this may help u
    Working with the New TagLibs
    Part 1: - <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3282">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3282</a>
    Part 2: - <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3421">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3421</a>
    Part 3: - <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3683">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3683</a>
    Mr.Chowdary

  • Hiding or deleting the Quick create  pane in the navigation panel

    Hi friends,
       Can anybody tell me how to hide or delete quick create info pane in the navigational area.
       As of now we are displaying some data in the quick create info. But  my requirement is not to display this quick create info at all in the navigation panel.
    So in my navigation panel i should have only detailed navigation and portal favorites apart from the quick create.
    Can anybody pls guide how should i do it , its urgent....
    Thanks& Regards
    Sireesha.

    Hi Sireesha ,
    Look at this weblog , you can be in a position to change the portal framework
    MastHead Change & Portal Desktop
    Look for the Dekstop innerpage , you can add and remove the properties.
    Thanx
    Pankaj

  • Controlling the Navigation Pane from Topic links

    I've followed Rick Stone's instructions (in his Skinny on Skins tips file) for controlling the navigation pane from topic links, but I've included the reference to whtbar.js in my Master Page (as I want it to be available to all my topics) instead of in a single topic in my WebHelp output. It works fine, however, I'm experiencing a page flicker whenever I click a link which opens the TOC, Index, Glossary, etc. Does anyone know if this can be avoided?
    Thanks
    Jonathan

    Hi Willam
    No your method still works fine thanks (without any page flicker). However, it only opens and closes the navigation pane. What I've been playing around with is the idea of hiding the standard WebHelp toolbar by setting its height to zero in the .SKN and then creating my own toolbar in a Master Page that controls the navigation pane, i.e. with Home, Contents, Index, Search, and Glossary links. That way I have more control over how the toolbar looks and, for example, I can use some script to power drop-down menus, etc. I've been looking at using the Bootstrap framework.
    I seems to work okay, apart form the annoying page flicker when I use the links in my custom toolbar.
    Oh well, maybe I'm trying to push the boundaries a little too far?!
    Thanks anyway,
    Jonathan

  • Navigation from FPM application to another FPM application

    Hello Experts,
    I have a requirement where there are two different applications with FPM configuration. On click of a button in one of those applications, i should close that application and open the other FPM application in the same window.
    I tried using the exit plug and it worked when the FPM was not configured for the first application alone (and 2nd application has FPM enabled). But, when i use the FPM configuration for the first application, the navigation is not happening.
    Is it possible to navigate between two FPM applications in a single wondow? If so please tell me how to do it.
    Thanks in advance,
    Seshadri

    Hello Sheshadri and Toolika,
    Here is a code snippet, which might help you:
    ON BUTTON ACTION:
    DATA : ls_navigation_key   TYPE             fpm_s_navigation_key,
                lr_navigation          TYPE REF TO IF_FPM_NAVIGATION,
                lv_target                LIKE LINE OF mr_navigation->mt_targets,
                ls_app_param        TYPE             apb_lpd_s_params,
          ls_navigation_key-key1 = lc_role.
          ls_navigation_key-key2 = lc_instance_a.
          lr_navigation = mr_fpm->get_navigation( ls_navigation_key ).
          READ TABLE lr_navigation->mt_targets
               INTO lv_target WITH KEY alias = (You can give a alias name in the LPD customizing)
          IF sy-subrc = 0.
            ls_app_param-key   = (Application Parameter Key).
            ls_app_param-value = (Application Parameter value).
            APPEND ls_app_param TO lt_app_param.
            CALL METHOD mr_navigation->navigate
              EXPORTING
                iv_target_key             = lv_target-key
                it_application_parameters = lt_app_param.
    Hope this helps !
    Regards
    Rohan

  • How do I add a Recent Objects direct link group to the navigation bar?

    Hi
    I've noticed in some of the tutorials in the eLearning section there is a Recent Objects direct link group. I presume this is a dynamic collection of recent activities the user has created similar to the My Recent Documents folder you see in the Start menu in Windows XP.
    Does anyone know how to implement this functionality to the navigation bar in the WebClient UI? I know how to add a direct link group to the navigation bar but I don't see any trace of this recent objects functionality.
    Cheers
    Declan

    Hi Vikash
    Thank you for you advice. However the IMG activity Define Business Role does not allow me to add a new entry.
    Instead I used the IMG activity: CRM > UI Framework > Technical Role Definition > Define Navigation Bar Profile. I double clicked on Define Profile, selected my business role and double clicked on Assign Direct Link Group. I tried to enter the Group ID REC_ITEMS but it produced an error saying Entry REC_ITEMS does not exist in CRM_UI_DLG (check entry).
    Can you advise further please?
    Cheers
    Declan

  • Want to remove the Navigation path been displayed in Address bar

    Hi All,
    I am facing a problem with the url path displayed in the address bar of browser. Whenever i select a tab in TLN the url path changes. Normally it has to be like http://<host name>: <port no>/ portal but for me it is coming http://<hoatname>/<port no>/portal ? NavigationTarget=navurl://<somestring>. Can anyone tell me why it is happening so and how will i get rid of this. I dont want the navigation path to be displayed in the address bar.
    Thanks,
    Nishant Singh

    Navigation method does not depend on image path.
    There are two standard TLN iView in portal (I do not count one from AJAX Framework Page):
    1) Top-Level Navigation is the default one and based on portal component com.sap.portal.navigation.toplevel.default and consumes EPCM API.
    2) Light Top-Level Navigation is based on portal component com.sap.portal.navigation.lighttoplevel.LightTopLevelNavigation and uses navigation method by URL.
    I have used a image as background of the LTLN
    Whatever you do with the Light TLN in the area of customizing its style, it will always remains Light Top-Level Navigation with navigation method by URL.
    So the answer to your question is do modify com.sap.portal.navigation.toplevel.par instead of  com.sap.portal.navigation.lighttoplevel.par.
    Best regards,
    Aliaksandr Zhukau
    Edited by: Aliaksandr Zhukau on Aug 23, 2010 2:23 PM

  • WD4A application FPM framework - Explicit Configuration

    Hi All,
    Have been following FPM for ABAP - Developer's guide, to develop a test WD4A application with FPM framework. After creating the Webdynpro Component and Application while trying to change the Component Configuration, the tab 'Explicit Configuration' at any time is not active its simply grayed out.
    Could you please help me in finding the reason?

    hi,
    Once you will make Custom Controller , then only Explicit Configuration will be active.
    Othervise it will be Grayed only.
    ->So Please make a Custom controller-Configuration Controller and add to further contexts.
    ->The storage of attributes in the  context of this controller ensures that their values can be set or  changed later on with the help of Component Configurator.
    Check this out at Page 6.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c
    I hope this way you will be able to solve your problem.
    Thanx.
    Edited by: saurav mago on Mar 21, 2009 6:50 AM

  • Search to be brought to the masthead of my framework page.

    Hi all,
    I need to bring the search textbox and a button i.e the km search iview to the masthead of my framework page. Its urgent. Can anyone help me out.
    Regards.
    PP

    Hi PP,
    To do this you will need to make modifications to a few files.  First you should go to System Administration -> Support -> Portal Runtime -> Browse Deployment, and from here you will need to save the following files to your local drive: com.sap.portal.navigation.masthead.par.bak and com.sap.portal.navigation.toolarea.par.bak. 
    Next you should import the masthead project into Eclipse/NWDS.  You will make changes to the HeaderiView.jsp, portalapp.xml, and also headeriView_nls*.properties (for each language that you are using).  Basically what you need to do is merge the code from the toolarea files into the masthead files.
    After all of the changes are made, you will then create a par file from the project (remember to rename it to something other than com.sap.portal.navigation.masthead.par, I suggest com.companyname.portal.navigation.masthead.par, where companyname is your company name)  and import it back into the PCD by going to System Administration -> Support -> Portal Runtime -> Administration Console. 
    This should work for you.
    Sarah

  • How to navigation inside FPM

    Hi everyone,
    I'm using FPM_OIF_COMPONENT to develop application.Here I meet a problem:
    I have one main view: HOME, and under the main view and 2 sub views: OVERVIEW,  CALENDAR_MAINTENANCE.
    There is a navigation list in the OVERVIEW subview, and there is a link "calendar maintenance" on the navigation list,
    My question here is: how can I navigation to CALENDAR_MAINTENANCE subview when I click the "calendar maintenance"
    link in the OVERVIEW subview.
    Thanks and Regards,
    Aaron

    I am not understanding your requirement correctly.
    Normally we make an application for FPM_OIF_COMPONENT and put in the custom views as UIBBs which are then made as mainview/subviews, etc.
    For more info on FPM you can refer to
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50

Maybe you are looking for

  • Envy dv6 notebook - Hard drive failure - How do I get windows 8 reloaded on my Notebook

    Hard drive failed in the notebook / laptop. How do I get windows 8 back on the new drive? Hp told me they will not send or sell me recovery disks. WHat kind of crap is that? Help!

  • Typing illegal characters

    I'm having trouble specifying \ and " as a string. Typing "\" gives me some error and NetBeans won't let me try """ for obvious reasons. Example: s.contains("\");How should I be doing this?

  • RoboHelp for FrameMaker

    Hello, I'm aware that RH for FrameMaker was discontinued a few years ago, but we're considering using it as we have no desire to use Quadralay ePublisher (a huge step back from WebWorks). Are there any resellers in the U.S.? I'm only aware of the UK

  • ColdFusion 6.1 Developer Edition

    Hello, i need the above mentioned developer edition for a new project with ColdFusion. I searched the Adobe website for the download link, but i was not able to find one for version 6.1. So, is it still available anywhere else? Or do i have to buy th

  • Annoying pop-up on N96

    Ever since the last software update there's an annoying pop-up appearing on my display that keeps asking me to select a connection. Never had that problem before. Does anyone know how i can get rid of that pop-up ?