Dynamic select --hopefully simple question

I have read alot of threads on doing a dynamic select. I am have no knowledge of AJAX so this is tough for me. I have looked at Denes and Carl's examples. I have one question and I hope its a simple one. I have two select lists. The second field is dependent on the input from the first box. I know we put a query that should bringin the on demand process but is this query the result for the second box or do I need to put the same query in the LOV box for the second field?
For example, the first select list contains module names, based on the module name the user picks, the names in the module should populate the second select list. In the lov for the first select list, I have a query for the modules. In the on demand process, I have a query that takes uses the module name to look for the users, and in the the second select list, I have the query that does the same thing as the query in the on demand process. What do I put in the lov for the second select list.

Nevermind, I downloaded firefox and was able to see what variable wasn't working...

Similar Messages

  • Hopefully simple question. Event ID 2 Task Category (2) Lenovo Message Center Plus Admin

    Hey group,
    Wanted to ask you guys what I was missing. In my event log as the title implies I have a Event ID 2 Task Category (2) error in Lenovo Message Center Plus Admin coming as a result of a 404 error. Issue is I don't know what page it is looking for when it is tossing me the 404 error. Is this a result of Lenvo Updater goofing up using the ADM templates for GPO or is this something else? Would be helpful if it registred the non working link it was trying to obtain so we could isolate it better. Thoughts on this? Thanks!

    try this when you download the file save it to your download folder then right click it and run as admin. it says there is no Lenovo Digital Signature I tried to install it didn't work but I did it this way and it worked
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • Hopefully simple question on keywords.

    When I do a keyword search thru the drop down list  and I have for example 6 words checked off, how can I clear the checkmarks in one shot. I have a lot of keywords and sometimes forget to uncheck one . Thanks

    Un-checking then rechecking the checkbox to the left of the rule doesn't clear the selections made from among the keywords (as the OP puts it "clear the checkmarks in one shot") for me (3.4.5 on 10.8.5).  Did this change in Mavericks?
    No, it did not change.
    It disables the keywords temporarily and I add a second rule.  I do it sometimes, if I want to switch quickly between two sets of keyword selections and want to save the old selection.
    The option-click method is cool

  • Extreme & Express (hopefully) simple question

    Hi
    I've got an AEBS that I'm trying to connect to an Express to play iTunes on my stereo. Do I also need a PCI Airport card in my G4 to enable this feature?
    I thought the AEBS just plugged into the ethernet socket and acted like an external version of an internal Airport card. The Airport icon doesn't show up in the network connection or menu bar.
    Bit of a first timer in the whole wireless connection area, does it show? I guess there's a simple answer, help me people.
    Gaz

    I've got an AEBS that I'm trying to connect to an
    Express to play iTunes on my stereo. Do I also need a
    PCI Airport card in my G4 to enable this feature?
    No.
    I thought the AEBS just plugged into the ethernet
    socket and acted like an external version of an
    internal Airport card.
    You're perfectly right.
    Here is how your chain should be connected:<pre>
    Ethernet AirPort stereo cable
    Mac ======== AEBS ~~~~~~~ AX ------------ stereo</pre>
    The Airport icon doesn't show
    up in the network connection or menu bar.
    That's normal. You don't need an AirPort connection from
    your Mac to your AEBS. You may use the Ethernet connection.
    Your will have to configure your AEBS through your Ethernet
    connection.
    I advise you to carefully read your documentation about
    the way to make such a configuration.
    dan    

  • (Hopefully Simple) Question - Launching Apps.

    So, this is probably an incredibly simple thing, but I have to ask...
    At some point, while using OmniGraffle, I did something that is now causing my initial "Create a Template" / "Open Existing File" to pop up on my 2nd monitor. This is driving me a little crazy and is interrupting my workflow.
    Any idea where I configure this preference so these types of menus start popping-up on my main monitor again?
    Thanks in advance.

    Close the app and check the Preferences folder in your user account. Toss whichever .plist file is obviously named for OmniGraffle. Don't delete the old .plist quite yet. If the issue doesn't change when you restart the app, then you can put the old file back instead of having to redo all of the application preferences to your liking.

  • Simple Question: How to search for a date value in SELECT

    Probabily a simple question, but in a SELECT statement, how do you do a search for a date value in the WHERE clause?
    example:
    Select * From Example
    Where date = 01/01/2001
    I know its not as simple as that, but what change has to occur to make it do what that example implies?
    Thanks In Advance.

    If you want to avoid the conversion part(to_date) you will need to specify the date in the format as ur nls date format.so the same query might not work if you change ur nls date format.
    so it is advisable to give it in general format.
    ie where date_col=to_date(01-01-2000,'dd-mm-yyyy')

  • How do I select a square brush for the brush tool in CS6?  Sorry if this is a simple question, but nothing has ever been simple for me in Photoshop.

    How do I select a square brush for the brush tool in CS6?  Sorry if this is a simple question, but nothing has ever been simple for me in Photoshop.

    I don't believe there is a square brush among the sets that ship with Photoshop, but there are plenty to download, and it is super easy to make one.
    Just drag with the rectangular Marquee tool, fill with black on a new layer, and go Edit > Define brush preset
    Browsing Photoshop Brushes on DeviantArt

  • Simple question - How do you make an onchange event occur in a select list

    Simple question - How do you make an onchange event occur in a select list to fire a process?
    Thanks

    1) Using ApEx Selec list on Submit Item.
    You will create a PL/SQL Process after Submit. -> Conditional Type Request = Expression1. -> Expression1 is the name of your Select List. Process Source - > Procedure you like. For example depending of your select List value you will add rows in different tables.
    2) Javascript This example will change a System parameter value when changed
    <select id="P3_SUBSYSTEM" onchange="location.href='f?p=101:3:2164422329953284::NO::P3_SUBSYSTEM:'+this.options[selectedIndex].value;" size="1" name="p_t21">

  • A simple Question about % in CR Chart!

    Hi, I have another simple question.
    When i use SQL to storage data and wanna Crystal Report to display the data in chart using %
    which data type should i use?
    float or string?
    and I found when i use 0.12 as 12% in database , It could not display in Crystal Report line chart normally.
    What should I do??
    Please Help!!!
    Thank you VERY MUCH!!!

    If you have the datatype as string from your database then try adding the string field as a summary field in chart and select maximum instead of count and if you have them in number format then you can directly select the percentage in chart.
    Regards,
    Raghavendra

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • How to create a Type Object with Dynamic select query columns in a Function

    Hi Every One,
    I'm trying to figure out how to write a piplined function that executes a dynamic select query and construct a Type Object in order to assigned it to the pipe row.
    I have tried by
    SELECT a.DB_QUERY INTO actual_query FROM mytable a WHERE a.country_code = 'US';
    c :=DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(c,actual_query,DBMS_SQL.NATIVE);
    l_status := DBMS_SQL.EXECUTE(c);
    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.DEFINE_COLUMN(c,j,v_val,2000);
    END LOOP;
    FOR j in 1..col_cnt LOOP
    DBMS_SQL.COLUMN_VALUE(c,j,v_val);
    END LOOP;
    But got stuck, how to iterate the values and assign to a Type Object from the cursor. Can any one guide me how to do the process.
    Thanks,
    mallikj2

    Hi Justin,
    First of thanks for your reply, and coming to my requirement, I need to report the list of items which are there in the dynamic select statement what am getting from the DB. The select statement number of columns may vary in my example for different countries the select item columns count is different. For US its '15', for UK it may be 10 ...like so, and some of the column value might be a combination or calculation part of other table columns (The select query contains more than one table in the from clause).
    In order to execute the dynamic select statement and return the result i choose to write a function which will parse the cursor for dynamic query and then iterate the values and construct a Type Object and append it to the pipe row.
    Am relatively very new for these sort of things, welcome in case of any suggestions to make it simple (Instead of the function what i thought to work with) also a sample narrating the new procedure will be appreciated.
    Thanks in Advance,
    mallikj2.

  • ABAP Help: Dynamic Selection Screen

    Hi,
    I have a requirement to be able to pick the list of fields in a selection screen. (List processing)
    Similar to SE16 choosing "fields for selection".
    I've debugged SE16 and realized it deletes the report and regenerates a new report with the updated selection screen.
    I could not do the same as it will also delete all the variants users have created in the report.
    Has anyone done something similar before?
    What is the best approach for this scenario?
    Regards,
    Michael Pang

    Hi Michael
    Hoping you have solved your problems with ALVs, I think it may be helpful to inspect FMs <b>"FREE_SELECTIONS_INIT"</b> and <b>"FREE_SELECTIONS_DIALOG"</b> for this issue. They have some <i>Function Module Documentation</i>.
    If you are dealing with logical databases, then only in the INCLUDE program DB<i>ldb</i>SEL of logical database <i>ldb</i>, you can use some selection-screen definition variants as:
    1.SELECTION-SCREEN BEGIN OF VERSION vers TEXT-xxx.
    2.SELECTION-SCREEN END OF VERSION vers.
    3.SELECTION-SCREEN EXCLUDE ... .
    4.SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab.
    5.SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab.
    6.SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE node.
    7.SELECTION-SCREEN FIELD SELECTION FOR NODE node.
    You can get more info from SAPHelp for these...
    *--Serdar

  • Dynamic select

    hi to all,
            i am working in the dynamic select scenario. i want to select the fieldnames  from the tables dynamically using report editor as per the requirement as new to abap can some one please help me out and also kindly mention the table name for example DD03L.
    Thanks,
    Devi

    Hi priya...
    I am sure about its may help you....please mention if you solve your questions..
    REPORT  ZNKS_TEST19.
    *TABLES : SFLIGHT.
    type-pools : slis.
    data : it_tab  type table of SFLIGHT,
          wa_tab  like line of it_tab.
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid,
          g_exit type c,
          ispfli type table of spfli.
    parameters :
                carrid  type SFLIGHT-CARRID,
                connid  type SFLIGHT-CONNID,
                date  type SFLIGHT-FLDATE,
                price  type SFLIGHT-PRICE.
    data l_where(100) occurs 0 with header line.
    start-of-selection.
      perform data_retrivel.
      perform build_fieldcatalog.
      perform display_alv_report.
    form build_fieldcatalog .
      fieldcatalog-fieldname   = 'CARRID'.
      fieldcatalog-seltext_m   = 'carrid'.
      fieldcatalog-col_pos     = 0.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'CONNID'.
      fieldcatalog-seltext_m   = 'connid'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'FLDATE'.
      fieldcatalog-seltext_m   = 'date'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PRICE'.
      fieldcatalog-seltext_m   = 'price'.
      fieldcatalog-col_pos     = 3.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
       fieldcatalog-fieldname   = 'CURRENCY'.
      fieldcatalog-seltext_m   = 'currency'.
      fieldcatalog-col_pos     = 4.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
       fieldcatalog-fieldname   = 'PLANETYPE'.
      fieldcatalog-seltext_m   = 'planetype'.
      fieldcatalog-col_pos     = 5.
      fieldcatalog-outputlen   = 20.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    form display_alv_report .
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = gd_repid
          i_callback_top_of_page  = 'TOP-OF-PAGE'  "see FORM
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = fieldcatalog[]
          i_save                  = 'X'
    *      IS_VARIANT              = G_VARIANT
        tables
          t_outtab                = it_tab
        exceptions
          program_error           = 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.
    endform.                    "DISPLAY_ALV_REPORT
    form data_retrivel .
      if carrid is not initial.
    append 'CARRID = carrid' to l_where.
    endif.
    if connid  is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'CONNID = connid' to l_where.
    endif.
    if date  is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'FLDATE = date' to l_where.
    endif.
    if price is not initial.
      if l_where is initial.
        append ' and ' to l_where.
      endif.
      append 'PRICE = price' to l_where.
    endif.
    select * from sflight into corresponding fields of table it_tab
    where (l_where).
    endform.                    " DATA_RETRIVEL
    form top-of-page.
    *ALV Header declarations
      data: t_header type slis_t_listheader,
            wa_header type slis_listheader,
            t_line like wa_header-info,
            ld_lines type i,
            ld_linesc(10) type c.
    * Title
      wa_header-typ  = 'H'.
      wa_header-info = 'Z  report'.
      append wa_header to t_header.
      clear wa_header.
    * Date
      wa_header-typ  = 'S'.
      wa_header-key = 'Date: '.
      concatenate  sy-datum+6(2) '.'
                   sy-datum+4(2) '.'
                   sy-datum(4) into wa_header-info.   "todays date
      append wa_header to t_header.
      clear: wa_header.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = t_header.
    endform.    
    // Dynamic Selection
    Thanks and Regards ,
    Niraj Sinha

  • Error on a Dynamic Select using Pro*C

    I am a new user on Pro*C and I am facing an error for which I could not find a solution in the Pro*C/C++ Programmer’s Guide. The problem occurs when I do a dynamic SELECT to retrieve sequence of numbers (from 0 to 10) from a very simple table in a database.
    The program is retrieving the following sequence: {705, 961, 1217, 1473, 1729, 1985, 2241, 2497, 2753, 3009} rather than the sequence {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.
    It’s very interesting to notice that the retrieved sequence, in hexadecimal, is equal to {2C1, 3C1, 4C1, 5C1, 6C1, 7C1, 8C1, 9C1, AC1, BC1}.
    I am quite sure that I'm missing a small detailed here and I would appreciate
    any help. Please find below the code that I am using.
    Thanks a lot!
    #include <string>
    #include <iostream>
    using namespace std;
    #include <sqlca.h>
    #include <sqlcpr.h>
    EXEC SQL BEGIN DECLARE SECTION;
    VARCHAR username[30];
    VARCHAR password[30];
    VARCHAR db_name [30];
    VARCHAR dns_name[30];
    EXEC SQL END DECLARE SECTION;
    void SQL_Error ( void )
    char msg[200];
    size_t buf_len = sizeof ( msg );
    size_t msg_len;
    sqlglm( msg, &buf_len, &msg_len );
    if ( msg_len > buf_len )
    msg_len = buf_len;
    cout << msg << endl;
    bool OpenDBConnection( char uname, char pword, char dns, char dbname )
    // Assign the database identifications to the ORACLE variables
    username.len = (unsigned short) strlen ( strcpy( (char *) username.arr, uname ) );
    password.len = (unsigned short) strlen ( strcpy( (char *) password.arr, pword ) );
    dns_name.len = (unsigned short) strlen ( strcpy( (char *) dns_name.arr, dns ) );
    db_name.len = (unsigned short) strlen ( strcpy( (char *) db_name.arr , dbname ) );
    /* Register sql_error() as the error handler */
    EXEC SQL WHENEVER SQLERROR goto err;
    /* Connect to the non default database */
    EXEC SQL CONNECT :username IDENTIFIED BY :password AT :db_name USING :dns_name;
    return ( true );
    err:
    SQL_Error();
    return ( false );
    ** Select the database using a dynamic method
    long SelectIDRecord ( void )
    EXEC SQL BEGIN DECLARE SECTION;
    // Define the dynamic statement
    char dyn_statement[4000];
    // Define the bind variables
    long db_id = 0;
    long db_id_type = 2; /* NUMBER */
    long db_id_len = 10;
    EXEC SQL END DECLARE SECTION;
    // Initialize the dynamic statement
    memset ( dyn_statement, 0, sizeof( dyn_statement ) );
    strcpy ( dyn_statement, "SELECT ID FROM TEST_DB ORDER BY ID" );
    EXEC SQL AT :db_name PREPARE s1 FROM :dyn_statement;
    // Declare and initialize the output descriptor
    EXEC SQL ALLOCATE DESCRIPTOR 'out';
    EXEC SQL AT :db_name DESCRIBE OUTPUT s1 USING DESCRIPTOR 'out';
    EXEC SQL SET DESCRIPTOR 'out' value 1 TYPE = :db_id_type,
    LENGTH = :db_id_len, DATA = :db_id;
    // Declare and open the cursor
    EXEC SQL AT :db_name DECLARE test_db_cursor CURSOR FOR s1;
    EXEC SQL AT :db_name OPEN test_db_cursor;
    EXEC SQL WHENEVER NOT FOUND DO BREAK;
    long nRec = 0;
    while ( true )
    EXEC SQL AT :db_name FETCH test_db_cursor INTO DESCRIPTOR 'out';
    EXEC SQL GET DESCRIPTOR 'out' VALUE 1 :db_id = DATA;
    nRec++;
    cout << "ID = " << (long) db_id << endl;
    // Close the cursor
    EXEC SQL AT :db_name CLOSE test_db_cursor;
    EXEC SQL DEALLOCATE DESCRIPTOR 'out';
    return ( nRec );
    err:
    SQL_Error();
    return ( 0 );
    int main ()
    char *uname  = "test";
    char *pword  = "test";
    char *dns    = "test_db";
    char *dbname = "test";
    OpenDBConnection ( uname, pword, dns, dbname );
    long nRec = SelectIDRecord ();
    }

    No need to specify the length if the data type is number and pointing to Long.
    You can directly map the values using INTO clause.

  • Compilations are breaking my heart-simple question...

    OK folks, this is a simple question - so why can't i find a clear answer anywhere? I am running Itunes 8, Win XP, been running Itunes for my music for about 4 years.
    Current setup 3 users running Itunes on same pC.
    My problem is when I browse my lbrary each song in my compilations are showing upas different albums e.g. "O Brother where art thou" has 14 different "albums" as do some home-made compilations I have been given.
    "group compilations when browsing is selected" but obviously isn;t working
    It's obviously simple but not to me...help
    Thanks
    Message was edited by: munstershug

    You mention enabling the iTunes option to *Group compilations when browsing*, but have you also set the *Part of a Compilation* flag to Yes for each track of your compilations? See my recent post on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    tt2

