How to connect COEP-ESLH tables - duplicated records

Dear All,
I'd like to ask you to please give a hand in this issue:
I connected COEP and ESLH tables in SQVI. The tables are connected through fields EBELN & EBELP. The problem is that I get duplicated records and I till now I haven't been able to figure out what the reason might be...
How can I solve this? Please...
Thanks,
Csaba

Hi Christine,
Thanks for your help.
To tell the truth I've got a task to check why someone's else query doesn't work...after I while I found out that the problem is about this table-connection...
I'm not (fully) aware of the business purpose of this query, I'm working in logistics field...
Example of duplicated reords:
ESLH
packno_ebeln_ebelp
000001_0011_0010
000002_0011_0010
COEP
belnr_buzei_ebeln_ebelp
000A_0001_0011_0010
000A_0002_0011_0010
As a result of COEP-ESLH query I get four records instead of 2 (I guess first record in COEP belong to first record in ESLH, etc but of course it's my opinion and I SAP cannot consider it...)
BR
Csaba

Similar Messages

  • How to connect two different tables from different server?

    Dear all expert,
    I need to develop a report where i need to connect 2 different tables from 2 different servers. For examples:
    BUT000 tables from CRM and KNKK from R3.
    Is it possible to do so? Because i try to link these 2 tables together and when i preview the report, it run very slow and sometime it hang. I did not get any result.
    Thank You.

    Moved to SAP Integration kit forum
    Appears you are using SAP data sources.
    And yes you can but the linked field types must match and be able to be converted into the WHERE portion of the SQL. Click on Database, Show SQL... and see if there is one. If not CR can't figure out how to so it brings all data client side and filters on the second pass.
    Thank you
    Don

  • How to connect infosets & database tables

    Hi,
       I have connected R/3 system through Crystral report, Now Server name is coming in the list. But am not seen any infosets instead of i found I & Q under my Server name,
    Am now to configure this Crystall repport.
    When I connect the server it asking the client, username & password. I given all the required inputs. My user ID have SAP_ALL authorization.
    Can you explain in brief steps or give me any configuation document link.
    Kindly help me.
    Thanks
    Jibin.

    Hi,
    It is possible to modify database table in bulk.
    You can use the following syntax:
    =====
    Modify dbtab FROM wa    -
    > To modifiy single record
    Modify dbtab FROM TABLE itab  -
    > To modify bulk records.
    Update dbtab FROM wa    -
    > To modifiy single record
    Update dbtab FROM TABLE itab  -
    > To modify bulk records.
    =====
    Remember that update command update existing records where as modify comand updates existing records and if the record does not exists, it inserts the record.
    Regards,
    Saurabh

  • HOW TO create a temp table or a record group at run time

    i have a a tabular form and i dont want to allow the user entering duplicate
    records while he is in insert mode and the inserted records are new and not exsisting in the database.
    so i want to know how to create a temp table or a record group at run time to hold the inserted valuse and compare if they are exsiting in previous rows or no.
    please help!

    As was stated above, there are better ways to do it. But if you still wish to create a temporary block to hold the inserted records, then you can do this:
    Create a non-database block with items that have the same data types as the database table. When the user creates a new record, insert the record in the non-database block. Then, before the commit, compare the records in the non-database block with those in the database block, one at a time, item by item. If the record is not a duplicate, copy the record to the database block. Commit the records, and delete the records in the non-database block.

  • How can I get the last / newest record of a table?

    Hi,
    I am developing an ecard app that has a create greeting page, a preview page with edit and send buttons and an edit page.
    I got he insert working, and on the preview page I created a master record page (displays all records), and delete all unecessary designs. Doing it this way also gives me the 'edit' button, so people are able to edit their page.
    How do I get only the last record displayed though? At the moment it loops through all records and displays them in sets of 10. I found the variable that holds the totla count of records ('$totalRows_rs7417_content1'), but how do I (re-)write the script so it ONLY diplays the last record?
    I need to get the ID of this record as I am writing this into the PARAMs of the object and embed tags of my message .swf (this picks up the ID and based on that sucks the greetings text out of the database via another php script.
    Also, from this page, how can I send an email to the sender (ie creator of the message) as well as the recipient? Both email addresses are in the databse so should be part of the erecord returned.
    Thanks,
    Nik

    -----
    OK, So how do I recreate what I got in a non-ADDT list?
    well, when you´re just about to display one certain record, the term "list" is somewhat inappropriate anyway.
    What you´d simply need to do IMHO, is using DW´s native functions to create the basic "SELECT * FROM table_name ORDEr BY ID DESC" query, add "LIMIT 1" manually, and display the desired "dynamic text" placeholders in 1 table cell -- don´t think there were any need for all the fancy stuff
    (sorting, filtering etc) provided by ADDT´s list, as it´s just 1 record.
    It also occurred to me just now that finding the last record that has been added *may-* notbe enough if the site gets used a lot by our executives (I am thinking of a situation where 2 or three peolpe create greetings at the same time and press submit and then getting each others messges rather than their own).
    in this case you might want to additionally store the respective executive´s "kt_login_id" session variable -- because it´s this unique "identifier" which should be used to show the last inserted record of the person who actually inserted it, means adding a "WHERE submitter_id" equals the session variable kt_login_id - clause to the query.
    When creating a non-ADDT list that´s at some point based on detecting a user session, you´ll BTW need to insert at line 1
    I can't seemt o insert it on the page as it is looking for a insert, update or delete bahaviour on the page which of course I don't have
    please search these forums for several posts I made which explain my "use dummy table" approach that´s made for cases when you actually don´t have anything to insert/update/delete, but need "something" for ADDT´s send email behaviours.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can I include a MySQL table and records with the PUT of my Dreamweaver site?

    I am using .php to validate a user code against one of four codes that I am providing to potential clients.  They enter that code, along with a default user id and the appropriate page is then displayed for them.  Everything is working fine on the desktop.  I need to have this table and the records created on my remote server.  I tried saving the table in the Connections folder, but that didn't help.  Everytime I enter a code (valid or invalid) on the live site, I get the following message:  "Table 'boundsauctions_com.promocode' doesn't exist".  Is there someway to include the table and records in my Dreamweaver folders for the site? 
    Thanks for any help that you can offer.

    You can't.  Dreamweaver, or FTP for that matter has no connection to the MySQL database.  If you have created a MySQL database locally and now wish to move/copy it to your server you'll need to create a back up of your local database and then log into your database on the server and then restore that back up.
    An even easier way to do this, and if you are working with MySQL much at all  a good investement is to get the commercial version of Navicat MySQL - this is the best MySQL administrator I've found to date and is well worth the few bucks to buy it.  With Navicat you can connect to your local MySQL database and also create a connection to your remote database, then literally drag and drop your local database contents to copy them to your server. This function alone justifies buying Navicat. A huge time saver.   And no I do not work for or have any share or ties to Navicat.  I'd recommend something else if I knew of anything better, but so far I don't.
    Hope this helps. If you need any more details let me know.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion
    Stay updated - http://blog.cartweaver.com

  • How Can I obtain the tables of one schema and the record size???

    How Can I obtain the tables of one schema and the record size???
    Example:
    TableName Record Size
    Tabla1 12500
    Tabla2 7800
    Tabla3 2046

    This is not an OWB question, but you can obtain bda-type information on tables by using the system view dba_tables.
    Regards:
    Igor

  • How to connect one table to another in XL reporter

    Hi,
    I have to take Service Type ( warranty) Contract No. from OCTR table which is internally connected to OINS table then to ODLN table so how to connect ODLN to OINS & then to OCTR  table.
    Regards,
    Ruheena Tasneem.

    Hi,
    In service call module
    1)Customer Equipment Card
    2)Service Contract
    is there Customer Equipment Card (OINS )is internally connectd to Service Contract (OCTR) & Delivery
    (ODLN).
    i have to connect ODLN to OINS to OCTR , OCTR table contains service type (warranty) Contract No.& get the data .Through SQL query i solved but i want how to do in xl reporter.
    Thanks ,
    Ruheena Tasneem.

  • How to know the internal table's last record

    Dear friends,
    Just I want to know my internal table last records, Ex:
    I am having the records in my internal table like this:
    Itab-col1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    I want to know and print the last record, it maybe n number of records in my itab.
    If I used at last within a loop but it dosn't work its taking the all *** in header.
    How to know which is the last record in my internal table.
    Thanks,
    Sridhar.

    hi,
    sridher reddy
    1st describe ur table i.e read the number of entries in the table .....
    data : count type i.
    DESCRIBE TABLE <table name > LINES count.
    READ TABLE <table name > INDEX count.
    write : <table name>-<fieldname>.......... .
    by this way u can print the last record of your table

  • We are upgrading from 8.3 to 9.2. How can i get the table(record) structure changes between these 2 version

    We are upgrading from 8.3 to 9.2. How can i get the table(record) structure changes between these 2 versions. I am not able to find it in Oracle support.

    My guess is you want to upgrade HR8.3 to 9.2 - and that is not one jump upgrade. You will need to go HRMS 83 to 90
    (PeopleSoft Enterprise HRMS 8.3x to 9.0 Upgrade (Doc ID 747333.1) and then 90 to 92 (PeopleSoft Human Capital Management 9.0 to 9.2 Upgrade Home Page (Doc ID 1536087.1)
    Each these MOS pages contains the Demo to Demo Compare Reports that show the data structures changes between the releases.
    Hope it helps.

  • How to lookup percentile table and Records table For Dashboard purpose?

    Hi Folks,
    I have Created one USP_Storedprocedure : whic is create table 1 results, I have another stored procedure
    which has N no of columns. But For the dashboard purpose I want 2 columns only (whic are 
    table 2 sample Results, that table held N no of rows that will vary every month ) 
    my Requirement is i wnat to look up boath tables using T-Sql or any other. I neeed to find % of each  person value:
    i am excepingting this code for second table person %
    Select PersonID,((Value * 100)/(Select MAX(values)
    From XX Table) From XX Table
    ?? how can I lookup boath tables can you please advise me thanks in advance

    Hi Cherkuri
    What I understand from your statement, you want to get the percentile no in table 1 for each record in table 2.
    Below is my proposed solution and its output:
    DECLARE @Table1 AS TABLE
    PercentileNo INT,
    Per1 INT,
    Per2 INT
    DECLARE @Table2 AS TABLE
    Person_ID VARCHAR(50),
    Value INT
    INSERT INTO @Table1
    SELECT 1, 1, 10
    UNION SELECT 2, 11, 20
    UNION SELECT 3, 21, 30
    UNION SELECT 4, 31, 40
    UNION SELECT 5, 41, 50
    UNION SELECT 6, 51, 60
    UNION SELECT 7, 61, 70
    UNION SELECT 8, 71, 80
    UNION SELECT 9, 81, 90
    UNION SELECT 10, 91, 100
    INSERT INTO @Table2
    SELECT 'person1',12
    UNION SELECT 'person1',11
    UNION SELECT 'person2',5
    UNION SELECT 'person3',18
    UNION SELECT 'person3',16
    SELECT * FROM @Table1 t
    INNER JOIN @Table2 t2 ON 1=1
    WHERE t2.Value BETWEEN t.Per1 AND t.Per2
    Below is the output:

  • How to make few columns of single record inactive in Table conrol?

    Hi all,
    Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular  record , now table control  should contain ten records , but nine records are in editable state and one record in non editable state .
    How to make few columns of single record inactive in Table conrol?
    Thanks in advance.

    hi there...
    select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
    if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
    dont forget to modify sscreen after setting the attribute values.
    i hope this helps.
    do reward if helpful.

  • How to connect tables

    hi...gurus.....
    i hav a problem.....there is a alv requirement where most of fields are from vbak,vbap,kna1 vbuk table....but there is a field vsmng from vbepd table.....and i dont have an idea how to connect this table with other tables...becas at last i want all fields in a final table.....
    Please help me....
    thanks & regards
    Arijit

    hi..vinod ....according to ur suggestion i write the code
    IF NOT IT_VBAk[] IS INITIAL.
        SELECT VBELV                             
                    posnv
                  VBTYP_N
                  VBTYP_v
                  RFMNG
          FROM VBFA
          INTO corresponding fields of  TABLE IT_VBFA
         FOR ALL ENTRIES IN IT_VBAK
          WHERE VBELV = IT_VBAK-VBELN
           and posnv = it_vbap-posnr
           AND  VBTYP_V = 'C'
           AND  VBTYP_N = 'J'.
    becas i hav to put all data in final table......i think i made a mistake to write  a query...so plzzz check thsi query and correct it.....
    becas when i write for all entries it shows error that " vbap is a internal table with no header line" and when i commnet for all entries line then in output it cant show any thing...just show "0.00"
    so plzz help me....
    i will wait for ur rply
    Thanks & regards
    Arijit

  • How to delete the duplicated records, not just surpress the records?

    I am new to CR. Right now I am doing a project which needs CR get query from Oracle. I got the query from Oracle. There are records with duplicated fields. For example (the following only show part of fields):
    ID    body_code  
    1            10            
    2             10            
    3             15            
    4              15           
    5              15           
    6              16           
    I need to only select records (not surpress, because I will do some caluculate later) like following:
    ID         body_code        
    1             10         
    2              15
    3               16   
    I tried to creat selection fomula in fomula workshop, shown as follows:
    onlastrecord;
    <>next
    but CR said next can be evaluated. I think it must have something to do with the print-time. So what show I do to delete the duplicated records.Thank you very much.

    Ting,
    Try this:
    Insert a group on body_code.  Then create a running total called Distinct Count.  Field to summarize -> ID, Evaluate on change of group Group # 1 Body Code, and Never Reset.
    Then insert a chart in the report header:
    In the advanced layout, select body_code on change of and select Distinct Count running total in the Show values.
    I hope I understood what you're looking to accomplish.
    Z

  • IPad 3 as recording device - How to Connect Firewire 400 from a PreSonus device

    Have:
    iPad 3 (Apple 30-pin connector)
    PreSonus Firestudio (firewire 400 output)
    How to connect them?
    PreSonus had MIDI as well

    PreSonus has MIDI as well  (kant spell)

Maybe you are looking for