Set List Manager Values

I use a List Manager (based on Popup LOV) in a form. On submit, I insert the list manager values by creating a array using the wwv_flow_utilities.string_to_table function and inserting the values one by one in a loop.
I would need to be able to set the list manager values (not the Poplist values) with the query result values. Does someone can help me with that ?
Thanks !
Danny

Actually I am trying to do the same exactly without success.
Can anybody help here?

Similar Messages

  • How to catch List box value

    Hi gurus
    I have set list box value through vrm_set_value and in the screen level it's working fine
    In the custom  program I need to fetch data from table using that selected list box value , but  its always coming blank  .
    please help me how to catch that list box value in the program .
    Thanks

    This is the code
    *************SELECTION SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS    :  P_bukrs  TYPE bukrs    OBLIGATORY  ,                        " Company Code
                     p_psc    TYPE psc_name OBLIGATORY ,
                     p_monat  TYPE MONAT    AS LISTBOX VISIBLE LENGTH 5 OBLIGATORY ,  " Quarter
                     p_gjahr  TYPE gjahr    DEFAULT sy-datum+0(4) OBLIGATORY .                        " Year
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS    : P_KIND      AS CHECKBOX USER-COMMAND abc ,                          " Check Box
                    P_prcent(6) TYPE P DECIMALS c_val_three  ,                    " Take in kind percentage
                    p_prod      TYPE PSA_PRODUCT  AS LISTBOX VISIBLE LENGTH 10  .   " Take in kind product
    SELECTION-SCREEN END   OF BLOCK b2.
         A T   S E L E C T I O N    S C R E E N                          *
    AT SELECTION-SCREEN on BLOCK b1 .
    Validate Company Codes.
      PERFORM sub_validate_com_code.
    Validate PSC
    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_psc .
      PERFORM sub_validate_psc.
    Validate Quarter
      PERFORM sub_validate_quarter .
    AT SELECTION-SCREEN on BLOCK b2 .
    Validate Take in kind percentage
      PERFORM sub_validate_percnt .
    Validate Take in kind Percentage
      PERFORM sub_prod_disp .
    form sub_prod_disp .
    populated internal table lt_prod_val .
    LOOP AT SCREEN.
            CALL FUNCTION 'VRM_SET_VALUES'
              EXPORTING
                id              = 'p_prod'
                values          = lt_prod_val
              EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
          ENDLOOP.
    in start of selection the p_prod is always coming initial .

  • Issue with creating List of Values in Business View Manager

    Hi,
    Could any one help me to figure out what this issue refers to?
    When i created a List of Values in Business View Manager, it is throwing the following error!!!!
    The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
    Prior to creating LoV, i've done successfully with creating Data connection, Data foundation, Business element and Business View..
    Thanks
    Viswa

    Hi Visaw,
    Firstly,
    -->Open Repository Explorer,
    -->where you are have related DF,DC,BV,BEand LOV's
    -->Right click on LOV's -->There you can find Schedule list of values.Then schedule list of values and check if it prompts for errors.
    If you face the same problem, what is the error you are getting.
    Else try to use the LOV's and proceed further.
          -->Check whether the LOV's are pointing to the same Business View and check the Business view pointing to the same Datafoundation.
    If you are facing the same problem then try with the below steps:
    -->Try to Create a report at designer level Using then Business view
    -->Create two new parameters and select the existing parameters(LOV parameter's)
    -->Check whether it is working.
    -->If you  face the same problem ,Update the connection of Business view manager.
    Go to Database tab-->Select Set DataSource  location and update it with current Businessview Manager.
    Try this ,and let us know.
    Regards,
    Navin

  • How to set a default value for a drop down list box and then apply cascading based on the default value in Infopath 2010.

    Hello Everyone
    I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
    where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
    Thanks
    Ramanjulu Naidu N

    Hey Ramanjulu,
    Take a look at the below article which I believe will answer your question.
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Daniel Christian (MCTS)

  • How to set a variable value on the BPC Data Manager

    Hello BPC Experts,
    I'm creating a BPC10 NW version demo environment for our prospect customer.
    I made a data manager to import  BW data into BPC model from BW cube.
    I need to import just one month data into BPC from the BW cube that has more than one month data.
    When I run the data package manually, I can select a member of the time dimension prompt and I can import specific month data I want.
    But, in a case where the program (data manager) runs by JOB monthly,
    I can't select a member of the time dimension prompt manually.
    So I want to know how to set a  variable value to the time dimension prompt from a system date etc. automatically.
    Are there any way to set a variable value to the time dimension prompt on the data manager automatically from a system date?
    Or, do you have any other solution to import just one month data into BPC from the BW cube that has more than one month data  by the data manager running on JOB ?
    (without selecting a member of the time dimension prompt of the data package manually)
    Thanks in advance,
    Keisuke

    Hi Gersh
    Sorry for my late reply and thanks for your helpful information.
    I tried the second way of your information and I could configure it.  
    And I 'll try first way of your information.
    Regards,
    Keisuke

  • How to set a default value in a Value Help Drop Down List

    Hi,
    I used an age Range field in my adobe form, the control  is a Value Help Drop Down List. i am populating the drop down using following code.
    IWDAttributeInfo ageInfo = wdContext.nodePersonalData().getNodeInfo().getAttribute("CTAgeRange");
         ISimpleTypeModifiable ageType = ageInfo.getModifiableSimpleType();     
         IModifiableSimpleValueSet ageValueSet =  ageType.getSVServices().getModifiableSimpleValueSet();
         ageValueSet.put("1","21-29");
         ageValueSet.put("2","30-34");
         ageValueSet.put("3","35 or Above");
    My requirement is to set a default value e.g. 30-34 in the age range field.
    I want to give input to iform from my Implementation code only.
    Please help.
    Thanks in advance

    hi Ranjan,
    that means you have to set at design time,
    to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element) in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<default value>)
    This generally done in Initialization method of the controller.

  • How to set a default value in dropdown list in Wendynpro ABAP? Help!

    Hi Experts,
           I have Webdynpro for ABAP application that shows a DropdownwithKey UI element.
    1. I am able to populate the dropdown list. But by default the list is not showing any value. Only when I select a value from the list then it shows it.
    So how to set the default value to the first value in the list? Any code sample will be really helpfull.
    I have written the following code:
    method WDDOINIT .
      DATA:
        node_category TYPE REF TO if_wd_context_node_info.
      node_category = WD_CONTEXT->GET_NODE_INFO( ).
      node_category = node_category->GET_CHILD_NODE( 'CATEGORY' ).
      data:    LT_VALUESET type WDR_CONTEXT_ATTR_VALUE_LIST,
               L_VALUE type WDR_CONTEXT_ATTR_VALUE.
    L_VALUE-VALUE      = 'V1'.
    L_VALUE-TEXT    = 'yesterday'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V2'.
    L_VALUE-TEXT    = 'today'.
    INSERT L_VALUE into table LT_VALUESET.
    L_VALUE-VALUE      = 'V3'.
    L_VALUE-TEXT    = 'tomorrow'.
    INSERT L_VALUE into table LT_VALUESET.
    node_category->SET_ATTRIBUTE_VALUE_SET(
                 NAME = 'CAT_VALUE'
                 VALUE_SET = LT_VALUESET ).
    endmethod.
    Note that: I am using webdynpro for ABAP.
    Thanks
    Gopal

    I am not sure how it works in Web Dynpro for ABAP, but in Web Dynpro for Java to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element)  in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<defalut value>)
    This generally done in Initialization method of the controller.

  • How to set a default value to t-list when creating t-list programmatically

    hi,
    I'm creating a t-list programmatically
    by calling
    n = populate_group('groupname');
    populate_list('form.list','groupname');
    In this case how to set a default value for the t-list
    thanks
    rani

    I am not sure how it works in Web Dynpro for ABAP, but in Web Dynpro for Java to set default drop down value you will have to set the value for particular attribute (which is linked to the dropdown element)  in the context
    like
    wdContext.currentContext<nodeName>Element.set<FieldName>(<defalut value>)
    This generally done in Initialization method of the controller.

  • Setting default field values for multi-line text fields in lists?

    For the multiple lines of text field in a list, I'm using SharePoint Designer 2013 to set a default
    value for the field, but I need that default value to include rich text formatting (the default value includes a formatted table). Is this possible without having to delve into JavaScript? And if so, how?

    Yes, we can :)
    You can do it with powershell
    $web = get-spweb <yourweb>
    $list = $web.lists["<yourList>"]
    $field = $list.fields["<yourField>"]
    $field.DefaultValue = "place your html code here"
    $field.update()
    hope that helps

  • How to set dynamic parameter in list of values in parameter property

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

  • Set of Books not showing in list of values - 11i

    Hi all,
    I have an issue with Set of books, i have followed one note and created a set of books. After that tried to create one inventory organization, then tried to create operating unit, there Legal Entity is showing but when click set of book, showing No entries found of List of values.
    Please help to solve this issue. I am a dba, trying to enable multi-org for learning purpose
    Thanks
    Pons

    Pl post details of OS, database and EBS versions, along with which document you are following to enable multiorg. Pl see if these MOS Docs can help
    FAQ - Multiple Organizations Architechure (Multi-Org) (Doc ID 165042.1)
    LOV for Legal Entity or Set of Books from Operating Unit Information Missing Selections          (Doc ID 354008.1)
    HTH
    Srini

  • Set a default value for a radio button populated with a List of value

    Hi,
    I am using jdeveloper 11.1.1.3.0. I need to set a default value for a radio button populated with a List of value(Yes/No). Here's the selectonechoice code.
    <af:selectOneRadio value="#{bindings.Code.inputValue}"
    label="#{bindings.Code.label}"
    required="#{bindings.Code.hints.mandatory}"
    shortDesc="#{bindings.Code.hints.tooltip}"
    id="sor1" autoSubmit="true"
    valuePassThru="true" layout="horizontal">
    <f:selectItems value="#{bindings.Code.items}" id="si1"/>
    </af:selectOneRadio>
    I want to have the selectonechoice set to No by default. In the previous versions, I set the default value in the base attribute VO. But it is not working in the new version.
    Thanks

    Hi,
    this should work in JDeveloper 11.1.1.3 the same as in 11.1.1.2. If it doesn't then it is better to file a bug than to work around it
    Frank

  • How to set List of String as variable value in BPEL

    I am using java embedding to invoke a method which returns a list of strings. I need to set these values in a variable in BPEL to be used later. I am getting following error while setting the value.
    <May 2, 2012 5:18:20 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <failed to handle message
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}mismatchedAssignmentFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Mismatch Assign.
    cannot set a nonelement value to an element-based variable.
    An attempt to assign a nonelement value to an element-based variable failed.
    Verify the BPEL source for invalid assign activities.
    </summary>}
    Following is the java code
    List<String> providers = Registory.getProviders("1");
    setVariableData("providerList", providers);
    I have defined a xml element in the wsdl defintion:
    <xsd:element name="providerList">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="providerId" type="xs:string" maxOccurs="unbounded" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    providerList variable is of type "providerList".
    What else do I need to do to convert the List to the xml elements ?

    Well I believe this is not officially mentioned anywhere, but this is the limitations for the java embedding activity. You can assign value to a single variable or to the single part element of variable only. I suggest you go with a java web service. you can check more details on java embedding activity @ http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bp_java.htm
    void setVariableData(String name, Object value)
    void setVariableData(String name, String part, Object value)
    void setVariableData(String name, String part, String query, Object value)

  • How to set value to a input list of values?

    Hi,
    I'm using Jdev 11.1.2.0
    I'm using model driven input list of values in page.
    In inputtext of that list of values, When I entering the exact value(if only one value exists with that value)  say for example 100, then that value is getting set to inputlistvalues without opening the popup.
    But if i enter 10 and then click on enter then popup launches with values like 10,100,101,1001... (starts with 10).
    Is there any possibility that we can do like, if i enter exact value which is exists in the list of values, then that value should be set without launching the popup to show more values?
    How to achieve this.
    Any suggestion would be appreciated.
    Thanks.

    <af:inputComboboxListOfValues id="departmentNameId"
              popupTitle="Search and Select: #{bindings.DepartmentName.hints.label}"
              value="#{bindings.DepartmentName.inputValue}"
              model="#{bindings.DepartmentName.listOfValuesModel}"
              required="#{bindings.DepartmentName.hints.mandatory}"
              columns="#{bindings.DepartmentName.hints.displayWidth}"
              shortDesc="#{bindings.DepartmentName.hints.tooltip}">
    <af:autoSuggestBehavior   suggestedItems=""#{bindings.DepartmentName.suggestedItems}" />
          <f:validator binding="#{bindings.DepartmentName.validator}"/>
        </af:inputComboboxListOfValues>
    try this if it helps ....

  • List Manager based on LOV returning values with missing spaces

    I am using a list manager based on a pop up lov, in this case it is a list of supplier names. When the pop-up list is shown the values are displayed as expected, with all spaces intact. When I click the supplier name, and then click Add to add to the list manager, all spaces in the supplier name are lost.
    The field I'm pulling is a varchar2 in the db. Here's the sql behind the lov:
    select '(All Suppliers)' d, '(All Suppliers)' r from rep_gy_spend
    union
    select distinct supplier_name d, supplier_name r
    from rep_gy_spend
    order by 1
    Any ideas on why the spaces are lost?

    DJ - There is a javascript function on the page that does that. View page source and you'll see it. You could override it with your own and change that behavior and you could prevent it from upper-casing the returned values as well by using different onclick javascript on the add button.
    Scott