Maybe you are looking for

  • How to back up 'new files only' to external hard drive?

    not sure i'm doing this the best way....  any suggestions would be great! i have my master photo/video library on my desktop (using a file tree that i've grown & know exactly where things are since 2003- (pre mac). that file is on mac + saved to an e

  • From Tiger To SnowLeo With a FileVault Issue (Migration)

    Hey! So, my old MacBook Pro's Logic Board/ Video Card ?? was melting down little by little. During that time (and for awhile before) I had been making bootable backups (CCC clones). I had made about 4 clones on 4 different drives - kinda ridiculous b

  • ADF Essentials and JAAS

    Hello. Using JDeveloper 11.1.2.3 ADF Essentials - Glassfish 3.1 I'm trying to use FORM type (web.xml) security in my adf essentials application. I created a login.jspx page, but I don't know how can I call the j_security_check from my page because th

  • How to find memory used by page tables

    Is there a way to find out how much memory is currently being used by page tables? I am new to Solaris ;-) I want to quantify the advantages of Intimate Shared Memory (in the context of a large Oracle database with lots of concurrent users). I want t

  • Latest Flash for G5?

    The latest version of Flash fixes some security vulnerabilites in Flash, but also drops support for PowerPCs. At our company, we have to install the latest versions of the software to be compliant with security policies. Unfortunately, this means tha