How to stop the standard navigation to view from NavBar?

Hi Folks,
My solution is in CRM IC 5.0. My application is a Z one. I have a custom button in the "Followupdetails" view
Initially the "Identify Customer(BupaDetail)" view loads up as soon as we log onto IC. Navigation to any other view selected from the nav bar should only be possible if my custom button is clicked. Otherwise the navigation should not happen and it should continue to remain in the same window and throw an error message.I capture the value of whether this custom button is clicked in the attribute GV_CLEAN_WASTE.
I wrote the below code in "DO_CLEANUP_CONTEXT" of the BupaDetail view.
IF ZL_CRM_IC_BREADCRUMBSVIEW_IMPL=>GV_CLEAN_WASTE <> 'C'.
   IF me->view_manager IS BOUND.
      lr_message = view_manager->get_message_service( ).
      lr_message->add_message(
          iv_msg_type       = if_genil_message_container=>mt_error
          iv_msg_id         = 'ZCRM_WW'
          iv_msg_number     = '012' ).
  endif.
ENDIF.
The above code throws error message but the navigation to the view selected in NavBar still happens.I want to block that.
How can i acheive it?
Thanks
Abishek

Hi ,
You need to write the below logic in the event handler of the custom button.
IF ZL_CRM_IC_BREADCRUMBSVIEW_IMPL=>GV_CLEAN_WASTE 'C'.
IF me->view_manager IS BOUND.
lr_message = view_manager->get_message_service( ).
lr_message->add_message(
iv_msg_type = if_genil_message_container=>mt_error
iv_msg_id = 'ZCRM_WW'
iv_msg_number = '012' ).
endif.
return.
ENDIF.

