In screen programming how to activate a  i/o. field .....?

in my application -in screen programming i have 2 push buttons like -- EXIT and Click me....and also i have an I/O. field . initiala;lly we should take i/o. field as invisible mode. what i requirement is --if i click on push button i/o. field should be activate and data it have should display at output. when i click EXIT i should terminate the program.
how to activate a  i/o. field .....?

Hi,
by using loop at screen we can supress or activate tht i/o field.
as
case sy-ucomm
when 'clickme'.
loop at screen.
  screen-active = '1'.
endloop.
when 'exit'.
  leave program.
endcase.
for tht button keep function type as E ok
Plzzzzz reward if helpful....
dont forget to reward if helpfulllll

Similar Messages

  • I have just got my first apple device, iphone 3G S. After iserting sim it does not work, cant go beyond first screen. How to activate? I am in Delhi, India.

    Hi,
    I have just got my first apple device, iphone 3G S. After iserting sim it does not work, cant go beyond first screen. How to activate it? I am in Delhi, India.Any suggestions.
    Satish

    would be best if you can download the guide here
    http://support.apple.com/manuals/#iphone

  • Dialog programming - How to place a select-option field in a dialog screen

    Hi all,
    In Dialog Programming, How to place a select-option field in a dialog screen.
    Kindly give me some example code...
    Thanks,
    Jaffer Ali.S

    hi Ali,
    U can add select-options in ur module pool by using  SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN  command.
    check this link for reference.....
    http://help.sap.com/saphelp_47x200/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/frameset.htm
    Example Code :
    DATA : ok_code TYPE sy-ucomm.
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X',
                p_rad2 RADIOBUTTON GROUP grp1,
                p_rad3 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_matnr FOR  mara-matnr,
                    s_matkl FOR  mara-matkl,
                    s_mtart FOR  mara-mtart.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 1010.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    CALL SCREEN 1010 .
    ENDMODULE.                    "status_0100 OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    SCREEN 100 ****************
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN sub_1010 INCLUDING sy-repid '1010'.
    <b>***** where sub_1010 is name of sub-screen area</b>
    PROCESS AFTER INPUT.
      CALL SUBSCREEN sub_1010.
      MODULE user_command_0100.
    <<< REMOVED BY MODERATOR >>>
    Harimanjesh AN
    Edited by: Marcelo Ramos on Dec 17, 2008 7:54 PM

  • In BDC programming how can we maintain date field

    hello all
    In BDC programming how we will deal with date field?
    In my flat file my date field format is different from the sap date field format. how can we deal this?

    hi,
    just define a variable with length 10 in ur internal table.
    now pass the date format in flat file as dd.mm.yyyy.

  • How to activate or deactivate screen painters element through program?

    i am using module pool programming ,
    i want to activate or deactivate the screen painters elements  through programming how i can do it?

    Hi,
    You can perform active and deactive the fileds in the selection screen using AT SELECTION-SCREEN OUTPUT event. Loop the screen table and modify the content of a screen field inside the loop based on requirements.
    Check this code.
    selection-screen begin of block b1 with frame.
    parameters: p_g1 radiobutton group gp1 default 'X' user-command chk,
    p_g2 radiobutton group gp1.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame.
    parameters: p_gltrp type afko-gltrp modif id g1.
    parameters: p_werks type aufk-werks modif id g1.
    parameters: p_datum type afko-gltrp modif id g2.
    parameters: p_uzeit type aufk-werks modif id g2.
    selection-screen end of block b2.
    at selection-screen output.
    loop at screen.
    if p_g1 = 'X' and screen-group1 = 'G2'.
    screen-active = 0.
    modify screen.
    endif.
    if p_g2 = 'X' and screen-group1 = 'G1'.
    screen-active = 0.
    modify screen.
    endif.
    endloop.
    Also try the below code to get some idea
    report zsample.
    TABLES:lfm1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR lfm1-lifnr .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:
    r_asn RADIOBUTTON GROUP rad1 USER-COMMAND uc1 DEFAULT 'X',
    r_ers RADIOBUTTON GROUP rad1 ,
    r_830 RADIOBUTTON GROUP rad1,
    r_850 RADIOBUTTON GROUP rad1,
    r_862 RADIOBUTTON GROUP rad1,
    r_810 RADIOBUTTON GROUP rad1,
    r_820 RADIOBUTTON GROUP rad1,
    r_824 RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECT-OPTIONS: s_bstae FOR lfm1-bstae MODIF ID sd1.
    PARAMETERS:
    p_ekorg TYPE lfm1-ekorg MODIF ID md1,
    p_evcode TYPE edp21-evcode MODIF ID md2,
    p_kappl TYPE nach-kappl MODIF ID md3,
    p_parvw TYPE nach-parvw MODIF ID md4,
    p_kschl TYPE nach-kschl MODIF ID md5,
    p_vakey TYPE nach-vakey MODIF ID md6,
    p_werks TYPE werks_d MODIF ID md7,
    p_bukrs TYPE lfb1-bukrs MODIF ID md8.
    SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF r_asn EQ 'X'
    AND ( screen-group1 = 'MD3' OR screen-group1 = 'MD4'
    OR screen-group1 = 'MD5' OR screen-group1 = 'MD6'
    OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_ers EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
    OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
    OR screen-group1 = 'MD6' OR screen-group1 = 'MD7'
    OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_830 EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD6'
    OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_850 EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD6'
    OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_862 EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_810 EQ 'X'
    AND ( screen-group1 = 'MD3' OR screen-group1 = 'MD4'
    OR screen-group1 = 'MD5' OR screen-group1 = 'MD6'
    OR screen-group1 = 'MD7' OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_820 EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
    OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
    OR screen-group1 = 'MD6' OR screen-group1 = 'MD7' ).
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ELSEIF r_824 EQ 'X'
    AND ( screen-group1 = 'SD1' OR screen-group1 = 'MD1'
    OR screen-group1 = 'MD2' OR screen-group1 = 'MD3'
    OR screen-group1 = 'MD4' OR screen-group1 = 'MD5'
    OR screen-group1 = 'MD6' OR screen-group1 = 'MD7'
    OR screen-group1 = 'MD8' ) .
    screen-active = '0'.
    screen-invisible = '1'.
    screen-input = '0'.
    screen-output = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    Regards,
    Chandru

  • I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    Dear Jean:
    It sounds like you are trying to get your external monitor to act as the primary viewing screen. For example it would have your Doc, Icons, Etc. In order to make the external monitor the primary screen you have to:
    Open System Preferences.
    Choose the Displays Icon
    There will be several tabs to choose from pick Arrangement
    Drag the toolbar to desired display
    Let me know if this helps at all!
    Lance

  • I just updated my 3gs to iOS5 and it keeps on saying cannot activate iphone.. after searching videos how to activate it.. i can't tap my three fingers because there is no clock showing on my screen. how do i go about it? help please.

    i just updated my 3gs to iOS5 and it keeps on saying cannot activate iphone.. after searching videos how to activate it.. i can't tap my three fingers because there is no clock showing on my screen. how do i go about it? help please.

    i have the exact same problem and im still currently trying to figure out how to activate it

  • HT201407 my device is not registered as part of the iPhone developer program. how can i activate my iphone 5

    my device is not registered as part of the iPhone developer program. how can i activate my iphone 5

    actually i never stole the software,i was told to upgrade to this beta 7 to fix my phones problem with signal,i did not know it had to be paid for,or that it would break my phone even more as i am no developer and know hardlys anything about phones never mind developing them ! if i knew for one second that it had to be paid for i would have not got it,but if that is the case,why dont i have to pay for all my other updates ive had on my phone?apart from that,does anyone know how i can get my phone back to 6.1.3 firmware.thankyou for any help offered.now i think i will go and give this phoneshop assistant a peice of my mind as his reccomendation has totally wrecked my phone :/

  • How to activate the logon screen modification

    Hi,
    i modified the logon screen with some other pictures colours and texts. But I don't find how to activate this.
    I'm on EP6 sp7. The document that is available is can be used only for EP6 SP 2.
    Is there any body who can help me?
    Thanks

    you should change the pictures in the rootfolder of the IRJ directory.
    good luck,
    Daniel

  • How to add F1 help on a field for a screen program?

    Dear all,
    Can you suggest the method / sample code to add F1 help text for a field on a screen program.
    what is the methodology to do this!!?
    Regards,
    Vj

    Hi,
    if u maintain the doccumentation for the data element of a field(if it is from data dictionary table) which u r refering to create the screen element u don't need to write any doccumentation.otherwise follow this link
    Adding F1 help.
    rgds,
    bharat.

  • How to activate and deactivate the text fields in subscreens

    Hi  All,
    I have one requirement to activate and deactivate the fields in Sub screen.
    The requirement is initially the all screen fields are output field with some value .Suppose user want to edit the value, they choose the check box then automatically the sub screen fields are changed to input modeu2026
    How to validate these settings in the sub screens..
    Thanks & Regards,
    Samantula

    Hi,
      if it is report then use the both at-selection screen.
    if it is in dialog program  AT SELECTION-SCREEN OUTPUT instead of PBO and AT SELECTION-SCREEN instead of PAI
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_chk <> 'X' AND screen-name = 'FLATFILE'.
          screen-required = 0.
          screen-input = 0.
           MODIFY SCREEN.
         ENDIF.
    AT SELECTION-SCREEN.
      LOOP AT SCREEN.
        IF p_chk <> 'X' AND screen-name = 'FLATFILE'.
          screen-required = 0.
          screen-input = 0.
           MODIFY SCREEN.
        ELSEIF p_chk = 'X' AND screen-name = 'FLATFILE'.
           screen-input = 1.
           MODIFY SCREEN.
        ENDIF.
    Thanks & Regards,
    Vallamuthu.M

  • How to activate hold button in MIGO ?

    Dear all,
    How to activate hold button in MIGO Screen ?
    Jeyakanthan

    Note 316931 - MIGO: 'Hold data' does not work
    Summary
    Symptom
    The function 'Hold data' is not active in Transaction MIGO.
    Additional key words
    Enjoy
    Cause and prerequisites
    This is caused by a program error.
    Solution
    Set the attribute 'Hold data' in the Screen Painter (Transaction SE51) for program SAPLMIGO in all screens. Generate the screen after you made the change. The functions are then available.
    You do not need to implement the changes manually if you import Support Packages.
    A prerequisite is that Note 303091 exists in your system.
    Manage held data
    You can use this function to hold the data you are currently entering. No documents are posted.
    To retrieve this data, choose "Goods receipt -> Held data". When retrieving the data, the held data is deleted from the overview tree.
    If you want to delete held data that is no longer required from the overview tree, you can select this data with "Goods receipt -> Held data".
    It is also possible to use held data as a reference for frequently recurring transactions, that will not be deleted after being called again.
    Caution:
    Some data cannot be held by the system and has to be re-entered after you try to retrieve it. This data includes:
    Batch classification
    Import data
    Profitability segment
    In Batch Classification, newly created selection criteria is lost if you do not post the document immediately.
    Edited by: sudhansu satapathy on Mar 4, 2010 9:19 AM
    Edited by: sudhansu satapathy on Mar 4, 2010 9:21 AM

  • I recently had some repairs done to my ATT U-verse connection, and now my Safari doesn't open in a full screen.  How do I reset that to open in full screen?

    I recently had some repairs done to my ATT U-verse connection, and now my Safari doesn't open in a full screen.  How do I reset that to open in full screen?

    Mountain Lion is set up to close windows when you quit a program instead of saving them. To change this, put Safari in full-screen mode, move the cursor to the top, open Safari menu while holding Option key and close Safari from the menu.
    If you want to do it automatically with all programmes, open System Preferences > General, and deactivate "Close windows when quitting an application"

  • How to activate fields under origin tab in the asset master data

    Hello Gururs,
        While creating asset master data under origin tab there are two fields in display mode . I am unable to change these fields . the fields are 1.) Asset purchase new.   2.) Purchase used. I want to check one of these two check boxes. But they are in display mode. How can i activate these two fields.
    In asset master data screen layout also i didnot find these two fields under origin category . Pls advice
    regds
    Ramachandra

    Hello Markus ,
    Thanks for your reply. I checked through Group box info then system is showing the following message .
    status - DISPLAY
    Reason - Authorization for asset view used
      In screen layout field i didnt find these two fields . Can you tell me where these settings has been done . How to change the status for these fields.
    regds
    ramachandra

  • FIle path in Screen Programming

    Hi I am new to screen programming.
    My program would pick a file from desktop and process it.
    I am a bit confused how would I give the file path. Should it be a input/output field??
    I want something like,
    PARAMETERS: filename TYPE text255 OBLIGATORY.
    ANy suggestions.
    Ster.

    Hi,
    Try this code ..
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_FILE LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN: END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
       CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          field_name = p_file
        CHANGING
          file_name  = p_file.
    DATA : lv_file  TYPE string.
    IF P_FILE IS NOT INITIAL.
    lv_file = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = lv_file
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
       DAT_MODE                      = ' '
      tables
        data_tab                      = LT_ITAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      ENDIF.
    Regards,
    Saran

