Disable "Add item" and "Paste" button on item level of shopping cart

Hi,
I would like to disable the "Add item" and "Paste" button on the item level when editing a shopping cart awaiting approval.  I have been able to accomplish this for the buttons "Delete", "Duplicate", and "Copy" already.  I have done this by adding an enhancement implementation in the class /SAPSRM/CL_PDO_DYN_MDA_IT_SC under the methods DELETE_ITEM (delete button), COPY_ITEM (duplicate button), and COPY_CLIP (copy button).  This enhancement gets the shopping cart header guid, then uses the function module "BBP_PD_SC_GETDETAIL" to return the table e_status to check if the shopping cart is awaiting approval.  If it is it will disable the buttons, making them equal to abap_false.
I would like to do this same thing to the "Add item" and "Paste" buttons but they are not listed in the the same class.  Does anyone know what class they are called in?
I have tried looking in SPRO -> SAP Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Control Actions -> Display Standard Metadata Tables for Actions on Item Level.  I can't find the "Add item" and "Paste" buttons in here for BUS2121(shopping cart) under Edit mode.  Anyone have any ideas?
Thanks,

Jay,
I did as you suggested and was able to break on the method as expected.  I made the same coding changes as I had in the other methods where I put in an enhancement but it would not work.
I was able to solve this problem by creating an enhancement in the Web Dynpro where the buttons were being displayed.  I created a 'Post-Exit' enhancement for the WDDOMODIFYVIEW method.  Within this I added my custom logic to disable the Add Item and Paste buttons when in editing a shopping cart that is awaiting approval.
Thanks for the help,
Jeff

