Prevent Double click in Document Flow

Hello,
We have a need in our project to restrict certain users from veiwing price in Sales Documents. We have achived this by using various exits and hiding the price. But we have a problem regarding the Document flow. When the user clicks on the document flow and then double clicks on a line indicating a Sales Document, the price is shown in an ALV display. Is there anyway to prevent this?
Thanks in advance for your help
Best Regards
Anirban

Hey Anirban,
The same requirement we have done.
First we used some exists to hide th price but does not go well.
Finally we did using SHD0.
We created a transaction varaint  by removing the conditions tab from the screen and added new tcode ZVA0* (1,2,3). Who ever the user uses the ZVA0* will not be able to see the price from anywhere .
Regards,
Vvieks

Similar Messages

  • Prevent double click / double submit

    Hi,
    I have a JSP with some input fields and some command buttons within a form. When the user clicks twice on one of the buttons two requests (including the form data) are sent.
    In the server side this results in unpredictable behvior of my business logic. So I decided to prevent these double clicks on buttons. Now I have the following question.
    Are there ADF means to achive this or do I have to use JavaScript (what I wouldn't prefer)?
    Thanks for you help.
    Tom

    Hi,
    another option if using ADF Faces is to set the "blocking" property in a command button to true, which will make a double click impossible. This however, only prevents people from accidentally double submitting a request, not fom purposely doing it. For the latter usecase follow Shay's hint
    Frank

  • Preventing Double Click on Link in List

    Hello folks,
    APEX 4.1
    I'm supporting an application right now (which I didn't build I should add), which contains a navigation list entry which triggers an insert into a table (via a before header process fired by a request value which is set when the link is clicked.
    I've had a look through the forum's search function for references to "links", "clicks", "double clicks" and "Disabled" and came up with lots of suggestions regarding disabling a button and links in reports, but nothing for links from navigation lists:
    e.g. {thread:id=9405085}
    Note that some of the example suggest using the javascript pseudo-protocol. I want to avoid that method at all costs.
    Rather than verbosely explain the problem, I've set up a demo page on apex.oracle.com to demonstrate it:
    Workspace: JC_DEMO
    Username: DEMO_USER
    password: demo
    the pages in question are 9999 and 10000.
    (p.s. I knocked this example up as fast as I could - the app hasn't been done to my usual standards! :-) )

    Okay I've solved this, or at least I've provided a solution to this particular problem on my "real" app - will amend the test case accordingly in due course but thought I'd share it on this thread anyway.
    1) List Template: I took a copy of the existing List template and edited it. Under the "Sub List Entry" section, I amended both the "Sub List Template Current" and "Sub List Template Noncurrent" entries to the following:
    <li><a class="#A02#" href="#LINK#">#TEXT#</a></li>In other words, I added a reference to "User Attribute No.2" (#A02#). The reason I used A02 is due to having already used A01 already for something else. Don't be too concerned about this.
    2) List: I amended the "List Template" of my list to point at the amended template from step 1. Note also that my list is referenced in a list region on page Zero.
    3) List Entry: I amended the list entry I wanted to disable double-clicks, Adding the following text to the 2nd entry in the "User Defined Attributes" section:
    single_clickFrom step 1, you should note that this has the effect of adding the class "single_click" to the list entry. "single_click" is not referenced in any of my CSSs incidentally.
    4) Page Ready Javascript: On Page Zero, I have a "Before Footer" region called "Page Ready Javascript", into which I put javascript that I want executed on page ready. The basic template for this region is as follows:
    <script>
       try{
          $(function() {
          /* code you want to execute */
       catch(e){
         /* error catching code */
    </script>Within the page ready function (starting with '$'), I have the following code:
    $(".single_click").click( function(){
        window.location = $(this).attr('href');
        $(this).unbind('click'); /* do this because .click adds to the existing click event */
        $(this).click( function(){
           return false;
        return false;
      });Note that I'm using the "single_click" class as my jquery selector. The result of all of this is that, if you click on the relevant link in my navigation list, no matter how many times you do, it will only request the page once.
    Already I can see a few things I'm not happy about but its at least a reasonable starting point. Comments/critiques welcome.

  • How do you prevent double clicks on a web site?

    So that customers don't make a duplicate transactions.

    Hope this Helps
    <html>
    <head>
    <SCRIPT language="JavaScript">
    function go(){
    if(document.test.alreadyHitted.value=="N")
    alert(document.test.alreadyHitted.value);
    document.test.action="Sample.jsp";
    document.test.method="POST";
    document.test.alreadyHitted.value="Y";
    document.test.submit();
    alert(document.test.alreadyHitted.value);
    return true;
    else
    alert("You have already done this Transaction");
    </SCRIPT>
    </head>
    <body>
    <form name="test">
    <input type="hidden" name="alreadyHitted" value="N">
    Test
    </form>
    </body>
    </html>
    Regards,
    Firoz Ahammad Shaik
    Polaris Software Labs Limited

  • Line item document flow shows net value of the item

    Line item document flow shows the value of the item with currency instead of the quantity.
    Any inputs on how this is getting displayed instead of the quantity being displayed?
    Additional information:
    In this case, the line item is a third party item with item category TAS.
    The document flow displays as follows..
    *Document                                             Date                           Qty/Value     UoM/Cur*
    *Standard order xxxx                              xxxxx                            34 170,00    USD*

    Dear Anand
    Go to VA02 or VF02, input the reference and execute.  Again go to document flow screen.  Now from top menu bar, click on "Document Flow --> View --> Items".  Now check the document flow.
    thanks
    G. Lakshmipathi

  • Double click on a JTable row.

    I got and run a sample about double click on a JTable and it works fine. This sample defines a TableModel as shown at the end this note.
    On the other hand, I have an application in which I have defined a JTable
    using the DefaultTableModel as follows :
    DefaultTableModel dtm = new DefaultTableModel(data, names);
    JTable table  = new JTable(dtm);  where data and names are String arrays.
    Of course the mouse listener stuffs have been also specified.
    table.addMouseListener(new MouseAdapter(){
         public void mouseClicked(MouseEvent e){
          if (e.getClickCount() == 2){
             System.out.println(" double click" );
         } );Because the difference with the sample was the table model,
    I changed it with the DefaultTableModel class. At this point, the Double click does not work anymore.
    So I gues it should be an option which prevents double click to work.
    I thought of using mousePress() instead of mouseClick(), but it's very dangerous (I tried). . If by error the user clicks twice (instead of only once) the mousePress method is invoked twice for the same entry
    My question is now simple, may I use double click on a JTable with the default table model. If so, what I have to do ?
    Thanks a lot
    Gege
    TableModel dataModel = new AbstractTableModel() {
         public int getColumnCount() { return names.length; }
         public int getRowCount() { return data.length;}
         public Object getValueAt(int row, int col) {return data[row][col];}
         public String getColumnName(int column) {return names[column];}
         public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
         public void setValueAt(Object aValue, int row, int column) {
           data[row][column] = aValue;
         };

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class ClickIt extends MouseAdapter
        public void mousePressed(MouseEvent e)
            JTable table = (JTable)e.getSource();
            Point p = e.getPoint();
            if(e.getClickCount() == 2)
                System.out.println("table.isEditing = " + table.isEditing());
            int row = table.rowAtPoint(p);
            int col = table.columnAtPoint(p);
            String value = (String)table.getValueAt(row,col);
            System.out.println(value);
        private JTable getLeftTable()
            final String[] names = { "column 1", "column 2", "column 3", "column 4" };
            final Object[][] data = getData("left");
            TableModel dataModel = new AbstractTableModel() {
                public int getColumnCount() { return names.length; }
                public int getRowCount() { return data.length;}
                public Object getValueAt(int row, int col) {return data[row][col];}
                public String getColumnName(int column) {return names[column];}
                public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
                public void setValueAt(Object aValue, int row, int column) {
                    data[row][column] = aValue;
            JTable table = new JTable(dataModel);
            return configure(table);
        private JTable getRightTable()
            String[] colNames = { "column 1", "column 2", "column 3", "column 4" };
            JTable table = new JTable(new DefaultTableModel(getData("right"), colNames));
            return configure(table);
        private Object[][] getData(String s)
            int rows = 4, cols = 4;
            Object[][] data = new Object[rows][cols];
            for(int row = 0; row < rows; row++)
                for(int col = 0; col < cols; col++)
                    data[row][col] = s + " " + (row*cols + col + 1);
            return data;
        private JTable configure(JTable table)
            table.setColumnSelectionAllowed(true);
            table.setCellSelectionEnabled(true);
            table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            table.addMouseListener(this);
            return table;
        private JPanel getContent()
            JPanel panel = new JPanel(new GridLayout(1,0,0,5));
            panel.add(new JScrollPane(getLeftTable()));
            panel.add(new JScrollPane(getRightTable()));
            return panel;
        public static void main(String[] args)
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(new ClickIt().getContent());
            f.pack();
            f.setVisible(true);
    }

  • Double clicking does not open an app or a folder

    I'm writing this for a friend, because she cannot get to this page. Double-clicking (almost always - except when it doesn't) opens a query window. If it's an app in the dock, it queries "Remove from dock, open @ log in ..." When I double click Documents, the window says "open, get info, open enclosing folder ..." When I click the Sȃfari app from the app folder, the window sez "get info, show package content ..." When I double click a document the window says "open with, Print, get info ..." If I open the **** thing (any of the above) I have this same problem with any links on the page. She has a Mac 10.4.10 with a 2.16 GHz Intel Core 2 Duo, Imac 5,1

    System Preferences->Keyboard & Mouse->Mouse tab and check the double-click speed. If changing that doesn't fix the problem, create a new admin user account, log into it, and see if the behavior continues. Post back with the results. She needs to have registered to get to these pages.

  • SD Document flow with Leading zeros

    Hi All,
    We have issue with docuemnt flow, when we click document flow sales order or delivery or billing its showing leading zeros, My client  don't want any leading zeros in docuemnt flow.
    For example -
    if i click on document flow its showing - 00500005 (SO ) 008000674 -Delivery - - Billing - 0090000012,
    Can any other guide us what could be a issue with leading zeros or any config setting is missing.
    Regards
    Nishad

    dear friend,
    it depends on how do you set up the number ranges
    for example, run VN01 and look how your sales orders are numbered.
    regards,
    p.s. create a new number range without leading zeroes and test it
    but i suggest you will not change the current settings , it is 'too late' , so tell your client it is standard

  • JTree Double Click

    Is there any way I can remove the default double click behaviour for a node in a JTree? Currently it expands or collapses the node, but I want it to do something else. I have set a listener up so it can do the new task, but I want to remove the expand/collapse behaviour as well.

    But it isn't....
    With the TreeWillExpandListener I cannot distinguish between the two expansion methods.
    However, I have found another, extremely simple way of doing what I want, using the JTree.setToggleClickCount(int) method. This sets the number of clicks needed to expand the node (but does not affect clicking on the + box). By setting this to a high number, I can prevent double clicks from expanding nodes, thus allowing my own double click listener to do the stuff I need.

  • Could I link CKMLCP document to accounting document in CKM3 by double click

    Hello,
    We had activated Material Ledger in SAP R/3 4.6c. After I posted Material ledger settlement document in t-code: CKMLCP. I could see a ML document in CKM3 of production consumption activity. I had issued this material to production order in the closing period. So, I got a ML document to transfer 1 level price difference to next level material. When I double click on this ML document, I want to link to accounting document. How could I make it?
    For some ML doc. (Goods issue doc.), when I double click on the ML doc., I can see Accounting document and Source document icon on the screen. I want the same function of CKMLCP doc..
    Thanks in advance!

    If the document flow updation is maintained then you can link documents however its not you wont..
    check the custiomizations for this
    regards

  • Double clicking on workflow items does not take release document

    Hi,
    I have configured work flow for PR and PO release ,but in Business work place in SO01 T-Code if I double click on the PR or PO number it is not taking to release document what may be the reason?
    parameter ID WLC is assigned for the user.
    Requesting expert advice.
    Regards
    Kantha

    Can you please check whether the default method gets executed when you try to execute from swo1.
    The default method will be Display.
    Also check for authorization. Please do a SU53 dump when you do not get the screen.
    Thanks
    arghadip

  • SD - Document Folw - Missing HU on double click

    Hello ,
    In the document flow when i double click on the handling unit, at the bottom of the screen i am not getting the details of the handling unit.
    Pelase Let  me know if you any solution for this.
    Thank you,
    Patil

    Hello Santhosh,
    There could be various reasons for this both technical and functional.
    First of all, the Handling Unit, if existing, has to be linked properly to the Delivery.
    If the Handling Unit is not existing, then you need to check the Packed Material & Picked Material and check which type of process is followed whether it is a Packing or Shipping.
    Also, need to attach the Packed Material to the Handling Unit created. And there are several other conditions inside.
    Please let me know whether or not you can see the internal handling unit number.
    Regards,
    -Syed.

  • In finder, or say anything else such as downloaded files, I have to push open with in order to open the file. If I simply double-click on a document from finder, it does not open.

    Hey guys. I have this problem where when I try to open say a document from finder, I have to push "open with."
    Simply double-clicking does not work. I would greatly appreciate it if anybody could help.
    Another unrelated problem is that when I push to open itunes, it says that it is on a locked disk.
    Thanks

    Select a particular download file. Press COMMAND-I to open the Get Info window.  In the Open With section choose the desired default application from the dropdown menu then click on the Change All button.
    For .dmg files use DiskImageMounter (System/Library/CoreServices/ folder.)
    For .zip files use Archiver - same folder as above - or download TheArchiver - MacUpdate or CNET Downloads.

  • Double Clicking on a PDF document, will not open

    When double clicking on a PDF document with the default document properties set to Acrobat Professional 8, the document will not launch Acrobat.
    If Acrobat is already opened however it will launch.
    I've tried:
    re-setting file associations
    deleting preferences
    Uninstalling and reloading Acrobat: (solves the issue for a time but after a period of use it reverts to this broken state).
    OS X 10.5.5 is fully updated, as is Acrobat 8.

    Another Utility that will do the same without aid of DVD.
    is a Utility called
    AppleJack version 1.5 works with OSX.5.x and version 1.4.3 work with all previous systems.
    download install the go into Single User mode (restart Command-S) wait for screen to come up will be in B&W as soon as it starts up release until you see a Blinking Block Cursor. type applejack as instructed on screen. follow the commands as shown in Order.
    I amazing what problems it can clear up. Font Caches are removed and others. If you follow all the way to the end. Its amazing how much your machine will speed up up not having to wade through obsolete Cruft. Note if you do everything to the end. will take you computer a few minutes to rebuild caches, and other items.

  • I have messed up the settings on my Mighty Mouse and don't know where they should be.  I cannot open a document by double-clicking anymore.  I don't know what setting adjusts that.

    I need help with my Mighty Mouse settings.  Don't understand the settings.  I can no longer open a document by double-clicking.  I think I changed my setting someway when I was trying to correct or find my up and down scrolling.   Please help. 

    I think you need to un-pair your mouse.   Leave it a few minutes than re-pair it as if you were starting from scratch and using the following details.   Item 1 will probably meet your needs.
    Troubleshooting wireless mouse and keyboard issues

Maybe you are looking for

  • What is the difference between "Invisible" (11g) and "virtual" index?

    Hi What is the difference between the "Invisible" index and "virtual" index? Thanks Balaji

  • HP Touchsmart 600 PC blue screen and video problems

    Hi, Just a quick bit about me before I get started.  I am A+, Network+ and Security+ certified and have been working on computers for years.  But this time I've run into something I haven't been able to diagnose and my friend doesn't want to format a

  • Pooled Capacity

    Hello all, At a client site am using Pooled capacity at Work centers(SAP resources) to help capacity planning with some pooled resources. So during planned order scheduling or in production(process) order the time required to complete the operation i

  • Validation for Select-Option - Issue

    Hi Experts!! I have a select-option s_field on which I have written a validation under AT SELECTION-SCREEN. Now, the problem is that, if validation fails in second line of s_field, then to change it when we click on Extension, it's not allowing to en

  • Create a beep at specific intervals

    Hello, I was only introduced to LabView today and must create a program that will produce a beep sound at (random) intervals and then repeat the cycle for a behavioral experiment I am conducting. In other words, I have to create something with the fo