Check boxes to hide or display multiple subforms

I have been using radio buttons to display subforms individually. Now I need to have multiple subforms displayed based on check boxes, but I have never done this before. Any help would be greatly appreciated. Just FYI, I used the following for the radio buttons:
if(this.rawValue==1)
WaterSysImpSF.presence="visible";
else
WaterSysImpSF.presence="hidden";
etc...
Thanks.

Hi Pradeep,
1. Create a Pushbutton or set a PF status.
2. u can create input fields without a subscreen.
3. u can code to hide the input fields by using
     LOOP at Screen.
        case screen-fieldname.
           when <fieldname1> or <fieldname2>..
              Screen-Invisible = 1.
              Screen-active = 0.
         endcase.
     ENDLOOP.
4. when u press the button.
i. Catch the Ok code
ii. Unhide the input fields.
     LOOP at Screen.
        case screen-fieldname.
           when <fieldname1> or <fieldname2>..
              Screen-Invisible = 0.
              Screen-active = 1.
         endcase.
     ENDLOOP.
Regards,
Raj.

Similar Messages

  • Check boxes are not being displayed in any list applets

    Issue: The check boxes are not being displayed in any list applets in the system. A check box can be marked in the system, but as soon as the user clicks anywhere outside of the box the check box 'visibly' disappears. If you hover the mouse over the check box it displays a 'Y'. However, check boxes are working fine for the form applet, the issue is only with the list applet.
    I verified the checkboxes work fine in the thick client and in production. However, it is the testing environment, which belongs to client, that is showing the above behavior. I think there is some setting that is missing for them. But I am unable to figure it. I would really appreciate if someone could help !!
    Thanks in advance

    One way that you could make it work (just tried it out again) is to use the windings font
    and use the checkboxes from there. However, you need to register the font with xml publisher. In the template builder for Word, you can put a configuration file under:
    C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config
    (depnding on your installation). The file should have the name xdo.cfg or xdoconfig.xml.
    There is an example file: xdo example.cfg that you rename and change accoringly.
    The font is there setup for windows 2000 as an example. Select the correct font
    path - for my XP it is:
    <font family="Wingdings" style="normal" weight="normal">
    <truetype path="C:\WINDOWS\fonts\wingding.ttf" />
    </font>
    Then you can put the symbols into your RTF template and it will be rendered.
    At least it worked for me - with 5.6.2. (Availbable on Wednesday or Thursday), but
    I am pretty sure I tried it before with 5.5.
    Didn't have the 5.5 manual with me - so I have to check what that says again..
    Hope it helps,
    Klaus

  • 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

  • Problem with check box in ALV Grid Display

    I am Displaying Material Master Data in ALV Grid Display with Check Box for each record and if i checked check box then i am processing Update operation in Database,  my question is after perform update operation check box should be clear.
    Kindly help me!!!!

    Hello Raj
    Given the fact that you do not tell us the most important piece of information (namely whether you are using OO-based ALV or not) I assume you are using fm-based ALV lists.
    In this case you probably have defined a USER_COMMAND routine as described in the documentation of the fm.
    FORM user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
    * define local data
      DATA: ls_outtab  LIKE LINE OF gt_outtab,
                ld_idx       TYPE i.
      LOOP AT gt_outtab INTO ls_outtab
                     WHERE ( chkbox = 'X' ).
        ld_idx = syst-tabix.
        " Call your update function / method / perform
       ls_outtab-chkbox = space.
       MODIFY gt_outtab FROM ls_outtab INDEX ld_Idx
          TRANSPORTING chkbox.
      ENDLOOP.
    " And now trigger refresh of the ALV display:
      rs_selfield-refresh = 'X'.  " <<< !!!
    ENDFORM.
    Regards
      Uwe

  • Hide check box label

    hi guys,
    I have a check box group one of the two check box's are never displayed, im having a problem with the label of that hidden checkbox, ive checked the page source and the label seems to have the same ID as the element itself and im unsure of how to assign the an id for that particular check box, any ideas, thanks
    Stefan

    Hi Stefan,
    You mention "+im having a problem with the label of that hidden checkbox+". Is the problem that the checkbox is hidden but it's associated label is still being displayed? Have you tried creating a dynamic action to hide that particular checkbox option? I'm not sure if this is what you're looking for, it will result in the checkbox & label being hidden. As you've said, you've checked the page source, so you know the ID of the checkbox option you wish to hide. For example, your page source may look as follows:
    <input type="checkbox" id="P20_CHECKBOX_4" name="p_v11" value="50"   /><label for="P20_CHECKBOX_4">50</label></td><td>Now, to hide this option of a checkbox, you could create a Standard Dynamic Action, specifying the event to fire action e.g. Page Load. Then in the True Action, set the Action to Hide, set the Affected Elements 'Selection Type' to jQuery Selector, and in the jQuery Selector text field you'd enter the following: #P20_CHECKBOX_4. Now when you run the page, the checkbox option & its associated label are hidden.
    I hope this helps.
    Regards,
    Hilary

  • Multiple Report print out on Check box click

    Hi,
    I am using version apex_3.2.
    I have created Report and define check box in report. i want to give print functionality on check box. As i tick multiple invoices from report and click on print link defined below to the report, Selected Invoices should be printed. How i can do this?
    Thanks & regards
    Vedant

    Hello Vedant,
    <li> Do you already have a report that will accept multiple invoice numbers as input and generate required "Invoice Report" for you?
    <li> If Yes - Are you looking to generate URL based on user check-box selection? If so, please provide sample URL format which will accept multiple invoice numbers.
    <li> If No - I think first you should create such report (I have limited knowledge on Oracle Reports though)
    Regards,
    Hari

  • In PO to display multiple address

    Hi Experts,
    I have a requirement,  when Purchase order is creating plant is entered, based on the plant in the PO item level in the delivery address is populating .Client needs dropdown box in the Name place in the delivery address to choose multiple addresses option(Because for single plant they plans to maintain multiple addresses). Could anybody please assists is there any user exit or BADI for this. Thanks in advance.
    Thanks & Regards
    Prasad

    Doug, Thank you for your quick response.
    Sorry for not making myself quite clear. You are right if the form is based on a table, the check box item will be displayed correctly providing the value in database is something like “WIN7:OSX:BEOS:WIN95” as you suggested.
    In my case, I have an interactive report based on multiple tables, one column contains values of “WIN7:OSX:BEOS:WIN95”. To display all information on a procedure based form “Asset Details” (because clients want to information from different tables to be presented to them as one form), I have to use APEX function to link a key in the report to my form “Asset Details” and copy values from reports to items in the form. Here is where problem is. The checkbox in the form only shows “WIN7” rather than all of them in the list of “WIN7:OSX:BEOS:WIN95”.
    I just found that APEX may take “:” as a delimiter and only copy value of the first bit before “:” when using “set value with other value” function. I proved myself by changing “WIN7:OSX:BEOS:WIN95” to “WIN7-OSX-BEOS-WIN95” in the database first after the change, the value can be copied correctly across. This still not solve my problem to display them as multiple choice in checkbox except I have to something to reset the values back to “WIN7:OSX:BEOS:WIN95”.

  • Display multiple personal no in abap hr

    Hi experts,
    I have a requirement in ABAP HR.
    Existing functionality is like this.when i execute my report it will display single personal no in blocked list.
    like in first block it will display employee earning details,
    in second block it will display employee deduction details,
    in third block it will display employee tax details for single person like 100566.
    after that when i select BACK button it will display as same functionality like above for another personal no.like 100600.
    for this existing functionality,they are using 4 function module.
    1) REUSE_INITIATION (INIT)
    2)REUSE_ALV_APPEND
    3)REUSE_ALV_APPEND
    4)REUSE_ALV_APPEND
    5)REUSE_ALV_LIST_DISPLAY.
    now they want new functionality.like
    they want extra check box in selection screen.
    if we select check box,we have to display new functionality with page down option.
    like like in first block it will display employee earning details,
    in second block it will display employee deduction details,
    in third block it will display employee tax details for single person like 100566.
    after that in same report instead of BACK button.
    it should display another personal no.
    if they select page down button,they want to see all personal no in same out put list as sequentially.
    like like in first block it will display employee earning details,
    in second block it will display employee deduction details,
    in third block it will display employee tax details for single person like 100566.
    after that in same report instead of BACK button.
    it should display another personal no.
    i am not able to implement this functionality.
    Please help me to implement this functionality.
    Thanks in advance.
    Sudheer

    Moderator message - Duplicate post locked
    Also - please do not post your requirements and expect the forum to do your work for you.
    Rob

  • Check box in selection screen !!!

    Hi Experts !
    In my selection screen I have a check box. When i checked the check box.
    It has to display select option. I have showed the coding....
    PARAMETER P_POTYPE AS CHECKBOX.        "checkbox
    SELECT-OPTIONS S_POTYPE FOR EKKO-BSART MODIF ID POT.   "checkbox is checked then it has to display this select option.
    AT SELECTION-SCREEN OUTPUT.
    IF P_POTYPE = 'X'.
    loop at screen.
    IF SCREEN-NAME EQ 'P_POT'.
    CLEAR SCREEN-INVISIBLE.
    screen-invisible = 'X'.
    SCREEN-ACTIVE = 0.
    ENDIF.
    endloop.
    ENDIF.
    If i checked the check box it has to display select option. if it is unchecked. select option is invisible.
    Thanks in advance.
    Arvind
    Edited by: arvind nn on Oct 31, 2009 6:05 AM

    Hi Arvind,
    Try this way.
    REPORT ztest.
    TABLES:ekko.
    PARAMETER p_potype AS CHECKBOX USER-COMMAND uc1. "Add USER-COMMAND uc1
    SELECT-OPTIONS s_potype FOR ekko-bsart MODIF ID pot.
    AT SELECTION-SCREEN OUTPUT.
      IF p_potype = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'POT'. "Use screen-group1 instead of screen-name
            screen-active = '1'.
            MODIFY SCREEN.
            CLEAR  screen.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'POT'.
            screen-active = '0'.
            MODIFY SCREEN.
            CLEAR  screen.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Thanks
    Venkat.O

  • Header Billing Plan check box

    Hi,
    Header Billing Plan indicator( check box) functionality and where we can control this check box change mode or display mode.
    Thanks

    Hi,
    If  a billing plan is assigned to Sales Document header and Sales Document Item, When Header Billing Plan indicator( check box) is flagged then billing plan is automatically copied to all the items. I think there is no customisation settings to control this check box.
    How ever at item level, we can uncheck this box and maintain a different billing plan for that item.
    Hope this helps.
    Regards,
    Sharan

  • Single or multiple check box values displayed in a text field

    My apologies, this may be a duplicate discussion.
    I'm using the following script to display the values of check boxes in a text field.  I would like the word "and" to separate the values if two check boxes are selected. If more than two boxes are selected I want the values to be separated by a comma and then the last value be separated by "and".  Example of two check boxes selected:  A and B.  Example of two or more: A, B, C, and D.  Can this be done?
    form1.page1.page1SF.programs::calculate - (JavaScript, client)
    //displays the values of check boxes named programCB
    var aChkBx = [];
    var vChecks = programCB.all;
    for (var a=0; a<vChecks.length;a++){
    if(!vChecks.item(a).isNull) {
    aChkBx.push(vChecks.item(a).rawValue);
    this.rawValue = aChkBx.join(", ");

    My apologies, this may be a duplicate discussion.
    I'm using the following script to display the values of check boxes in a text field.  I would like the word "and" to separate the values if two check boxes are selected. If more than two boxes are selected I want the values to be separated by a comma and then the last value be separated by "and".  Example of two check boxes selected:  A and B.  Example of two or more: A, B, C, and D.  Can this be done?
    form1.page1.page1SF.programs::calculate - (JavaScript, client)
    //displays the values of check boxes named programCB
    var aChkBx = [];
    var vChecks = programCB.all;
    for (var a=0; a<vChecks.length;a++){
    if(!vChecks.item(a).isNull) {
    aChkBx.push(vChecks.item(a).rawValue);
    this.rawValue = aChkBx.join(", ");

  • Single or multiple check box values displayed in a textbox

    Hi Experts!
    I'm using the following script to display the values of check boxes in a text field.  I would like the word "and" to separate the values if two check boxes are selected. If more than two boxes are selected I want the values to be separated by a comma and then the last value be separated by "and".  Example of two check boxes selected:  A and B.  Example of two or more: A, B, C, and D.  Can this be done?
    form1.page1.page1SF.programs::calculate - (JavaScript, client)
    //displays the values of check boxes named programCB
    var aChkBx = [];
    var vChecks = programCB.all;
    for (var a=0; a<vChecks.length;a++){
    if(!vChecks.item(a).isNull) {
    aChkBx.push(vChecks.item(a).rawValue);
    this.rawValue = aChkBx.join(", ");

    So, the way I see it, you actually have four scenarios. Nothing is checked, one item is checked, two items are checked, and three or more items are checked.
    Here's how I did it.
    I have four checkboxes all with the same name, cb. (You could have many more, and it wouldn't matter as long as they're all named the same thing.) I'm presuming that you will use the captions from the checkboxes as the text you want to enter. I called my text area where I enter the information tfSentence. (It's not a text field, it's just called "Text" in the Object Library.)
    //we need to count how many boxes are checked
    var checked = 0;
    for (i=0; i<=cb.length; i++){
      if (xfa.resolveNode("cb["+i+"]").rawValue == 1) checked ++;
    //create a string variable to store our sentence
    var str = "";
    //look at the checked variable and choose our case from that
    switch(checked){
      case 0:
        //you may want to do more than just type out a sentence here, like a message box
        tfSentence.rawValue = "Nothing was selected";
        break;
      case 1:
        //you can set text that will appear before your list of items here
        //str = "preliminary text";
        for (i=0; i<=cb.length; i++){
          if (xfa.resolveNode("cb["+i+"]").rawValue == 1) str += xfa.resolveNode("cb["+i+"].caption.value.#text").value;
        //you can set text to appear after your list of items here
        //str += "ending text";
        tfSentence.rawValue = str;
        break;
      case 2:
        //str = "preliminary text";
        for (i=0; i<=cb.length; i++){
          if (xfa.resolveNode("cb["+i+"]").rawValue == 1){
            if (checked == 1) str += " and " + xfa.resolveNode("cb["+i+"].caption.value.#text").value;
            else str += xfa.resolveNode("cb[+i+"].caption.value.#text").value;
            checked--;
        //str+= "ending text";
        tfSentence.rawValue = str;
        break;
      default:
        //str = "preliminary text";
        for (i=0; i<=cb.length; i++){
          if (xfa.resolveNode("cb["+i+"]").rawValue == 1){
            if (checked == 1) str += "and " + xfa.resolveNode("cb["+i+"].caption.value.#text").value;
            else str += xfa.resolveNode("cb["+i+"].caption.value.#text").value + ", ";
            checked--;
        //str += "ending text";
        tfSentence.rawValue = str;
        break

  • Hide or Remove OCI Check Box column from Standard MDM Result Set iview

    Hi,
    Can we hide or remove the OCI Check box column from the Standard MDM Result set ivew?
    Though i have made OCI disabled, I dont want to display the check boxes along with the product list.
    Can you please help?
    Thanks and best regards,
    Arun prabhu S

    Hi Arun,
    If you are talking about the very first check box, then that is not related to OCI. Use of check box is to anable multiple item selection which can be used adding the records in the workflow, for comparison etc.
    Regards,
    Jitesh Talreja

  • How do you get different check box fields to display based upon a list box selection?

    I am a relative newbie with LifeCycle Designer ES using v.8.2.1 to create interactive forms to replace manual hardcopies.  I am working on a form that has a few pull down list boxes.  I want different check box fields to display based upon the selection of an item from one of the pull down lists.
    Any guidance on the best way to accomplish this would be greatly appreciated.

    Hi,
    Here is a sample with script in the change event of the dropdown. You may want to clear previous checkbox choices once the subform is hidden.
    It is good to group objects in a subform - that way you only need to hide the subform and not each object in turn.
    Good luck,
    Niall

  • Multiple checked boxes fill in common text field

    I am attempting to create a form that has various criteria that are checked off (check boxes) and need to populate a common text field within the same form. Presently with action items I am able to design the form so that when only one item is checked it shows up on in the text field at a time not multiples  Any suggestions would help.
    Thank you

    1) In the Binding tab of your checkboxes you can put the On Value to whatever you want to populate the common text field with and the Off Value blank.
    2) Assuming all your check boxes names are CheckBox under the same subform use this script in the calculate event of your common text field:
    var aChkList=[];
    var vChecks = CheckBox.all;
    for (var a=0;a<vChecks.length;a++){
    if (!vChecks.item(a).isNull){
      aChkList.push(vChecks.item(a).rawValue);
    this.rawValue=aChkList.join(", ");
    Kyle

Maybe you are looking for

  • How can I delete the information in iPod touch because I lose it.

    Hi, I lose my iPod touch yesterday and all information in there. How can I delete those information? Cheers.

  • Need help with a Table with one image in it.

    I am attempting to design a site in Dreamweaver CS 4, I have Master Suite.  I would like to use a header Logo already created in photoshop and made web ready in .jpg format. I  am looking at inserting a single cell table across the top of page set at

  • Kernel Panic iMac with External HD

    Hi guys, I bought a couple of weeks ago, the new Lacie Porche Design 3T USB3 for my iMac 2012. This is the model: https://www.lacie.com/us/products/product.htm?id=10587 Since then, I've been experiencing few "Kernel Panic" (5-6 times), all crashes se

  • IPOD WONT TURN ON OR CONNECT 2 USB

    Hello, my ipod wont connect/charge off of my usb cable OR turn on..the ipod was charged fully 6 hours ago and i havent used it sence..if anyone can help please do!! thanks Shane

  • Order of exit variables

    When writing the code for user exit variables in CMOD, does the order in which they are calculated matter? Here is what I am doing. i use a exit to get previous calendar month from system date, and from that variable i use another exit to get the yea