Value list

I have the code to pass to the value of the list<cfset
OrgCodeList_assign = ValueList(orgAccess.OrgCode)>
and this list gave me AA,AB,AC. I passed those value to the
next page and I got AA,AB,AC. I need these value on the next page
for my query but I don't know how to seperate these in to
('AA', 'AB', 'AC')
<cfquery
select .....
from....
where orgcode in ('AA', 'AB', 'AC')
Thanks

cfqueryparam list="yes"

Similar Messages

  • Select-options - select multiple values from personal value list

    Hi experts,
    In my application, I am using select-options. I select the values required from the search help into the personal value list . I want to copy these values from the personal value list into my ranges table. Do I have to copy them one row at a time. Is there any way to select the values directly into the ranges table of the select-options field?
    Regards,
    Abdullah.

    Boy, this is something we're struggling with too. So we'd like to hear others' ideas on this also.
    thank you,
    iggy

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • Error at transport in select option   is not followed by itab or value list

    Hi All,
    I have an issue with the following inner join. when i check with code inspector it is not showing any errors but i get the following error while transport.
    "The In operator with SO_MATKL is followed neither by an Internal table nor by a value list".
    This error appears after the system is unicode enabled is that it have any unicode significance please advice on this.
    The following is the code snippet.
    SELECT amatnr amtart aextwg amatkl bwerks bdispo b~ekgrp
        INTO TABLE tb_mara
        FROM mara AS a
       INNER JOIN marc AS b ON amatnr = bmatnr
       WHERE a~matnr IN so_matnr
         AND a~mtart IN so_mtart
         AND a~extwg IN so_extwg
         AND a~matkl IN so_matkl
         AND b~werks IN so_werks
         AND b~dispo IN so_dispo
         AND b~ekgrp IN so_ekgrp.

    Hi Gopal
    Am on UNICODE Enabled system and i dont have problem with below code. Please check, if you have used similar to this???
    tables: mara, marc.
    select-options: so_matnr for mara-matnr,
                    so_mtart for mara-mtart,
                    so_extwg for mara-extwg,
                    so_matkl for mara-matkl,
                    so_werks for marc-werks,
                    so_dispo for marc-dispo,
                    so_ekgrp for marc-ekgrp.
    types: begin of t_mara,
             matnr type matnr,
             mtart type mtart,
             extwg type extwg,
             matkl type matkl,
             werks type werks_d,
             dispo type dispo,
             ekgrp type ekgrp,
           end of t_mara.
    data: tb_mara type table of t_mara.
    SELECT a~matnr a~mtart a~extwg a~matkl b~werks b~dispo b~ekgrp
           INTO TABLE tb_mara
           FROM mara AS a
           INNER JOIN marc AS b ON a~matnr = b~matnr
           WHERE a~matnr IN so_matnr
           AND   a~mtart IN so_mtart
           AND   a~extwg IN so_extwg
           AND   a~matkl IN so_matkl
           AND   b~werks IN so_werks
           AND   b~dispo IN so_dispo
           AND   b~ekgrp IN so_ekgrp.
    Kind Regards
    Eswar

  • Value list for a new field

    Hi to all of you SAP experts
    I need to add a new field to an info-type (in the hr module).
    The field needs to have a value list (check table).
    I have two options, I can create a data element based on a standard domain and add the check table at the level of the actual structure OR I can create a new domain and hold the value table there.
    My question is what should be the considerations for choosing one way or another?
    Thank you.

    If the values will change rarely, then it's simpler to just add it to the domain; but if new values are added or existing ones changed frequently, then you should consider the check table.
    Rob

  • Cannot add new items to a value list in AW database

    I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
    There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?

    Oops
    I read too fast.
    Here is a short script which may help.
    Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
    Select the field to fill and run the script.
    Then choose an item in the displaid list. It will be pasted in the selected field.
    This trick would give you to work with a "no limit" list of items.
    -- [SCRIPT DB fillFieldFromAlist ]
    Assuming that
    the front document is a database one
    and that a text field is selected,
    run the script to select an item in a list
    and paste it in the field.
    Yvan KOENIG, Vallauris (FRANCE)
    le 19 mars 2007
    property MyList : {"item 1", ¬
    "item 2", ¬
    "item 3", ¬
    "item 4", ¬
    "item 5", ¬
    "item 6", ¬
    "item 7", ¬
    "item 8", ¬
    (* edit the list to fit your needs *)
    tell application "AppleWorks 6"
    activate
    tell document 1
    set laClasse to (get class of selection)
    if laClasse is not field then return (* the selection is not a field *)
    set myItem to choose from list MyList
    if myItem is false then return
    set the clipboard to myItem's item 1
    select menu item 7 of menu 3 (*
    Tout sélectionner •• Select All *)
    paste
    end tell -- document 1
    end tell -- AppleWorks
    -- [/SCRIPT]
    Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53)

  • UCCX 9.0 CUIC Value lists

    Hello,
    I have installed UCCX 9.0(2) and I am using CUIC for the reporting data. When I first configured the UCCX CSQs, I used some sample names. After the testing phase, I changed those names to the final names.
    Everything is working as expected with the callcenter. The only problem I have is that in CUIC, if I check the Stock Value list "UCCX_CSQ Names" I see the names of the old CSQs as well as the new CSQs.
    The old CSQs are no longer configured in the system, and I cannot modify the value list since it is a stock list. How can I remove those old names from CUIC?
    Regards,
    Javier

    If you delete of modifiy any thing in UCCX then old value will mark as inactive but that will still present in infromix database.
    if you want to completly remove it then you have to purge the old data . but in that case you will lose all your historical data also . you can request TAC they will delete old config from root . but normally this is working as design .

  • Crystal Reports and values list of BEx variables

    Hello.
    I read this - http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsandBWquery+elements
    And there are writed in wiki:
    "List of values for SAP variables are created automatically by Crystal Reports only when you use SAP Toolbar to create the report:
    The list of values for a variable in Crystal Reports will be static, but the list will be always dymanic in InfoView as long as you use BW Publisher (save reports to BW, publish to BOE)and you logon to BOE using SAP Authentication."
    I have two link to BEx queries from my CR report - and my variables have not values. I think that I don't use "SAP" menu when created the report.
    But... what I can doing now? Is way transform "simple" report into "SAP" report?
    May be is way create "SAP" report and after it copy all content of old report into new "SAP" report including all objects, formats, formulas, connections?
    May be is way load values list from BEx query with "simple" reports?
    And another question - I see that in list I get texts and codes but showing only texts in run-time. Can I tune CR for show codes too?

    Post to Integration Kit SAP forum

  • Restrict value list (F4) at variable selection screen

    Hi,
    we have a variable of type "manual input" so that it appears at the selection screen before executing the query.
    The value-list (F4) for this variable provides every value of masterdata of the infoobject. But here is the problem: I want only those values that are used in the infocube. Is there a way to restrict this list? Customer-Exit??
    Thanks for all hints!
    Regards,
    Mathias

    Hi,
    I tested both of the hints - in my system both settings had no impact.
    Can it be a release problem? My BW is a 3.0B SP 15.
    I changed the settings in the InfoObj and put a new variable in the query-def for this characteristic. In the variable-selector before executing the query I can select a value (via F4) for the characterisitc which is not used in the cube. This is my problem. Only used values should be selectable.
    These are the settings in the InfoObj:
    Display                 Text                          
    BEx description         Short description             
    Selection               Unique for Every Cell         
    Q Def. Filter Val Sel   Only Values in InfoProv       
    Q Exec Filter Val. Sel  Only Posted Values for Navi
    Can anyone help?
    Thanks, Mathias

  • Personal Value List in automatic F4 Help

    I have created an input field in my web dynpro view. For the underlying data element I have created a search help in the dictionary, and in the context, I have selected "search help = automatic". Now, i get a F4 help for the input field for free, which I like a lot.
    In the F4-help window, there is a button called "Add to Personal Value List", but this button is disabled all the time.
    What can I do to enable that button (and the respective functionality)?
    Regards, Daniel

    Hi,
    maybe this note can give you a solution:
    [Note1049916|https://service.sap.com/sap/support/notes/1049916]
    grtz,
    Koen

  • How to pass a value to a filter prompt based on a value list?

    I have a query that has a filter prompt that is based on a value list. I want to call this query from another query as a drill down.
    So I build the URL to call the query and pass the value for the filter prompts as URL parameters. For the filter prompts that are simple text fields this works without problems, but how do I pass a value to the filter prompt that is based on the value list?
    I tried passing
    <parameterName>=<valueListId>:616:null
    and that gives me "None" for the value list prompt as expected.
    I then tried to pass the DisplayName (as I would do when setting a default value for the prompt).
    Like this:
    <parameterName>=<displayName>
    but that does not work.
    I also tried some variations/combinations like
    <parameterName>=<valueListId>:616:<displayName>
    but that does not work either.
    So does anybody know how to pass a parameter to the value list prompt?

    Hi Martin,
    I saw the following post which may help answer your question.
    How to default a Value List or Object Picker to a particular value
    Regards,
    Reshma

  • How to make a value list depending on appraisal's validity dates

    Hi experts,
    I would like to know if anyone succeed to define a new (specific) Value Class (definition: HRHAP00_VALUE_TYPE) which make a list which is imported from a referential with dates (in a specific table)...
    I mean, we would like to conserve appraisal's historic (on the portal), and to put a values list which can change...
    And the access to an old appraisal (termined) has to keep the good value in the list even if the list has been modified at the current date...
    In fact, in the implementation of the definition HRHAP00_VALUE_TYPE we don't find how to get the appraisal's validity dates...
    We need them because if we take the sy-datum, past appraisals would be with wrong values...
    Thank's for your help.
    Best regards...
    Aurelien
    Edited by: Aurelien Delamarre on Jul 10, 2008 4:25 PM

    Did you find a way to read appraisal details from this BADI.

  • Want detailed sample code(value list handler pattern) for my case

    I am trying to write a Session Facade Bean with getAllUsers() method which get Collection pased from my UserBean(entity), to get all my users info.and I have a helper class called UserInfo
    public class UserInfo implements java.io.Serializable
    public String userid;
    public String username;
    public String password;
         public UserInfo()
         public void setUserInfo(String userid,String username,String password)
              this.userid=userid;
              this.username=username;
              this.password=password;
    I dont' know How my ejb client(jsp maybe) to use value list handler pattern to implement getting all users shown.
    I found http://java.sun.com/blueprints/corej2eepatterns/Patterns/ValueListHandler.html the sample code is to complex.
    any one could help me figure out ...
    what helper class do i need .or maybe interface
    what is the best practice?
    thanks in advanced.

    Hi,
    For a J2EE system with session facades, I've implemented that pattern based on the DTO pattern.
    The idea is based on Sun's blueprint Pet Store implementation.
    For that' I've created a DTO called "ListChunk", which holds a chunk of the complete list. In the Pet Store
    application v1.3.2 it's called "Page".
    So, those facade methods that would possibly return a huge list (such as getAllXXX and findXXX)
    return a ListChunk. As arguments, those methods take start index and the maximum size.
    If you want a value-list handler to control the iteration on your client side, you code such a class that
    uses the facade method.
    Here's some code:
    public class ListChunk implements Serializable {
         private List list;
         private int startIndex;     // starts on '0'
         private int totalSize;
         public ListChunk(List list, int startIndex, int totalSize)  {
              this.list = list;
              this.startIndex = startIndex;
              this.totalSize = totalSize;
         public List getList()  {
              return list;
         public int size()  {
              return list.size();
         public boolean hasNext()  {
              return totalSize > (startIndex + list.size());
         public boolean hasPrevious()  {
              return startIndex > 0;
         public int getTotalSize()  {
              return totalSize;
    }And a method in the facade could look like this:
         public ListChunk getAllCoWorkers(int startIndex, int maxSize, CoWorkerSortBy sortBy) {...}

  • How to integrate Value List in to Spring

    Hi All,
    I am new to both Spring Frame work and Value List Framework.I want to know how to integrate the Value List in to Spring Framework.Mainly i want to know from where i can call the DAO from Value List.Can anybody help me by providing the sample examples with the description about the entries we need to make in applicationCopntext.xml etc.Please note that i need the application which should involve JSP as the View and Value List to coonect to DAO with the Spring FrameWork.I don't want to include any other framework like Struts in to that Sample Application.It will be really helpful for me if u send me the sample source code.

    Pardon my ignorance, if I checked something wrong in the BIP documentation but that web services part require some SQL queries to be written right? We are not supposed to make our application so complicated. I guess, if I only add jars, then BIP code would work just like simple POJOs. Not sure
    Will let you know once I will solve this problem.
    Thanks !

  • Transfer Objects in Value List Handler

    Do we need really the EJB for Caching the data using Value List Handler.If EJB is not required then how can we cache the data using Value List Handler

    Sorry for disturbing u again.Actually my requirments
    is , In the Jsp page i have to display 1000You are referring to java server pages and not java script correct?
    records(example) provided with pagination option ie
    each page should display 50 records and options will
    be given to user to see another 50 records by
    clicking the pagination hyper link.This time it
    should pick up from Cache memory not form DB.I came
    to know thru documentation posted in website that
    ValueList Handler provides the Caching Facility.Can i
    achieve this by using ValueList Handler.You can achieve it in any number of ways.
    Nothing in your description suggests that Value List Handler is going to help you in any substantial way.
    Another
    restrictions is not to use EJB.You have to get the data from somewhere.

  • Value-list handler, value-list iterator and session-facade strategy

    Hello all,
    Further to an earlier post, I rewrote my post trying to me more accurate in my question.
    Here is my problem:
    I am trying to implement the value-list handler design pattern using the session facade strategy. In the pattern as it is described here
    (http://java.sun.com/blueprints/corej2eepatterns/Patterns/ValueListHandler.html) the client accesses the value-list handler AND the iterator directly.
    As I chose the session-facade strategy having my value-list handler as a stateful session ejb, I don't know how the client is going to access the iterator. I see only one option: Having the client access the iterator through the ejb value-list handler. This requires adding new methods to the ejb.
    Is this the correct way of doing it? Is there another way of doing this?
    Thanks in advance,
    Julien Martin.

    u can use project list handler as ur session facade.
    regarding ur second question ..session facade and value list handler session bean which is also a session facade( but there is difference between first and second) so u can use session facade and value listhandler

Maybe you are looking for

  • How do I create an object with code?

    I have a flash cs3 file in which I have created a simple movieclip (square) by drawing a rectangle on the stage of that movieclip.  When I drag that into another movieclip (clip) I am able to set properties for it such as x and y position by adding a

  • CUP 5.3 (SP11) Risk Owner Approval in CUP workflow

    Hello Experts, I have a question... When you create a risk in RAR, is there any way you can send an approval request automatically to a Risk Owner already set in RAR? Unfortunately, there is no such option for risk in the CUP custom approver determin

  • What is OBEXAgent and why is it turning my MacBook into a furnace?

    Hey guys, first post here so bear with me Lately my MacBook Pro (2.53 GHz Intel Core 2 Duo) has ben running reeeaally hot. I can't even touch it on the bottom or behind the keyboard. Going to investigate, I went into my Actvity Monitor and OBEXAgent

  • HT1529 Is 0S X v10.7,4 on my new Mac Pro

    Is 0S X v10.7 on my new MacPro?

  • Error with speed retiming render

    Having some probs and would be very grateful if someone could point out where my workflows going wrong. Im working with hdv 1080i50 footage in final cut pro. I ctrl-click on the footage in my timeline, select send to Motion project and motion opens d