Joingi Tables  whilw using DB Connect

HI,
I have connected to AS400 thru DB Conenct. Now I'm viewing the tables of Database. Now my question is can we join two tables to genrate a datasource.Its allowing me to select only one table.If that is possible kindly let me know the procedure.
Thanks
Nerusu

HI Simon
you mean creating a view on source sytem (AS400)is the only possible way for this??
Thanks
Nerusu

Similar Messages

  • Short Dump while acessing external tables using DB Connect

    Hello SDN'rs,
    I am getting Short dump (below) when i am trying to look into the table contents using DB Connect.
    Please let me know how to resolve this problem. Is there any OSS Note on this??
    External Database is Oracle; i can look into other tables.
    ShrtText
    Syntax error in program "GP_CREATE_STRUCTURE_DBCON_026 "
    |What happened?                                                                                |
    |    Error in ABAP application program.                                                            |
    |                                                                                |
    |    The current ABAP program "CL_RS_STRUC===================CP" had to be                         |
    |     terminated because one of the                                                                |
    |    statements could not be executed.                                                             |
    |                                                                                |
    |    This is probably due to an error in the ABAP program.                                         |
    |                                                                                |
    |    In program "GP_CREATE_STRUCTURE_DBCON_026 ", the following syntax error                       |
    |     occurred                                                                                |
    |    in the Include "GP_CREATE_STRUCTURE_DBCON_026 " in line 5:                                    |
    |    "Type "D" can only have the length specification "8" or no length speci"                      |
    |    "fication at all."                                                                            |
    |    " "                                                                                |
    |    " "                                                                                |
    |                                                                                |
    |    Author and last person to change the Include are:                                             |
    |    Author "XYZ "                                                                            |
    |    Last changed by "XYZ
    |Error analysis                                                                                |
    |    In program "GP_CREATE_STRUCTURE_DBCON_026 ", the following syntax error                       |
    |     occurred:                                                                                |
    |    "Type "D" can only have the length specification "8" or no length speci"                      |
    |    "fication at all."                                                                            |
    |    " "                                                                                |
    |    " "                                                                                |
    Trigger Location of Runtime Error                                                                 |
    |    Program                                 CL_RS_STRUC===================CP                      |
    |    Include                                 CL_RS_STRUC===================CM002                   |
    |    Row                                     108                                                   |
    |    Module type                             (METHOD)                                              |
    |    Module Name                             CREATE    
    Thanks,
    Faizee B

    When i tried today for the same table i am getting the shortdump description(below), I have noticed that the number have changed from 026 to 055, any thoughts why it happen and how it can be resolved?
    In program "GP_CREATE_STRUCTURE_DBCON_055 ", the following syntax error                      
    occurred in the Include "GP_CREATE_STRUCTURE_DBCON_055 " in line 5:                                   
        "Type "D" can only have the length specification "8" or no length specification at all."                                                                               
    Thanks,
    Faizee B

  • Cant's See the Table Of SQL Server Using UD Connect

    Dear Experts,
            I meet a problem. I connect using UD connect. In t_code=RSA1->inforsource->Extr->Create BW Data source With UD Connect.
    I can select well in 'RFC Destination'&'UD Connect Sourc', But in the popu menu of 'UD Connect Source Obj.', I can't see the table name . It display the object like 'Tables'\'Views'.
    I do not know what's the problem. Can any body tell me?
    wait your help.
    Thanks in advance.
    ShangFu

    Hi,
    Pls check the data type in your mapping file and data type in table. It might be mismatched.
    thanks

  • Extracting data from multiple tables using DB connect

    Hi,
       I am having different tables which are  having the same structure in oracle database but  there names are different.Now i have only one datasource at BI side.This datasource shld extract data from the  tables dynamically.How can i do it using DB Connect .
    Thnxs

    ahh I see - problem as you said then is if you then take on a new location!
    I would then put into the source system a table identifier and create a view across all the tables
    Then dbconnect from the view and use the selection parameter of table parameter if you wanted one infopackage per "location"
    If you do need to have a new table in the source then just expand the view and create a new ipak
    hence NO bw changes required that need a dev-q-p transport - just the ipak in prod and it;s the source systems problem to add the extra table to the view

  • How to join two tables using UD Connect ?

    Hi,
    I have 2 tables on which I need to create join & extract the data from Oracle database using UD connect. Is this possible? If yes, please let me know how or suggest an alternative approach.
    Thanks,
    Sunil

    Thanks Tony for the reply..  Actually, the issue is Netweaver Java dictionary doesn't allow you to create a view, right? Also, I dont want to create a view directly on the database.
    I want to handle this on BI side somehow.

  • Transfering .csv file from SAP to NON-SAP using FTP connection

    Dear All,
    I am able to place the .CSV file successfully to other system using FTP connection, but when i open the file I could see the gaps between each record. I mean 1st line with the 1st record and 2nd line having a GAP and 3rd line with the 2nd record and so ..on as shown below
    1     1/1/2009     0     41000027
    2     1/1/2009     0     41000027
    3     1/1/2009     0     41000027
    I have declared an internal table as below
    TYPES: BEGIN OF ty_charlist,
             line(5000) type c,
           END OF ty_charlist.
    DATA:  w_charlist TYPE ty_charlist,
                 t_charlist TYPE TABLE OF ty_charlist.
    And concatenating each field seperated by ','
    CONCATENATE  res1 res2 res3 res4 res5 res6 res7 res8 res9 res10 res11 res12 res13 res14 res15 res16 res17 res18 res19  res20 res21 res22 res23 res24 res25 res26 res27 res28 res29 res30 res31 res32 res33 res34 res35 res36 res37 res38 res39
    INTO w_charlist-line SEPARATED BY ','.
    APPEND w_charlist TO t_charlist.
    Now T_CHARLIST contains 50 records which needs to be placed on other system. I can see 50 records but gap is coming
    Here res1, res2 and so on are declared as TYPE STRING..
    Please do help me this issue
    Thanks
    Prava

    Hello dprava ,
    Try to be assisted with these examples .
    1. [http://wiki.sdn.sap.com/wiki/display/ABAP/FTPfiletransferinBackground]
    2. [Reg: FTP Connection; - SAP examples programs
    Thank you,
    Boaz

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

  • Data are not transfered to a table view using signal out

    Hi all,
    we have recently upgraded to SP16 and I'm now facing a problem on my model that worked fine when we were on SP15.
    I have a data service returning data to my model. The data are transfered to a signal out element and then displayed into a table view using a signal in element. Now the table view remains empty.
    I have checked that the dataservice returns data because if I directly connect my table view with the dataservice the data are displayed. But my requirement is to use signal in/out elements.
    This error was not appearing in SP15.
    Any ideas?
    Regards
    Panos

    After doing some tests I found out that if you have a model that has more than 2 signals in/out then the 3rd one will not work. This is definitely a bug.
    Hope that soon there will be a SP without any new bugs!

  • Source System creation in BI 7.0 for SQL Server using DB Connect

    Hi
    My requirement  is to extract data from SQL Server 2005 to BI 7.0 using DB Connect.
    I need to create a SOURCE SYSTEM for that purpose,As i am new to BW i don't know how to start to create a  SOURCE SYSTEM.
    What are the parameters i require either from Basis team to install or for DB team User ID in SQL (What type of user).
    Questions:
    1)  create a db user with authorization to read this views.......as i created views on tables...do i need authorisation to read table or views
    "On BW Server side (If BW server isn't based on SQL Server):
    (1) Install SQL Server client and test connection to SQL Server DB.
    (2) Install DBSL of SQL server (download lib_dbsl_<num>.sar file from service market and sapcar to BW kernel)"
    How can i know on which server our BW System is Based and HOW Install SQL Server client and test connection to SQL Server DB and
    Install DBSL of SQL server (download lib_dbsl_<num>.sar file from service market and sapcar to BW kernel
    and
    how to create Source System to SQL Server on BW
    Please update me in details i this is my first Source System Creation in BW
    Thanks in advance

    go through the link this may be helpful                  http://msdn.microsoft.com/en-us/library/dd299430.aspx

  • How do i count number of table being used in a view

    Hi All,
    I will be really thankful if anyone please let me know about the count of number of tables being used in a view. I am using Oracle 10g Release 2 on HP-UX(11.31).
    In actual I have to find views in my database with more than 5 table in join.
    Thank you
    Gursimran

    Try :
    select count(*) from dba_dependencies
    where name ='<view name>'
    and owner = '<view owner>'
    and referenced_type= 'TABLE';Example:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> show user;
    USER is "HR"
    SQL>
    SQL> drop table t1 purge;
    Table dropped.
    SQL> drop table t2 purge;
    Table dropped.
    SQL> drop table t3 purge;
    Table dropped.
    SQL> drop view v;
    View dropped.
    SQL>
    SQL> create table t1(x int);
    Table created.
    SQL> create table t2(y int);
    Table created.
    SQL> create table t3(z int);
    Table created.
    SQL> create view v as select x,y,z from t1,t2,t3;
    View created.
    SQL>
    SQL> connect / as sysdba
    ConnectÚ.
    SQL> alter session set nls_language=english;
    Session altered.
    SQL>
    SQL> select count(*) from dba_dependencies
      2  where name ='V'
      3  and owner = 'HR'
      4  and referenced_type= 'TABLE';
      COUNT(*)
             3
    SQL>Edited by: P. Forstmann on 26 juil. 2010 17:45

  • Display Table contents using HTMLB...Urgent Help Plz...

    Hello All,
    Im working on EP SP14 and SQL Server 2000.
    I have successfully established database connection.
    I want to know <b>how can I display Table contents using TableViewModel in HTMLB</b>.
    Please help.
    Its urgent.
    Awaiting Reply.
    Thanks in advance,
    Uday<b></b>

    See /thread/80270 [original link is broken]
    (please stop crossposting every question into two forums; thanks in advance)

  • Error when extracting data using DB Connect from an Oracle database

    Hi All,
    We are on BI 3.5 and loading data from a non-SAP (Oracle 10g) database using DB Connect.
    I received the following error messages when trying to perform "Check DataSource" using the DB Connect setup in RSA1.
    Event with errors RSDL_META_UPLOAD in DataSource
    Message no. R8287
    Warning Messages;
    Message no. RSDL053
    Field name ReceiptID contains non-alpha-numeric characters
    Field name ActivityDate contains non-alpha-numeric characters
    Field name ReceiptDate contains non-alpha-numeric characters
    Field name ReceiptLineNumber must have between 000001 and 000016 digits
    etc...
    Views are created under the owner's user name. I have checked with DB personnel and they confirm that all the authorization and security access privileges have been correctly granted to the views.
    We are also able to extract the data by running a sql query statement from the views using SQL Plus
    Currently we also have a similar extraction process set up with an Oracle 9 database, which extracts the information without any issues.
    Thanks,
    Anthony

    Hi Mr Loh.
    I know that this thread has over a year ago but i was looking for something similar for over 2 weeks ago and i ialways found this thread...I want to share my experience even that maybe you already found the same solution or something similar (i saw that you check your own post as answered):
    I made a similar connection from BI 7 SP 18, but in my case was to a Microsoft SQL database 2005. When i "check the datasource" i receive like almost 150 warnings and 1 error and all the warnings and errors are the same ones as you describe above. What i did is create a custom view in the MSSQL database and convert all the column names to uppercase and the column names i limited to 16 characters at most. after doing that all the warnings and the error described disappear and i can view the database content when you made click in the "view content table" button.
    I hope that this will help somebody and best regards
    Martin Olmos

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Build mapping using the CONNECT BY logic...?

    Environment:
    OWB 10g Client on Windows XP Professional
    Repository - 9.2.0.4 on UNIX (AIX 5.2)
    Target - 9.2.0.4 - on UNIX (AIX 5.2)
    Is it possible to create a summary table mapping that uses the CONNECT BY hierarchical logic of SQL?
    I realize that I can put it in a procedure and execute that procedure as a post-mapping event, but in this case I need the procedure to be the only activity going on in the mapping.
    I can also plug the SQL into a materialized view but I wanted to see if there was some functionality that I was not getting from the documentation.
    Many thanks all suggestions.
    Gary

    Hi,
    Have you found a solution ?
    If not read on :
    I think your solution of making a procedure and calling it in a mapping is the best idea. But since you said that that there would be nothing else in the mapping, I believe you have to do a dummy mapping. That is, map the fact / dimension to itself, with the load type of the target fact/ dimension to 'NONE'. Also, set the operator property of the pre-mapping process to execute 'ALWAYS'.
    Hope this helps.
    Regards,
    V.Usha

  • Can't load data using DB Connect

    I'm trying to use DB connect to load data from an external source database into SAP BW.  Both databases are MSSQL.  I've followed the steps in the document, "Transferring Data with DB Connect".  The table in the source system has all CAPS for the table and the fields. I can see the data in the BW system via screen "DB Connect: Display of data from the database system".  However, when I create an info package and try to load the data, the job seems to hang.  It is stuck in YELLOW status with "0 from 0 records".  Does anyone have a clue?
    Thank you,
    Tony

    dear Tony,
    check if followed already all 'restictions' in oss 512739-BW external DB Connect for MS SQLServer
    Datasource not showing up in RSA3
    To avoid problems loading data, proceed as follows:
    1. Create a special login for the extraction.
    You should add this login to the db_ddladmin database role in the corresponding database. This generates a similar DB user at database level.
    The user you use must have the 'CREATE VIEW' authorization at least. This is contained in the role mentioned above.
    2. For the extraction, you should only use DB views that were created under this DB user. (refer also to type conversion, naming convention and so on)
    3. Assign the necessary authorizations (SELECT at least) to the selected user in the source tables, or the columns of these tables.
    4. Use the specially created login in the logon information when you set up the DB source system in BW.

Maybe you are looking for