Check box with list item

hi ,
i have items in the form , the user need to visible this item with him self , so i make all the items visible = no
and make list item and but all the items in list value
when list item chanched and the user select any item the item will visible = yes
the form like that
list item named = bank
value in the list ( bank_name= 1
bank_address = 2)
and i have 2 items in the form
bank_name
bank_address
both of them visible = no
and i make trigger ( WHEN-LIST-CHANGED )
if :bank =1      then
     SET_ITEM_PROPERTY('bank_name', VISIBLE , PROPERTY_TRUE);
elsif :bank=2 then
     SET_ITEM_PROPERTY('bank_ADDRESS', VISIBLE , PROPERTY_TRUE);
end if ;
the qustion is
when the item visible = yes after the user selected it from the list
how can make this itme visible = no
when the user selected the same item ?
thank you

Hello,
One idea is to make that conrtol using one list item. Suppose you have two item names in the list then create two parameters/global variables in the form and use them like this...
Trigger = WHEN-NEW-FORM-INSTANCE
:PARAMETER.NAME_FIELD:='N';
:PARAMETER.ID_FIELD:='N';Now in the WHEN-LIST-CHANGED trigger use the code as below...
IF :list_name='NAME_FIELD' THEN
  IF :PARAMETER.NAME_FIELD='N' THEN
    SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_TRUE);
    :PARAMETER.NAME_FIELD:='Y';
  ELSE
    SET_ITEM_PROPERTY('NAME_FIELD',VISIBLE,PROPERTY_FALSE);
    :PARAMETER.ID_FIELD:='N';
  END IF;
ELSIF :list_name='ID_FIELD' THEN
  IF :PARAMETER.NAME_FIELD='N' THEN
    SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_TRUE);
    :PARAMETER.ID_FIELD:='Y';
  ELSE
    SET_ITEM_PROPERTY('ID_FIELD',VISIBLE,PROPERTY_FALSE);
    :PARAMETER.ID_FIELD:='N';
  END IF;
END IF;HTH.
-Ammad

