How can I disable a check box in one screen?

Hi,
I need to disable a check box in the screen 1106 on the program of the transaction F110. I can do that with a user exit or what I can use to do that?
Thanks!

you have two options :
user exit  , check if there is one for this transction
i attach program below .
field exit  :
Within the CMOD transaction type PRFB in the transaction window.
PRFB is the ok-code to bring up the field exits.
You can also use Program RSMODPRF to create field exits.
hope its help u .
program for user exut  :
*& Report  ZUSEREXIT                                                   *
report zuserexit no standard page heading .
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
  select single * from tadir where pgmid = 'R3TR'
                               and object = 'PROG'
                               and obj_name = tstc-pgmna.
  move : tadir-devclass to v_devclass.
  if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
      select single * from tfdir where pname = tstc-pgmna.
      select single * from enlfdir where funcname =
                                          tfdir-funcname.
      select single * from tadir where pgmid = 'R3TR'
                                and object = 'FUGR'
                                and obj_name eq enlfdir-area.
      move : tadir-devclass to v_devclass.
    endif.
  endif.
  select * from tadir into table jtab where pgmid = 'R3TR'
                        and object = 'SMOD'
                        and devclass = v_devclass.
  select single * from tstct where sprsl eq sy-langu and
                                   tcode eq p_tcode.
  format color col_positive intensified off.
  write:/(19) 'Transaction Code - ',
       20(20) p_tcode,
       45(50) tstct-ttext.
  skip.
  if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
           2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
      select single * from modsapt where sprsl = sy-langu and
                                         name = jtab-obj_name.
      format color col_normal intensified off.
      write:/1 sy-vline,
             2 jtab-obj_name hotspot on,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
  else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
  endif.
else.
  format color col_negative intensified on.
  write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
  get cursor field field1.
  check field1(4) eq 'JTAB'.
  set parameter id 'MON' field sy-lisel+1(10).
  call transaction 'SMOD' and skip first   screen.

