Disable the 'CHANGE' button in CRMD_ORDER

Hi Experts,
I have a requirement, where I need to disable the change button in CRMD_ORDER transaction for only few orders...
am not sure about the disabling the change button, so I tried to disable the fields for input.
I tried to use the function module 'CRM_INTLAY_SET_PROCESS_TYPE' and also other BADIs like CRM_ORDER_AUTH_CHECK, CRM_BTX_EXTENSIONS...but not able to disable the fields completely.
The Conditions tab at the item level is still in change mode...
Appreciate your help on this..
Thanks
Padma.

Hi Padma,
If you plan to use your idea with CRM_ORDER_AUTH_CHECK, you must also set the CRM_PRIDOC_COMM_BADI for the item condition tab. Set the CS_COMADM_I_COM-KAEND_TYP as 'X' in this BAdI.
And implement note1148666 too, if your version is fit.
Regards,
Masayuki

Similar Messages

  • Disable the 'Approve' button on the TRIP Tcode

    Hi ,
          I need to Disable  the 'Approve' button on the TRIP Tcode ( Travel management)  security setting.  User does not want TRIP tocde to be able to approve their own trip expenses. The approval button should be enabled in PR05 but not in TRIP.
    So can someone suggest me, Can we achieve this through object restriction? Or else Do we need to change the codeing with the help of ABAPer .
    Thanks & Regards
    Umashankar
    SAP Security

    Eliminate the Option from the TCode screen by using Transaction Variant and then create a Variant Transaction for that. Assign this new custom TCode to the Users.
    To know more on this process, please check the following thread just discussed:
    Variant using SHD0
    Regards,
    Dipanjan
    Edited by: Dipanjan Sanpui on Jul 7, 2009 6:59 PM

  • SQ01 - Disable create/change button

    We are currently on Basis release 4.6 C, I am trying to disable Create/Change button in SQ01 transaction, following one of the SCN posts I Unmaintained S_QUERY Authorization object. This solution worked as expected in one of the sandboxes we have, however it failed to suppress create/change button in our development system. I was wondering if there is any additional step that I would need to take in the dev box to make this change effective?

    transaction variant / screen variant might help you.
    On the other hand it is nut fully clear for me, what difference does it make, if you remove the Change from one transaction, but remains in the other. If the objective is disallow the change for some users, than it has to be done through proper authorizations (i. e. only display auth for those users)

  • HELP: disabling  the corresponding buttons

    I'm on the last step of this program. Basically what i'm having trouble with is as follows:
    �     When the circle gets all the way to an edge, disable the corresponding button. When it moves back in, enable the button again.
    I have put in BOLD where my errors occur. It seems to be simple placement of { } brackets but everytime I place one somewhere code is interrupted in another location.
    //   CirclePanel.java
    //   A panel with a circle drawn in the center and buttons on the
    //   bottom that move the circle.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class CirclePanel extends JPanel
        private final int CIRCLE_SIZE = 50;
        private int x,y;
        private Color c, r, o, bl, b;
        CirclePanel circlePanel;
        // Set up circle and buttons to move it.
        public CirclePanel(int width, int height)
        circlePanel = this;
         // Set coordinates so circle starts in middle
         x = (width/2)-(CIRCLE_SIZE/2);
         y = (height/2)-(CIRCLE_SIZE/2);
         c = Color.green;
         r = Color.red;
         o = Color.orange;
         bl = Color.black;
         b = Color.blue;
         // Need a border layout to get the buttons on the bottom
         this.setLayout(new BorderLayout());
         // Create buttons to move the circle
         JButton left = new JButton("Left");
         left.setMnemonic ('L');
         left.setToolTipText ("Moves the circle in the left direction 20 pixels");
         JButton right = new JButton("Right");
         right.setMnemonic ('R');
         right.setToolTipText ("Moves the circle in the right direction 20 pixels");
         JButton up = new JButton("Up");
         up.setMnemonic ('U');
         up.setToolTipText ("Moves the circle upward 20 pixels");
         JButton down = new JButton("Down");
         down.setMnemonic ('D');
         down.setToolTipText ("Moves the circle in the downward direction 20 pixels");
         // Add listeners to the buttons
         left.addActionListener(new MoveListener(-20,0));
         right.addActionListener(new MoveListener(20,0));
         up.addActionListener(new MoveListener(0,-20));
         down.addActionListener(new MoveListener(0,20));
         // Need a panel to put the buttons on or they'll be on
         // top of each other.
         JPanel buttonPanel = new JPanel();
         buttonPanel.add(left);
         buttonPanel.add(right);
         buttonPanel.add(up);
         buttonPanel.add(down);
         //Creates a button for each new color
         JButton red = new JButton("Red");
         JButton orange = new JButton("Orange");
         JButton black = new JButton("Black");
         JButton blue = new JButton("Blue");
         // Add listeners to the color buttons
         red.addActionListener(new ColorListener(r));
         orange.addActionListener(new ColorListener(o));
         black.addActionListener(new ColorListener(bl));
         blue.addActionListener(new ColorListener(b));
         //Adds the color buttons to the panel
         JPanel colorPanel = new JPanel();
         colorPanel.add(red);
         colorPanel.add(orange);
         colorPanel.add(black);
         colorPanel.add(blue);
         // Add the button panel to the bottom of the main panel
         this.add(buttonPanel, "South");
         this.add(colorPanel, "North");
        // Draw circle on CirclePanel
        public void paintComponent(Graphics page)
         super.paintComponent(page);
         page.setColor(c);
         page.fillOval(x,y,CIRCLE_SIZE,CIRCLE_SIZE);
        *// Class to listen for button clicks that move circle.*
        *private class MoveListener implements ActionListener*
        *private int dx;*
        *private int dy;*   <--- Syntax Error { Expected
       *     if (x > -60 )*
       *          left.setEnabled(true);*
    *      if (x < -60)*
    *          left.setEnabled(false);*  <--- Syntax Error } Expected
         // Parameters tell how to move circle at click.
         public MoveListener(int dx, int dy)
             this.dx = dx;
             this.dy = dy;
         // Change x and y coordinates and repaint.
         public void actionPerformed(ActionEvent e)
             x += dx;
             y += dy;
             repaint();
        // Listens for button clicks that change the circles color
        private class ColorListener implements ActionListener
             Color circleColor;
         // Constructor
         public ColorListener(Color buttonColor)
              circleColor = buttonColor;
         // Repaints the circle according to which button is pushed
         public void actionPerformed(ActionEvent e)
              c = circleColor;
             circlePanel.repaint();
    }

    I've just posted a reply in the programming forum (after you were redirected here)

  • How to disable the AET button on Web UI?

    Hi all,
    Does anyone know how to disable the AET button in the Web UI? Our customer doesnu2019t want the end users to change any configuration and the only thing left for this is hide/disable the AET functionality.
    Thank you very much in advance.
    Kind regards,
    Alvaro

    Alvaro,
    The AET should not be visible to end users, especially not in the production system.
    This should be done by authorisation.
    If you are referring to the personalization, you can disable this in the businessrole by selecting a value for the parameter PERSONALIZATION.
    If there are no values available, you can maintain them in sm30 --> PERSCV_PROFILE.
    Hope this helps.
    Regards,
    Pieter Rijlaarsdam

  • Hiding/Disabling  the 'Configuration' button in CAT2

    Hi all,
    I would like to hide/disable the 'Configuration' button available in the CAT2 screen for the end users. Is there any way out for the same?
    Regards,
    Vivek.

    OK.  Now I know what you are referring to.  These are actually table control settings and are not specific to CAT2.  You will see these on table controls all over the system.
    The setting to turn this on and off is actually in the screen painter.  If you find the screen number and go look at it, one of the attributes of the table control is whether it is configurable or not.  However to change this would be considered a modification to standard SAP.  Unless SAP has an OSS note that supports this.
    The user exit I gave you will not work in this case.  The onyl other option that I can think of is if there might be some type of authorization object that might control whether they can change the settings for all users but I don't have any experience with that.
    Best Regards,
    Chris H.

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • Is there a Way to lock apps or disable the home button?

    I often allow my 16 month old to play toddler games on my iPhone. He knows how to slide his finger to unlock the phone and he loves pressing and holding the home button to activate Siri so he can talk to her! LOL! I am worried that he will accidently delete or move an app to another screen by accident so is there a way to prevent that from happening. Also while he plays his games, he likes to press the home button which closes him out of his game. Is there a way to disable the home button so he can just stay within his toddler games?

    You can use Guide Access to restrict your child to using a single app. See:
    http://support.apple.com/kb/HT5509
    Regards.

  • How to disable the Tools Button in Bex Analyzer

    Hi Guys,
    How do I disable the Tools button only in Bex Analyzer so as to avoid the users messing with Query Designer.
    Thanks,
    Recca

    Recca,
    Can you do this via authoirsations instead?  ie. Allow two types of users, Designers who have access and Users who don't.
    User will be able to access the Query Desinger but have no access to create or save. That should suffice.
    If you start tweaking with the toolbar it may have wider negative implications.
    Regards
    Gill

  • How to disable the Save button For a pdf?

    Hi,
    I have a requirement that when you open the livecycle developed pdf, the Save option available in the toolbar (Save As icon) and File menu of the Reader should be disabled. A button will be provided in the form separately to provide the Save functionality. Can anybody help me reg. this? Is there any setting available for this in Adobe Pro or any other tool?
    Regards,
    Maria

    It's not really difficult to disable the save button. But it depends on the context from where you want to delete it. even if you disable the save button the user has the option to print screen and create a fresh pdf. So your question has some philosophical aspects to deal with. Please mail me at [email protected] incase of further quries. I've understood your problem and have got a solution but it's not somewhat legitimate to do. I can share it with you through email.

  • How to disable the cancel button in the ProgressMonitor

    hi,
    I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor?
    One more problem is,
    Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue....
    It is very urgently.....
    please help me out.
    Thanks in advance.
    Regards,
    Deepa Raghuraman

    I don't think that's a good solution, because Cancel button itself is not disabled, so user is tempted to click it and nothing happens.
    A better but dangerous solution is this:
    progressMonitor = new ProgressMonitor(ProgressMonitorDemo.this,
                                         "Running a Long Task",
                                         "", 0, 100);
    progressMonitor.setMillisToDecideToPopup(0);
    progressMonitor.setMillisToPopup(0);
    progressMonitor.setProgress(0);
    JDialog dialog = (JDialog)progressMonitor.getAccessibleContext().getAccessibleParent();
    JOptionPane pane = (JOptionPane)dialog.getContentPane().getComponent(0);
    pane.setOptions(new Object[]{});Refer to the same question here [http://stackoverflow.com/questions/512151/how-do-i-disable-the-cancel-button-when-using-javax-swing-progressmonitor] .

  • How to disable the cancel button in InputDialogBox?

    Can someone please tell me how to disable the cancel button in an input dialog box?
    thanks,

    Cross posted: [http://www.coderanch.com/t/487888/Swing-AWT-SWT-JFace/java/disable-cancel-button-input-dialog]

  • Disabling the Open button in the JFileChooser dialog

    Hi,
    I would like to enable/disable the Open button in the JFileChooser dialog, after the dialog is shown.
    I looked at the Java APIs but I could not find a method that gives me the access to this button.
    Could anyone let me know how to either retrieve the Open button from the JFileChooser or enable/disable it through Java APIs?
    Thanks in advance,
    Paul Rodziewicz

    As I'm editing with multiclips in my sequence, if I select "open" from the middle pulldown menu in the canvas or viewer, it will open the multiclip in the viewer and play it in sync with my timeline playhead (like the gang feature). I.E. so I can hit play in my timeline, watch the multiclip in the viewer real time, and make edits (to the clip in the timeline) as I watch. My issue is that the syncing of the viewer playhead and the timeline playhead often break when deleting clips and I constantly have to reselect the "open" button, and it would be way nicer if there was a shortcut key instead of having to mouse it. It only takes a second to use your mouse and select "open" but when you have to do it constantly, it makes you wish for a quick key.
    img src="http://a960.ac-images.myspacecdn.com/images01/47/l_b06e2e3aee5446928b2daca d1d04520f.jpg" align=left width=600 height=463 alt="pic1">pic1
    img src="http://a672.ac-images.myspacecdn.com/images01/60/l_979388c01dd9880126c0fbd 8f5ab49f7.jpg" align=left width=600 height=485 alt="pic2">pic2

  • Need to disable the submit button record wise

    Hello all,
    I have two blocks. Block A and Block B. Block B is a summary block which records will be displayed.
    Block A is a Control block and i have a submit button in it.
    Based on some records in block B i need to disable the submit button .I would be record wise.
    Please guide regarding the trigger use on this
    Regards,
    \Kiran

    Kiran,
    You can write the code in the WHEN-NEW-RECORD-INSTANCE trigger of the block B. it will fire when you navigate to that record.
    Hope this helps.
    Regards,
    Manu.

Maybe you are looking for

  • How can I find out what apple IDs are tied to an email address

    We are trying to set up FaceTime and got the verification error on the email address.  We went in to the Apple ID account and when we verify the email address, it tells us that it's tied to another AppleID.  My daughter has 3 other AppleIDs and we've

  • Setting up development landscape for E Commerce R/3

    Hi Experts, Need some good document reference for setting up our landscape for E Commerce 5.0. I have gone through lot of documents and information but nothing consolidated about best practices to follow while doing so, In our landscape we will have

  • E-mail adapter : dynamic recipient with an attachment

    Hi, I read the weblog from Michal Krawczyk about implementing of dynamic recipient of e-mail adapter. I need this functionality and above that I need to include IDOC in e-mail message as an attachment. Will transformed IDOC by mapping attached to cre

  • Help only have 14 gb left of 500 gb on MacBook Pro. Can I upgrade to 1Tb?

    Help only have 14 gb left of 500 gb on MacBook Pro. Can I upgrade to 1Tb? (I purchased it August 2010) If not any suggestions to increase storage. Majority of my 500 gb is Desktop (assuming that is mainly snow leopard?) pictures and music. Don't real

  • Display is too small to read

    I opened Windows in Bootcamp and the icons are there but the fonts are all too small to read. I can't click on anything to fix it because I don't know what I'm clicking on. There must be a mix-up in the display settings but I can't navigate to where