Similar Messages

  • Check boxes -Update many Items

    I have a list of Construction Specs and want to have one form
    with check box that when = Yes or 1 = dontshow item
    The form has a check box with each item
    The action update form does not update the database I get an
    error:

    There are a couple of issues:
    First, your error is because your not naming your hidden
    project ID field:
    Your entry:
    <input type="hidden" value="#projectid#" maxrows=1>
    Correct Entry:
    <input type="hidden" name= "projectID"
    value="#projectid#">
    Next, when using a checkbox, if the user doesn't check it, it
    will be undefined on the action page. You will need
    to check for its existance, something like:
    <CFSET ShowSpecs = 1>
    <CFIF IsDefined("form.dontshow") AND Form.dontshow EQ
    1>
    <CFSET ShowSpecs = 0>
    </CFIF>
    Then use ShowSpecs when checking if you should show the specs
    or not

  • "Always Use Selected Format" check box in line items report

    Hi Experts,
    I have an issue in ECC 6.0.
    From the transaction code FBL1N (Vendor Line Items) I am trying to export the report to spreadsheet by selecting the option  List> Export>Spreadsheet  then I have selected "Always Use Selected Format" check box.  But if I execute the same report again I am not getting this option "Always Use Selected Format". Please let me how can we retrieve that option. Is there any possibility to get that option again either functionally or technically. I would like to know all the possible ways to get this option again.
    Please do the needful.

    Hello,
    In one my thread Mr. Frank has replied as follows. I believe he has solved this.
    Hope this may be really helpful.
    The problem with the spreadsheet download is at one point, users have selected their default file type.
    That said, SAPGUI is working as it should. (gui710)
    Question though is how do we reset the values so they get the ?Select Spreadsheet Format? popup again.
    The following steps should be performed :
    - Call transaction SE38, enter program SALV_BS_ADMIN_MAINTAIN, and press F8.
    - Follow the parameters below :
    - Select ?DELETE? on the Actions Group
    - Select ?DETAILED SELECTION? on the General Data :
    - On Client - your number
    - User : <user name>
    -Hit EXECUTE.
    -Press ENTER on the POPUP
    - If there is an entry in the report that will need to be deleted. Also, make sure that the entry you will delete (for the user) has a value of GUI_ALV_XML_VER on field ?Parameter? .
    - Select the line and hit the DELETE icon .
    - Press ?Y? to continue delete. Press ENTER on the popup.
    - Then EXIT all the way out of the program.
    NOTE : When you run program SALV_BS_ADMIN_MAINTAIN, make sure they are out of any program that they are using for download.
    Re: "Always Use Selected Format" check box in line items report
    Regards,
    Ravi
    Edited by: Ravi Sankar Venna on May 15, 2009 2:31 PM

  • 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
    >>>

  • Check boxes with submit

    Hi
    Is it possible to have check boxes with submit in APEX like selected list with submit.
    The requirement is as follows
    we have different systems and under each system there are number of applications.
    The systems and applications should appear as checkboxes to select.
    If I select a particular checkbox for a system, list of applications under that system should appear in form of checkboxs.
    secondly, I should also have an option for selecting multiple systems and multiple applications.
    Can anyone advice me how this can be achieved.
    Thanks.

    in HTML Form Element Attributes of your CHECKBOX put:
    onClick="javascript:doSubmit(CHECK_BOX_CLICKED');"
    Hope this helps...

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • How to create a check box with an X

    Hi,
    How do you create a check box with an X as apposed to a tick?
    Thanks

    Go to the check box's properties and in the Options tab choose "Cross" as the check box style.

  • The workflow could not check out the list item.

    Hi Guys,
    I have a workflow enabled on document library and it needs to started manually.
    Whenever user starts workflow manually, gets following error:
    "the workflow could not check out the list item. Make sure the list item is not checked out." list item is not checked out & this workflow was working smoothly earlier.
    OutCome: The workflow operation failed because the workflow lookup found no matching item.
    I have gone through below links:
    https://christopherclementen.wordpress.com/2014/05/23/oob-approval-workflow-error/
    https://social.msdn.microsoft.com/Forums/office/en-US/f673d0f6-92eb-4057-95ff-ed3cb7790360/the-workflow-operation-failed-because-the-workflow-lookup-found-no-matching-item?forum=sharepointcustomizationprevious
    Any clue on this?
    Thanks, Nilesh

    maybe check out for editing documents setting is turned on so wokrflow needs doc to ce cheked out before proceding and user might not have permission to do that.
    please refer below link:
    http://sharepoint.stackexchange.com/questions/32399/workflow-error-the-workflow-could-not-update-the-item-possibly-because-one-or
    http://community.office365.com/en-us/f/154/t/243062.aspx
    http://stackoverflow.com/questions/1272957/document-checked-out-in-sharepoint-when-workflow-starts
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Check box with redirect

    Hi :
    In application express as we have select withredirect can you include check box with redirect
    please suggest
    Thanks
    sudhir

    Sudhir,
    Check whether the following javascript helps you.
    function go() {
    var abc = '';
    var radioLength = document.wwv_flow.p_v05.length;
    var retVal = '';
    if(radioLength == undefined)
              if(document.wwv_flow.p_v05.checked)
                   retVal = document.wwv_flow.p_v05.value;
              else
                   return "";
    for(var i = 0; i < radioLength; i++) {
              if(document.wwv_flow.p_v05.checked) {
                   retVal = retVal + '4' +document.wwv_flow.p_v05[i].value;
    retVal = retVal.substring(1, retVal.length);
    if(retVal=='Y')
    var answer = confirm("Do you want to move to the page a ? If yes,press OK to move to a , CANCEL to stay here");
    if (answer == true)
    alert('Please wait while we transfer you to the Consulting Win Story template');
    location.href="url a ";
    else
    return"";
    if(retVal=='N')
    alert(' Thank you');
    location.href="same page url";}
    here i have used the option button to move to another page and stay in the same page.
    If you want to submit the page for any value,
    you can write doSubmit( submitbuttonname);
    call this function on the option button, in html form element attributes.
    name ="p_v05" onClick="go()"
    Message was edited by:
    archana

  • Check Box With Tick Mark on Sap Script

    Hello All,
    We need to add a check box with tick mark on Sap Script.Please can anyone let me know how can we add it.
    Regards
    Amruta

    hi amruta,
    The soluti as an image into on to your problem can be to use the symbol icon as told , but this may show in preview not in print.
    I too faced the same problem.
    So what i had done is created a new window with the diemnsions of the chekc box with border thcikness 8 tw and inside that window place a checkmark symbol.
    if this checkmark symbol also does not show up in print preview/  doesshow in print preview and not in print then you can scan a chekcmark image and upload it into business document server as a BMP/ TIFF image and use this image in your checkbox window.
    Hope this solves your problem.
    Warm Regards
    Venugopal.T

  • Oracle apex check box with update column

    hi to all:
    i have report emp.it contain data like eno,ename,sal,record .
    example:eno ename sal record
    100 a 100
    200 b 3000 going on...
    using this column i am making report by using apex and report contain one submit button also.
    1)in this report i am creating dynamic check box depend on eno..see my coding
    declare
    str varchar2(3000);
    begin
    str:='select htmldb_item.CHECKBOX(10,eno,DECODE(record,1,''CHECKED'')) "SELECT" ,eno,ename,sal ,record from emp where 1=1';
    return str;
    end;
    2)in process crated after  submit
    iam created pl/code like ..this code for
    declare
    i number;
    str varchar2(2000);
    emp_id number;
    begin
    FOR i in 1..HTMLDB_APPLICATION.G_F10.count
    LOOP
    IF HTMLDB_APPLICATION.G_F10(i) is not null then
    SELECT htmldb_application.G_F10(i) INTO emp_id from dual;
    --insert into my_log values(emp_id);commit;
    update emp set record=1 where eno=emp_id ;
    commit;
    else if HTMLDB_APPLICATION.G_F10(i) is null then
    update emp set record=0 where eno=emp_id ;
    commit;
    else
    null;
    end if;
    end loop;
    end;
    my requirenent:
    a)if check box checked then -update -record column -1
    b)if check box uncked then -update - record column -0
    in process coding--
    eno alway is not null only..
    so i want to do check box with update the record column..like this
    a)if check box checked then -update -record column -1
    b)if check box uncked then -update - record column -0
    pls give solution.
    output i want like this example:
    chebox eno ename sal record
    checked(X) 100 a 300 1
    checked(x) 200 b 300 1
    next time i am trying to make uncheck first row like
    chebox eno ename sal record
    unchecked 100 a 300 0
    checked(x) 200 b 300 1

    I'm not really sure what your problem is but if you are trying to update/save data when a checkbox is checked I would use javascript to call an application process to do the update/save.
    /Daniel

  • Fixed Vendor check box with BAPI "BAPI_SOURCEDETERMIN_GETSOS"

    Hello gurus,
    I am new to BAPI & I need to update the source list(ME01) with agreement no., item, unit & fixed vendor check-box.
    My question to all that the fixed vendor check box will be checked or not if i use the BAPI BAPI_SOURCEDETERMIN_GETSOS?
    Thanks & regards,
    Feluda

    Hello,
    The coding you've made regarding the check/uncheck seems fine...
    However, check again logic-atp_wrkmod...
    As far as i've seen, the allowed values are space and 'A' .
    The value 'X' is not in the domain range.
    Hope it helps!!

  • How to add check box to list screen in SYCLO Agentry?

    Hi,
    How can I add a check box to the list screen. I want to add a new column which allows the user to select the check box.
    I have tried with "Allow Multi-Row Select" option. When I selected this option I am getting an error
    "The For Object defined for the "Transmit" action is invalid. 'None' is not a valid choice since the Multi-Row Selection option for the list screen is enabled."
    -Shyam

    Is the list screen in transaction screenset or Object?
    You can't use the field type button in a list screen.  But what you can do is take a 16 x 16 image, with a checked box not checked.
    Users will not be able just to check the box to enable it or not.  You need to have an action linked to a button to the selected row, or you can have an action fire if the user double checks the row.
    Stephen

  • Check box in list

    Hi All,
    Iam new to these kind of programs.
    have to put check boxes and text boxes in the list and then save it.
    for example if 10 materials are displayed.  for each material have to  put check box and text box. if check box is checked and save button is clicked, only checked materials need to be saved along with value in text box.
    Please let me know the code, valuable answers are rewarded.
    Thanks in advance
    jog

    hi jog,
    check the below links
    How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    If u find it useful mark the points
    Regards,
    Naveen

  • How to change the check box with the push button in itrator table rows

    Hi all,
    I want to change the check box of the itrator table rows with push button/ some thing better as to give
    the table view more good look and user friendly.
    Does any one has tried any other option in table view in place of check box
    Thanks
    Bhagat

    There are various objects which you can create via iterators. Please see the application SBSPEXT_TABLE for more details.
    DATA: lo_text      TYPE REF TO cl_htmlb_textview,
            lo_ddlb      TYPE REF TO cl_htmlb_dropdownlistbox,
            lo_input     TYPE REF TO cl_htmlb_inputfield,
            lo_button    TYPE REF TO cl_htmlb_button,
            lo_chk_bx    TYPE REF TO cl_htmlb_checkbox.
      row_ref = p_row_data_ref.
      CASE p_column_key.
        WHEN 'EFF_DATE'. " Input field
          CREATE OBJECT lo_input.
          lo_input->id       = p_cell_id.
          lo_input->type     = 'DATE'.
          lo_input->showhelp = 'TRUE'.
          lo_input->width    = '60'.
          lo_input->invalid  = 'true'.
          p_class            = `ao`.
          lo_input->value     = get_column_value( p_column_key ).
          p_replacement_bee = lo_input.
        WHEN   'NEW_LOC'. " Drop down list box
          CREATE OBJECT lo_ddlb.
          GET REFERENCE OF gt_persa INTO lo_ddlb->table.
          lo_ddlb->id                =  p_cell_id.
          lo_ddlb->nameofkeycolumn   = 'NAME'.
          lo_ddlb->nameofvaluecolumn = 'VALUE'.
          lo_ddlb->selection         = get_column_value( p_column_key ).
          lo_ddlb->selection  = 'DUMMY'.
          p_replacement_bee          = lo_ddlb.
        WHEN 'MON' . " Check box
          CREATE OBJECT lo_chk_bx.
          lo_chk_bx->id = p_cell_id.
          lo_chk_bx->checked =  get_column_value( p_column_key ).
          p_replacement_bee  = lo_chk_bx.
        WHEN 'NEW_MGR_SRCH'. " Button
          CREATE OBJECT lo_button.
          lo_button->id            = p_cell_id.
          lo_button->text          = 'Search Mgr'.
          lo_button->onclientclick = 'script'.
          p_replacement_bee = lo_button.
        WHEN OTHERS. " Text
          CREATE OBJECT lo_text.
          lo_text->id       = p_cell_id.
          lo_text->wrapping = 'FALSE'.
          lo_text->text     = get_column_value( p_column_key ).
          lo_text->design   =  'STANDARD'.
          lo_text->textcolor = 'POSITIVE'.
          p_replacement_bee = lo_text.
      ENDCASE.
    Thanks
    A

