Crystal 2011 linking table with a String and a Number

Hello,
I am able to retrieve the data I want with the following  SQL Query in SQL: If I try to create it in Crystal 2011 APPLRUNN is a string and CNTBTCH is a number. Is there a way I can link these two fields if one is a string and the other is a number ?
SELECT   
ENADV.APPLRUNN, ENPBD.CNTBTCH,
ENPBD.DOCNBR
FROM       
ENADV INNER JOIN
ENPBD ON ENADV.APPLRUNN = ENPBD.CNTBTCH
Thanks,
Debbie

Hi Debbie,
You cannot linking  table with a string and a number. I have given a example query:
SELECT   
ENADV.APPLRUNN, ENPBD.CNTBTCH,
ENPBD.DOCNBR
FROM       
ENADV INNER JOIN
ENPBD ON
ENADV.APPLRUNN = ENPBD.APPLRUNN  or ENADV.CNTBTCH = ENPBD.CNTBTCH
I modify last sentense because one table primary key is equal to another table Foreign key i.e
one table ID field = another table ID field or one table NAME field = another table Name field.
Please understand my intenction and check linking fields in tables.
Thanks,
DJ

Similar Messages

  • I got a macbook pro 13 inch core i5  late 2011 , it came with osx lion  and i been using facebook videocalls normaly , now i updated to Mountain lion but when i use facebook video calls in (safari ,chrome ) i see the window box but i only see my self  i c

    i got a macbook pro 13 inch core i5  late 2011 , it came with osx lion  and i been using facebook videocalls normaly , now i updated to Mountain lion
    but when i use facebook video calls in (safari ,chrome ) i see the window box but i only see my self  i can hear my friends but cant see em, they also can see me and hear me but i just see me and hear them .
    any ideas ?

    Your wifi problem sounds very much like the problem I had. The wifi would drop out, the icon showed it was still connected. If I turned it off, I couldn't turn it back on. Another user here pointed me to the problem, which was the wifi cable (the flat cable goint from the card to the motherboard). I found it on ebay for $13 and it's been running fine since I replaced it. This is the repair guide for your machine. The part number will be on there if you click the link.
    http://www.ifixit.com/Guide/MacBook+Pro+15-Inch+Unibody+Late+2011+AirPort-Blueto oth+Cable+Replacement/7510

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • How to link asset with purchase order and PO Item.

    Hello,
           I have to generate a report which contains columns
    Asset No , po no(ebeln) ,PO Item(ebelp),Material no etc
    My query is how to link asset with purchase order and      PO Item.
    I am selecting asset and po no. from anla  but how to get
    po item no(ebelp)?
    po line item is important in this report because every line item has differrent asset and material no.
    i tried to match asset no in mseg table but i am not getting asset no in mseg .
    how should i proceed ?

    Thanks Thomas & Srimanta for the quick response.
    When I checked EKKN table by entering PO there is no asset no. in anln1 field.
    Also I would like to add that, In me23n for a PO, account assignment category we are entering 'F' for internal order settlement.
    Where can i find the link between asset and po no(ebeln) and po item(ebelp)?
    Regards,
    Rachel
    Edited by: Rachel on Aug 11, 2008 7:23 AM

  • Problem creating a table with a subquery and a dblink

    Hello!!
    I have a little problem. When I create a table with a subquery and a dblink, for example:
    CREATE TABLE EXAMPLE2 AS SELECT * FROM EXAMPLE1@DBLINK
    the table definition is changed. Fields with a type of CHAR or VARCHAR2 are created with a size three times bigger than the original table in the remote database. Field of type DATE and NUMBER are not changed. For example if the original table, in the database 1, has a field of type CHAR(1) it is create in the local database with a type of CHAR(3), and a VARCHAR2(5) field is created with VARCHAR2(15).
    Database 1 has a WE8DEC character set.
    Database 2 has a AL32UTF8 character set.
    Could it be related to the difference in character sets?
    What can I do to make Oracle use the same table definition when creating a table in this way?
    Thanks!!

    That is related to character sets, and probably necessary if you want all the data in the remote table to be able to fit in the new table.
    When you declare a column VARCHAR2(5), by default, you're allocating 5 bytes of storage. In a single-byte character set, which I believe WE8DEC is, that also happens to equate to 5 characters. In a multi-byte character set like AL32UTF8, though, 1 character may require up to 3 bytes of storage, so you'd need to allocate 15 bytes to store that data. That's what's going on here.
    You could still store all the data if you create the table locally by explicitly requesting 5 characters of storage by declaring the column VARCHAR2(5 CHAR). You could also set the NLS_LENGTH_SEMANTICS parameter to CHAR rather than BYTE before creating the table, but I believe that both of these will only apply when you're explicitly defining columns as part of your CREATE TABLE. I don't believe either will apply to CTAS statements.
    Justin

  • TO DRAW A TABLE WITH MULTIPLE ROWS AND MULTIPLE COLOUMNS IN FORM

    Hi,
       How to draw a table with multiple rows and columns seperated by lines in form printing?

    check this
    http://sap-img.com/ts003.htm
    Regards
    Prabhu

  • Collect in an internal table with keys plant and material

    Hi ,
    I have an output internal table with material , plant and var quantitites .
    I would like to use Collect statement and sum the quantities but do it by plant and material .
    How do I specify that i want to do it on plant or material ?
    Thanks !

    hi here is an example like urs..
    DATA: BEGIN OF seats,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO seats.
      COLLECT seats INTO seats_tab.
    ENDSELECT.
    check for help..
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm
    regards,
    venkat

  • I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY WUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ??

    I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY QUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM .I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ?? HOW IT IS ??

    Hi Kishore,
    First identify deleted records by selecting "Detect deleted rows from comparison table" feature in Table Comparison
    Then Use Map Operation with Input row type as "delete" and output row type as "delete" to delete records from target table.

  • Suggestions for JSF table with sortale columns and Pagination

    Hi,
    My JSF application needs a table with sortable columns and also pagination.
    Thank you.

    Just add a bunch of commandlinks and/or commandbuttons at the right locations and invoke the appropriate logic in the backing bean.
    You can find some useful insights in this article: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • Little help with EL: concat static string and databound number

    Hi OTN,
    I'm a bit stuck with a simple - as I thought - case: concatenating static string and databound number in EL:
    I have a deffered expression like:
    #{1 != 2 ? ('Number is ' bindings.SomeNumber.inputValue) : 'no number'}
    1 and 2 are databound values too but the question is about showing "Number is 5" where 5 is a SomeNumber.
    Expression editor shows error on 'Number is'. And the error dissapperars if I remove "bindings.SomeNumber.inputValue".
    How can I concatenate them?
    Thanks.

    Another option for you is to write that formatting logic in a static utility classes that takes parameters to return strings.
    Ex.:
    */WEB-INF/utils.tld:*
    <taglib xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1" xmlns="http://java.sun.com/xml/ns/javaee">
      <description>utils</description>
      <display-name>utils</display-name>
      <tlib-version>1.0</tlib-version>
      <short-name>utils</short-name>
      <uri>http://biz.com/utils</uri>
      <function>
         <name>getFormattedNumber</name>
         <function-class>com.mybiz.FormatUtils</function-class>
         <function-signature>java.lang.String getFormattedNumber(oracle.jbo.domain.Number)</function-signature>
      </function>
    </taglib>And then you use them in your EL expression like this:
    page.jspx:_
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:utils="http://biz.com/utils">
      <af:outputText value="#{utils:getFormattedNumber(bindings.Number.inputValue)}"/>
    </jsp:root>Better to have many options isn't it?

  • I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    I have CS2 with the discs and serial number. After needing to have my computer wiped, reloading the discs, and imputing the serial number, neither phone activation or on-line activation works. What do I do? Lanny

    Adobe took down the CS and CS2 activation servers, but they put up a version of CS2 for those who previously had a license to it.
    You will need to download the software from here, and use the serial number given on these pages. Follow the directions on this link, and you will soon be up and running again.
    Error: "Activation Server Unavailable" | CS2, Acrobat 7, Audition 3

  • "File with specified name and version number already exists. Result code= -48."   ...????

    Recently I have been getting this error message when I try to record an audio track in Logic... "File with specified name and version number already exists. Result code = -48."  WHAT IS THE PROBLEM?????? It's making me furious!

    Hi
    As the message says, there is a file at the recording directory that has the same name:
    http://support.apple.com/kb/ht1618
    Try changing the name of the track (this sets the filename in later versions of Logic 9
    CCT

  • Crystal Report - Linking tables

    Hi all,
    I had a look around for this subject matter but cannot find anything to answer my question.  If you know where I can find the answer, please let me know.
    I have 2 tables on Crystal Report and am trying to link the Primary table to the secondary one with a 'NOT EQUAL' link.  ie. I want all the records in the Primary table (about 4000) which Do Not have an entry in the secondary one (about 3500) so I am expecting to get about 500 records.
    I have tried with all the various link and Enforce Join options but cannot get the correct results.
    I have also tried to link them with an Inner Joint of Equal Type then created a formula of Primary.key.field <> to Secondary.key.field but this is not working either as it returns no records.
      Any idea?

    Hi All,
    This is to let you know that I have now found an answer to my questions (yiha!).  So thanks to James Gust who answered a note from Joey041 on March 2nd.
    Thanks a lot for being there.
    Cheers, Sylvie
    Edited by: SylvieWolpert on May 12, 2009 7:31 AM

  • How to link tables EKKO, EKPO, EIKP and EIPO

    What I'm trying to do is create a view based on these four tables. EKPO contains multiple rows with the same values for EBELN. EKKO contains all distinct values for EBELN. I am trying to pick up all rows from both tables where EBELN in EKPO is the same as in EKKO. This is simple enough for a select statement to handle, without creating a view. The tricky part is linking the relevant rows selected from EKKO and EKPO to EIKP and EIPO. I tried using EXNUM to link EKKO, EIKP and EIPO, but I'm not sure that EXNUM contains distinct values for all 3 tables. In the case of EIKP it doesn't matter because the values for the fields I want (VORNU and VORNA) will be the same for the rows selected from EKKO and EKPO. The problem is with linking EIPO to my selections. If I knew that EXNUM was distinct for all rows in EIPO there would be no problem. However, I have seen some cases where multiple rows in EIPO have the same values for EXNUM. If I am using EXNUM in EIPO as a key field I have no way of being sure that the fields I want to pick up from EIPO (NACNU, BEHOE, NACD2, PRUEL and NACN3) contain the correct values I require. An example of what I am trying to do might make this clearer:
    Table EKKO:
    EBELN     BEDAT      WAERS
    420000001 10.08.2007 USD
    Table EKPO:
    EBELN     WERKS MATNR MENGE NETWR NETPR TXZ01
    420000001   3500  m1    q1    nw1   cnf1  mat1
    420000001   3500  m2    q2    nw2   cnf2  mat2
    420000001   3000  m3    q3    nw3   cnf3  mat3
    Table EIKP:
    VORNU  VORDA
    125/45 12.08.2007
    Table EIPO: (Corresponding to the above three rows in EKPO)
    NACNU BEHOE NACD2      PRUEL      NACN3
    1234  1001  30.08.2007 28.08.2007 xx
    1235  1002  27.08.2007 29.08.2007 yy
    1236  1003  18.08.2007 16.08.2007 zz
    So basically, given the above table entries, I want that the result of my selection should be:
                   | ROW1        | ROW2       | ROW3
    EBELN:   |  420000001   |  420000001  | 420000001
    BEDAT:   |  10.08.2007   |  10.08.2007  | 10.08.2007
    WAERS: |  USD             |  USD           | USD
    WERKS: |  3500             |  3500           | 3000
    MATNR:  |  m1               |  m2              | m3
    MENGE: |  q1                |  q2               | q3
    NETWR: |  nw1              |  nw2             | nw3      
    NETPR:  |  cnf1              |  cnf2            | cnf3
    TXZ01:    |  mat1             |  mat2           | mat3
    VORNU: |  125/45           |  125/45        | 125/45
    VORDA: |  12.08.2007     |  12.08.2007   | 12.08.2007
    NACNU: |  1234              |  1235            | 1236
    BEHOE: |  1001              |  1002            | 1003
    NACD2:  |  30.08.2007     |  27.08.2007   | 18.08.2007
    PRUEL:  |  28.08.2007   | 29.08.2007   | 16.08.2007
    NACN3:  |  xx               | yy                | zz
    Sorry for the extremely long post. If anyone can shed some light on this I'd really appreciate it. Thanks.
    Kal

    select req. fields + a~exnum
    from ekko as a
    inner join ekpo as b
    on aebeln = bebeln
    into table gt_ekko_ekpo
    where.........if u any conditions...
    select req.fields from
    eikp
    into table gt_eikp
    for all entries in gt_ekko_ekpo
    where exnum = gt_ekko_ekpo-exnum.
    select req.fields
    from eipo
    into table gt_eipo
    for all entries in gt_eikp
    where exnum = gt_eikp-exnum.
    and also ekpo and eipo are line items tables , so for each exnum, will have multiple lines items in eipo table.
    imp. the above and check whether, getting the req. result or not.
    next in view , maintain rel. among these 4 tables.
    ekko -ekpo, ekko-eikp, eikp-eiko.

  • I would like to read a file and display the results in a table containing both strings and numbers?

    Hi,
    I just need a simple way of doing this as at the moment, i read one line at the time containing strings and numbers, whenever i convert this line to an array i loose the strings, if i want to display it, it displays as a group of lines while i would like to display it as a table with column headers. The file is an .xls worksheet.
    Any suggestions?
    Thanks
    Me

    Hi,
    Look at attach vi.
    If this is not what you need please clarify.
    With ActiveX you can Open Excel, interact with it (read and write values to cells...
    But if you can read it this way, I think it's easier.
    Hope this helps,
    Paulo
    Attachments:
    XL.zip ‏24 KB

Maybe you are looking for

  • How to get Data from SAP B1 through Journal Entries objects (Excel VBA)

    Hi Genius i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Jour

  • How can I delete a photo folder from my iphone 4s?

    how can I delete a photo folder from my iphone 4s?

  • ITunes wont recognize music files

    Windows 7 Dell Inspiron PC Much to my regret, I moved music files and now itunes cant find them. They are simply transparent to itunes; not listed in the songs list.  I tried to change the iTunes advanced settings for file location to no avail. I man

  • How to add user to one to many groups in Active directory using powershell

    Hi  All I am working on a script to create a user and based on user type i would like to add that user into 2 to 3 groups . At the moment i have 3 groups e.g domain users, Developers, tester,  $NewUser = Read-Host "New Username" $firstname = Read-Hos

  • Nokia 5500 problem.

    I'm not good in English. I have some problem with Nokia 5500. The bluetooth headset is very low sound. I think because firmware. (I use 4.60) I try to pair many of BT with my phone and try same one with friend's mobile (Nokia N73). With myphone 100%