Af:selectBooleanCheckbox | value setting and auto submitting

Hi
Could somebody please guide me on the following issue?
I have a table based out of a view object alone. I added the table an additional column which contains a selectBooleanCheckbox.
I want this check box be selected depending on a value of another column when the page is loaded. Once it is loaded, I should be able to check/uncheck and get the complete row details so that I can able to process then add/remove it to the DB.
Any help would be much appreciated.
Regards
Praveen

But i am not able to set the checkBox once it is loadedIf your transitent attribute has a Groovy expression-based default value, then this attribute could not be updated anymore. I faced similar problem some time ago. Such attributes are considered "calculated" and their values are calculated always based on the specified expression. As a workaround you could define the "boolean" attribute as an SQL-derived attribute instead of transient one (by including in the SQL query an expression that corresponds to the initial value you need).
You may have a look at this thread for some other hints:
{thread:id=2128888}
Dimitar

Similar Messages

  • Move Custom Value Sets and Custom Concurrent Programs from Dev to Test

    Hi,
    Friends,
    I want to move the Custom Value Sets and Custom Concurrent Programs from Development to Test Instance...how can i Acheive using FNDLOAD....
    At a time single stroke can I move them using FNDLOAD...
    Please help me in this regard....

    You can do it with FNDLOAD.
    http://appsdbablog.com/blog/2006/09/fndload.html
    Aviad Elbaz

  • Diff between Precalculated Value set and Precalculated web template

    Hi Friends
    Can any one tell the Diff between Precalculated Value set and Precalculated web template
    Where we will use these
    Thanks

    Hi,
    The Reporting Agent is a tool used to schedule reporting functions in the background.
    The following functions are available:
    ●      Evaluating exceptions
    ●      Printing queries
    ●      Pre-calculating Web templates
    ●      Pre-calculating characteristic variables of type pre-calculated value sets
    ●      Pre-calculation of queries for Crystal reports
    go through,
    pre-calculated value sets
    [http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm]
    Pre calculating Web template:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm
    Basically when you have a Precalculated Template, the system first run a report (which has been scheduled) and read the data from there when you run your template. This can imrpove the performance respect to online read data.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/6e/b5663a5fb46752e10000000a11402f/frameset.htm]
    [Pre calculated web template;
    Hope this helps...

  • Value sets and Report Parameters

    Hi
    these are my requirements
    i have developed report using scott where the
    parametes are
    dname
    empinfo
    (1)If i select Department 1o then
    in parameter empinfo should display the value only from department 10
    (2) i have created a value set for report parameters empinfo
    it only shows two columns like EMPNO AND eNAME AND THERE only two column space to be shows
    how could i make columns to be displayed in addition to ename and empno
    Regard

    Hi KittyCat101,
    If I understand correctly, you want to use a parameter to filter Status field that starts with “Is” or “Can” or “Fi”. If in this scenario, we can refer to the following steps to achieve your goal:
    Modify the available values for @Status parameter to “Is”, “Can” and “Fi”.
    Right-click the tablix or dataset to open the properties dialog box.
    Select Filter in the left pane, then add a filter like below to filter Status field:
    Expression: =Fields!Status.Value like (Parameters!Status.Value & "*")  Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Creating value set and restricting values based on operaing unit retrieved

    I am creating a value set to retrieve inventory org's from org_organization_definitions table. I want to restrict the values based on the operating unit i retrieve from profile options.
    How do i write it as a syntax while creating the value set at front end?
    can you help me?

    Hi Ivruksha,
    Thank you for your reply! Here are more details:
    We display the accounting flex for each segment in an ADF application we create. We query Fnd_Flex_Values_Vl to find the possible segment values for each segment. The customer has a use case, in EBS, there are two operating units A and B. Both A and B use the same independent flex value set for a key flex field but they display different segment values based on the given operating unit. We need to replicate this behavior in our form to be able to filter the segment values based on the operating unit.
    We set the MOAC policy context to a single org so it will only show data from the specified org id. But for segment lookup, it still returns the same list of segment values for both operating units.
    - Beibei
    Edited by: user11179792 on Dec 4, 2012 7:32 AM
    Edited by: user11179792 on Dec 4, 2012 7:34 AM
    Edited by: user11179792 on Dec 4, 2012 7:36 AM

  • Default DFF based of user login and value set

    Hi All,
    My requirement is: Default the value of a DFF based on a value set and the person who logs in.
    My value set is:
    Person A - Value 1
    Person B - Value 2
    So, if person 1 logs in - the DFF value should be Value 1.
    If person 2 logs in - the DFF value should be Value 2.
    How can this be achieved?
    Alex

    You can default the value by using SQL in the default type for the particular DFF segments. You can get the user id from $PROFILES$.USER_ID. You can derive the employee id / name from the user id (provided you do indeed tag an employee to the FND User definition)

  • Value Set

    Hi All,
    Supplier payment history report is failing when the user tries to run it. This is the first time user is running this report after upgrade from 11.5.7 to 11.5.10.
    I looked at the log of the report and apparently it is not able to handle the date(start payement date) format of the report.
    Report expects it in the format: DD-MON-RR while it is getting it in the following format YYYY-MON-DD <timestamp>
    So, can anyone let me know the steps to navigate to the value set and change it so that the date format resembles what is getting passed in.
    Thanks,
    Chiru

    closing thread...resolved issue.
    Cheers,
    Chiru

  • DropdownByKey inside ALV Table - Problem with Value set

    Hi,
    I have Component A which has a custom controller that uses the interface controller of the ALV Component.
    Custom controller has node ITAB.. that has certain attributes...
    I want DropdownByKey inside the ALV Table column. I am populating the corresponding attribute of ITAB node with the value set that I want the drop down to have.
    However when I execute the application..I get error
    " Key XXX not present in Value Set and is not initial"
    XXX is present in the Value Set table of the attribute.
    <b>Following is my code in the methods of CUSTOM CONTROLLER</b>
    <u>Generate Value Set</u>
    nodeinfo_context = wd_context->get_node_info( ).
    nodeinfo_ITAB= nodeinfo_context->get_child_node( wd_this->wdctx_ITAB ).
    <u> Populate the Value Set</u>
    data ls_valueset type wdy_key_value.
    data it_valueset type wdy_key_value_table.
    ls_valueset-key = 'FRA'.
    ls_valueset-value = 'FRANCE'.
    Append ls_valueset to it_valueset.
    ls_valueset-key = 'SFO'.
    ls_valueset-value = 'SAN FRANCISCO'.
    Append ls_valueset to it_valueset.
    <u>Set the Value Set for the Attribute</u>
    call method nodeinfo_ITAB->SET_ATTRIBUTE_VALUE_SET
                  EXPORTING
                     NAME = <b>'ATTR1'</b>
                     VALUE_SET = it_valueset.
    <u>Changing ALV Column</u>
    Get the ALV Configuration Model
      ifc_alv2 = wd_this->wd_cpifc_alv2( ).
      itab_alv2_config = ifc_alv2->get_model( ).
      itab_alv2_config->IF_SALV_WD_TABLE_SETTINGS~SET_READ_ONLY( abap_false ).
    <u>Get the Column reference for ATTR1</u> 
    ref_alv2_colset = itab_alv2_config->if_salv_wd_column_settings~get_column( <b>'ATTR1'</b> ).
    <u>Create the DropDownByKey Object</u>
    CREATE OBJECT ref_dropdownkey
              exporting SELECTED_KEY_FIELDNAME = ref_alv2_colset->id.
      ref_dropdownkey->SET_SELECTED_KEY_FIELDNAME( <b>ref_alv2_colset->id</b> ).
      ref_alv2_colset->SET_CELL_EDITOR( <b>ref_dropdownkey</b> ).
    <u>Check the value set</u>
      ref_attr_info = nodeinfo_flight_details2->get_attribute( ref_alv2_colset->id ).
    I do get back the value set if I see ref_attr_info->value_set.
    SO the Value Set is getting set for attribute ATTR1, but still I get Error
    <b>"The value selectedKey = "SFO" in DropDownByKey "_8C" does not exist in the value list and is not initial either "</b><u></u>
    SAP  User

    You have forgotten to set a cell variant. I had the same with setting a ProgressIndicator cell-editor to a table column as default editor. This causes the column to be hidden on the table while it did show up in the settings dialog. I removed the set_editor( lr_progressindicator) and created a cell variant instead with this lr_progressindicator. You then need to add this cell variant to your column. By default it will select the standard viewtext-cell-editor (which can only be textview and inputfield, like when you create a table yourself in a view), but if you use a cell variant, it will display the required cell editor if you set it (last line of the code).
    <b>In your case, replace lr_progressindicator by your ref_dropdownkey.</b>
      DATA: lr_column_settings    TYPE REF TO if_salv_wd_column_settings,
            lr_column             TYPE REF TO cl_salv_wd_column,
            lr_column_header      TYPE REF TO cl_salv_wd_column_header,
            lr_cellvar            TYPE REF TO cl_salv_wd_cv_standard,
            l_cellvar             TYPE string,
            lr_progress_indicator TYPE REF TO cl_salv_wd_uie_progr_indicator.
      lr_column_settings ?= wd_this->mr_table.
      lr_column = lr_column_settings->get_column( 'STATUSBAR' ).
      lr_column_header = lr_column->get_header( ).
      lr_column_header->set_text( 'Completed' ).
    CREATE OBJECT lr_cellvar.
      l_cellvar = 'CV_SB'.
      lr_cellvar->set_key( l_cellvar ).
      CREATE OBJECT lr_progress_indicator.
      lr_progress_indicator->set_percent_value_fieldname( 'STATUSBAR' ).
      lr_progress_indicator->set_tooltip( 'completed' ).
      lr_cellvar->set_editor( lr_progress_indicator ).
      lr_column->add_cell_variant( lr_cellvar ).
      lr_column->set_selected_cell_variant( l_cellvar ).
    I hope this will solve your issues.

  • Precalculated Value Set - Query Designer - information Broadcasting NW2004

    Hi Buddies,
    Needs your help!
    i have question regarding to the precalculated Value set distribution type for infomation Broadcasting NW2004.
    According to my understanding, firstly i created a broadCasting setting Z_Test based on Query1 to calculated the value Set, for example ,  for company code.
    And then in the Query Designer, New a Query2 which contains a Variable type precalculated value set and its default value point to the broadcasting setting created before.
    but when i check the query, it present an error message : 'Default value for Variable 'PM_Comp' are not within permitted value range'.
    could anyone can help me out with it?
    Thanks a lot!!
    B.R
    Vivi

    Hi,
    I am also getting the same error. Have you got any solution ??
    Regards,
    Sheetal

  • TCA value set error

    I have created three value sets and this one is to extract the contact from the id the value set gets sent.
    SELECT PARTY.PARTY_NAME, DECODE(ACCT_ROLE.STATUS,'A','Active','I','Inactive')||' '||PARTY.PERSON_LAST_NAME||' '||PARTY.PERSON_FIRST_NAME,
    ACCT_ROLE.CUST_ACCOUNT_ROLE_ID
    FROM HZ_CUST_ACCOUNT_ROLES ACCT_ROLE, HZ_PARTIES PARTY, HZ_RELATIONSHIPS REL
    WHERE 1=1
    AND ACCT_ROLE.PARTY_ID = REL.PARTY_ID
    AND ACCT_ROLE.ROLE_TYPE = 'CONTACT'
    AND REL.SUBJECT_ID = PARTY.PARTY_ID
    AND PARTY.PARTY_TYPE = 'PERSON'
    AND :$FLEX$MISAR_HZ_PARTIES = ACCT_ROLE.CUST_ACCOUNT_ID(+)
    ORDER BY PARTY.STATUS,PARTY.PERSON_LAST_NAME||','||PARTY.PERSON_FIRST_NAME
    When I reference the value set through a standard custom form through a descriptive flexfield I get the following error message:
    APP-FND-01242: Cannot read value from field $FLEX$MISAR_HZ_PARTIES
    Cause: The field $FLEX$MISAR_HZ_PARTIES could not be located or read.
    Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.
    I've checked all the other value sets by running the SQL through SQL*Plus and they work fine.
    There is no id to send to this value set but it shouldn't fail.
    Any ideas why this error is coming up?

    The issue is usually caused by descriptive flexfield validation logic referencing a <block_name>.<field_name> combination that does not exist in the form.
    The setup causes the issue because the flexfield is unable to pass validation. Either disable the problematic descriptive flexfield or remove all references in the descriptive flexfield validation logic to the invalid <block_name>.<field_name> combination.
    Solution
    -- To disable the descriptive flexfield, please execute the following steps::
    1. Go into the System Administrator responsibility
    2. Navigate to Application > Flexfields > Discrete
    3. Query for the problematic descriptive flexfield. See Note 1016241.102, for guidance in identifying the flexfield.
    4. Clear the 'Freeze Flexfield Definition'Note 1016241.102, for guidance in identifying the flexfield.
    4. Clear the 'Freeze Flexfield Definition' checkbox.
    5. Disable any Global Data Element segments.
    6. Disable any context-sensitive (non-global) structures.
    7. Check the 'Freeze Flexfield Definition' checkbox.
    8. Save the changes.
    9. Retest the issue.
    10. Migrate the solution as appropriate to other environments.

  • Cost Allocation Flexfield with Table Value Sets

    Hi
    I am setting up Costing for Payroll. I have a requirement where I want to use Table Validated value sets for Cost Allocation Flexfield. In the Administrator Guide it is written that we should not use Table validated value sets for any KFFs.
    I still tried the same (defining Table validated value sets) and my process errored out. It was giving following error
    Value 381 for the flexfield segment Cost Center does not exist in the value set
    SJR_COST_CENTER_LIST.
    invalid code combination:
    381SJR_COST_CENTER_LIST is name of the value set.
    Then I changed the value set and keep the code and meaning in the value set table as same and my process worked fine.
    Now I want to know that should I use Table validated value set or not. As Oracle does not support these in KFFs

    Hi Thierry
    Thanks for the reply
    have you used cross validation rules?I am not sure about cross validation rules and how we can use in my case.
    An other thought: there is an action parameter available parameter_name=COST_API_IMODE
    Set the parameter_value = 'Y'In my case my costing process is working fine, even when I define my table validated value sets. My question is should we define table validated values sets or not as Oracle does not support it now? Oracle use to support this for KFFs some time back but now they are saying they does not support.
    Are there any known issues if we use Table validated value sets? Why Oracle does not support it for KFFs?

  • Dependancy between 2 value sets

    Hi,
    I have 2 segments in People Group based on 2 value sets and dependent from each other:
    Segment 1- Employee Type: Back Office or Shop
    Segment 2- Commission %: (fnd_number value set)
    My question is: how to set segment 2 mandotry in case employee type is Shop and optional in case we chose Back office
    Thank you
    Elie

    check this out
    http://docs.oracle.com/cd/E18727_01/doc.121/e12892/T354897T361282.htm#I_ex2Dspvalst

  • How do I set (or auto populate) the value of a modal dialog field using javascript?

    I have a Modal Dialog on my SharePoint 2010 page the following fields: Your Name, Subject, Priority, Message. 
    It links to a list I have on the site. The second field, Subject, I want to auto populate it when the window opens, so the user can leave it as is or modify the subject. I want to set the field value using javascript. 
    I've tried setting the field with this code:
    document.getElementById('Subject').value = "Test";
    and also, this:
    setFieldValue('Subject','My custom value');
    Neither work. 
    How do I set the value of the subject field when the user first opens the dialog using javascript?
    Please help.

    I am sure, you are looking at default field value of a list column(single line) in a modal window, if so please try below code
    <script src="https://code.jquery.com/jquery-2.1.0.min.js" type="text/javascript" abp="397"></script><script type="text/javascript" abp="398">
    $(document).ready(function(){
    $('input[name*="Subject"]').val("Test");
    </script>​​​​​​
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Voltage options in bios all set to auto and greyed out

    I have a MSI X48C motherboard. The bios allows me to change the FSB, FSB/Memory ratio along with a couple of other values, but all the voltages are set to auto and greyed out so I can't change them. I don't understand why this is the case. How am I able to change these voltages. I have tried enabling and disabling various functions in the bios, but nothing seems to unlock the voltages. What do I have to do?

    It states this at the bottom of each bios screen, the help menu states this information, and the manual states it.

  • Set and get values with vector

    I have a class that that querys a db and sets a value of the result to a vector array. Is it possible to set and retrieve that vector array using the set and get methods?
    ex:
    my class:
    sql = "Select ...";
    Vector fName = new Vector();
    rs = sqlStatement.executeQuery(sql);
    if (rs != null) {
    while (rs.next()) {
    fName.add(rs.getString("fName") + "");
    rs.close();
    setFName(fName);
    how would I set up the set and get methods???
    thanks

    I am unsure of what you are asking:
    A Vector has set and get methods for it, you use indexes of the array to say what element you want to work with.
    If you are asking how do you know what elements of the Vector contain which data columns, you have to remember how you put them in.
    If you are asking if you can use set to load the Vector: then NO, you have to have elemenets already there to change, use the add method.
    If you are asking how to access the elements of the Vector you use an Enumeration:
    for(java.util.Enumeration e = v.elements(); e.hasMoreElements();){
    s = (java.lang.String) e.nextElement();
    vl.add(s.substring(0, 12));
    If you are asking something else: please elaborate what you want--my brain may not be very functional this morning.

Maybe you are looking for

  • Acrobat X plugin buttons are clipped

    Hi, We are in the process of adjusting our old Acrobat plugins (C++, Acrobat 8.0/9.0 SDK) to be compatible with Acrobat X. Our plugin consist of several buttons, which (in Acrobat X) now appear in an area in the 'Tools' panel. I've attched to this di

  • I Book G4 12 inch freezing up and acting strangely

    Recently we bought my wife a 12 inch I Book G4. It is a 1.2 megz processor. We have upgraded the ram, and recently replaced the keyboard. In the last few days it has started acting strangely. While using Pages, and Safari, it begins to "spin" and tha

  • FRM-99999 error: client will not be able to continue

    *) I am using deverloper 6.0 and deploying forms 6.0 on the web and using netscape browser 4.0.6 and oracle 8i as database.I have configured everything according to the help given in developers online documents.In the status bar of the browser it sho

  • More on Out of Memory Error

    I recently purchased the CS3 Master Suite. Am running Encore 3.0.1.008. Have a dual core with 2 gigs, Vista. Built a medium size movie with a 70 clips, 14 timelines, and 14 menus. Everything linked nicely, check project finds no errors. Projected siz

  • Uploading long text as one long text for the same records.

    Hi, i am uploading long text into one custom application.in that i had one issue, I am uploading long text with the combination of material,palnt,division,sales organization and distribution channel. Now my reqiurement is when ever two or more than t