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

Similar Messages

  • How to connect table and access or oracle table?

    so many question at a time . yes but pls hlp me to learn how to create a table that 'll connect to some database.

    You need to use JDBC to access the database, a TableModel to contain the memory image of the data and a JTable to display it. You can derive your TableModel from the DefaultTableModel class. There is a tutorial on JTable use that builds a Stock Quote table that fetches its data from a database in
    http://developer.java.sun.com/developer/Books/swing2/chapter18-01.html

  • How to Connect Tables on Separate Pages

    Does anyone know if it's possible to have a table (B) be automatically updated when table (A) is changed?
    I am wondering if it's possible to have Table B match Table A, less a few columns and rows of info.. Table B is on a separate spreadsheet and a separate page; but shows as a tab in the same file.
    Currently we copy and paste Table A in Table B's place; delete some rows and columns and function this way. But, we would love for Table B to automatically update when Table A is updated.
    Can anyone help with this?
    Thanks!

    Yes it's possible. Tables in Pages are actually spreadsheets, just like in Numbers.

  • 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 maintaining the connection table for sticky/persistent/non-persistent?

    Question about how to maintain the connection table for the source(client) and destination(server) in the CSM(or CSS).
    I know the sticky has the table and max size such as 128K(css11501)as per CCO but not clear how works the persistant and non-persistant case.
    Q1) persistant. does it maintain the conntion table to tracking the session? then, any information the table size?
    Q2) non-persistant. is this also have connection table? then, how it works?
    why I'm asking is want to understand how the session keep tracking. for example, the router based on the routing table(stateless) versus PIX firewall has stateful table. As analogue, is the non-persistnet stateless and statefull for the persistent and sticky?
    Thnaks in advance,

    The CSS uses FCB to maintain information about active connections.
    Each connections requires 2 FCB - one for client to vip and one for server to client.
    When you boot the CSS it will immediately reserver a good amount of memory to create a list of FCB.
    Each connection will then take 2 FCB from the list.
    You can do a 'flow stat' from llama mode to verify how much free/used FCB you have.
    When running low on FCB, the CSS will try to allocate more memory.
    Gilles.

  • How to connect oracle application server portal to MS access DataBase

    Hello,
    I am facing one problem here.
    Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portal

    There is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
    http://asktom.oracle.com/pls/ask/f?p=4950:61:::::P61_ID:4406708207206#18830681837358
    I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.
    Tak

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • How to connect MS Access or other d/b tools to SAP R/3

    Hi SAP Experts,
    I got a requirement i.e by using MS Access or other database tools to take the SAP table dumps and analyze gaps or errors in the system data using business guided .
      I don't know how to connect MS Access to SAP R/3 and how to connect other database tools to SAP R/3.
    pls any body can explain me on this topic or inform me where i can get the corresponding documents.
    This is urgent for me.
    I appreciate you're help.

    Hi,
    For some databases (for example MSSQL, Oracle,...) you can use transaction DBCO (table DBCON) to create connection to external database. Then you can use native SQL in ABAP programs (EXEC SQL command).
    Krzys

  • How to connect external database(Ex:SQL Server/Tivoli)  from ABAP Webdynpro

    Hi,
    Any one have idea how to connect external database like SQL Server/Tivoli to access tables from WebDynPro ABAP.
    Please point to me some links if you have
    Thanks
    Praveen

    Hi,
    Please check out this link -
    FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
    Regards,
    Lekha.

  • How to connect to a remote database in a lan??

    Hey guys......! I need to connect to a remote msaccess database in a lan and import its data into my mysql database.I know how to connect to a msaccess database using ODBC.But I don't know how to connect to a remote database without creating dsn in the machine where database is.One thing more...I want to know, how can I import data into my mysql database?? Is there any query for that or simply I have to select data from msaccess database and insert into tables of my database??Please, send me the source code in the forum itself and explain also.This is the last feature of my project.So I need to do it as soon as possible.

    If the mdb file in LAN, Just map the network drive.[Windows Explorer/Tools/Map Network Drive] in your system from which we need to access the remote mdb. Then go to ODBC Data Source Admin.. and create a new data source[Microsoft Access Driver] . After clicking the Select button, you will find a Network Drive will be visible on your Drives drop down. Select the map Drive, If not visible then just click the Network button there and map the network path where the mdb files reside. And use the JdbdOdbcDriver class to connect from java.

  • How to access tables/views of an external database provider..

    After much trouble I finally managed to setup a second Database Provider that doesn't display the "0 out of 0 connections are good" error by filling in the "Configuration Class" field with "intradoc.server.DbProviderConfig".
    But now the problem is actually accessing the tables/views in my newly configured external database provider...
    In the Configuration Manager applet when I try to add a new Table or View it only lists the tables contained in the schema of the SystemDatabase database provider (the original one), I've tried running Queries via components trying stuff like SELECT * FROM provider_name.table_name and other similar but obviously it doesn't work...
    So... with that said, I just want to know how I access tables or views in my "supposedly" well conected (15 out of 15 connections are good, no errors on the Test Query) Oracle external Database Provider - After searching I was unable to find any information regading any post-provider-setup actions in the Content Server documentation - Does anyone know how to do this?
    On a side note, if the database is SQLServer instead of Oracle, with the same configuration and apparently no errors on the database side (other clients access it well) the Query Test of the new database provider returns the following error:
    "The provider 'TestSqlSrv' is in error. Unable to create database connection for JDBC:ODBC:SqlSrv. Unable to create result set for query 'select * from dummy'. Invalid Fetch Size Unable to create result set for query 'select * from dummy'. Invalid Fetch Size java.sql.SQLException: Invalid Fetch Size".But I won't even go there yet.... for now I would settle with just knowing how to reference information in the Oracle external database provider...
    Message was edited by:
    user602700

    if you are able to, pick up Bex Huff's book the Definitive Guite to Stellent Content Server Development (amazon link: http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846/ref=sr_1_1?ie=UTF8&s=books&qid=1196365101&sr=8-1)
    chapter 11 is all about this.

  • How 2 connect webdynpro for java to R/3 system

    could any one tell me . how 2 connect web Dyn pro for java to connect to R/3 system????

    Hi,
    Pls check threads like
    Read R/3 table in Webdynpro
    Changing R/3 data in webdynpro
    or go via Jco
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm
    JCO
    Eddy
    PS. Reward useful answers and earn points yourself

  • How to connect the two field which have a diffrent length

    Hi,
           i have two table one is VBRP-VGBEL CHAR 10
           second is                    MKPF-XBLNR CHAR 16
    both are same data means vgbel eq xblnr.
    how to connect these table because when i connect these table it gives me error
    have a same type and length.
    please give me reply soon . Thanks.
    dinesh

    HI
    I GOT THE SAME PROBLEM AT THAT TIME I DONE LIKE THIS
    I THINK IT MAY HELPFULL FOR YOU
    OBJID = 6 CHAR
    SOBID =  40 CHAR
    I GOT THE SAME ERROR WHAT YOU GET
    I NEED ONLY 6 CHAT SO THAT WHY I HAD WROTE THIS LOGIC
    1ST I HAD DECLARED THE SAME STRUCTURE TWICE
    IN FIRST ONE IT IS NORMAL DECLARATION
    IN SECOND ONE I HAD DECLARED THAT 2 FIELDS AS THE SAME LENGTH
    I HAD PUT THAT IN THA BOLD LETTERS
    AND AFTER THAT I HAD LOOPES THAT WORK AREA AND CONVERTED THAT SZE
    REWARD IF USEFULL
    TYPES : BEGIN OF ST_HRP1001,
             OTYPE TYPE HRP1001-OTYPE,
             <b>OBJID TYPE HRP1001-OBJID</b>,
             RELAT type hrp1001-RELAT,
             BEGDA TYPE HRP1001-BEGDA,
             ENDDA TYPE HRP1001-ENDDA,
             SCLAS TYPE HRP1001-SCLAS,
             <b>SOBID TYPE HRP1001-SOBID,</b>
            END OF ST_HRP1001.
    TYPES : BEGIN OF ST_SOBID,
             OTYPE TYPE HRP1001-OTYPE,
             <b>OBJID TYPE HRP1001-OBJID,</b>
             RELAT type hrp1001-OBJID,
             BEGDA TYPE HRP1001-BEGDA,
             ENDDA TYPE HRP1001-ENDDA,
             SCLAS TYPE HRP1001-SCLAS,
             <b>SOBID TYPE HRP1001-OBJID,</b>   
        END OF ST_SOBID.
    SELECT OTYPE
             OBJID
             RELAT
             BEGDA
             ENDDA
             SCLAS
             SOBID FROM HRP1001 INTO TABLE IT_HRP1001
                        WHERE OTYPE = 'D'
                            AND OBJID IN S_OBJID
                            AND BEGDA GE DATE-LOW
                            AND ENDDA LE DATE-HIGH
                            AND ( SCLAS = 'E' OR SCLAS = 'ET' ).
      IF SY-SUBRC NE 0.
        MESSAGE 'NO RECORD FOUND FOR THE GIVEN SELECTION CRITERIA ' TYPE 'E'.
      ENDIF.
    LOOPING TO CONVERT THAT FIELD LENGHT
    <b> LOOP AT IT_HRP1001 INTO WA_HRP1001.
        WA_SOBID-OTYPE = WA_HRP1001-OTYPE.
        WA_SOBID-OBJID = WA_HRP1001-OBJID.
        WA_SOBID-RELAT = WA_HRP1001-RELAT.
        WA_SOBID-BEGDA = WA_HRP1001-BEGDA.
        WA_SOBID-ENDDA = WA_HRP1001-ENDDA.
        WA_SOBID-SCLAS = WA_HRP1001-SCLAS.
        WA_SOBID-SOBID = WA_HRP1001-SOBID.
        APPEND WA_SOBID TO IT_SOBID.
      ENDLOOP.</b>
      SELECT OTYPE
             OBJID
             AEDTM
             UNAME
             DELET
             CANCR
            NCONT
              FROM HRP1026
              INTO TABLE IT_HRP1026
              FOR ALL ENTRIES IN IT_SOBID
                 WHERE OBJID = IT_SOBID-SOBID
                 AND ( OTYPE = 'E' OR OTYPE = 'ET' )
                     AND DELET = 'X' AND
                     BEGDA GE DATE-LOW  AND
                     ENDDA LE DATE-HIGH.

  • How to connect multiple Xserve Raid for Best Performance

    I like to get an idea how to connect multiple Xserve Raid to get the best performance for FCP to do multiple stream HD.

    Again, for storage (and retrieval), FireWire 400 should be fast enough. If you are encoding video directly to the external drive, then FireWire 800 would probably be beneficial. But as long as the processing of the video is taking place on the fast internal SATA drive, and then you are storing files on the external drive, FireWire 400 should be fine.
    Instead of speculating about whether it will work well or not, you need to set it up and try your typical work flow. That is the only way you will know for sure if performance is acceptable or not.
    For Time Machine, you should use a single 1.5TB drive. It is likely that by the time your backup needs comes close to exceeding that space, you will be able to buy a 3TB (or larger) single drive for the same cost. Also, I would not trust a RAID where the interaction between the two drives is through two USB cables and a hub. If your primary storage drive fails, you need your backup to be something that is simple and reliable.
    Oh, and there should be no problem with the adapter, if you already have it and it works.
    Edit: If those two external drives came formatted for Windows, make sure you have use Disk Utility Partition tab to repartition and reformat the drive. When you select the drive in the Disk Utility sidebar, at the bottom of the screen +Partition Map Scheme+ should say *GUID Partition Table*. When you select the volume under the drive in the sidebar, Format should say *Mac OS Extended (Journaled)*.

  • How to connect MAPL and PLPO to derive work center for planned order

    Hi,
    Anybody know how to derive work center using MAPL and PLPO for planned order (PLAF). Is there any connecting table between MAPL and PLPO.
    Please help asap.
    Regards,
    Mitali

    I guess u r trying to view the detail scheduling info (tab in MD13) for a planned order . In that case -
    1. Go to PLAF and enter the planned order number. (PLAF-PLNUM) and get the ID of the capacity requirements record (PLAF-BEDID).
    2. With this PLAF-BEDID go to KBED. pass the value here. KBED-BEDID. The KBED-ARBID values are your work center ID.
    3. To get the work center texts ( the way is appears in the screen) - Pass this value to CRHD . CRHD-OBJTY = 'A' ( i.e Type work center) and CRHD-OBJID = KBED-ARBID.
    Hope it solves ur prob.
    Cheers
    SKC

Maybe you are looking for