Similar Messages

  • How to stop the Debug-master-Beacon command from console

    Q: How to stop the Debug-master-Beacon command from console
    A:  
    -"Debug-master-beacon" This command is basically used to see the  master beacon  sent and the received .
    -This command will  help in figuring out master discover issues.
     -You can run this command only from the console of the Ap.
    - Once you run the command you can stop it only by typing the command
    "No debug-master-beacon"
    Sample command below

    Hi Shravanthi,
    How the Substitution will work for stopping the user from changing the Depreciation key in asset master data. Can you please ellaborate in details.
    Regards,
    BABA

  • How to stop the "sign in to icloud" from popping up?

    How can I stop the "sign in to icloud box from popping up all the time? I have an iphone 6.

    This has to be the most annoying thing in Illustrator and has been for the years I have been using it. I click on that icon to switch between having the stroke and fill selected, and it pops up the color panel in place of my swatches panel which is what I need.
    Let's say I have a swatch in my swatches panel that I want to use as the stroke for an object. I currently have the fill selected to work with, so I go down and click the stroke icon (shortcut for that is X but I prefer not to use the shortcut for that function). I then move back over to where my swatches panel is normally, but the damn color panel is covering it now! So I need to make an extra click back over to the swatches panel so I can use it. Such a minor little thing but so incredibly annoying.
    I usually work with a subset of colors in the swatches panel and when I need to use a color picker, I simply doubleclick on the fill/stroke icon on the toolbar. Thus, the color panel is completely useless to me in most cases.
    If I close a panel, any panel, it should not pop up unless I specifically go to the Window menu to enable it.

  • How to select the node in structure view from selected xml page item

    Hi All,
    I have imported the xml file. Now drag and dropped the root node in the documentt.Now i select a item from it.When i select an item, i need the node in the structure view to get selected.
    In Indesign we have an menu option "Select in structure".
    How to go about it?
    Regards
    Sakthi

    Hi All,
    I have imported the xml file. Now drag and dropped the root node in the documentt.Now i select a item from it.When i select an item, i need the node in the structure view to get selected.
    In Indesign we have an menu option "Select in structure".
    How to go about it?
    Regards
    Sakthi

  • Does anyone know how to stop the "frequently visited websites" box from popping up when doing a search in Safari?

    Hi,
    I just upgraded to Yosemite and Safari is now showing a frequently visited websites box right below the address bar when I start to type something in it. Does anyone know how to deactivate this box? Its rather irritating.
    Thx

    dominic23 wrote:
    Try this.
    Safari > Preferences > Search > Smart Search Field
    Uncheck the box beside "Show Favorites".
    I haven't tested this long enough to say that this works always.
    Best.
    Yup, that works.

  • How to stop the RAW photo conversion prompt from automatically appearing?

    I just worked with some .cr2 files, and now when I open any file type, i.e. jpg, my Photoshop CS5.1 automatically gives me the RAW screen, similar to the image below. How do I turn this off?

    What is
    Photoshop > Preferences > File Handling > Camera Raw Preferences > JPEG and Tiff Handling > JPEG
    set to?

  • How to stop the [Annoying] Color Picker box from popping up on Illustrator CS5; Please Help!

    Yes, I'm talking about that box. It can get very annoying to constantly go back and forth to exit it out. I'm sure there should be some preferences option *somewhere* on Illustrator CS5 where you can prevent that annoying box from popping up all the dang time. It's almost like an ad. If the creators can make it automatically pop up, then there should be a way to turn off that feature. Otherwise this should be listed as another aggravating Illustrator feature that needs to get fixed.

    This has to be the most annoying thing in Illustrator and has been for the years I have been using it. I click on that icon to switch between having the stroke and fill selected, and it pops up the color panel in place of my swatches panel which is what I need.
    Let's say I have a swatch in my swatches panel that I want to use as the stroke for an object. I currently have the fill selected to work with, so I go down and click the stroke icon (shortcut for that is X but I prefer not to use the shortcut for that function). I then move back over to where my swatches panel is normally, but the damn color panel is covering it now! So I need to make an extra click back over to the swatches panel so I can use it. Such a minor little thing but so incredibly annoying.
    I usually work with a subset of colors in the swatches panel and when I need to use a color picker, I simply doubleclick on the fill/stroke icon on the toolbar. Thus, the color panel is completely useless to me in most cases.
    If I close a panel, any panel, it should not pop up unless I specifically go to the Window menu to enable it.

  • How to enable the standard price in the accounting -1 view of material mast

    Hi,
    When i was trying to create a material of material Type: FERT, Iam unable to enter the price of the material in the accounting -1 view-> standard price.
    The field has been disabled.
    So please tell me how to enable the standard price.
    Regards,
    Rudra Prakash. S

    hi
    go to OMS2  double click FERT
    in valuation check which price control is allowed
    it should be std. price
    go to OMSR  check MBEW-STPRS  note field group
    in OMS9 for this group and material combination check whether that field is maintained as display
    Vishal...

  • HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING IN THE PRODUCTION?

    HI ALL,
    CAN ANYONE TELL ME HOW TO STOP THE PROCESS CHAIN WHICH IS RUNNING DAILY AT 5.00 PM. I NEED TO STOP THE PROCESS CHAIN FOR COUPLE OF DAYS AND THEN RESTART IT AGAIN.
    cAN ANYONE TELL ME THE PROCEDURE TO STOP THE ENTIRE PROCESS CHAIN RUNNING IN THE PRODUCTION.
    THANKS
    HARITHA

    Hi,
    First and foremost let me advice you to be very careful while doing this.
    For Rescheduling
    RSPC> chain > Goto > Planning view and
    click on Execution tab > select > Remove from Schedule and then in Maintain variant of start process reschedule for the day you require it to run.
    For terminating active chain
    You can start from SM37, find the process WID/PID then go to SM50 or SM51 and kill it. Once its done come back to RSMO and check the request, it should be red but again manually force to red and save by clicking on the total status button in the status tab. This shuld ensure that the process is killed properly.
    The next step will be to go to targets that you were loading and remove the red requests from those targets.
    Note: For source system loads you may have to check if the request is running in the source system and kill if needed and pull it again.
    But for BW datamart delta loads u may have reset the datamarts in case u are going to pull the delta again.
    Re: Kill a Job
    Re: Killing a process chain.
    Regards,
    JituK

  • How to stop the auto change of the desktop background picture ?

    How to stop the auto change of the desktop background picture ?

    Well . . thanks, but I already have done that and I still have the problem. The background changes to the standard picture galaxy not to one of the options. Sorry my question wasn't clear enough.
    Thanks. 

  • How to Enhance the Standard Report?

    Hi All,
    How to Enhance the Standard Report? :
    When I am trying to execute the query called ZTIMES in the user group SQ01 it is navigating the screen to selection-screen with some inputs to be given here on the selection screen company code is mandatory as an input. The company code field is having the search help and it is fetching the values for the company code from table called PROJ  Table (Project definition Table).But I want the company code should fetch the value from the  PRPS Table ( Work break structure(WBS Element) Level).
    Tables used are PROJ and PRPS.
    The company code in PROJ is PROJ-VBUKR
                                    In PRPS is PRPS-PBUKR
    In the coding part related to that selection screen I have to replace PROJ-VBUKR with
    PRPS-PBUKR.But it is standard report to enhance.
    What is suggestible solution for this issue?
    Thanks,
    M Raju

    Hi,
    Since this is an ABAP Query, You can change the infoset query in SQ02 and establish the join linkages between PROJ and PRPS
    Also on the selection screen of the Query make sure you provide company code from PRPS table and report output also from the same table reference.
    Once you have modified the ABAP Query, activate and generate it so that it will internally regenerate the a standard program.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm
    ABAP Query (Sq01)Modification
    Hope this helps
    Regards,
    Shiva

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share form

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

  • How to stop the changes made for the BP in CRM not to update in R/3

    Hello Gurus''
    we are in need of help......i have an issue...the issue is
    Wht ever the changes we do in crm , need to be not updated in r/3 ....for example if we change the the language for the BP 100 in CRM, it should not update in R/3
    Where as in our case the data is updateing in R/3
    Here by requesting you all to help me out how to stop the updaation of some changes  which are made in CRM , that should not be in R/3
    Point will be given......
    Regards
    sreeram Raghu

    Hello
    Thanks for ur reply.........
    We have the following business process
    We create BP with role prospect in CRM, once the prospect is ready to buy the product we conver the prospet in to customer and thesame  customer is replicated in R/3 fro sales.
    What i am looking at is for the customer we created in CRM if we change any data that should be updated in r/3..it may be nay like name address ...language....etc.....
    can u help me out...as u told me to unassig/delete the subcription:All Business partner(MESG) under that we have --
    >publication>All BP(MESG)->Replication object-->Bupa_Main
    >Sites-->SQ1_300
    If we do this process does the issue will fix or else we need to do soem thing more...
    Thanks in advance
    Regards
    Sreeram Raghu
    +91-99 94 94 82 72

Maybe you are looking for