Adding a check box to OTL Time Card Page in Time Card Matrix

Hi,
My requirement is: A check box should be placed on each timecard row on the left hand side
I used hxczzhxclayt0082.ldt to make some changes to the Time Card matrix
Can I add a check box using the same .ldt file
Please Help
Its Urgent

Hi Meher,
Thank You for your reply
I did some research in Metalink
I found a White Paper for OTL Time Card Configuration in Metalink
White Paper says: Attribute components in the timecard layout can be modified via the configuration LDTs
I tried to add a text box using LDT configuration, It works
But I need a syntax of How to create a check box
Please Help
Thank You
Santosh

Similar Messages

  • How to select One Check Box at a time

    Dear All
    I have 10 records in details blok and also I have 10 check boxes .
    I want user can only check one check box at a time .
    For example If first record I have checked and i am trying to check the last record then the first record UNCHECKED and the last record will checked .
    Like how redio buttons work ..
    How can i do that ..?
    I have done like this :-
    1st I have declare a global variable in PRE_FORM :GLOBAL.CNT := 'N';
    Then
    WHEN-CHECKBOX-CHANGED trigger
    IF CHECKBOX_CHECKED(EMP.CHK') THEN
        IF :GLOBAL.CNT != N THEN
            :EMP.CHK := Null
       HERE what to write ???
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            :GLOBAL.CNT := Y;
        END IF;
    ELSE
        :GLOBAL.CNT := N;
    END IF;Edited by: LuKKa on Aug 29, 2012 1:12 PM
    Edited by: LuKKa on Aug 29, 2012 1:13 PM

    LuKKa,
    An easier method would be to use a Calculated Field to summarize the value of your CHECKBOX Item. For example, add a non-table item (call it SUM_CHECKED) to your detail block and do not assign it to canvas - so it will not be displayed. Then set the following properties of the SIM_CHECKED item:
    Database Item = No
    Calculation Mode = Summary
    Summary Function = Sum
    Summarized Block = <YOUR DETAIL BLOCK>
    Summarized Item = <YOUR CHECKBOX ITEM>
    Next, you will need to change your Detail Block property Query All Records to YES (this is required for the Calulated Item).
    Now, make sure your checkbox is data type NUMBER and has the following minimum properties set:
    Data Type = Number
    Maximum Length = 1
    Initial Value = 0
    Value when Checked = 1
    Value when Unchecked = 0
    Check Box Mapping of Other Values = Not Allowed or Unchecked
    Now, in your Checkbox Item's When-Checkbox-Changed trigger add code similar to this:
    IF ( CHECKBOX_CHECKED('YOUR_DETAIL_BLOCK.YOUR_CHECKBOX_ITEM') ) THEN
       IF ( :YOUR_DETAIL_BLOCK.SUM_CHECKED > 1 ) THEN
       --Reset the checkbox
       :YOUR_DETAIL_BLOCK.YOUR_CHECKBOX_ITEM := NULL;
       MESSAGE('You can only check one item.');
       Message(' ');
       RAISE Form_Trigger_Failure;
       END IF;
    END IF;I have confirmed this method works and it is more efficient than looping through your records to see if other checkboxes are checked.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Select all check box at some time

    Hi all,
    I have a search display .jsp page, which have some checked box, allow the users to check the box and download data from database, righr now the use need to checked the checked the box one by one,
    bu tthey want to add other button, which allow them to select all the checked box by click the box, not ideal how to handle.
    any advise

    Hi ,
    thank you for the reply,
    I finally have time to finish this part
    the code is <script language="JavaScript" type="text/javascript">
    function checkAll(field)
    for (i = 0; i < field.length; i++)
    field.checked = true ;
    function uncheckAll(field)
    for (i = 0; i < field.length; i++)
    field[i].checked = false ;
    <input type="button" name="b1" value="Check All" onClick="checkAll(document.form1.mybox)">
    <input type="button" name="b12" value="Uncheck All" onClick="uncheckAll(document.form1.mybox)">
    </form>
    </script>

  • Adding a check box to my page clears the value in a hidden field on page 0

    Hello, I hope that someone can assist me. I have a page that has multiple submit buttons on it. When I click a submit button the page refreshes to render the new content. I have a hidden field, and its region is set to one on page 0. Without any check boxes on my page, I can set a value in the hidden field, and it remains there even if I click on any submit buttons. If I put a check box on the page and then press a submit button, the value is cleared in the hidden element which is not desired. I did notice that in this case with the check box, if I refresh the browser the hidden field value is not cleared. Perhaps the page is being rendered differently after the submit because of the checkbox. Does anyone have any ideas of what is happening?

    That doesn't sound right. Adding a checkbox shouldn't have that effect. Please try to reproduce this on htmldb.oracle.com so we can take a look or post a screenshot of your relevant page components.

  • How to automate the adding of check-box along with each numbered item in Framemaker file ?

    I tried using the wingdings font as check-box. But I don't want to use it manually every time. I want to have it as a style part of my procedure style (numbering style).   I need the check-box along with each numbered item. Whenever I apply my numbering style in FM, I should get something like:
    " <checkbox> 1. <text> "

    Use "N:\u2751\ <n+>.\ " for the autonumber format.
    "N" Use counter N
    "\u2751" One of many checkboxes available in Unicode
    "<n+>" increment the counter
    "." ordinary period
    "\ " non-breaking space
    This assumes that you are on FM8 or later, and your Unicode font has that glyph code point populated (Arial Unicode MS does if your font doesn't).
    Don't use WingDings (or Zaph Dingbats) anymore. Using codepage overlays has any number of issues, and these two sets of legacy codepage dingbats don't even match each other.

  • Adding a check box in MM01 transcation screen i am not abe see the checkbox

    HI experts,
    I added some checkbox's in mm01 transcation and configured the screen program and number in OMT3B the problem is i am not able see the checkbox's but i can see the labels for the check box in the screen when i am executing the mm02 transcation.
    urgent requirement.

    Hi Santosh,
    When you are importing from data dictionary , please try the following
    (1)in screen painter once you click the import from dictionary
    (a) select the field you want as checkbox
    (b) you can see if you scroll sideways an option like
         Radiobutton/checkbox etc for the same field
    (c) Choose the checkbox option
    (d) use the "Tick" on the table control
    (e) Drag and drop to your screen
    (2) Activate your screen
    (3) Run the transaction again
    Please let me know if it solves the problem
    Regards
    Byju

  • Adding a check box in scripts

    Hello experts,
             i got a requirement like to add a check box to the form. is it possible in scripts. if yes can u tell me how can we add a check box in the form(scripts).
    thanks is advance

    thanks yaar.
           but in first option iam not understanding textelement(f9) what is that mean.
    after going to text element we have to press f9 right. then we have to write [] like this in text editor. is it right?
    actually my output is like this
    slno           qty           mtlno      desc
    in the below of slno i have to add check boxes and after that i have to implement some logic if it is checked like that i want.
    thanks & regards
    raj

  • Adding a check box control for each row of data in a DataModel

    Hi all,
    I need to add a checkbox control for each row of data on a DataModel object.
    I have a "commandButton" at the bottom of DataModel, and whenever someone checks some of the rows on that list of rows,
    I need to get the selected dataModel(fragment of the list) in my backing bean.
    How do I achieve this functionality in JSF?
    Thanks,
    Meghasyam.

    Hi all,
    I need to add a checkbox control for each row of data
    on a DataModel object.
    I have a "commandButton" at the bottom of DataModel,
    and whenever someone checks some of the rows on that
    list of rows,
    I need to get the selected dataModel(fragment of the
    list) in my backing bean.
    How do I achieve this functionality in JSF?
    Thanks,
    Meghasyam.You'll want to have a wrapper class as suggested above, which has a "selected" boolean in it. Then use the "binding" attribute of the h:selectBooleanCheckbox component to bind the checkbox to that property... Make the property public and specify the properties exact name in the binding... bindings do not append "get" to the EL.
    Here is an example of what your table might look like... This code would display the list of names with a checkbox to the left of each name... When the check box is selected, the "selected" property of that wrapper class is set to true or false as needed. Then when the form is submitted, and you are inside your actionListener or action method call, you can look through your collection of wrapper classes asking each one if it was selected or not... Then do whatever you want with them... In this example, replace "myBackingBean" with the name of your backing bean, and "names" with the name of the method in your backing bean which returns the collection of wrapper classes... create a flag "public boolean selected" or similar in your wrapper class..
    <h:dataTable id="namestable"
    value="#{myBackingBean.names}"
    var="aName">
    <h:column>
    <h:selectBooleanCheckbox binding="#{aName.selected}"/>
    <h:outputText value="#{aName.nameText}"/>
    </h:column>
    </h:dataTable>
    Let me know if that isn't clear enough and I'll see if I can find a better way to explain it...
    -Garrett

  • Check box with value in bsp page

    hi experts.
    i  m new to bsp.
    i  want to fetch one field from a ztable  with check box may be  possible field  have more than 4 values.
    checkbox1           .... value1
    checkbox2          ..... value2
    checkbox3          ..... value3
    checkbox4          ..... valule4
    but there is  not any field for checkbox in  ztable .
    now  when we select check box  depending on the selection of checkbox related values of field come into the 2nd page.
    example if i select check box 3 and 4 than values related to value 3 and value 4 come into the 2nd page .
    if any budy have  gud example of this case plz let me  know.
    points are guarented...

    PAGE ATTRIBUTE.
    itab_result     TYPE     ST_TV
    wa_result     TYPE     TY_TV
    LAYOUT.
        <% data: v_checkbox_id type string,
          sy_tabix type string.
    Loop at itab_result into wa_result.
    sy_tabix  = SY-TABIX.
    concatenate v_checkbox_id 'CHK' sy_tabix into v_checkbox_id.%>
    <td>
    <htmlb:checkbox id = "<%= v_checkbox_id %>"
            text = "<%= wa_result-stext %>"
          checked = "<%= wa_result-idx_data %>"
           />
    </td>
    <% ENDLOOP.

  • Disable a group of check boxes when we open a page in the display only mode

    Hi all,
           I need help in making a group of checkboxes display only when i open it in the display mode. I have made the following coding for it,butits not working.Can you help.
    MODULE disable_indicator OUTPUT.
      IF action_type = display_only.
        LOOP AT SCREEN.
          IF screen-name = INDICATOR_SET_OVERDUE_ITEM'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
        ELSE.
          LOOP AT SCREEN.
          IF screen-name = 'INDICATOR_SET_OVERDUE_ITEM'.
            screen-input = 1.
            MODIFY SCREEN.
           RETURN.
          ENDIF.
          ENDLOOP.
      ENDIF.
    ENDMODULE.                 "

    Hi  Kushaal Choudri,
    Chek out in Debug mode if first IF condition is triggering or not ?? Also assign Screen Group if u want to disable multiple fileds at a time and use it in IF condition...
    MODULE DISABLE_INDICATOR OUTPUT.
      IF ACTION_TYPE = 'DISPLAY_ONLY'. ==> Put it between Single Quote and check the CASE as it's case sensitive...
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'INDICATOR_SET_OVERDUE_ITEM'.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'INDICATOR_SET_OVERDUE_ITEM'.
            SCREEN-INPUT = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                    "disable_indicator OUTPUT
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Data grid view adding check box not able to check state

     i have make window search a city name result show on data grid view and i have added the check box when i am checking the check box and other search  of keyword that same row i am un checking the chek box when search it remain check how to making
    it check for al type of keyword

     i have make window search a city name result show on data grid view and i have added the check box when i am checking the check box and other search  of keyword that same row i am un checking the chek box when search it remain check how
    to making it check for al type of keyword
    Hello,
    It's not clear what the issue is, you could be more specific by sharing some screenshots and code.
    In addition, it will be more clear if you could separate the description into multiple sentences.
    Which control did you want to get help about? The checkbox or datagridview?
    If it is checkbox, did you want to keep checked or keep it uncheck?
    If it is datagridview, whether you are talking about checkbox column?
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Binding a Check Box with a User Defined Field

    Hi everyone,
    i v created a user defined field (U_CheckPro)in the system table "OITM" with two values: Y for Yes and N for No. In relation to that i v also created a check box on the form "150" and would like to know how can i bind my checkbox with  my user defined field properly.
    The user would be than able to enable or disable the check box for each item (article). The user setting schould be than be active and valid in sbo-business logic, each time an item is selected. (for example in case of sales order ID 133, "OINV").
    Any helfpul hints? Samples would be welcome as well.
    Thanks and regards
    Alban

    > First of all you should remove the valid values
    > because checkboxes does not work with valid values...
    > Just give a default value.
    Hi Rasmus,
    thank you very much for your helpful hint. I guess my problem is solved by that - nevertheless here is my complete code sequence once again in case of possible errors.
    I would appreciate any additional suggestion for improvement of the same.
    Thanks and regards
    Alban
    >>>
    Private Sub AddItem()
            ' Test UserSource
            oForm.DataSources.UserDataSources.Add("U_CheckPro", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
            oItem = oForm.Items.Item("122")
            ' Adding a Static Text item
            oNewItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oNewItem.Left = oItem.Left + 20
            oNewItem.Width = 100
            oNewItem.Top = oItem.Top + 12
            oNewItem.Height = 25
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.LinkTo = "CheckBox1"
            oStaticText = oNewItem.Specific
            oStaticText.Caption = "Test_Caption"
            ' Adding a Check Box item
            oNewItem = oForm.Items.Add("CheckBox1", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oNewItem.Left = oItem.Left
            oNewItem.Width = 20
            oNewItem.Top = oItem.Top + 15
            oNewItem.Height = 19
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.DisplayDesc = False
            oCheckBox = oNewItem.Specific
            'binding check box to source
            oCheckBox.DataBind.SetBound(True, "OITM", "U_CheckPro")
        End Sub
    >>>

  • How to print check box in ALV list display and how to pick selected ones

    Hi
    i am displaying one ALV list dispaly. for that im adding one check box fields by filling the fieldcat as below:
      wa_fldcat-checkbox = 'X'.
      wa_fldcat-edit = 'X'.
    but the check box is showing disable mode only. i want to display that check box and if i select that check box i want pick that records. for ALV grid i found one FM to pick records of selectedones as below.
    DATA ref_grid TYPE REF TO cl_gui_alv_grid.
      IF ref_grid IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            e_grid = ref_grid.
      ENDIF.
      IF ref_grid IS NOT INITIAL.
        CALL METHOD ref_grid->check_changed_data.
      ENDIF.
    but how can i do for list display to pick those selected one records.
    Can any one sugget regarding this.
    Thanks in advance.
    Rahul.

    Hi,
    Thanks. now it's enabled. but how can we pick the records from that list whichever i selected through that check box.
    i found this one for ALV grid:
    DATA ref_grid TYPE REF TO cl_gui_alv_grid.
      IF ref_grid IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            e_grid = ref_grid.
      ENDIF.
      IF ref_grid IS NOT INITIAL.
        CALL METHOD ref_grid->check_changed_data.
      ENDIF.
    but how for ALV normal list display.
    Thanks.
    rahul

  • How to add a single check box and a label to a image in Muse?

    Hello!
    I need help with adding a check box with a label to the right of it. I know about the forms, and how you can add a check box there but i don't need all the other form options.

    Hi
    It is not possible to use only checkbox from a form at the moment. An alternate way could be inserting it using html, something like below
    <input type="checkbox" name="Muse" value="Muse"> A sample checkbox<br>
    I am not sure what exactly you are trying to achieve, but this will work  with Form tag only, like in the example here
    Tryit Editor v2.5
    Do let me know if you have any question.

  • Problem with a check box in SBO 2004

    Hi
    I have created a form in screen painter which is linked to a user defined object. All the text fields are being saved ok to the table.
    I have just added some check box's but there not working correctly. I can tick the box but not deselect it. It doesn't seem to be saving it either. It is bound to a single character field in the table.
    Does anyone have any ideas pls ?
    Regards Andy

    Hi Adele
    I just cracked it, if I add the fields in code it worked. I then went on to save the form in xml and compare it to my screenpainter code. Valoff and Valon are not set because they are not options in screenpainter.
    Agrees with what you said, what do you think ?
    Regards Andy

Maybe you are looking for