End Button Functionality in IC_Agent Role to Prevent Auto Save BP

Hi All,
I have noticed different behavior when we click on End Button in following cases.
Case 1. :-
Component :-    ICCMP_BP_DETAIL
View          :-    BuPaDetail 
I have made the changes in if_crm_ic_prepare_for_callback~execute to prevent BP save and it works fine.
Case 2. :-
Component :-    ICCMP_BP_DETAIL
View          :-    ICCMP_BP_DETAIL/BuPaMoreCustomer
for this view I have added this interface if_crm_ic_prepare_for_callback in IMPL class and implemented its execute method. Now, when I click on end button this method is not getting triggered and BP is getting save.
Please help me how to prevent BP save in second case.
Thanks.

Hello Nishit.
You have to subscribe to EndRequest in DO_INIT_CONTEXT with the following code:
  DATA lr_cb_registry     TYPE REF TO if_crm_ic_callback_registry.
* Register for callbacks during END processing
  lr_cb_registry = cl_crm_ic_interaction_manager=>get_cb_registry_end_request( ).
  lr_cb_registry->register( me ).
Check the same method (DO_INIT_CONTEXT) in ICCMP_BP_DETAIL/BuPaDetail

Similar Messages

  • END button disappears in interaction centre while creating transaction and moving back.

    Hi All,
    In interaction centre when I create a transaction and move back, END button disappears. This problem does not occur every time I go back. It is intermittent.
    Can anyone give your thoughts on what might be causing this issue?
    Thanks and Regards,
    Pallavi

    Hi,
    Can you check the view
    CRMCMP_IC_FRAME/HiddenView component CRMCMP_IC_FRAME  to check END button functionality.In this view put the break point in event
    EH_ONFORWARDCALL and check it.
    Need to check about back button try to use this standard class : CL_BSP_WD_HIST_MANAGER_BASE , method ON_HISTORY_TRIGGER.
    Regards,
    Sumeet

  • Automatic navigation after "END" button depending on in- or outbound call

    Hi all.
    the requirement is:
    In the case of inbound calls - the agent starts working on an item of the inbox and clicks on "END" when finished - the navigation should automatically bring him back to the inbox.
    But if he starts with the account identification (outbound calls) then he should automatically jump back to account identification screen when clicking on "END".
    I already got the Intent driven interaction working according to these steps. But now the navigation brings me ALWAYS back to the inbox.
    1) Define a rule policy in the Rule Profile for context "Intent driven interaction":
    If
    Current Event Equals InteractionEnded-Interaction ended
    Then
    Navigate To ( Navigation Object type:Action = IC WebClient - Inbox:Display ) 
    2) Release the rule using the "more" button and clicking on "relase draft rule" (the icon changes from yellow to green)
    3) On the top level of my new policy I assigned my business role and the event that is being used (InteractionEnded).
    4) I check business role customizing: function profile "INTENT_DRIVEN_INTERACTIONS" is assigned to "DEFAULT". Note: The intent driven profile "DEFAULT" is assigned to the service mgr. profile "IDI_DEFAULT".
    Doing these changes my system now always jumps to the inbox when I click on the "END" button.
    The problem seems to be that I am not able to figure out how to use the currentInboxItem as part of my rule policy.
    I added a line in my rule for the currentInboxItem checking if the currentInboxItem is not-equal to "blank". This seems not to work. I guess I must rather check if currentinboxitem is "bound" or against a field of the item. But I don't see how to do this.
    Has s.b. any idea how to get this work? Or on other ways how to get this work?
    Does s.b. know how to debug when a rule is checked by the system?
    Thanks & Regards,
    Thorsten

    Hi Paul,
    I defined the execute method in the following way.
    You can see below that lo_activity is defined in the following way:
    lo_activity      TYPE REF TO if_bol_bo_property_access,
    CURRENTINBOXITEM' is a standard object of the global data container which gets filled when an inbox item gets selected.
    'ZCURRENTINBOXITM' is the repository object of the context ICRule and I fill the parameter for the process type.
    Hope this helps.
    Regards,  Thorsten
    METHOD if_crm_smf_service~execute.
    fill attributes for currentinboxitem
    see implementation example in class CL_CRM_IC_F_G_TRANS
    DECLARATION -
      DATA :
      lv_string        TYPE        string,
      lo_bdc           TYPE REF TO if_crm_ui_data_context,
      lo_activity      TYPE REF TO if_bol_bo_property_access,
      lo_fb            TYPE REF TO cl_crm_smf_fact_base,
      lv_entity        TYPE REF TO cl_crm_bol_entity,
      lv_rel           TYPE REF TO cl_crm_bol_entity,
      lv_factbase      TYPE        string.
      FIELD-SYMBOLS :
      <lv_date>  TYPE sydatum,
      <lv_time>  TYPE sytime.
    CODE -
      TRY.
          CALL METHOD super->if_crm_smf_service~execute
            EXPORTING
              session            = session
              service_properties = service_properties.
        CATCH cx_root.
      ENDTRY.
      lo_bdc = cl_crm_ui_data_context_srv=>get_instance( ).
    get entity activities
      lo_activity ?= lo_bdc->get_entity( 'CURRENTINBOXITEM' ). 
    prepare the nodes
      lo_fb = session->get_factbase( ).
      IF lo_activity IS BOUND.
        TRY.
          get only one order objects
            lv_string =  lo_activity->get_property_as_string( iv_attr_name = 'CRM_GUID' ).
            lv_entity ?= lo_activity.
            lv_rel     = lv_entity->get_related_entity('BTOrderHeader').
          CATCH cx_root.
        ENDTRY.
        IF lv_rel IS BOUND.
          TRY.
              CLEAR lv_string.
            curr.inboxitem filled
              lv_string  = 'X'.
              CALL METHOD me->set_fb_attr_by_id
                EXPORTING
                  id    = 'ZCURRENTINBOXITM'
                  value = lv_string.
            process_type
              CLEAR lv_string.
              lv_string = lv_rel->get_property_as_string( iv_attr_name = 'PROCESS_TYPE' ).
            create a child node and add the value
             lo_node1->set_attribute( attrib_name  = 'BT_PROCESS_TYPE'
                                      attrib_value = lv_string ).
              CALL METHOD me->set_fb_attr_by_id
                EXPORTING
                  id    = 'ZCII_PROC_TYPE'
                  value = lv_string.
            CATCH cx_root.
          ENDTRY.
        ELSE.
          CLEAR lv_string.
            not filled
          lv_string  = space.
          CALL METHOD me->set_fb_attr_by_id
            EXPORTING
              id    = 'ZCURRENTINBOXITM'
              value = lv_string.
        ENDIF.
      get next BTOrderHeader
       lo_activity = bdc->activities->if_bol_bo_col~get_next( ).
      ENDIF.
      lv_factbase = lo_fb->get_factbase_as_string( ).
    ENDMETHOD.

  • [SOLVED]no pos1 and end button functionalities in ZSH-shell

    Hi guys,
    I am wondering how I can configure zsh so that it can support position1 and end button functionalities. What I want is, for example:
    when I type something, or navigate through my folder structures and recognize that there is a typo at the beginning or in the middle, I want to be able to jump to the first character or to the last character once I, for instance, corrected the typo etc...?
    Is this possible?
    Last edited by Archie_Enthusiasm (2010-12-12 14:59:32)

    I have the following in my .zshrc
    # bindkey
    bindkey -e
    bindkey "\e[3~" delete-char
    # Home- und End-Keys.
    bindkey '\e[1~' beginning-of-line
    bindkey '\e[4~' end-of-line
    what are `\e[1~` and `le[4~`? My .zshrc configuration was working pretty fine on my previous linux systems (ubuntu, opensuse, fedora etc..)
    Why should they be coded differently? Can someone please explain this specific syntax?
    Very interestingly - my laptop keyboard has an extra numlock => There is a fn button (for changing the function of a button) => therefore I have
    - Pos 1 on 7 within the numlock
    - End on 1 within the numlock
    But when I turn off the numlock, I can jump to the beginning and end of the line by using 1 and 7 consequently. But I have two more extra buttons only for this pos1 and end purposes. I want to activate those buttons. And I do not know which code they have
    Thanks
    Last edited by Archie_Enthusiasm (2010-12-12 14:44:46)

  • How can I use the "home" and "end" buttons

    I have an external apple keyboard (full style, with number pad and all) plugged into my macbook.  However, the "home" and "end" buttons don't function the way I'd like (i.e. they don't go to the beginning or end of a line).
    Can I ever get this to work or does it just not function with a laptop that doesn't have that function in the first place.  I'd like to not have to use multiple keystrokes just to get a similar home/end result.
    Thanks!

    "on your hub dont use the phone it will cost you more.when i change over to bt they never told me that i would be charged for useing this phone so i dont now.crafty bt again.when my contract is up i will be leaveing bt for ever,georgesaa."
    Not sure why you are charged for calls on this, as standard you would get free evening and weekends and there are packages for unlimited anytime.
    (If I have helped you in any way to say "Thank You" please click on the star next to the message. Thank You)
    If I have solved your Issue please click the "Mark as accepted solution" button.

  • SAP CRM WebUI : End Button Interaction center (and account CONFIRM)

    Hi to everybody,
    is there a function , or bapi , that performs the same steps of "END" button on interaction center?
    I need to display data of the account selected and not the account confirmed.
    At last,is there also a function to confirm an account without using the standard button on "Account Identification" view?
    Or have i to degub the standard code directly?
    Thanks in advance.
    Regards.
    Dario.

    Hello, Dario.
    So there is a class CL_CRM_IC_AUTO_NAV2. It's preloaded when the agent logins to CRM. In a view CRMV_IC_APP_COMP you can maintain which classes are preloaded. This class is for AUTONAVIGATION component.
    Take a look at it. It subscribes for some IC events in IF_CRM_IC_COMPONENT~INITIALIZE. For instance, for interaction_ended event. And it handles this event in method HANDLE_INTERACTION_ENDED. There is a code which makes default navigation:
    if me->end_descr_object is initial.
       TRY.
          iv_nav_srv->navigate_to_default( ).
         CATCH cx_root.
       ENDTRY.
    endif.
    You may try to copy this class to your own, then comment this block in your class and subsitute standard class with your own in CRM_IC_APP_COMP.
    Hope this will help.

  • Portege R111 - Where is 'END' button on keyboard

    Hello,
    I have a notebook Portege R111, model no. PPR11N-01KOK2.
    In bios I've changed. The changes are applied to the 'End' button. With no ESC changes.
    This 'End' button I do not find on the keyboard.
    Can anyone tell me where the key is located on the keyboard?
    Thanks in advance,
    Dag

    Im really wondering you cannot find it. It must be visible on the keyboard. Long time ago I saw Japanese keyboard layout but there was also small English layout placed on every single key.
    It is also interesting that on some notebooks END key is placed together with some other key function and can be used as key combination but usually END key in such case primary option.

  • What's the function of "Team Role" in Team configuration

    Hi All,
    What's the function of "Team Role" in Team configuration.
    For example, go to Account Detail page, click "Add Users" button in Account Team section, there's a dropdown list named "Team Role".
    In help document, it says:
    To explain the role the linked record plays in relation to the main record, select an option from the Team Role drop-down list.
    But I don’t understand, can anyone explain this for me?
    Thanks in advance!

    Hello Bruce,
    Team Roles are the access you define to a user you associate to a record. Lets say there are 3 user's A,B and C. If you want to associate All threeto an Account but each should have different access to that account. like A can have Edit, B Edit and delete and C only read only access. so for each user your associating you can control the access exclusively
    ---Shyam (CRMIT)

  • THe home and end buttons

    Just purchased a new iMac G5. For the longest time I was working on a keyboard
    that had "HOME" and "END" buttons. Very useful for the timeline. Can anyone give me the answer to the keyboard shortcut for those operations on the more condensed keyboards. This answer, for some reason, has been very difficult to find in a google search.
    Thanks,
    D

    Hi,
    The home and end keys are the directional arrows on the right bottom of the keyboard and you use the function button (fn) with them. In other words fn home or fn End.
    DM

  • What makes the Print Screen and End Buttons stop working?

    I am 3 weeks into the trial period. Twice before, the Print Screen (manual capture) and End buttons stopped working. The only way I found to correct this is to uninstall and reinstall the application. Am I doing something wrong, or is this a bug?

    More information on this issue: When I start recording in any mode, one screen is captured. No other screens are captured during execution on program functions, menu selection, navigation, etc. Once again I removed and re-installed the application. This time it made no difference.

  • 8530 curve back symbol and end button

    when i am on the dialer or a text and i hit the back arrow next to the track pad or the end but it places a B if i hit the back arrow or a P if i hit the end button.

    Uh oh...that's a shame...hopefully the seller is reputable...
    The next suspicion is moisture intrusion, for which this applies:
    REMOVE YOUR BB BATTERY NOW!!!
    Run, don't walk, to this FAQ:
    http://www.blackberryfaq.com/index.php/Got_Your_BlackBerry_Wet%3F
    Do everything it says, including waiting the maximum recommended time. Applying power to your BB between it getting wet and doing this process reduces the chances of success. Further, the only thing predictable about moisture intrusion into a BB (indeed, any electronic device) is that the results will be unpredictable. I've seen some come back up right away and be fine. I've seen others never work at all. I've seen still others run for a bit, and then die later. And every thing in between.
    On the other hand, you may want to see if the seller will remedy the situation...if they represented the BB as fully functional, then they misrepresented it, which would incline me to not trust them for anything. And, if they did not do all necessary steps before selling it, then you may never be able to get this device to work properly on any carrier...see this:
    KB05099 Steps to take before selling or after buying a previously owned BlackBerry smartphone
    If the seller did not conduct their steps (most importantly getting the BB PIN released from any BIS or BES systems with which it may have been associated), then it is possible that no carrier will be able to properly register it on their system for your use. Further, if perhaps the device was reported as lost or stolen, then that as well will preclude your ever being actually able to use it.
    I know I may sound overly cautious, but used BBs have a huge Black Market, and way too many people have been stuck with non-functional devices due to unscrupulous sellers.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Cancel button functionality does not work--- while searching for G/l Acc

    HI SAP SRM Gurus,
    This is regarding an issue faced by the end user.
    For information my client is on WAS 6.4 Patch Level 155, SRM 4.0, EBP 5.0, SRM Server 5.0.
    In account assignment details..while searching for G/l account for the Account Assignment used at the time of creation of the shopping cart, if no G/l account is found, the ‘Cancel’ button functionality provided, does not work, however when
    G/l account(s) is/are found, then the ‘Cancel’ button functionality
    works properly.
    Kindly assist.
    Awaiting your reply in this regard.
    Thanks in advance
    Ankur

    Hi,
    Sound like a bug.
    Did you open an OSS ticket ?
    Kind regards,
    Yann

  • Re: [iPlanet-JATO] Back Button functionality

    Hi Mike,
    Our test environment does not include proxy server.
    regards,
    syam.
    Please respond to [email protected]
    cc:
    Subject: Re: [iPlanet-JATO] Back Button functionality
    Guys,
    Please clarify something for me, the JATO code is commented as follows
    protected void addResponseHeaders(RequestContext requestContext)
    // These values should make any proxy between the client and
    // server avoid caching, and ensure that pages from one user
    // can never be seen by another user (if they're cached anyway)
    requestContext.getResponse().addHeader("Pragma","no-cache");
    requestContext.getResponse().addHeader
    ("Cache-Control","private");Yet you make no mention of whether your test environment includes a Proxy
    Server, or does your browser
    go directly to the Application Server's web server?
    Can you clarify, please?
    ----- Original Message -----
    From: <syam_reddy@p...>
    Sent: Wednesday, April 25, 2001 2:59 PM
    Subject: [iPlanet-JATO] Back Button functionality
    >
    Hi,
    We observed the following difference in behaviour between JATO pages
    and NetD served pages.
    We have the following scenario. User will login to the
    site. After login he will get a frame set. This frame set has threeframes.
    Top and bottom frames are used for navigation (to switch between various
    sections on the site.) .The middle frame(main frame) shows the actual
    content. When the the frame set gets loaded main frame shows page1. User
    will click on a link on page1. Page 2 will be loaded in main frame. Atthis
    point if the user clicks on back button , with migrated application(JATO
    pages) the following message appears in the main frame.
    In Netscape Communicator 4.61 the following message appears in the main
    frame :
    Data Missing
    This document resulted from a POST operation and has expired fromcache.If
    you wish you can repost the form data to recreate the document by
    presenting the reload button.
    In IE 4.72/5.5 the following message appears in the main frame:
    Warning : Page has Expired
    The page you requested was created using information you submitted in a
    form.This page is no longer available.As a security precaution, Internet
    Explorer does not automatically resubmit your information for you. To
    resubmit your information and view the web page click teh refresh button.
    However, in the NetD site page1 will appear in main frame.
    How do we mimic the NetD behaviour with the migrated
    applications ?
    We think the above behaviour with migrated Apps, is due to the
    headers that are get set in Application ServletBase , see the following
    code snippet :
    protected void addResponseHeaders(RequestContext requestContext)
    // These values should make any proxy between the client and
    // server avoid caching, and ensure that pages from one user
    // can never be seen by another user (if they're cached anyway)
    requestContext.getResponse().addHeader("Pragma","no-cache");
    requestContext.getResponse().addHeader
    ("Cache-Control","private");
    If we comment the above code , we were able to mimic theNetD
    behaviour. Are there any alternatives/thoughts on how to mimic the NetD
    behaviour ?
    Thanks in Advance,
    syam&ravi.
    [email protected]
    [email protected]

    OK, here's what I'm trying to do: We have, like you said, a menu
    page. The pages that it goes to and the number of links are all
    variable and read from the database. In NetD we were able to create
    URLs in the form
    pgXYZ?SPIDERSESSION=abcd
    so this is what I'm trying to replicate here. So the URL that works
    is
    pgContactUs?GXHC_GX_jst=fc7b7e61662d6164&GXHC_gx_session_id_=cc9c6dfa5
    601afa7
    which I interpreted to be the equivalent of the old Netd way. Our
    javascript also loads other frames of the page in the same manner.
    And I believe the URL-rewritten frame sources of a frameset look like
    this too.
    This all worked except for the timeout problem. In theory we could
    rewrite all URLs to go to a handler, but that would be...
    inconvenient.

  • Button functionality

    Hello,
    I have an input form and defined two buttons like mentioned in this thread:
    Regarding Buttons Functionality in INPUT FORM
    I can call two different function modules.
    In my case I mant to call the same function module but with different parameters.
    I have a function module which delivers me sales orders. I want now a button with the text 'All sales orders' and a second button with 'Open sales orders'. The result is always a list of sales orders, and so I want the output in a <b>single</b> table view instead of two.
    How can I achive this?
    I use VC 6.0 Patch 6
    Regards Michael

    Hello Michael,
    I had exactly the same problem. My solution is:
    2 fields on the input-form
      ALL_ORDERS and OPEN_ORDERS.
    1. I defined for the Field ALL_ORDERS Initalization
      FILL ('X',1)
      and Formating: IF(UPPER(@OPEN_ORDERS)=='X',' ','X').
    2. OPEN_ORDERS  Formating  UPPER(@OPEN_ORDERS).
    So it works like Radio-buttons.
    Regards
    Gerd

  • Override "Email a Page link" in ribbon button functionality in SharePoint 2013

    Hi,
    I want to override "Email a Page link" ribbon button functionality on the ribbon control.
      <CustomAction Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Location="CommandUI.Ribbon"                
                    Title="Custom Email this page">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.WikiPageTab.Share.EmailPageLink">
              <Group
              Id="Ribbon.WikiPageTab.Share"
              Sequence="30"
              Command="ShareGroup"
              Description=""
              Title="$Resources:core,cui_GrpShare;"
              Image32by32Popup="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32PopupTop="-137" Image32by32PopupLeft="-103"
              Template="Ribbon.Templates.Flexible2"
              >
                <Controls Id="Ribbon.WikiPageTab.Share.Controls">
                  <Button
                    Id="Ribbon.WikiPageTab.Share.EmailPageLink"
                    Sequence="10"
                    Command="CustomEmailPageUrl"
                    Image16by16="/_layouts/15/$Resources:core,Language;/images/formatmap16x16.png?rev=23" Image16by16Top="-115" Image16by16Left="-19"
                    Image32by32="/_layouts/15/$Resources:core,Language;/images/formatmap32x32.png?rev=23" Image32by32Top="-137" Image32by32Left="-511"
                    LabelText="$Resources:core,cui_ButEmailLink;"
                    ToolTipTitle="$Resources:core,cui_ButEmailLink;"
                    ToolTipDescription="$Resources:core,cui_STT_ButEmailLinkPage;"
                    TemplateAlias="o1"
                   />
                </Controls>
                  </Group>
            </CommandUIDefinition>
          </CommandUIDefinitions>
          <CommandUIHandlers>
            <CommandUIHandler Command="CustomEmailPageUrl" CommandAction="javascript:alert('Hello, world');" />
          </CommandUIHandlers>
        </CommandUIExtension>
      </CustomAction>
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    According to your post, my understanding is that you wanted to override the “E-mail a Link” button on the Ribbon.
    I had created a simple demo to override the “E-mail a Link” button on the Ribbon, you can have a look at it.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.OverrideEmailLinkButton" Location="CommandUI.Ribbon" RegistrationId="101" RegistrationType="List" Title="Display the UniqueId for the list item.">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Library.Share.EmailLibraryLink">
    <Button Id="Ribbon.Library.Share.EmailLibraryLink.ReplacementButton" Command="ReplacementButtonCommand" Image16by16="http://s10.postimage.org/lhar0oijp/U16.png" Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png" LabelText="Replaced Button" TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ReplacementButtonCommand" CommandAction="javascript:alert('This button has been replaced.');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference:http://msdn.microsoft.com/en-us/library/office/ff407619(v=office.14).aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

Maybe you are looking for