Similar Messages

  • Can not add item to the shopping Cart with FireFox 8.0

    I can not add items to the shopping cart with Firefox 8.0. Switch to IE everything works then.

    Such details are stored in a cookie, so make sure that you do not block cookies on that site.
    *Tools > Page Info > Permissions
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page via the location bar.
    *http://kb.mozillazine.org/Cookies
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • Using AddItem from A repeater Component item to Add Items to a 'Shopping Cart'

    In my app I previously used a product choice tilelist to display all my products and then as each product is clicked a product details screen popped up showing all of that product's details but my client decided he wants all of the items to be displayed at once so I had to simply use a repeater component around the original product details screen so that it repeats the screen for every product one below the other and I've scrapped the product choice tilelist.
    Previously I used to be able to add item's to a cart/array collection dataprovider by clicking the add item to cart button within the product details screen using the additem method but this needs to be done by assigning text properties to variables as far as I know because you can't put text values into a array collection but it doesn't seem possible to do this from within a repeater item.
    In each of my repeater items I have the values productPrice, productImage, productAddon1 and productAddon2 which are all text components which obviously all vary depending on the repeater item. What I need is when I click on the add item to cart buttons inside each item in the repeater for these details (text component text properties) of that particular item to be added to an array collection. How can I go about doing this?
    Basically the objective is to get dynamic text values from within items of a repeater component into an array collection. Is this possible?

    If any of you guys were to go about doing this how would you do it?
    Basically I have a repeater component display a list of items each of which contains a product. I want it so that when the add to cart button is clicked within the each item it can be added to an array collection but it doesn't seem possible.
    Can anyone help me out or give me a hint on this?

  • Disable the copy and paste

    Hi,
    can any one tell how to disable the copy and paste functionality of the text items in the forms 11g.
    Advance Thanks.

    Change the item type from TEXT to DISPLAY. If you want the user to be able to type in the field, it will be difficult to prevent copy/paste. It might be possible with a PJC.

  • Add Item Link on Shop Transaction

    Hi! Is it possible to remove some of the links such as Service Request when we Add Item using the Shop using Full Functionality transaction?
    Regards
    SF

    You can use the BADI BBP_SC_MODIFY_UI.
    For removing or adding items, use the following structure.
    Changing Structure -  IS_SCR_ITMCHOICE
    Filed                           Corresponding Menu Item
    SPECIAL_REQUEST             With Free Description
    PRODUCT                            Internal Goods/Services
    LIMIT                           Limit Item
    OLD_PO_AND_TEMP       Old Shopping Carts and Templates
    TEMP_LAB                        As Service Order
    TEMP_LAB_REQUEST         As Service Request
    CATALOGS                        Corporate Express, SRM MDM Catalog

  • Disable the Copy and Paste option in keyboard [Textbox control] Windows phone App

    In Windows phone 8.1 WRT app, I want to disable the copy and paste option in the keyboard for the textbox control
    Please let me know if any possibilities and if you have the code snippets Please share it .

    Hi Ruthradevi,
    As I know we have no way to disable the copy and paste option in the keyboard.
    Why do you want to disable it, can you explain more about your scenario?  Let's see if we can make a similar function like you required.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • In iphoto 11 the copy and past buttons to the adjustment tab are gone

    In iphoto 11 the copy and past buttons to the adjustment tab are gone. I thought this was a cool feature. They still work when you click alt-c or alt-v. Did anyone notice this?

    I've noticed too and I don't like it! I tried to alt-c like you said and when I do that, it just takes me to the crop. It won't allow me to copy the adjustments! Is there any way around this??

  • Just updated to 8 & now I can't open any web pages & firefox is still running in the background after browser was closed. I uninstalled and reinstalled as well as disabled add-ons and plugins nothing has changed, can I downgrade back to on older version?

    Just updated to 8 & now I can not open any web pages as well as firefox will not close out, it still running in the background after browser was closed. I uninstalled and reinstalled as well as disabled add-ons and plugins nothing has changed, can I downgrade back to on older version?

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • Will not load bookmarks, ive tryed to restore and even try to add some or disable add ons and it freezes wont load grr help ive tryed to uninstall reset etc grr

    for some odd resaon all my bookmarks arnt showing at all or wont even add any its all shaded all my bookmarks are gone for some odd reason tryed to reset everything tryed uninstalling firefox then reinstalling with no luck, tryed to under help disable add ons and i get a thing stating cant open firefox cause its already open restart the computer and i have and its getitng old and im getting no were at all,, used to work fine for months and still does on my desktop but not on my laptop now chromien still works fine bookemarks and all but firefox doesnt at all no bookmarks and if i close it and try to re-open it it has a pop up saying its still open but isnt and got to resart the computer getting old folks thanks for the help fixing it soon

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Disabling of FORWARD and BACK Button of Internet Explorer.......

    Hello everybody,
    Can anyone tell me how to disable the FORWARD and BACK Button of Internet Explorer through JavaScript.......If possible give me the code snippet.....

    Hi
    I I tell you the answer, I suppose it means you'll be able to spend less time on JavaScript and more time on Java, so here goes:
    Open your page in a new window using window.open(...). This JavaScript takes lots of parameters, such as the page you want to display in the window, as well as settings for hiding the toolbar (which includes the forward/back buttons).
    Do a search on the net for window.open for full syntax. I think you can modify the properties of the current window if you want to stay in the same window, but can't remember the syntax.
    Note you can also disable the right mouse button by defining the following function:
    <SCRIPT language="JavaScript">
    <!--
    var message="Right-click disabled!";
    function click(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    alert(message);
    return false;
    if (document.layers) {
    if (e.which == 3) {
    alert(message);
    return false;
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown=click;
    // -->
    </SCRIPT>
    I don't know how to stop the user from pressing 'Backspace' unless you use Java to monitor the navigation.
    Hope this helps

  • How can I disable back, forward and refresh button in browser running ADF 11.1.2.2

    How can I disable back, forward and refresh button in browser running ADF 11.1.2.2?

    I insert the java script into ADF page. But it does not work. The ADF source look like below. Did I insert into wrong region?
       <f:view>
            <af:document id="d1">
                <af:messages id="m1"/>
                <af:resource type="javascript">
                  window.history.forward();
                  function noBack() {
                      window.history.forward();
                </af:resource>
                <af:form id="f1">
                    <af:pageTemplate viewId="/template/temp2.jspx" id="pt1">
                        <f:facet name="body">
                            <af:panelStretchLayout id="psl1" topHeight="30px">
                                <f:facet name="bottom"/>
                                <f:facet name="center">
                                    <af:panelBox text="Incident List" id="pb1">
                                        <f:facet name="toolbar"/>
                                        <af:panelCollection id="pc1">
                                            <f:facet name="menus"/>
                                            <f:facet name="toolbar"/>
                                            <f:facet name="statusbar"/>
                                            <af:table value="#{bindings.ServiceRequestMain.collectionModel}" var="row"
                                                      rows="#{bindings.ServiceRequestMain.rangeSize}"

  • How to disable the maximize and minimize button of JDialog

    How to disable the maximize and minimize button of JDialog. I have an application which has JDialog box, but in that i should not have maximize and minimize button.If any one come across this problem and got a solution please helpout me.

    Btw, isn't it a little strange to ask thisquestion...
    Actually, I thought it was meant to be sardonic...
    Dialogs don't have those buttons, so the question
    n should be to the OP how did he/she get them in the
    first place? Cuz they aren't using JDialog to do it,
    unless it's something to do with a specific look &
    feel.I somehow missed that, good point :-)

  • How to select Vendor information as per the line item of the shopping cart

    SRM ABAPers,
    I want to create a custom report and needs to produce SC's item details with vendor's information.
    So I want to select the vendor information(including the partner function- 00000019 or 00000039) as per the line item of the shopping cart, which SRM table can give me this information?
    Thank you!
    MP

    Hi,
    To get the SC item details,you an use the FM 'BBP_PD_SC_GETDETAIL".
    Also to get the vendor details,you can use the FM "BBP_PARTNER_GET_PURCH_DATA_NEW".
    BR,
    Disha.
    Pls reward points for useful answers.

  • Can I add "copy" and "paste" icons to mail toolbar?

    The group of customize icons does not include cut, copy, or paste to add to the mail toolbar. Is there a way to add them?

    I guess that these were considered such fundamental operations, each with an already existing variety of operations (mouse, keyboard, right-click, ctrl+c etc) that the Thunderbird devs didn't choose to replicate them again. Similarly, keyboard selection is relied upon a great deal in Thunderbird, rather than adding all the ugly (IMHO) checkboxes that now counterintuitively litter all Windows Explorer displays.
    So, if the devs expected you to use ctrl+right+shift to select the current text word by word, then ctrl+c to copy it, ctrl+x to cut it and ctrl+v to paste it would be quite natural, since your hands are already at the keyboard. Similarly, if you prefer to select by mouse, a right-click also offers options to copy, cut and paste, and there is also the possibility to drag selected text, serving cut and paste in one action. So it could be argued that there is no need for buttons.
    There used to be additional button add-ons for Thunderbird, but those that I know about don't appear to be under active maintenance and don't currently work with TB 31.0.
    You could build your own using a Custom Buttons add-on, but it isn't easy to find the appropriate function call to attach to your home-made buttons. :-(
    https://addons.mozilla.org/en-US/thunderbird/addon/custom-buttons/
    Here's the code you need if you try this add-on:
    cut: goDoCommand("cmd_cut")
    copy: goDoCommand("cmd_copy")
    paste: goDoCommand("cmd_paste")
    (taken from: http://kb.mozillazine.org/Keyconfig_extension:_Thunderbird )
    The tedious bit is finding suitable icons; the defaults are pretty but unhelpful coloured stars.

Maybe you are looking for

  • How to upload the data to 'abzu' transaction using bapi

    Hi Experts , I need to upload the data to the (asset write up ) transaction 'abzu' and please help me inthis regard i found some bapi's like below BAPI_FIXEDASSET_CHANGE Changes an Asset BAPI_FIXEDASSET_CREATE Creates an Asset BAPI_FIXEDASSET_CREATE1

  • Switched from ATT Bold to Verizon Tour

    Does anyone know how many speakers does Tour have? Of course the rep @ verizon was happy to get me, he immediately told me that Tour is upgrade from Bold. So far I do not think so. Bold had Wi-fi, Tour doesn't Bold's speakers were so much louder, I a

  • Oracle 8i problem with installation

    i am installing Oracle 8i , with the developper cd i get this error "c:\ora95 developper is an OCSM client installation..." and then it just exit the installation process. It downloaded about 25% of what it had to ... Does anyone knows the answer to

  • Cl_bds_document_set= create_with_table docx and xlsx

    Hello, I use cl_bds_document_set=>create_with_table to put files from a server in the database but I can't add files of office 2007, other files a doc, jpg, pdf are no problem. The problem is that there is no mime type in table toadd of docx. What ca

  • Can your contacts be hacked and sent as email spam

    I have received confirmation of spam email sent from my contact list on my pc, my mail address is hosted by AOL is there any software to check if i have in spambots hidden in my system or is it within AOL servers.