Maybe you are looking for

  • Prelude takes a long time to open a (new) project file

    Hi, I'm trying out Prelude, and I've created a new project and ingested (via link) about 20 hours of Canon XF footage in about 1000 files from an internal hard drive. All the media loaded correctly and all the audio peak files were generated. When I

  • How do I set Catalogue to new larger internal hard drive and then delete the files from the smaller

    I have just had a new 1TB internal hard drive installed in my PC and then the original smaller internal 500GB hard drive cloned onto it. The new 1TB is now Local Dick C and the smaller 500GB has been changed from C and is now Local Disk F. PSE11 is r

  • ITunes stopped working,C++ library error, removed iTunes, now iTunes wont download

    Have been using iTunes for years on laptop with windows vista (32 bit).  recently started getting itunes errors such as C++ runtime library error and  R6034 error.  Itunes stopped working.  Read the boards, I deleted itunes and other products from th

  • JOptionPane in JApplet

    If I display a JOptionPane through a JApplet, it has "Applet Window" written on its status bar. How do I get rid of the "Applet window" status bar on the message boxes using JOptionPane? From practical experience of applets on the net I'm not used to

  • Quicktime conversion taking too long

    this is my first time using final cut pro. for my class, i've created a video that is 7 minutes long using mpeg-4 clips with AAC audio. they're pretty small clips, 320X240, and fully rendered. we're supposed to present our projects next week to the c