Maybe you are looking for

  • Wireless and wired network??

    I'm not terribly computer savvy. I have a few PC's here and a brand new iMac. My current network is wired and what I want to do is put in a new network that will work with both pc and my iMac and will be wired for the PC's and wireless for the iMac.

  • Is ther an "easy way" to rename my iweb pages?

    Here is my dilema I have a iweb site hosted on go daddy so I have to update via an FTP which as you know each time to re-publish to your folder it creates a new time stamp and MOST ftp clients then reupload the entire site... Well I fould this prorgr

  • Recording from Stereo

    I have a Pavilion g6  Product no. QG871EA#UUZ running under Windows 7. I have installed Audacity and I want to record vinyls and tapes running on my old Sanyo Stereo. It has a phono input, a video input (47k ohms), speakers output (40 W x 2 at 8 ohms

  • Rendered Nodes in JTree, Look&Feel Problem

    Hallo, I make a small JTree and write my own TreeNodeRenderer which renders in each case a simple JPanel with Titled-Border an 2 JLabels. If I adjust Metal Look&Feel the rendered Nodes are displayed correctly. (The JPanels size is about 300x200 pixel

  • Is it possible to do a seconds based animation?

    I'm working on a slideshow that needs to be seconds based rather than frame based. Is it possible to use seconds rather than frames?