About using af:table

I have a problem for using af:table component please I want a help for small problem:
I have 2 variable (or two elements in an Array) in backing bean and I want to display it in a af:table component in a jsf page.
thank you

Have a look at the source code for the ADF Faces RC demo to see how the table is populated there:
http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

Similar Messages

  • How to use the Table Valueset in another Table Valuset

    Hi Friends ,
    I have one requirement let me explain you the scenario.
    in one segment of the Keyflex filed i need to get the all the grades of the business. which i did using the table valueset.
    now in another segment of the kff, i need to get all the grade steps depending on the selected grade.
    like if i have a grades say G1,G2,G3,G4...........
    and grade steps
    for G1-steps(1,2,3,4,5,6)
    for G2-steps(1,2,3,4)
    for G3-steps(1,2,3)
    for G4-(1,2,)
    etc.
    Now my requirement is if the user select the grade G1 from the valueset. then in the next filed of the segment should come only those steps which are valid for that grade.
    i hope i have given clear pic of my requirement can anyone please help me out, how to proceed for this.
    thanks in advance.

    Well, I know what you're talking about, but this is something that is usually done in different ways depending on the front end interface being used.
    Are you referring to Oracle Forms? Apex? .NET? Java? or what???
    This forum is for SQL and PL/SQL questions, so doesn't relate to a particular interface. SQL and PL/SQL do not have key flex fields, so, either ask your question in the correct sub-forum or give us more details as to your requirements.

  • Query Needs to be changed to only use 1 Table

    I would appreciate some help with changing this query to only use the table "ain.impl_oh_order_header oh table"
    SELECT oh1.partner "Dealer",
    od.sales_code "Dealer Sales Code",
    oh1. external_order_number "Original Dealer Order Number",
    oh1.region,
    cust. billing_account_number "BAN",
    dsl.n_order "DSL OrderNo",
    dsl.tn_or_ftn "DSL TN",
    dsl.activation_date "DSL Activation",
    telco.tn "ACCESS_TN",
    to_char( oh1.created_ts, 'YYYY-MM-DD') "Original Order Date",
    pack1.display_name "Original Order Description",
    pack1.price "Original Plan Price",
    uname. user_first_name "Agent First Name",
    uname.user_last_name "Agent Last Name",
    uname.user_name "Agent ID",
    -- to_char(dh.timestamp, 'yyyy-mm-dd HH:MI') "USCS Button Pressed",
    to_char(oh2.created_ts, 'YYYY-MM-DD') "USCS Order Date",
    pack2.display_name "USCS - Order Description",
    CASE
    WHEN cd.state IN ('1','15') THEN 'RECEIVED'
    WHEN cd.state IN ('2') THEN 'PROCESSING'
    WHEN cd.state IN ('3','8','16','18') THEN 'COMPLETE'
    WHEN cd.state IN ('4','9','17') THEN 'CANCELED'
    WHEN cd.state IN ('6','10','13','14') THEN 'PENDING'
    WHEN cd.state IN ('7') THEN 'INCOMPLETE'
    WHEN cd.state IN ('12','19','20') THEN 'SUBMITTED'
    ELSE 'OTHER'
    END AS state_desc,
    pack2.price "USCS - Plan Price",
    pack2.price - pack1.price "Net Change",
    ina.first_name,
    ina.last_name,
    ina.add_line_1,
    ina.city,
    ina. STATE,
    ina.zip
    FROM ain.impl_oh_order_header oh1
    INNER JOIN ain.impl_oh_order_header oh2 ON oh1.external_order_number = oh2.external_order_number
    INNER JOIN ain.impl_order_data od ON oh1.transaction_id = od.transaction_id
    INNER JOIN ain.impl_package pack1 ON oh1.transaction_id = pack1.transaction_id
    INNER JOIN ain.impl_package pack2 ON oh2.transaction_id = pack2.transaction_id
    INNER JOIN ain.impl_name_address ina ON oh1.transaction_id = ina.transaction_id
    INNER JOIN ain.impl_customer cust ON oh2.transaction_id = cust.transaction_id
    LEFT OUTER JOIN ain.impl_dsl dsl ON oh2.transaction_id = dsl.transaction_id
    LEFT OUTER JOIN ain.impl_access telco ON oh2.transaction_id = telco.transaction_id
    INNER JOIN ain.sncr_order_curr_disp cd ON cd.transaction_id = oh2.transaction_id
    INNER JOIN AIN.sncr_order_disp_head dh ON oh1.transaction_id = dh.transaction_id
    INNER JOIN ain.sncr_order_disposition disp ON dh.disp_transaction_id = disp.disp_transaction_id
    INNER JOIN ain.sncr_ssm_principal uname ON uname.user_id = dh.user_id
    WHERE oh2.created_ts BETWEEN to_date('3/01/2012 00:00:00','mm/dd/yyyy hh24:mi:ss') AND to_date('3/31/2012 23:59:00', 'mm/dd/yyyy hh24:mi:ss')
    AND oh1.uscs = 0 AND oh2.uscs = 1
    AND oh1.external_order_number NOT LIKE '%PROD_TEST%'
    AND oh2.external_order_number NOT LIKE '%PROD_TEST%'
    AND oh1.order_type = 'ORDER'
    AND oh2.order_type = 'ORDER'
    AND pack1.product_type = 'ORDER'
    AND pack2.product_type = 'ORDER'
    AND disp.category = 110 AND disp.state = 5
    AND disp.trx_seq = (SELECT MAX(trx_seq)
    FROM ain.sncr_order_disposition sod, ain.sncr_order_disp_head sodh
    WHERE sodh.disp_transaction_id = sod.disp_transaction_id
    AND sodh.transaction_id = oh1.transaction_id
    AND sod.category = 110 AND sod.state = 5)
    AND pack1.offer_id IS NOT NULL
    AND pack2.offer_id IS NOT NULL
    AND ina.type = 'SERVICE'
    AND cd.category = 100
    ORDER BY to_char(oh2.created_ts, 'YYYY-MM-DD')

    Hi,
    Try:
    select
      oh.*
    from
      ain.impl_oh_order_header ohIf that is not what you want you have to give more info about your tables, what you want etc. etc.
    See FAQ: how to ask a question
    Regards,
    Peter

  • How to use a table to fill an array

    I have a cFP 2110 with a couple of relay modules I'm using to automate a process.  I'm  using an array of a cluster of elements to turn the relays on and off with a time delay for each step.  This was the first version I started with and I have since built a state machine around.  What I would like to do is add a table or array to the front pannel and move the relay control and time delay to the front panel and allow the user to specify which relays are on or off and for how long.  I also want to allow the user to save the table and have the option to select other saved versions of the table to operate the module with different.   I also need to add a string control to the table so I will need to use shared variables for to communicate between the target Vi and the host vi the user is working from.  Is a table the correct approach to do this?  I have never used the table functions.  How do I go about building a table and sending the data to an array?  Do I need to send the table contents to file OI first, then have the array read the specified file?
    Thank for the help.
    Danny
    Attachments:
    array.vi ‏40 KB

    Hi Danny,
    Instead of using a constant array on your block diagram, you could use a control array so that the elements show up on the front panel. Then your user will have the ability to change the relays and time delay. You can then use Datalog files (see Help >> Find Examples... and search Datalog) to save individual clusters. Otherwise if you want to save entire arrays, you could just save them to a binary file. 
    Using the array of controls eliminates the need for a table and its conversion, and also provides a front panel interface for your user to control. Does the string control need to be part of these array as well, or can it be separate?
    If you are reading a file back to be used with your program, you will need to read the file to get its contents before using it to control your loop.
    Will
    Certified LabVIEW Architect, Certified Professional Instructor
    Choose Movement Consulting
    choose-mc.com

  • How to use Temporary Table in PL-SQL

    In MySQL there is no Temporary table concept.
    So for intermediate calculation I have created a table as below
    create table SequenceTempTable
    SessionId VARCHAR(50),
    Sequence VARCHAR(500),
    CreatedDate DATE
    ) ENGINE=MEMORY;
    Whenever I invoke a SP, I load the data into SequenceTempTable using Session Id as below
    CREATE PROCEDURE `GetSequence`(
    IN Start_Date VARCHAR(25),
    IN End_Date VARCHAR(25)
    BEGIN
    SELECT UUID() INTO v_SessionId;
    INSERT INTO SequenceTempTable values (v_SessionId,'1,2,5,3',now());
    required code
    DELETE FROM SequenceTempTable WHERE SessionId = v_SessionId;
    COMMIT;
    END;
    i.e. I have created a table as temporary table (created once),
    and load the data using Session Id and once session specific intermediate computation done,
    I deleted the session specific data.
    Could you give me examples of How to use Temporary table in PL-SQL code with respect to my above example.
    Because I have gone through creating Temporary table but I stuck with use in PL-SQL. I mean to say Is there any need of creating table in advance before invoking SP.
    And one more thing as in MySQL temp table I created which is using MEMORY engine i.e. this table will always be in MEMORY so there is no need of writing data on disk.
    Regards
    Sanjeev

    Hi Sanjeev
    Read about GTT here
    http://www.oracle-base.com/articles/8i/TemporaryTables.php
    GTT always contains just session specific data. \
    In case you want to use the GTT in the same session again you can use option
    ON COMMIT PRESERVE ROWS;
    Or if it is used just once in the session use can use
    ON COMMIT DELETE ROWS;
    Do remember that for GTT the data of one session can not be accessed in other session.
    Also you can go away with Delete from GTT if not used again in same session.
    Regards
    Arun

  • How to read specific lines from a text file using external table or any other method?

    Hi,
    I have a text file with delimited data, I have to pick only odd number rows and load into a table...
    Ex:
    row1:  1,2,2,3,3,34,4,4,4,5,5,5,,,5  ( have to load only this row)
    row2:   8,9,878,78,657,575,7,5,,,7,7
    Hope this is enough..
    I am using Oracle 11.2.0 version...
    Thanks

    There are various ways to do this.  I would be inclined to use SQL*Loader.  That way you can load it from the client or the server and you can use a SQL*Loader sequence to preserve the row order in the text file.  I would load the whole row as a varray into a staging table, then use the TABLE and MOD functions to load the individual numbers from only the odd rows.  Please see the demonstration below.
    SCOTT@orcl12c> HOST TYPE text_file.csv
    1,2,2,3,3,34,4,4,4,5,5,5,,,5
    8,9,878,78,657,575,7,5,,,7,7
    101,201
    102,202
    SCOTT@orcl12c> HOST TYPE test.ctl
    LOAD DATA
    INFILE text_file.csv
    INTO TABLE staging
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    (whole_row VARRAY TERMINATED BY '/n' (x INTEGER EXTERNAL),
    rn SEQUENCE)
    SCOTT@orcl12c> CREATE TABLE staging
      2    (rn         NUMBER,
      3     whole_row  SYS.OdciNumberList)
      4  /
    Table created.
    SCOTT@orcl12c> HOST SQLLDR scott/tiger CONTROL=test.ctl LOG=test.log
    SQL*Loader: Release 12.1.0.1.0 - Production on Tue Aug 27 13:48:37 2013
    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
    Path used:      Conventional
    Commit point reached - logical record count 4
    Table STAGING:
      4 Rows successfully loaded.
    Check the log file:
      test.log
    for more information about the load.
    SCOTT@orcl12c> CREATE TABLE a_table
      2    (rn       NUMBER,
      3     data  NUMBER)
      4  /
    Table created.
    SCOTT@orcl12c> INSERT INTO a_table (rn, data)
      2  SELECT s.rn,
      3         t.COLUMN_VALUE data
      4  FROM   staging s,
      5         TABLE (s.whole_row) t
      6  WHERE  MOD (rn, 2) != 0
      7  /
    17 rows created.
    SCOTT@orcl12c> SELECT * FROM a_table
      2  /
            RN       DATA
             1          1
             1          2
             1          2
             1          3
             1          3
             1         34
             1          4
             1          4
             1          4
             1          5
             1          5
             1          5
             1
             1
             1          5
             3        101
             3        201
    17 rows selected.

  • How to Add and delete a row while using Abstract Table Model

    Hi,
    I need to do the following functionalities in JTable.I've done tht but a small problem.
    1. Adding a row (Using addRow() method from DefaultTableModel).
    2. Deleting a row(Using setRowCount() method from Default Table Model).
    3. Sorting the table based on the selection of column(Using TableSorter which is using AbstracTableModel).
    As the sorting is mandatory i've to change my model to Abtract Table Model
    The problem is this Abstract Table Model doesn't have any methods to Add a row or deleting a row (setRowCount()).If anybody has written any utility method for this using Abstract Table Model help me.

    Using TableSorter which is using AbstracTableModel).If your talking about the TableSorter class from the Swing tutorial, then you create the TableSorter class by passing it a TableModel. There is no reason you can't use the DefaltTableModel.
    I changed the code in TableSorterDemo as follows:
            String[] columnNames = {"First Name",
                                            "Last Name",
                                            "Sport",
                                            "# of Years",
                                            "Vegetarian"};
            Object[][] data = {
                {"Mary", "Campione",
                 "Snowboarding", new BigDecimal(1), new Boolean(false)},
                {"Alison", "Huml",
                 "Rowing", new BigDecimal(3), new Boolean(true)},
                {"Kathy", "Walrath",
                 "Knitting", new BigDecimal(2), new Boolean(false)},
                {"Sharon", "Zakhour",
                 "Speed reading", new BigDecimal(20), new Boolean(true)},
                {"Philip", "Milne",
                 "Pool", new BigDecimal(10), new Boolean(false)}
              DefaultTableModel model = new DefaultTableModel(data, columnNames)
                   public Class getColumnClass(int c)
                        return getValueAt(0, c).getClass();
            TableSorter sorter = new TableSorter(model);
    //        TableSorter sorter = new TableSorter(new MyTableModel()); //ADDED THIS

  • About Using Hints in OWB

    Hi ALL
    I am facing one diffculty about using hints in OWB. Through the mapping configuration, i am trying to use INDEX hint for my table. The generated code is correct, but is a very redundant code. Hint is repeating multiple times in the sub query. Below is the sample:
    SELECT
    /*+ INDEX ("My_Table1") INDEX ("My_Table2") */
    Column1,
    Column2,
    Column3,
    Column4,
    Column5,
    Column6,
    Column7,
    Column8
    FROM
    ( SELECT
    /*+ INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2") INDEX ("My_Table1") INDEX ("My_Table2")
    Column9,
    Column10,
    Column11,
    Column12
    FROM
    ( SELECT .....
    The text under the hint ("My_Table1") INDEX ("My_Table2") is repeating again and again. Any way of controlling the code being generated..?

    From a performance standpoint, using hints in that manner may cause poorer performance than without. The INDEX (table_name) hint directs the optimizer to evaluate all relevant indexes. It is very easy to build an example where your column of interest is the last column in a multicolumn index and have a query perform worse than what a full table scan would produce. Oracle's recommendation is to "use hints sparingly" and that is for good reason.

  • Can you give some real-life use of tables in BW?

    Hi,
    In reading links and notes from here, I took a leap to try and understand how tables are used in the BW environment, by following:
    se16
    RSZ* then  F4
    then I Double click on:
    i.
    RSZRANGE        Selection specification for an element
    If execute, I get a table with a several fields with values.
    What is this table suppose to tell me and can you give me a real-life scenario where you made use of such a research to solve a problem?
    ii.
    RSZOPRATOR       Formula Operators
    similarly, here I found fields with operators and mostly numbers.
    What is this table suppose to tell me and can you give me a real-life scenario where you made use of such a research to solve a problem?
    iii. Later I tried RSU* then
    RSUPDDAT        Update rules key figures
    Nothing recognizable here about the update rules.
    What is this table suppose to tell me and can you give me a real-life scenario where you made use of such a research to solve a problem?
    iv.
    Also, sometimes here conversations like, research on which tables have the fields you need and let’s generate reports against them. I though tin BW, reports are always generated against data targets (ODS, Cubes, etc). I didn’t know of tables.
    Can you give a real-life scenario where you had to combine fields in 2 or 3 tables and use them in project?
    Thanks

    Amanda,
    There are many scenarios where you can use the tables behind the screen. But most of the times the scenarios are sophisticated requirement. Suppose your installation has many data targets and all are getting loaded nightly, weekly or even monthly intervals. Usually in most places the person on call will go and look at all the targets in the morning whether all the loads are successful (they would have beeped if something faild during loading at nights). Instead of going thru this manual process you can write an ABAP program which will look at the infocubes and ODS and see how many records were added, transferred, updated success or failure all kinds of information.
    RSA1 is just a front end and all the information you see are all coming from tables which are stored here. go to SE80 or SE11 and search for the tables behind the screens. Every bit of detail that you see is coming from tables or available in tables. There are many tables and they are all relational. So you can pretty much do anything you like in accessing them. Please just read (SELECT) from them. Don't try to delete, insert anything unless you know what you are doing absolutely.
    Hope this helps.
    Good luck with your learning.
    Alex.

  • Import Data using Full Table Name

    Is there a way to run the import data wizard so when pulling data from a csv it generates an insert statement not only using the table name but using the Oracle Schema name -- ie fully qualified table name?

    Hi Nilanjan,
    I need help ASAP.
    About this dump-load task, how does it works?  Because I was checking out a package called Import SQL  and this one only imports data from a table, however this table has to be allocated within the database that is being used, and I right? Are these 2 related somehow?
    Does this task order BPC to find data from a SQL Table (allocated in a different server, different instance for SQL) and import it to SQL Fac2 table?
    Can you help me with a simple explanation what do I need to do to run this task?  The page help.sap.com  talks shows a section within DumpLoad Task Usage which is called  Importing Into SQL Server... 
    * Processing the Application using DumpLoad  -
    Importing into SQL
    You can use DumpLoad to process the application as a standalone procedure, or with data import, export, or clear.
    Prerequisites
    The DumpLoad task (OsoftTaskDumpLoad2008.dll) is registered with Microsoft SSIS. See Registering Custom Tasks.
    Procedure
    1.Open a package or create a new package in Microsoft SSIS on the Planning and Consolidation server.  i already did this for the DumpLoad task ... should I do this for the Import SQL task also ?
    2.Select the task and add it to the package.   WHAT DOES SELECT THE TASK  MEAN?
    3.Open the task, and choose  Data Management  None .
    4.Enter the application set, application, and user ID.
    Im getting confused, can you please provide more details about the whole procedure. Thanx in advance
    Velázquez

  • Using JHS tables and hashing with salt algorithms for Weblogic security

    We are going to do our first enterprise ADF/JHeadstart application. For security part, we are going to do the following:
    1. We will use JHS tables as authentication for ADF security.
    2. We will use JAAS as authentication and Custom as authorization.
    2. We need to use JHeadStart security service screen in our application to manage users, roles and permission, instead of doing users/groups management within Weblogic.
    3. We will create new Weblogic SQL Authentication Provider.
    4. We will store salt with password in the database table.
    5. We will use Oracle MDS.
    There are some blogs online giving detail steps on how to create Weblogic SQL Authentication Provider and use JHS tables as authentication for ADF security. I am not sure about the implementation of hashing with salt algorithms, as ideally we'd like to use JHS security service screen in the application to manage users, roles and permission, not using Weblogic to do the users/groups management. We are going to try JMX client to interact with Weblogic API, looks like it is a flexiable approach. Does anybody have experience on working with JMX, SQL Authentication Provider and hashing with salt algorithms? Just want to make sure we are on the right track.
    Thanks,
    Sarah

    To be clear, we are planning on using a JMX client at the Entity level using custom JHS entitiy classes.
    BradW working with Sarah

  • Using temporary tables in stored procedures

    Suppose that I have created a temporary table in a stored procedure using an "EXECUTE IMMEDIATE" statement. When I compile the procedure, that table is not created yet, so the compiler says that the table does not exist.
    What is the way of using temporary tables in stored procedures?

    It's a good practice to avoid using DDL statements being executed from stored procedures. "Truncate Table" via dynamic SQL from stored procedure is a different story and is useful in DSS environments.
    But if you insist on "creating" tables using Dynamic SQL from Stored Procedures then you must also embed your DML statements in Dynamic SQL to avoid compilation errors.
    Example:
    Create or Replace Procedure Proc_TestDynamicSQL is
    Begin
    Execute Immediate 'Create table myTable as select * from user_tables' ;
    Execute Immediate 'Update myTable set table_name = ''Test'' ' ; --two single quotes before and after the string "Test"
    End;
    In this case, Oracle wouldn't care about the table references during compilation.

  • How to structure report using two tables...

    Hi all,
    CR 2011; SLQ 2008
    I have a report that uses several tables but is essentially grouped into two "types" of sources.
    tbl.Produkte holds current data basically about stock levels, "real time"
    tbl.Log holds stock movement history.
    The commonality between the tables is StockID, which is a distinct column, but is an ID that is used to track based on three attributes:  Product, WidthHeight, and ContentCnt.  All three of these are columns unto themselves, but are not available in all tables, so I need to rely on StockID for fetches.
    Now I need to report by Product and WidthHeight.  I look to tbl.Produkte for some information such as Stock level, Average ContentCnt, and Reservations on Stock.
    Ideally on the same line, I'm looking to report on Average Monthly Usage, derived information coming from the tbl.Log.
    I seem to think I need a subreport to do this, but end up getting multiple occurances of the subreport when the StockID occurs multiple times in tbl.Produkte.  This is something I always seem to run into when I use a subreport, and I haven't been able to wrap my brain around it yet.  I'm handy enough with queries, but trying to use Commands to limit the data I'm picking seems to offer no better solutions.
    Anyone have insights as to what's wrong with my approach?
    To recap:
    I need a summary line by Product - WidthHeight
    Data consists of multiple rows coming from tbl.Produkte and multiple rows coming from tbl.Log
    Tables are essentialy unrelated in content but can be linked by StockID
    Need to elliminate multiple occurences of data coming from tbl.Log when there are multiple rows in tbl.Produkte
    Hope I haven't made complete mud of my predicament...
    Thanks you - Matt

    Hi,
    The code in my previous post was cut and pasted from my project.  It's in a command and work fine by itself, but as soon as I add more tables, I get the ODBC error.
    I'm guessing I need another approach.  I realize my original description was incomplete.
    Basically the meat consists of three tables LG_PRODUKTE, LG_LAGERORTE, and LG_LOGBUCH.
    The common field among the three is ID, which is a Stock ID that is uniquely comprised of Product, Size, and Contents(Qty)
    LG_PRODUKTE is the basic Product listing.  ID is unique in this table.  I need this for completeness and extended product data.
    LG_LAGERORTE is the Inventory.  ID can occur multiple times.  I need this to compile current Inventory.
    LG_LOGBUCH is the History. ID can occur multiple times.  I need this to compile past usage.
    I have tried both Inner and Left joins from LG_PRODUKTE to LG_LAGERORTE and feom LG_PRODUKTE to LG_LOGBUCH
    My Groupings are is:
    1 - Product
    2 - Size
    3 - ID
    Detail
    My primary issue is that I can't just report at the ID level because Contents(Qty) is really just a detail of the Product/Size.
    I need to summarize at the size level (also Product and Grand)
    At this level I need to pull in summary information from LG_LAGERORTE and LG_LOGBUCH, independantly, based on data linked on ID.
    Right now, I'm going to try subreports at Footer 2A for LG_LAGERORTE data, 2B for LG_LOGBUCH, passing parameters to 2C for a combined line...
    Can't seem to pin down the juggling...

  • Question about using TVARV in an ABAP program

    Hello gurus, Im sorry about the silly question.
    I have a question about using TVARV in an ABAP program.
    A program is presenting a problem and I think that in this code:
    SELECT SIGN OPTI LOW HIGH
      FROM TVARV
      INTO TABLE R_1_163431035_VELOCIDADE
      WHERE  NAME = '1_163431035_VELOCIDADE'
      AND    TYPE = 'S'.
      IF ZMM001-VELOCIDADE_B   IN R_1_163431035_VELOCIDADE AND
          ZOPERADORAS-OPERADORA = 'ABCD' AND
          ZMM001-MATERIAL       IN R_1_163431035_PRODUTO.
      ELSE.
      ENDIF.
    What happens is that the value "ZMM001-SPEED" B not exist in "R1_163431035_VELOCIDADE" but the program executes commands under the IF and not under the ELSE, as I imagine it would work. Is this correct ?
    I am new to ABAP programming, but I have a lot of XP in other programming languages ​​and this makes no sense to me.
    Anyone know where I can find some documentation of the use of "TVARV" in ABAP programs?
    I search the Internet if other programmers use TVARV this way, but found nothing, which leads me to think that was a quick and dirty solution that used here.
    If this is a bad way to program, what would be the best way?
    Regards
    Ronaldo.

    Hi Ronaldo,
    But in this case, the range is not empty, there are 17 records, in this way.:
    For the column "SING" all values ​​are "E"
    It means that the result is false if ZMM001-VELOCIDADE_B has the same value as one of the 17 records (E = exclude).
    For instance, if it has value 'C' and one of 17 records matches C, then the result is false.
    The "IF" with "IN" using "TVARV" as used in the program of the post above has the same behavior of a selection screen?
    Yes, the same behavior as the selection criterion to be exact. You can press the help key in the complex selection dialog for more info.
    I know it's a silly and very basic question, but other language that I used, only the SQL has the "IN" operator, but I think they work in different ways, so I would like to understand how it works in ABAP.
    Not silly ;-). Yes they work differently.
    More info here:
    - http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba74635c111d1829f0000e829fbfe/frameset.htm
    - http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/frameset.htm
    BR
    Sandra

  • Using table comparison can we use multiple tables as source?

    Using table comparison can we use multiple tables as source?
    Thank you very much for the helpful info.

    Table Comparison
    1) Input Data coming in
    2) Comparison table (table to which the data is compared)
    3) Output (input rows with respective opcodes based on the comparison result of input dataset with the comparison table)
    If your question is whether table comparison can accept union/join of multiple table sources, you can achieve by using merge/query transforms and then feeding to table comparison. Here, you have to be careful about choosing the primary keys inside table comparison

Maybe you are looking for

  • SOURCE_PACKAGE is INCOMPATIBLE with the FORMAL PARAMETER DATA_PACKAGE

    Hello Experts, Infocube A is getting updated from shopping carts DSO. I have added 3 new fields in SC DSO then cube transformations got inactive.  I do not want 3 new fields in cube. we have report on DSO. Below is syntax error when  checking transfo

  • How do you combine iMessage sent to phone number and email?

    I talk to someone who sends me imessages to my phone number from their phone, and also from their ipad to my email. Both phone number and email are under the same contact. But the mesages go into 2 different threads. Id like to combine them since bei

  • Running my .mp4 Movie files from an External Drive

    I have quite a few familiy movies etc that I've put together using FCP and I've sent these to itunes as .mp4 files which I then playon our TV through the apple TV module. However I'd really like to be able to store these home movies on an external dr

  • What's wrong with my mouse?

    Ok, I'm using an imac g4 and the original pro keyboard and mouse that came with it. My mouse is starting to act funny for the first time ever. Every few seconds, the pointer arrow will just stop moving. And after I move the mouse around for a couple

  • Is it possible to plug my iPad2 into the Cinema Display (Mini Displayport)?

    I'd like to use my Cinema Display w/ Mini Displayport as my true display for my iPad2. I'm hoping to be able to use it for my light business needs at work and this would be the last thing I need to do in order to feel comfortable to make the switch.