How to deactivate a checkbox

In a dynpro, i have a checkbox and a subscreen. The subscreen has 3 or 4 checkboxes.
The requirement is that, if the checkbox in the main screen is not checked. Then all the checkboxes in subscreen should be made INACTIVE .( they should be visible )

Consider your check boxs in subscreen is named CB1 CB2 CB3
Following code in the PBO of your subscreen will achieve the task :
IF (checkbox on main screen) IS INITIAL.
LOOP AT SCREEN.
     IF screen-name = 'CB1'  OR
         screen-name = 'CB2'  OR
         screen-name = 'CB3'.
     screen-active = 1.
     screen-input  = 0.
     screen-output = 1.
     MODIFY SCREEN.
   ENDIF.
ENDLOOP.
ENDIF.
Hope this is useful

Similar Messages

  • How to deactivate other phones from using my itunes account

    Please help how to deactivate other phones from using my itunes account?

    Hello Kirstyspencer
    I would sign out of your Apple ID on those devices and also change the password to your Apple ID. That should stop people from accessing and using your Apple ID.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Apple ID: Changing your password
    http://support.apple.com/kb/ht5624
    Regards,
    -Norm G.

  • How to place two checkboxes in a single line.

    Hi all,
        In selection screen , how we place two checkboxes
    with labels in a sigle line.
    Regards,
    bala.

    hi,
    chk this.
    chk this.
    SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(3) TEXT-003
    FOR FIELD P_Chk1.
    SELECTION-SCREEN POSITION 30.
    PARAMETER: P_chk1 AS CHECKBOX.
    SELECTION-SCREEN POSITION 35.
    PARAMETER: P_chk2 AS CHECKBOX.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN: END OF BLOCK B2.
    rgsd
    anver
    if hlped mark points

  • How to add a checkbox to dynamic itab  so that i can select some records

    How to add a checkbox to dynamic itab  so that i can select some records in the alv and can display them in another alv using a button
    I have requirement where i have to display the dynamic itab records in an alv ....Some records from this alv output has to be selected through checkbox  provided in the first column .( I will get to know the structure of the itab only at runtime ,so iam using dynamic itab)

    Hi,
       I tried and finally i got it , Just try for it.
    type-pools : slis.
    PARAMETERS : p_tab type dd02l-tabname.
    data : ref_tabletype  type REF TO cl_abap_tabledescr,
           ref_rowtype TYPE REF TO cl_abap_structdescr.
    field-symbols  : <lt_table>  type   standard TABLE ,
           <fwa> type any,
           <field> type abap_compdescr.
    data : lt_fcat type lvc_t_fcat,
           ls_fcat type lvc_s_fcat,
           lt_fldcat type SLIS_T_FIELDCAT_ALV,
           ls_fldcat like line of lt_fldcat.
    data : ref_data type REF TO data,
            ref_wa type ref to  data.
    ref_rowtype ?= cl_abap_typedescr=>DESCRIBE_BY_name( p_name = p_tab ).
    TRY.
    CALL METHOD cl_abap_tabledescr=>create
      EXPORTING
        p_line_type  = ref_rowtype
      receiving
        p_result     = ref_tabletype.
    CATCH cx_sy_table_creation .
    write : / 'Object Not Found'.
    ENDTRY.
    *creating object.
    create data ref_data type handle ref_tabletype.
    create data ref_wa type handle ref_rowtype.
    *value assignment.
    ASSIGN ref_data->* to <lt_table>.
    assign ref_wa->* to <fwa>.
    loop at ref_rowtype->components ASSIGNING <field>.
      ls_fcat-fieldname = <field>-name.
      ls_fcat-ref_table = p_tab.
      append ls_fcat to lt_fcat.
    if lt_fldcat[] is  INITIAL.
        ls_fldcat-fieldname = 'CHECKBOX'.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
        ls_fldcat-seltext_m = 'Checkbox'.
        append ls_fldcat to lt_fldcat.
      endif.
      clear ls_fldcat.
      ls_fldcat-fieldname = <field>-name.
      ls_fldcat-ref_tabname = p_tab.
      append ls_fldcat to lt_fldcat.
    endloop.
    loop at lt_fldcat into ls_fldcat.
      if sy-tabix = 1.
        ls_fldcat-checkbox = 'X'.
        ls_fldcat-edit = 'X'.
    modify lt_fldcat FROM ls_fldcat
        TRANSPORTING checkbox edit.
    endif.
    endloop.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog           = lt_fcat[]
      IMPORTING
        ep_table                  = ref_data.
    assign ref_data->* to <lt_table>.
    select * FROM (p_tab) into table <lt_table>.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       IT_FIELDCAT                       = lt_fldcat[]
      TABLES
        t_outtab                          = <lt_table>.
    Thanks & Regards,
    Raghunadh .K

  • How to deactivate the marketting attributes for BP in CRM

    Hi,
    how to deactivate the marketting attributes for BP in CRM
    I can add and maintain the same using tcode crmd_prof_char
    But how do I deactivate.
    Points will be rewarded
    Thanks

    .

  • How to deactivate a license from a dead hard drive

    how to deactivate a license from a dead hard drive

    You can't. However, Support or chat may be able to help you reset the activations.

  • How to deactivate adobe photoshop cc on one machine so that to be able to use it on another machine?

    how to deactivate adobe photoshop cc on one machine so that to be able to use it on another machine?

    Use Photoshop CC menu Help>Sign Out.... to deactivate the activated install.

  • How to deactivate withholding tax base amount field

    Dear Experts,
    My in client is using the extended withholding tax with setting Define Formulas for calculating withholding tax, my client feel that the tax base amount field is open and user may accidentally input the wrong amount there thus can anyone tell me how to deactivate this tax base amount field?
    thank you

    Dear,
    Go into Withholding tax type under SPRO>Financial Accounting Global Settings>Withholding Tax>Extended Withholding Tax>Calculation>Withholding Tax Type.
    While maintaining the Withholding Tax type you have selected "W/tax base manual" under the control data. Just don't select that option then your requirement will be met.
    There are other options also like Manual W/tax amt. which you might want to go for.
    Regards,
    Chintan Joshi.

  • CO down payment update is active in controlling area , How to Deactivate?

    Q1) CO down payment update is active in controlling area , How to Deactivate the same?
    I am trying to post,vendor Downpayment in F-48, it is aking for Maintain default cost element in controlling area .
    Is that required?

    Hi,
    Generally, SAP makes that the down payments are always updated in CO. To maintain the default cost elements, you could use OKEP transaction. However, it's possible to deactivate this function by implementing note 388843.
    Regards,
    Eli

  • How to deactivate Adobe Acrobat 9 Standard on notebook(old), to get the license free for an installation on notebook(new)?

    How to deactivate Adobe Acrobat 9 Standard on notebook(old), to get the license free for an installation on notebook(new)?

    Yes, I do need deactivation, because the other one runs on my desktop pc. 
    And no, there is no deactivation option in the help menu in my version (acrobat 9 standard).

  • How to deactivate adobe acrobat Pro version 10?

    I need to reformat my hard drive and I need to deactivate Adobe Acrobat Pro version 10.  I go to the help options and "Deactivation" is not even an option.
    Any idea of how to deactivate the software if there isn't even an option?
    Thanks for your help
    Dave

    Hi Dave,
    You are not getting the deactivate option as it might be possible that Acrobat was installed with volume license serial key.
    If the deactivate option is not available then please go ahead and uninstall the program.
    After reformatting the drive, re install the software.
    Regards,
    Anand

  • How to Edit the CheckBox in Classic ALV GRID Display

    Hi,
    I want to Edit the checkbox in Grid Display.
    I have one checkbox field in my internal Table,
    Code Of the Program,
    Data :
    Begin of itab occurs 0,
    CHK type C,
    MATNR like MARA-MATNR,
    end of itab.
    Iam building the fieldcatelog using Merge Funcion module.
    After that I am chaning the properties of the field
    catelog like below,
    loop at I_FCAT assigning <FCAT>.
    Case <FCAT>-Fieldname
    When 'CHK'.
    <FCAT>-Checkbox = 'X'.
    <FCAT>-INPUT = 'X'.
    I dont have edit option in fieldcatelog.
    modify I_FCAT from <FCAT>.
    endcase.
    endloop.
    In the Layout,
    I_LAYOUT-box_fieldname = 'CHK'.
    I_LAYOUT-box_tabname = 'ITAB'.
    It is displaying the Checkbox field.but I couldnt edit the checkBox.
    I can able to edit in REUSE_ALV_LIST_DISPLAY.
    But I  have to use REUSE_ALV_GRID_DISPLAY.How to edit the checkbox.
    Thanks in Advance,
    Sumithra

    Hi vasu,
    The below procedure explains you to create a checkbox cloumn in the grid and allows you to edit i hope this will helps u.
    The ALV Grid Control displays the cells of a column as checkboxes if the column is marked as a checkbox column in the field catalog.
    •     Add another field to the output table in which you want to display checkboxes
    OR
    •     Define an existing field as a checkbox.
    Procedure
    1.     Add a field to your output table:
    Data: gt_fieldcat type lvc_t_fcat.
    Types: begin of gs_outtab.
    Types: checkbox type c. "field for checkbox
    Include structure <ABAP Dictionary structure> .
    Types: end of gs_outtab.
    Data: gt_outtab type gs_outtab occurs 0 with header line.
    2 * Add an entry for the checkbox to the field catalog
    clear ls_fcat.
    ls_fcat-fieldname = 'CHECKBOX'.
    * Essential: declare field as checkbox and
    * mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    * do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f01.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    append ls_fcat to gt_fieldcat.
    regards,
    venu.

  • How to check a checkbox field value in fw9 PDF form

    Hi,
    I got a PDF given form IRS (http://www.irs.gov/pub/irs-pdf/fw9.pdf). While creating a widget to this pdf form to sign it, I merged the custum data to those PDF form fields using API setMergeFields.
    All the data fields are merged fine except the checkboxes. I tried by passing the values to the merge_fields array as 'On', '1', 'checked', 'checkbox(checked)' but no luck
    What is wrong here in checking the chexbox field in this fw9 PDF or How to check a checkbox field in a form?
    Thank you,

    Hi Simon,
    I re-added and edited the fields of fw9 form by pdf printer. While doing so, I made fields as ready only so that, the data cannot be edited in the form through the widget but will be merged the data to fields only be the code. Wherein Im using the widget only for signature but not for form filling.
    Here, Im able to merge my custom data to all fields while creating widget but not to the fields of checkboxes. The checkboxes fields which are made ready-only are not allowing me to merge the value as checked by the API.
    Please help me,
    Thanks you,

  • How to Deactivate 'Save  Parked Document' in MIR7

    Hi..Friends,
    In Transaction Code MIR7, how to Deactivate Main Menu -> Invoice Document ->'Save  Parked Document' .
    Thanks in Advance,
    N.G. Mahender.

    Hi Friends,
    I got my answer in in Mr.  Pablo Casamayor  referenced posts,
    thank U very much Mr.  Pablo Casamayor .
    Reference Links
    Deactivate 'SAVE" pushbotton in transaction MIRO
    Error message in case of One time vendor in MIR7 and MIR4.
    Tcode MIRO with BADI: MRM_HEADER_CHECK
    Regards,
    N.G. Mahender.

  • How to deactivate ERS output??

    Hi All,
    When I run the MRRL transaction I get the error as
    "ERS settlement: No message was found for partner XYZ/company code ABC"
    When I maintain the condition recor in MRM, the error disappears and the invoice gets posted.But at the same time it gets printed.
    I do NOT want to print the invoices. How to deactivate the ERS output so that I do not need to maintain any condition records in MRM1 and the system should also not give any error message like the above.
    Regards,
    V S

    Please refer to the column Information Text, which is stated that " ...
    No message was found for....". Please double click on this for further
    information about this and the error message should be M8 446:
    You can change the attribute of the message thru path in customizing :
    Materials Management, Logistic Invoice Verification => Define
    attributes of Systems Messages'. Here you can use the pull down menu
    and set the message to "switch off message" this can be set up for
    individual users or for all users.
    In this step, you can define the category of message received by
    individual users for certain messages in Invoice Verification. This
    allows you determine whether a user receives a message as an indication
    of:
    - Information
    - Warning
    - Error
    - Or whether no message should be issued at all: message switched off
    Hope the information help !!! 

Maybe you are looking for

  • Ref cursor and dynamic sql

    Hi.. I'm using a ref cursor query to fetch data for a report and works just fine. However i need to use dynamic sql in the query because the columns used in the where condition and for some calculations may change dynamically according to user input

  • Icloud is not working

    icloud is not working

  • Quicktime error in OS 9 (Classic)

    I've got an old Mac game that I run in Classic that is giving me a "Quicktime error -43" when it tries to run an animation. I don't know if this is the right area to post this, but can someone tell me what this error code means? I've tried searching

  • Formula node- using C

    Hi there, I need to create a vector and for that I am using the formula node. I am doing that in C ( in which I really am a beginner) whereas in MATLAB the program some time runs some time it does not. Attached is the program,  the error list says:  

  • Update Routing data after change in Work Center

    Hello All, I have just modified the Costing Data for 100 Work Centers CR02, setting a new "Activity Type" and "Activity Unit".  But the Routing Data CA02 does not get updated correspondingly.  I would like to ask is there any standard program which c