Maybe you are looking for

  • Bringing dvd footage into FCP - progressive scan

    I occasionally have clients that need me to bring footage into their projects from a dvd or vhs. I'm looking into getting something that can do both NTSC & PAL and I've come across this product: Sharp DV-NC80 6-Head Hi-Fi Stereo VHS/S-VHS VCR & DVD,

  • Regd: Purchase Order ME28 & ME29N

    Hi All, We have a scenario that once when the Purchase orders are set to release in T-code ME28 or ME29N the details of those particular P.O should be converted into XML file. Currently we have developed to logic to create XML file but we need the ex

  • IChat Mac-to-Mac xyz did not respond

    Hello, I have a very strange case: when trying to connect to X we do not get iChat working, this is what happens: - Select the person from the buddy list - Connecting - did not respond message I have tested this also with another Mac user Y and iChat

  • Use DO and AI function in one DAQ Device

    Hi, everyone I try to use DO and AI function in DAQ USB-6008. When I run my program it shows one error message as below, Please suggest me how to solve this problem? Thank you! My Code: DAQmxCreateTask("", &gTaskHandle_DAQ1); DAQmxCreateTask("", &gTa

  • Sequence in Test Package

    Hi, I have a sequence in a test package test1, test2, test3 say. The status and status value in the tester worklist is working i.e if you try execute test3 before test2 get message 'previous test case not yet finished'. However, the 'ready to test' t