How to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

how to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

Hi,
At Form level, write trigger for WHEN_KEY_DOWN, check for F10 and put action as NULL.
Regards,
Amol

Similar Messages

  • How to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    how to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    If F10 is the Save button, than just simply program key-commit as:
    begin
      null;
    end;BTW: never say URGENT here on the forum. It is considered very impolite!

  • How to restrict the user for re-submitting the same form

    Hi All,
    I would like to know, How to restrict a user for re-submitting the same page.
    I have a jsp page with submit button... and should not allow the user to save the same data again ..
    Anil

    Try the followings. If user disable cookies, this will not work. You need to modify to detect such situation!
    String processed = "mycooke";
    Cookie[] cookies = request.getCookies();
    Cookie c = null;
    if (cookies!=null) {
       for (int i=0; i < cookies.length; i++) {
           if (cookies.getName.equals(processed)) {
    c = cookies[i];
    break;
    if (c!=null) {
    // already processed.
    // send error message and exit.
    // set cookie;
    c = new Cookie(processed , "yourdata");
    c.setMaxAge(-1);
    response.addCookie(c);
    // process as it is the first;

  • How to restrict LOV to a particular project type through form personalize.

    Hi,
    I got a requirement to restrict LOV to a particular Project type through form personalization in project accounting module. form name: PAXPREPR
    i tried the below code in Builtin, but it didn't work
    SELECT distinct PROJ.SEGMENT1, PROJ.NAME,
    PROJ.DESCRIPTION, PROJ.PROJECT_ID
    FROM PA_PROJECTS_ALL PROJ,
    PA_PROJECT_TYPES_ALL TYPES,
    pa_proj_elements ppe,
    pa_proj_structure_types ppst,
    pa_structure_types pst
    WHERE PROJ.TEMPLATE_FLAG <> 'Y'
    AND PROJ.PROJECT_TYPE = TYPES.PROJECT_TYPE
    AND TYPES.CC_PRVDR_FLAG <> 'Y'
    AND proj.project_id = ppe.project_id
    and ppe.object_type = 'PA_STRUCTURES'
    and ppe.proj_element_id = ppst.proj_element_id
    and ppst.structure_type_id = pst.structure_type_id
    and pst.structure_type = 'FINANCIAL'
    and proj.project_type = 'GRANT'
    order by PROJ.SEGMENT1
    please suggest me where i went wrong.
    Edited by: 925049 on Apr 3, 2012 2:49 PM

    In the Control Data of FS00 there is field 'Authorization Group'
    Please Create an Authorization Group for those user ID who can post TDS entries.
    then Maintain this group for TDS related GL.
    Then others will not able to post to this GL.
    Regards,
    Alok

  • How to install adapters in pi 7.0 ex(tibco adapter) its urgent plz help

    hi  friends
                   can any one help me how  to insatlll  the tibco adapter in pi 7.0 its urgent plz help
    thanks in advance
    bye
    raja

    Hi Raj,
    Is  your Sender System  Tibco If  so  Use  JMS Adapter  to get  the Data from tibco  and Use  IDOC  Adapter  to Post  in R3. For this you no need to Install any Adapter in XI System.
    Similar discussions ,
    XI integration with Tibco
    XI Integration with Tibco EMS (Using JMS Adapter)
    Regards
    Agasthuri Doss

  • How does restricted Key Figure Works

    Hi Gurus,
    I am psoting a very common question but its very important for me right now.
    My understanding about RKF is that it restricte the Key figure values with Characteristic.
    I have a cube where I have materil, qty and stock type. I need only those material which has stock Type 'D & E' SO I picked Qty and restricted that with stock type.
    In the report it shows me only those materials which has stock type D & E.
    Now someone is telling me that it should show those material also which has other stock types but with '0' values.
    Is that true?
    Regards

    try with
    material -
    place it in row
    stock type D, E , or something else  ---place it in row
    qty with stock type D and E...place it in colum restricted by stock type D and E
    Make the setting do not supress 0 in query properties.

  • How to generate key pair using java ?(its urgent)

    We r working on java card. For security purpose I want a Key pair.
    If anyone is able to uide me by giving me a small code or algorithm i am very thankful.
    Its an urgent !!!!
    Plz inform me if any relative information u r having.

    import java.security.KeyPairGenerator;
    import java.security.KeyPair;
    import java.security.PrivateKey;
    import java.security.PublicKey;
    import java.security.SecureRandom;
    import java.security.KeyFactory;
    import java.security.spec.PKCS8EncodedKeySpec;
    import java.security.spec.X509EncodedKeySpec;
    import java.io.FileOutputStream;
    import java.io.FileInputStream;
    public class ParClaves {
         public KeyPairGenerator keyPairGenerator;
         public KeyPair keyPair;
         public PrivateKey privateKey;
         public PublicKey publicKey;
         public String algoritmo = "DSA"; // DSA o RSA
         public String proveedor = null;
         public int keysize = 1024;
         public SecureRandom random = null;
         public void guardarClaves(String fichClavePublica, String fichClavePrivada) throws Exception {
              byte[] key = this.publicKey.getEncoded();
              FileOutputStream keyfos = new FileOutputStream(fichClavePublica);
              keyfos.write(key);
              keyfos.close();               
              key = this.privateKey.getEncoded();
              keyfos = new FileOutputStream(fichClavePrivada);
              keyfos.write(key);
              keyfos.close();               
         } // fin de guardarClaves
         public void guardarClaves(String fichClavePublica, String fichClavePrivada, KeyPair keyPair) throws Exception {
              byte[] key = keyPair.getPublic().getEncoded();
              FileOutputStream keyfos = new FileOutputStream(fichClavePublica);
              keyfos.write(key);
              keyfos.close();               
              key = keyPair.getPrivate().getEncoded();
              keyfos = new FileOutputStream(fichClavePrivada);
              keyfos.write(key);
              keyfos.close();               
         } // fin de guardarClaves     
         public KeyPair recuperarClaves(String fichClavePublica, String fichClavePrivada) throws Exception {
              return new KeyPair(recuperarClavePublica(fichClavePublica), recuperarClavePrivada(fichClavePrivada));
         } // fin de recuperarClaves
         public PublicKey recuperarClavePublica(String fichClavePublica) throws Exception {
    // PENDIENTE: seguramente, para que esto fuera v�lido, habr�a que proporcionar el Proveedor ?�
    // probar generando clavePublica con otro proveedor distinto de SUN
              FileInputStream fis = new FileInputStream(fichClavePublica);
              byte[] encKey = new byte[fis.available()];
              fis.read(encKey);
              fis.close();
              KeyFactory keyFactory = null;
              try {
                   keyFactory = KeyFactory.getInstance("DSA");
              } catch (Exception e) {
                   keyFactory = KeyFactory.getInstance("RSA");
              } // fin del try
              X509EncodedKeySpec pubKeySpecX509 = new X509EncodedKeySpec(encKey);
              PublicKey publicKey = keyFactory.generatePublic(pubKeySpecX509);
              return publicKey;
         } // fin de recuperarClavePublica
         public PrivateKey recuperarClavePrivada(String fichClavePrivada) throws Exception {
    // PENDIENTE: seguramente, para que esto fuera v�lido, habr�a que proporcionar el Proveedor ?�
    // probar generando clavePrivada con otro proveedor distinto de SUN
              FileInputStream fis = new FileInputStream(fichClavePrivada);
              byte[] encKey = new byte[fis.available()];
              fis.read(encKey);
              fis.close();
              KeyFactory keyFactory = null;
              try {
                   keyFactory = KeyFactory.getInstance("DSA");
              } catch (Exception e) {
                   keyFactory = KeyFactory.getInstance("RSA");
              } // fin del try
              PKCS8EncodedKeySpec privKeySpecPKCS8 = new PKCS8EncodedKeySpec(encKey);
              PrivateKey privateKey = keyFactory.generatePrivate(privKeySpecPKCS8);
              return privateKey;
         } // fin de recuperarClavePrivada
         public KeyPair generarClaves() throws Exception {
              if (this.proveedor == null) {
                   this.keyPairGenerator = KeyPairGenerator.getInstance(this.algoritmo);
                   this.proveedor = this.keyPairGenerator.getProvider().getName();
              } else {
                   this.keyPairGenerator = KeyPairGenerator.getInstance(this.algoritmo, this.proveedor);
              } // fin del if
              if (this.random == null) {
                   this.keyPairGenerator.initialize(this.keysize);
              } else {
                   this.keyPairGenerator.initialize(this.keysize, this.random);
              } // fin del if
              this.keyPair = this.keyPairGenerator.generateKeyPair();
              this.privateKey = this.keyPair.getPrivate();
              this.publicKey = this.keyPair.getPublic();
              return this.keyPair;
         } // fin de generarClaves
         public KeyPair generarClaves(SecureRandom random) throws Exception {
              this.random = random;
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(int keysize) throws Exception {
              this.keysize = keysize;
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(int keysize, SecureRandom random) throws Exception {
              this.keysize = keysize;
              this.random = random;          
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmoOproveedor) throws Exception {
              decidir(algoritmoOproveedor);
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmoOproveedor, SecureRandom random) throws Exception {
              decidir(algoritmoOproveedor);
              this.random = random;          
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmoOproveedor, int keysize) throws Exception {
              decidir(algoritmoOproveedor);
              this.keysize = keysize;          
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmoOproveedor, int keysize, SecureRandom random) throws Exception {
              decidir(algoritmoOproveedor);
              this.keysize = keysize;          
              this.random = random;                    
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmo, String proveedor) throws Exception {
              this.algoritmo = algoritmo;          
              this.proveedor = proveedor;                    
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmo, String proveedor, SecureRandom random) throws Exception {
              this.algoritmo = algoritmo;          
              this.proveedor = proveedor;
              this.random = random;                              
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmo, String proveedor, int keysize) throws Exception {
              this.algoritmo = algoritmo;          
              this.proveedor = proveedor;
              this.keysize = keysize;                              
              return generarClaves();
         } // fin de generarClaves
         public KeyPair generarClaves(String algoritmo, String proveedor, int keysize, SecureRandom random) throws Exception {
              this.algoritmo = algoritmo;          
              this.proveedor = proveedor;
              this.keysize = keysize;
              this.random = random;          
              return generarClaves();
         } // fin de generarClaves
         public String getInformacion() {
              StringBuffer sb = new StringBuffer();
              sb.append("Algoritmo: " + this.algoritmo + "\n");
              sb.append("Proveedor: " + this.proveedor + "\n");
              sb.append("Keysize: " + this.keysize + "\n");
              return sb.toString();
         } // fin de getInformacion
         public boolean esAlgoritmoValido(String algoritmo) {
              try {
                   KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance(algoritmo);
                   return true;
              } catch (Exception e) {
                   return false;
              } // fin del try
         } // fin de esAlgoritmoValido
         private void decidir(String algoritmoOproveedor) {
              if (esAlgoritmoValido(algoritmoOproveedor)) {
                   this.algoritmo = algoritmoOproveedor;
              } else {
                   this.proveedor = algoritmoOproveedor;
              } // fin del if
         } // fin de decidir
    } // fin de ParClaves

  • How can i prevent the resizing of JOptionPane error message box? Urgent plz

    hi all,
    i have an application which display error dialog box at many insatnces in the application.
    I use JOptionPane.showMessageDialog to display the errors.
    Now the problem is the error box is resizable. But i want to prevent the error box from resizing.
    how can i achieve this?
    thanx,
    -Soni

    i used the same code and i got it working correctly...
    thanx a lot fot it...
    now i have one more problem with it.
    Actually i created a new class 'ErrorDialog' and the function showErrorDialog() inside it.
    now i want the option YES_NO_OPTION and the function sayshowMsgDialog() returning int value indicating the option selected from the dialog box.
    I tried it with following code
    public
    static
    int
    confirmDialog( String message_in, Component parent_in, String title_in,
    int messageType_in )
    try
    JOptionPane pane = new JOptionPane( message_in, messageType_in,
    JOptionPane.YES_NO_OPTION );
    JDialog dialog = pane.createDialog( parent_in, title_in );
    dialog.setResizable( false );
    dialog.show();
    int optionType = -1;
    try
    optionType = ( ( Integer )( pane.getValue() ) ).intValue();
    catch( Exception ee )
    optionType = -1;
    dialog.dispose();
    return optionType;
    catch( Exception e )
    e.printStackTrace();
    but, since return is after dispose() it is throwing an error 'missing return value'
    can i get some kind of solution for this?
    waiting eagerly...........
    -Soni

  • Attaching Javascript function to Buttons in XML forms

    Hi ,
    Can anyone tell me how can we attach Javascript function or code in XML forms ?
    Cheers
    Nitesh

    Hi Nitesh,
    If you use a label with style urBtnStd urTxtStd you can make a link that
    looks like a button which will fire the URL in the Hyperlink property. The
    XMLFB tries real hard not to let you put Javascript in there for security
    reasons. I tried some attribute tailgating, but it filters those kinds of tricks
    out. (This is where you try to try to sneak in another attribute at the end
    of one attribute value by inserting a quote character). You could also
    hand patch the XSL, but this will get overwritten with the next build of
    the XMLFB project.
    Regards,
    Darin

  • How to use Key Board Key In oracle forms to perform a specific task

    Hello Experts,               I am new In Oracle forms.I am using weblogic server 10.3.5 with oracle forms 11g at windows 7.I have a procedure(say check) under program unit.I have a data block.Now I have need to access Check procedure when I press The 'Ctrl+C'(control +'C' key board key). I have to set this functionality for a single form(module) not for all modules.Please suggest me how to do this by using pl/sql in oracle forms if possible. thank You regards aaditya.

    Hi,
    Its a documentary question, please google for hotkey mapping in forms.
    I hope this is helpful to you Enabling Key Mappings

  • How to show filter values of restricted key figures in BEx Analyzer?

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

  • How to copy restricted key figures in query designer ?

    hi,
    i have created a query in query designer (BI 7.0).
    How can i copy existing restricted key figures ? i can't find anything. i always have to create a new one, and then i have to do all the things like 'details of selection' etc.... manually. that CANNOT be, there MUST be a way to copy those key figures.
    any ideas ?
    best regards, Martin

    Hi Martin,
    Restricted key figures can be stored on the infoprovider basis . For which right click on the key figure (left hand side pane ), Select the necessary key figure and assign the restriction through characteristics combination, and give it a restriction and save it . Next tiem when you create query on the same info provider it should appear in the left hand side as readymade reusable piece .
    Hope that helps.
    Regards
    Mr Kapadia

  • How to Create a Restricted Key Figure in BO Webi Report

    Hi Experts,
    Please tell me How to Create a Restricted Key Figure in BO Webi Report.
    Thanks in Advance.
    Regards,
    Rafi

    Hi,
    1. Define a new measure in the designer.
    2. In the select clause give the reference to the key figure on which restriction to be applied.
    For example
    @Select(Key Figures\Number of Records)
    3. In the where clause, give the MDX expression for the filter to be applied.
    For example
    <FILTER KEY="[0PURCH_ORG].[LEVEL01]">
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT CAPTION="HAS"/>
    </CONDITION>
    </FILTER>
    Regards

  • How to find which Restricted Key Figures are using a specific hierararchy??

    HI Experts,
      I am updating a very important hierarchy which is used in many queries and in many Restricted key figures. Is it possible to find in which Restricted Key Figures this specific hierarchy is used??
    Thanks in advance.
    Meyling.

    Hi
    I was able to find a solution
    I built a new dataset in report builder using the same table as before but tried out the "Group and Aggregate" function and for the case_ship
    field I chose "Sum" as my aggregate.... In essence this gave me a very cool and easy daliy sum of the shipped cases. 
    When I used this new dataset and built my matrix report I was able to easily get the max daily shipment for each product by week, month and
    year.
    Tom

  • How To Transport a Restricted Key Figures

    Dear all,
    can u plz tell me how to transport Restricted key figures for the first time.
    i mean shall i create new package or shall i use the existing package only?
    Regards
    venu

    Dear Venkat,
    In qaulity the sales value for a week is showing correctly where as in the production the sales value is showing only for one material that to in the -ve...we have so many materials....
    When i open a Query Designer in quality the system is giving a status message
    <b>[E865(RSO)]ERRORS: System is not set to Changeable - objects are not changeable</b>
    [<i>b]When i click the documetaion on the error message the following is appearing:</b></i>
    Errors: System is not set to changeable - objects are not changeable [E865(RSO)]
    Diagnosis
    You want to change objects although the system setting is "Not Changeable".
    System Response
    The objects cannot be changed.
    Procedure
    Change the setting for the system or client to "changeable". You can do this using transaction SE06 or SCC4.
    Venu

Maybe you are looking for

  • Video Card Upgrade question

    I want to run Apple's new Apature program on my iMac. I currently do not have a video card that will allow me to run this program. Does anyone have any suggestions on the most versitile cost effective card for the G5. I also do a bit of editing and P

  • Getting event notifications for calendar I'm no longer subscribed to

    Since updating to iOS 6, my iPhone has been giving me reminder notifications (with sound) for a calendar that I'm no longer subscribed to (a Meetup calendar). The events don't show up in iCal or my iPhone Calendar app, just when the notification happ

  • How to sort items in a page of labels

    I have entered company names and addresses onto a Pages label template. They are not from my contacts or address book. They were copied from hard copy documents as I came across them. I want to now have them rearranged on the label template alphabeti

  • Sql:variable and XML query performance

    Can someone help with sql:variable() in xml queries?  It seems that when I attempt to reference variables with the sql:variable(...) function in an xpath function (exist or nodes) it comes up with a totally different query plan, possibly ignoring my

  • Pages gone missing and items un-editable  Error (WWS-32100) & (WWS-20000)

    Hi, We have Oracle Portal 9.4 installed and have members of staff editing items and creating pages and web sites. This morning we have suddenly developed the following error; An unexpected error has occurred (WWS-32100) Error (WWS-20000) An unexpecte