What is the property to disable a button in a module pool program?

Hello Experts,
I want to disable the button after inserting the record in a Z Table.
Can you please help me.
Thanks,
Manisha

HI,
I tried , as you people told. But i am not getting it.
In my module pool I wrote like this:
REPORT  ZTRY_BUTTON.
tables : zmani_emp.
data: itab like zmani_emp OCCURS 0 with HEADER LINE.
*&      Module  USER_COMMAND_2000  INPUT
*       text
MODULE USER_COMMAND_2000 INPUT.
  case sy-ucomm.
    when 'OK'.
      insert into zmani_emp values itab.
    when 'CANCEL'.
      leave program.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_2000  INPUT
now plz tel me wat shud I have to do??
thanks
manisha
Edited by: PATIL MANISHA on Apr 30, 2010 11:43 AM

Similar Messages

  • How to get the size of uploaded file in sap ABAP MODULE POOL PROGRAMMING

    Hello,
    I am using a fucntion module GUI UPLOAD to upload a file from pc to SAP .
    I want to upload the details of the file.
    i.e TYPE NAME AND SIZE of the file.
    I am unable to do so.
    Help me.
    Gaur Mayank

    Perhaps you could count this by yourself...
    You could approach the correct size by calculating the number of bytes contained in each rows of your table.
    For this you will first need to upload the file to a table of string, so that each field separator is counted.
    something like:
    DATA: lt_data TYPE STANDARD TABLE OF string,
          l_len TYPE i.
    FIELD-SYMBOLS <data> TYPE string.
    "... gui_upload to lt_data              
    DESCRIBE TABLE lt_data LINES l_len.
    l_len = ( l_len - 1 ) * 2.        "Count 2 bytes at end of each line for CRLF
    LOOP AT lt_data ASSIGNING <data>. "Add length of each line
        l_len = l_len + strlen( <data> ).
    ENDLOOP.
    WRITE: l_len.
    This for a single-byte codepage of course... you can use charlen in order to have the length of one char on your system, here I'm asuming it is 1.
    Kr,
    Manu.

  • Plz provide tutorial to learn the Module pool programing?

    Hello,
    Please provide me with the Tutorials which will be helpful to learn Module Pool Programming.
    If any one can provide me with the screen shots then it would be great!
    ANy help would be appreciated......
    Thank You!
    Krishna Chaitanya

    Hi,
    Screens are the most general type of user dialog that you can use in ABAP programs. You do not define them in ABAP programs, but instead in the Screen Painter. A screen consists of the input/output mask and the flow logic. You can define screens for any program with type 1, M, or F.
    The screens in a single ABAP program can be combined to form screen sequences. You can call single screens or screen sequences either using a transaction code from outside the ABAP program, or by using the CALL SCREEN statement in the corresponding ABAP program. When you call a screen or screen sequence, the screen flow logic takes control of the ABAP program execution. You can define screen sequences dynamically by setting the next screen attribute for a screen dynamically in the ABAP program.
    A screen consists of the input/output mask and the flow logic. The screen flow logic is divided into the Process Before Output (PBO) event, which is processed before the screen is displayed, and the Process After Input (PAI) event, which is processed after a user action on the screen.
    The following diagram shows the place of screens between the GUI status and the ABAP program:
    The screen flow logic calls dialog modules in the ABAP program, either to prepare the screen for display (PBO event) or to process the user's entries (PAI event). Screens are dynamic programs, and have their own data objects, called screen fields. These are linked to the input/output fields that appear on the screen itself. When the screen is displayed, and when it finishes processing, the system passes data between the screen fields and data objects in the ABAP program. Data is copied between identically-named fields.
    Each screen has a GUI status, containing a menu bar, standard toolbar, and an application toolbar. Like screens, GUI statuses are independent components of the ABAP program. You create them in the ABAP Workbench using the Menu Painter. You assign GUI statuses to screens dynamically in your ABAP programs. Each screen is linked to the current GUI status by a special screen field into which the corresponding function code is placed whenever the user chooses a function. The screen passes the function code to the ABAP program just like any other screen field. You can then read it in the program.
    Screen Attributes
    Like all objects in the R/3 Repository, screens have attributes that both describe them and determine how they behave at runtime. Important screen attributes for ABAP programming:
    Program
    The name of the ABAP program (type 1, M, or F) to which the screen belongs.
    Screen number
    A four-digit number, unique within the ABAP program, that identifies the screen within the program. If your program contains selection screens, remember that selection screens and Screen Painter screens use the same namespace. For example, if you have a program with a standard selection screen, you may not contain any further screens with the number 1000. Lists, on the other hand, have their own namespace.
    Screen type
    A normal screen occupies a whole GUI window. Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. Selection screens are generated automatically from the definition in the ABAP program. You may not define them using the Screen Painter. A subscreen is a screen that you can display in a subscreen area on a different screen in the same ABAP program.
    Next screen
    Statically-defined screen number, specifying the next screen in the sequence. If you enter zero or leave the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.
    Cursor position
    Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program.
    Screen group
    Four-character ID, placed in the system field SY-DYNGR while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT.
    Hold data
    If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System ® User profile ® Hold data.
    Screen Attributes
    Like all objects in the R/3 Repository, screens have attributes that both describe them and determine how they behave at runtime. Important screen attributes for ABAP programming:
    Program
    The name of the ABAP program (type 1, M, or F) to which the screen belongs.
    Screen number
    A four-digit number, unique within the ABAP program, that identifies the screen within the program. If your program contains selection screens, remember that selection screens and Screen Painter screens use the same namespace. For example, if you have a program with a standard selection screen, you may not contain any further screens with the number 1000. Lists, on the other hand, have their own namespace.
    Screen type
    A normal screen occupies a whole GUI window. Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. Selection screens are generated automatically from the definition in the ABAP program. You may not define them using the Screen Painter. A subscreen is a screen that you can display in a subscreen area on a different screen in the same ABAP program.
    Next screen
    Statically-defined screen number, specifying the next screen in the sequence. If you enter zero or leave the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.
    Cursor position
    Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program.
    Screen group
    Four-character ID, placed in the system field SY-DYNGR while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT.
    Hold data
    If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System ® User profile ® Hold data.
    Check the below link:
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Regards
    Kiran Sure

  • What is the method to disable the Parameters button

    Hi Ted,
    What is the method to disable the Parameters button ("Show/Hide Parameters Panel")?
    I can't find it in the API.
    Thanks,
    Tuan

    With XI 3.0, the left-hand panel is tri-state:
    [https://boc.sdn.sap.com/node/17983#setToolPanelViewType|https://boc.sdn.sap.com/node/17983#setToolPanelViewType]
    Sincerely,
    Ted Ueda

  • What is the keyboard shortcut for changing buttons in dialog box?

    What is the shortcut to choose another button with the keyboard?
    In the example below, I just want to switch from "Don't Add" to "Add".

    Thanks! That worked perfectly. I wonder why that isn't the default?
    So now I can tab to the other button and press space to select, excellent.

  • How to disable the inputfield using radio button dynamically in module pool

    How to disable the inputfield on the screen using radio button dynamically in module pool.
    Please suggest .
            Thanks.
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:20 PM

    I got it thank you.
    LOOP AT SCREEN.
        if  screen-GROUP1 = 'LA1'.
           If RADIO1 = 'X'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
         ELSEIF RADIO2 = 'X'.
           screen-input = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:51 PM

  • What is the Ok-code for Exicute button?

    what is the Ok-code for Exicute button?

    Hi,
    There are 2 ways to find an ok-code.
    1. Click on the button you need, keep the left button of the mouse pushed, and push 'F1' on your keyboard. SAP will tell you the ok-code for the button you need.
    OR
    2. Use transaction SHDB and simulate your transaction.
    Please reward if it helps.
    Philippe.

  • What is the Command to disable Printer Sharing via the Terminal?

    What is the Command to disable Printer Sharing via the Terminal?

    cupsctl is the command.
    man cupsctl(8)
    Hope that helps.

  • What is the consequence of disable fast-start checkpointing?

    What is the consequence of disable fast-start checkpointing ( or set fast_start_mttr_target=0 ) ?

    If you mean what happens if you setfast_start_mttr_target to zero, then in my opinion not much. It just means the entire online redo log will need to be read and potentially applied on crash recovery.
    I do not see this as an issue for most databases as in my experience our system can perform crash recovery quick enough with the value at zero.
    However, there is generally no need to set this parameter to zero unless you IO system is at maximum performance since the parameter does increase IO load a bit, but only a bit. Ref:
    Automatic Checkpoint Tuning in 10g #265831.1
    HTH -- Mark D Powell --

  • What is the code to disable right click and where do I put it in reference to an image?

    What is the code to disable right click and where do I put it in reference to an image?

    There is no sure way to prevent people from right clicking on your webpage or taking images.  This will tell you how:
    http://www.dynamicdrive.com/dynamicindex9/noright.htm
    Now if I have javascript disabled visiting your site, I can easily get around this because the code will not execute.  Also I can simply view the source of your website and get the images.  My suggestion to you is to rethink this because all you will end up doing is annoying visitors and make them want to get your images even more.  The more you block people from something the more they want it.  It's like telling a kid they can't have candy or something then they want it more.

  • What is the procedure for disabling Entourage launching when clicking on an email address in Safari 5.0.5? I use Gmail.

    What is the procedure for disabling Entourage launching when clicking on an email address in Safari 5.0.5? I use Gmail.

    Is this about clicking a link in an external program?
    You can check this pref on the about:config page for external links.
    * browser.link.open_newwindow.override.external (-1)
    If this pref has the default value -1 then browser.link.open_newwindow is used.
    * http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • Satellite Pro P100: What is the Toshiba part number for a 2GB memory module

    Unable to find any way of emailing this question so I have posted it on the forum. Sure this info should be more readily available without having to ask.
    What is the Toshiba part number for a 2GB memory module for a PSPA4E-00F007. That's for a Satellite Pro P100 T2400
    http://uk.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/jsp/SUPPORTSECTION/discontinuedProductPage.do?service=UK&BV_UseBVCook ie=yes&PRODUCT_ID=115421
    Crucial Memory gives me this module - is that correct?
    http://www.crucial.com/uk/store/mpartspecs.aspx?mtbpoid=A332E10BA5CA7304
    Found this via Kingstons site - is this also correct?
    http://www.dabs.com/productview.aspx?QuickLinx=4P3V
    Would really appreciate some official clarification here.
    Many Thanks

    It must be PA3513U-1M2G. You must check if this module is compatible with your notebook model. I think so.
    Anyway I recommend you to buy high quality product like Kingston modules.

  • What are the events in Module Pool Programming ?

    hi,
    what are the events in Module Pool Programming ???
    thx

    Refer the following links :
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapbrain.com/TUTORIALS/default.html
    http://www.sappoint.com/abap/spmp.pdf
    <b>Reward points if it helps in any way.</b>

  • What is module pool programming?how we can change the standard screen?

    Hi EXPERTS
    what is module pool programming?how we can change the standard screen using module pool programming ?
    please explain with example.

    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    regards,
    venkat.

  • What are the important standard table use in FI/CO module?

    What are the important standard table use in FI/CO module?
    Moderator Message: Please avoid asking such queries.
    Edited by: kishan P on Jan 24, 2012 12:37 PM

    Hi Sanj,
    Please go through the available information and then you can ask if there is any queries.
    [Google|http://www.google.co.in/search?sourceid=chrome&ie=UTF-8&q=importanttablesinficoin+sap]
    Regards,
    Madhu.

Maybe you are looking for

  • How to send a custom script configured in QC02 tcode as an pdf attchement

    Hi All, In my requirement I configured SAPScript in QC02 Tcode.Now when I execute QC22 Tcode COA will be generated.Here before displaying the form output I need a pop up box asking a question that 'do you need a print or need to send an email?'.But a

  • DIV Style background image not showing

    Hey Friends - can anyone take a look at line 136 to show why my background-image is not showing in this DIV Style? http://www.gratefulcreative.com/Andre_Madiz/index.html Thanks in advance! ken d creative director grateful creative www.gratefulcreativ

  • Connecting computer to TV

    Hi  I have a 32L4200U I am trying to hook my laptop (lenovo thinkpad) to the TV, I am not very good with computers , I am using a 15 pin cord to hook up to my computer and another cord that goes into the sound port. when I hook up I get sound from th

  • Want a longer lightning to 30-pin adapter

    I love the lightning to 30-pin adapter as it works perfectly with my new car's stereo system but...the cord is too short. Can I buy an extension for it? Will this work: Male to female 30-pin work? http://www.amazon.com/gp/product/B00ASVCY46/ref=ox_sc

  • Changing my info?

    OMG why can't I find a way to change my default email address? I remember I made changes to my Apple id when I moved a year ago including my physical address and it was all reflected in my MacBook registration info as well as on here. Now I can't eve