Similar Messages

  • How can I make a check box active ONLY if another check box is activated?

    How can I make a check box active ONLY if another check box is activated?
    I have an editable PDF for a client, which contains text fields and check box fields.
    There are three main check boxes (let's call them A, B and C) that the user is required to choose from, and I have given all three the same name in the Name tab of the General tab menu but different export values in order that ONLY one of the boxes can be checked at any time. Ticking one will deactivate another if it is already checked, etc.
    However, I then have a further two check boxes which I wish to become available ONLY if the second one of the above three boxes is checked. Other than that I do not wish the user to have access to them.
    I'm guessing it requires some kind of Action Script or Javascript, which is not my forté! Any help would be much appreciated.
    Regards
    Tony

    See Disabling (graying-out) Form Fields by Thom Parker. It covers both Acrobat and LiveCycle forms.

  • How can i add the check box beside the directory?

    how can i add the check box beside the directory? anybody can help?
    tis r the panel of my program :
    // FileTreePanel.java
    // JPanel for displaying file system contents in a JTree
    // using a custom TreeModel.
    package com.deitel.advjhtp1.mvc.tree.filesystem;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import com.deitel.advjhtp1.mvc.tree.filesystem.FileSystemModel;
    public class FileTreePanel extends JPanel {
    private JTree fileTree;
    private FileSystemModel fileSystemModel;
    private JTextArea fileDetailsTextArea;
    public FileTreePanel( String directory )
    fileDetailsTextArea = new JTextArea();
    fileDetailsTextArea.setEditable( false );
    fileSystemModel = new FileSystemModel(
    new File( directory ) );
    fileTree = new JTree( fileSystemModel );
    fileTree.setEditable( true );
    fileTree.addTreeSelectionListener(
    new TreeSelectionListener() {
    public void valueChanged(
    TreeSelectionEvent event )
    File file = ( File )
    fileTree.getLastSelectedPathComponent();
    fileDetailsTextArea.setText(
    getFileDetails( file ) );
    JSplitPane splitPane = new JSplitPane(
    JSplitPane.HORIZONTAL_SPLIT, true,
    new JScrollPane( fileTree ),
    new JScrollPane( fileDetailsTextArea ) );
    setLayout( new BorderLayout() );
    add( splitPane, BorderLayout.NORTH );
    JCheckBox check = new JCheckBox("Check me");
    add( check, BorderLayout.SOUTH );
    public Dimension getPreferredSize()
    return new Dimension( 400, 200 );
    private String getFileDetails( File file )
    if ( file == null )
    return "";
    StringBuffer buffer = new StringBuffer();
    buffer.append( "Name: " + file.getName() + "\n" );
    buffer.append( "Path: " + file.getPath() + "\n" );
    buffer.append( "Size: " + file.length() + "\n" );
    return buffer.toString();
    public static void main( String args[] )
    if ( args.length != 1 )
    System.err.println(
    "Usage: java FileTreeFrame <path>" );
    else {
    JFrame frame = new JFrame( "JTree FileSystem Viewer" );
    FileTreePanel treePanel = new FileTreePanel( args[ 0 ] );
    frame.getContentPane().add( treePanel );
    frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    frame.pack();
    frame.setVisible( true );
    }

    You can maybe explore button and forms feature in InDesign. It was added in CS6.

  • How can I make a gray box or gray screen in Pages over a few lines of text?

    How can I make a gray box or gray screen in Pages over a few lines of text?

    Thanks. Almost what I was looking for.
    While that makes for a gray over the lines, it still does not form a box.
    Any other suggestions to form a solid rectangular gray box?

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • How tdo you disable a check box

    Hi
    I'm been trying to dynamically disable (grey out) a check box using
    SET_ITEM_PROPERTY('checkbox name', ENABLED, PROPERTY_FALSE);
    This is not working and when I display the value of ENABLED using GET_ITEM_PROPERTY it shows TRUE.
    Can anyone tell me how to dynamically grey out a check box?

    Dear Friend,
    Whatever u have written is perfectly all right. Only thing can be checked is, do you have 2 items with same name if 2 different blocks. if so then provide name of block in Set_item_property statement. This technique works.
    Regards,
    Manish Trivedi
    Software Developer
    India
    [email protected]

  • How can I make a check box hidden (invisible) if a radio button is selected?

    I am using Adobe Acrobat X Standard, and I can't seem to find a JavaScript that will do what I want.
    I need one check box to be invisible or hidden if a certain radio button is selected.
    Ex: if a user selects "yes" from the radio button list, I need one of 2 check boxes lower on the form to be invisible/hidden/non-selectable.
    Can someone please help me?

    Does this have something to do with a "field dependency" setting within Acrobat itself?
    I am so confused at this point, I don't even know where to look anymore.

  • How can I get a check box automatically checked when other check boxes are checked?

    A little tongue twister there, but the attached image should clarify.
    I'm trying to create a form to measure achievements. When all achievements are met/checked I want the green check box with a star to auto-check.
    If not all achievements are checked, I want the orange check box to auto check...
    Can I get this working by using export values?
    Thanks!

    I would use a custom JavaScript to count the number of check boxes whose value is not "Off" and set the final box on the result of the count.

  • How Can I disable Jdilog Close BOX

    Dear Friends,
    I have a Jdilog. After entering data I have 2 button i.e OK and Cancle.
    If user click on ok button then There is some validation rule.that will be validate.
    and on clicking Cancel button simply Jdilog will closed without validation.
    But User can also close this Window throw Jdilog Close box at top,
    My requirement is in this way that I have to not close window by close box,
    The resion is , I am passing Object from calling frame (applet) to Jdilog at modification time.[It means Object is in Ref].
    so if any user update invalid data and just close the window then validation rule will not be Fire.
    Besides is there any way minimizing the browser the Jdilog(model) will also minimized with browser.
    Please help me.
    Siddharth Singh([email protected])

    My requirement is in this way that I have to not close window by close box, Write your code like this, then it doesn't matter if the user clicks on the Close button or your Ok button:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=695964

  • How can I disable iMessage but only for one contact ?

    Hi,
    I'd like to send texts to my friend who owns an iPhone, but not on iMessage.
    (That friend owns an iPhone, but can't connect on 3G. So she gets my texts only when she can connect on wi-fi...)

    Your friend would have to disable iMessage. As far as your phone is concerned, since you have connected with her via iMessage, it will always try that.

  • My desk top is larger than the screen, how can i make it fit all on one screen ?

    My desktop does not fit on the screen.  It is set to the highest resolution, but when I move the mouse to the far right or left, there is more desktop that shifts over.  How do I correct this ?

    Are you zoomed in at all? The default key for zooming should be Control. Hold Control and use the mouse scroll wheel (or 2 fingers on the trackpad) and zoom out. If that's not working, open System Preferences > Mouse (or Trackpad) > and set a "Zoom while holding..." default key and try it.
    If that doesn't work, try using different resolutions in Display settings in System Preferences and see which one works.

  • How to add check box to list screen in SYCLO Agentry?

    Hi,
    How can I add a check box to the list screen. I want to add a new column which allows the user to select the check box.
    I have tried with "Allow Multi-Row Select" option. When I selected this option I am getting an error
    "The For Object defined for the "Transmit" action is invalid. 'None' is not a valid choice since the Multi-Row Selection option for the list screen is enabled."
    -Shyam

    Is the list screen in transaction screenset or Object?
    You can't use the field type button in a list screen.  But what you can do is take a 16 x 16 image, with a checked box not checked.
    Users will not be able just to check the box to enable it or not.  You need to have an action linked to a button to the selected row, or you can have an action fire if the user double checks the row.
    Stephen

  • How can I disable iCloud on my iMac and my iPod touch 5th gen?

    My ipod touch 5th gen now syncs through icloud. How can I disable icloud from my ipod and my imac and go back to syncing through iTunes.  Is it possible to do this without losing the data in contacts and ical?  Any ideas would be much appreciated!

    With the iPod connected to your computer go to the Summary pane for the iPod in iTunes and uncheck the box that says: Sync with this iPod over Wi-Fi.
    Also in the Summary pane check the box that says backup to the computer.

  • How can I disable (not hide) the Boomarks Toolbar?

    I have installed the "Multirow Bookmarks Toolbar Plus 1.2" extension. In the Firefox customize toolbars box I dragged the Firefox bookmarks toolbar to the right of my home button instead of where it normally is. I then Right-clicked on the toolbar and unticked "Bookmarks Toolbar".
    However whenever I restart Firefox the toolbar re-appears. How can I disable it from appearing?

    My extensions don't work on Firefox 12 so that doesn't help me.
    I should also point out that if I format my hard drive and re-install Windows and Firefox 5 then I don't get this problem but that's a lot of hassle.
    I only get this problem when I install a new version of Firefox when I already have a previous version installed.
    So before installing the new version I uninstalled Firefox and selected the option to delete my settings. I then checked my profile folder to make sure nothing was there. I then reinstalled Firefox again and all the same extensions with the same settings as before and I still get this problem.
    So it's quite disturbing that I deleted all traces of Firefox yet I get this problem again which makes me think that not everything was deleted.

  • Using Javascript to disable a check box

    Friends,
    I am stuck on what should be a simple requirement and I am hoping you can help.
    I need to disable a form region checkbox if a field on the same form region has anything entered.
    What I have done so far is:
    1) On the item that determines whether the check box should be disabled I have added a call to my Javascript function "onChange="disableDefaultDisplay();" in the "HTML Form Element Attributes"
    2) My javascript funcion is: (this is the basic version, all I am trying to do is disable the check box at this point)
    function disableDefaultDisplay()
    alert("Start of the function");
    var defaultDisplay = document.getElementById("P13_DEFAULT_DISPLAY");
    *defaultDisplay.enabled = false;*
    alert("End of the function");
    Using a combination of firebug and the alert messages I can see that function is called at the correct time (i.e. when the user changes and then leaves the field) and that the values of the variable, defaultDate are set but my attempts to disable the checkbox have yet to work!
    When I look at the type of the checkbox (through the source of the page or firebug) I see the checkbox has the following "fieldset#P13_DEFAULT_DISPLAY.checkbox_group" Do I need to do anything different to disable this type of object?
    Any help would be very much appreciated!

    Hi Andy,
    I was returning to this thread to update it with how I resolved it, so thanks for the detailed response.
    In a nutshell, the solution I used was a loop through the field set(of which there is only one item in it) and disabling it.
    Where you say:
    Secondly, checkboxes are, as you have seen, wrapped within a fieldset tag. The fieldset tag has an ID of the page item name. Each checkbox within that tag has its own ID value, which will be the fieldset ID plus "_n" (where n is a sequential number starting from 0) - thus, the first checkbox will be, for example, "P1_CHECKBOX_0", the second will be "P1_CHECKBOX_1" and so on.From my searching for a solution I had expected to see something like that. But the source for the item I was trying to disable is shown below and I can't see any numbers after it.
    Do you know why? Is it because it is the only item?
    &lt;fieldset id="P13_DEFAULT_DISPLAY" class="checkbox_group"&gt;
    &lt;input type="checkbox" name="p_v18" value="Y" id="P13_DEFAULT_DISPLAY" /&gt;&lt;/fieldset&gt;
    Regards
    Ian
    Edited by: IanC2 on Feb 8, 2009 8:07 PM
    Edited by: IanC2 on Feb 8, 2009 8:08 PM

Maybe you are looking for

  • How do I get internet files/email attachments to automatically download when I open them again?

    Hi - I was wondering of someone could help.  I recently installed Adobe Reader... and very quickly regretted it.  I deleted it but found that in Safari I could no longer open PDFs (I got a black screen instead).  Following advice in the forums, I del

  • Clock is frozen and phone won't turn on

    I have a BlackBerry Pearl Flip 8200 Series. I bought it about 4 weeks ago (probably mid-May) through Amazon.com. TMobile is the service provider. Last week WiFi stopped working.  I was unable to check the WiFi box on the Connections page.  I went to

  • Fluctuating Transmit Rate

    I have been using my Airport Extreme for a few months now, and apart from having that annoying hissing sound that seems to be benign, all has been well. However, a few days ago I found that I was having problems streaming Netflix to my Apple TV and m

  • BW add on. Business Explorer on Mac platform

    Hi all, Are all the BW add ons, including Business Explorer, available for the Mac platform? ie: Mac OS X + Excel for Mac. Any help will be appreciated. Best regards

  • Site changes and saving them

    My site is live and I have made changes to my site and saved do I have to publish again for changes