Link between data table sap

hye!
i want to know how to make a link between datatable in sap R/3.
For exemple: i'm loocking to the table MARC in this table there is a lot of area: MAXLZ,EISBE... and for the table MARA there is the following areas: MTART,MEINS...;
i want to find the link between that 2 tables ( my project is to extract data from sap )

Hi!
The common field of MARA and MARC is MATNR - you can join the two tables by this field.
<a href="http://www.sapgenie.com/abap/tables_mm.htm">This</a> english site has some very nice overview pictures of tables connections, here e.g. for master data and purchasing.
Regards,
Christian

Similar Messages

  • The relationships and links between the various SAP database tables

    Hi Gurus,
    I am trying to learn the relationships and links between the various SAP database tables (SAP FI-AA, SAP SD, SAP MM, SAP HR and so on) for correctly extracting data from them. Especially I am expressing an interest in the SAP database tables on SAP FI-AA, SAP SD, SAP MM, SAP HR. Could somebody provide me with documentations about the relationships and links between them. I will be very grateful if somebody can provide me with links.
    Thanks and regards
    Sergey

    hi Sergey,
    try
    http://www.erpgenie.com/abap/tables.htm
    http://www.erpgenie.com/abap/tables_fi.htm
    http://abap4.tripod.com/SAP_Tables.html
    http://abap4.tripod.com/Finance_Tables.html
    http://www.auditware.co.uk/SAP/Extras/SAPTables.pdf
    hope this helps.

  • Link PI data to SAP

    Hi everybody,
    how to link automaticly data from PI system (OSIsoft) to SAP MM module  
    thanks

    Hi ,
    If you want to link PI to SAP, you need to establish a connectivity between your PI and SAP system and then do the necessary settings to convert the PI data into an IDOC and then send it to SAP.
    That's how you link PI data to SAP.
    Thanks,
    Mahesh.

  • Link Between OINV Table And OBTN Table

    I want to create relationship b/w A/R Invoice and Batch Number transaction Reports table.
    sap point out two tables of Batch Number Transaction Report RBTN and OBTN,Problem is that i never found any  table with name of RBTN.
    plz tell me what is RBTN table???why its not in sql database  and how i can create link b/w A/R invoice and Issue for production  .

    Hi Vinu.........
    Welcome to SAP Business One Forum............
    Please check the link between these tables........
    SELECT Distinct T1.BatchNum
    FROM IBT1 T0
    Inner Join OIBT T1 On T0.BatchNum=T1.BatchNum AND T1.ItemCode=T0.ItemCode
    INNER JOIN DLN1 T2 ON T2.DocEntry=T0.BaseEntry AND T2.ItemCode=T0.ItemCode
    inner join ODLN T3 on T2.DocEntry = T3.DocEntry LEFT JOIN INV1 T4 On T4.BaseEntry=T2.DocEntry Left Outer Join OINV T5 On T5.DocEntry=T4.DocEntry
    WHERE T0.BaseType = 15
    Hope this will help you........
    Regards,
    Rahul

  • Can anybody provide me the link between these tables

    Hello,
    Can anybody provide me with the link between these tables.
    Is there any link for the CTSNUMC and PNTPR
    1) /SAPSLL/CTSNUMC
             Fields: STCTS
                       CCNGN
    2) /SAPSLL/PRGEN
            Fields : ATTR20A
                      ATTR05A
                      ATTR10A
                      ATTR05B
    Common field -
    GUID PR
    3) /SAPSLL/PNTPR
            Fields : PRVSY
                    : GRVSY
    Common field -
    GUID PR
    4) /SAPSLL/PRODUCT_SELECT_UI_S  "This is Structure
             Fields : QUAL_STA  " Product Status
                   Common field : CCNGN, STCTS
    5) /SAPSLL/PR
               Fields : CRTSP  " Product Created on
                        : CHTSP " Product Changed on
    Common field -
    GUID PR
    6) /SAPSLL/PRT
          Fields : PRTXT  " Materail Desc
    Common field -
    GUID PR
    I have common fileds for all the tables to join them except for the tables /SAPSLL/CTSNUMC and
    SAPSLL/PRGEN.
    Any suggestions will be apprecaited.
    Regards,
    Kittu

    Hi,
    Thank you every body for your time...
    I am closing this thread as there was no response and I think I solved it.
    Regards,
    Kittu

  • Generating dynamic command links in data table

    Hi,
    I have a requirement to generate dynamic number of columns in a datatable. Also these columns should contain a command link.
    I have written following piece of code to do so...
    public UIData getDataTableBinding()
         UICommand comm = null;
         UIColumn col;
         UIOutput out = null;
         Application app = app = FacesContext.getCurrentInstance().getApplication();
    // Suppose I want to generate 7 columns
         for(int j = 0; j < 7; ++j) {
         out = new UIOutput();
         col = new UIColumn();
         comm = new UICommand();
         ValueBinding vb = app.createValueBinding("#{" + j + "}");
         out.setValueBinding("value", vb);
         out.setRendererType("javax.faces.Text");
         comm.setRendererType("javax.faces.Link");
    comm.getChildren().add(out);
         MethodBinding mbButton = app.createMethodBinding("#{pc_File1.doLink1Action}",
    null);
         comm.setAction(mbButton);
         col.getChildren().add(comm);
         dataTableTemp.getChildren().add(col);
         return dataTableTemp;
    I have bound the "binding" attribute of the data table to getDataTableBinding()
    method.
    If I remove all the references to UICommand i.e comm variable, table is displayed properly, but if
    I try to include a command link component as mentioned above I get "Assertion failed error"
    SRVE0068E: Could not invoke the service() method on servlet Faces Servlet. Exception thrown :
    javax.servlet.ServletException: javax.faces.el.EvaluationException: Error getting property
    'dataTableBinding' from bean of type pagecode.File1: javax.faces.FacesException: Assertion Failed
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:638)
         at com.ibm._jsp._File1._jspService(_File1.java:92)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
    Any kind of help on this issue would be appreciated,
    Thanks in advance,
    Raina

    Hi,
    I solved my problem just by replacing UIOutput component with HtmlOutputText component and then making it as a child component of UICommand component.
    Now I am facing a new problem. Whenever I try to refresh the page I get following exception
    "SRVE0026E: [Servlet Error]-[Faces Servlet]: java.lang.IllegalStateException: Duplicate component ID 'form1:table1:cmd0' found in view."
    I am explicitly setting the component id of the UICommand component using the setViewId() method.
    This problem is observed only when I refresh the page. In case I navigate to another page and then again come back to this current page, then I don't get this exception.
    Your help would be appreciated,
    Raina

  • Tcode to find link between 2 tables

    Is there any Transaction code  to find the link between two tables

    hi
    just go to transaction se11,put the table name then press the graphic button.you will get the list of related tables.
    hope this helps
    regards
    Aakash Banga
    Edited by: aakash banga on Jan 22, 2009 7:37 PM

  • What is the link between the tables DRAW and MARA

    Hi,
    Can you tell What is the link field between the tables DRAW and MARA
    Nagesh

    Hi,
    There is no direct relationship. But you can find the materials attached as object liink to the document in table DRAD.
    Hope it helps,
    Rajat

  • Linking between the tables

    Hi all.
    i wish to know the common table between tables eban,ekko,ekpo and eket.
    As their is no common key field although ebeln and ebelp are there but their check tables are different,
    please guide me how to link these tables.
    As my select query is showing the data available and read table is also showing the data coming but may be because the ebeln can be differnet for diffrent table thats why  iam not geting any display.
    please guide

    Hi,
       Iam kiran posanapalli, just try out this by linking up table with the common fields provided.
    **************EBAN---Purchase Requisition*****************************
    BANFN     BANFN     CHAR     10     0     Purchase Requisition Number
    BNFPO     BNFPO     NUMC     5     0     Item Number of Purchase Requisition
    ********************EKKO-------Purchasing Document Header**************
    EBELN     EBELN     CHAR     10     0     Purchasing Document Number
    **********************EKPO-------Purchasing Document Item*********
    EBELN     EBELN     CHAR     10     0     Purchasing Document Number
    EBELP     EBELP     NUMC     5     0     Item Number of Purchasing Document
    BANFN     BANFN     CHAR     10     0     Purchase Requisition Number
    BNFPO     BNFPO     NUMC     5     0     Item Number of Purchase Requisition
    ***************EKET----Scheduling Agreement Schedule Lines*************
    EBELN     EBELN     CHAR     10     0     Purchasing Document Number
    EBELP     EBELP     NUMC     5     0     Item Number of Purchasing Document
    ETENR     EETEN     NUMC     4     0     Delivery Schedule Line Counter
    BANFN     BANFN     CHAR     10     0     Purchase Requisition Number
    BNFPO     BNFPO     NUMC     5     0     Item Number of Purchase Requisition
    Regards,
    Kiran Posanapalli

  • Link between alocation table(WA01) and purchase order PO/STO

    HI,
    I have on doubt regarding allocation table which we create in WA01.
    During the creation of allocation table, when we select line item and goes into taxts tab and enter some text like "abcd". I just to know does this text hav any relation with PO. or does allocation table and PO/STO have a link .

    hi,
         I hope you can use the EKBE for fetching the good reciept data for those purchase orders.
    regards,
    Veeresh

  • Link between technical table and datasource - SE16

    Hi,
    I'm looking for the table in SE16 that gives me the association between my technical tables and my datasources/infosources:
    for example:
    I have table /BIC/B0000161000 and I want to know for which datasource this is the PSA table...
    Kind regards
    Joke

    already found the link: rstsods

  • How to get the 'link' between two tables

    hi pple
    i need to find out HOW two tables are related.
    sample tables:
    SHIPS ( HULL_ID [PK] , VESSEL_NAME, GROSS_TONNAGE )
    EQUIPMENT ( E_ID [PK] , HULL_ID [FK frm SHIPS], DESC )
    PARTS ( PART_ID [PK] , E_ID [PK, FK frm EQUIPMENT], MANUFACTURER_ID)
    --> SHIPS and PARTS are some how related thro' EQUIPMENT.
    i need to get this relationship:
    Ships --> Equipment (E_ID) --> PARTS
    currently, i can get the direct parent and child tables of a given table using:
    SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Child_Tables
    FROM ALL_CONSTRAINTS
    START WITH R_CONSTRAINT_NAME in
    select constraint_name
    from all_constraints
    where table_name = '%table_name%'
    and constraint_type = 'P'
    CONNECT BY PRIOR CONSTRAINT_NAME = R_CONSTRAINT_NAME ;
    To get ALL parents:
    SELECT lpad ( ' ', 2 * ( LEVEL - 1 ) ) || table_name as Parent_Tables
    FROM ALL_CONSTRAINTS
    where owner = 'CHARTUSER'
    START WITH CONSTRAINT_NAME in
    select constraint_name
    from all_constraints
    where table_name = '%table_name%'
    and constraint_type = 'R'
    CONNECT BY PRIOR R_CONSTRAINT_NAME = CONSTRAINT_NAME ;
    what i need to do is:
    1) get children & parents of SHIPS
    2) for each element of (1), get children, parents till i get PARTS
    3) so, i will get EQUIPMENT and then, PARTS.
    this wud be very expensive. my appln is in Java and i will need to call these functions - that makes it more complex. is there any simpler way out?
    and my main problem is to find out WHAT attributes line two tables. this wudnt be a big deal if it were just simple parent-child tables. but, how do i find out the attributes that link PARTS and SHIPS table?
    any ideas? -please help.
    thanks in advance
    --$uDhA

    Dear Srikanth,
    This tables can be used once we come to know whether its a customer or vendor line item but in our case we using the GL account as reference have to knock off the entries.How we come to know that aginst the GL whether its a customer or vendor line item.. Then it should route to this table.
    Suggest me if any options are there.
    Regards,
    Balaji.c

  • Link between XML table and a resource

    I have registered an XML Schema in Oracle and the tables were automatically generated. I can access the data in these tables via "SELECT extractValue(value(i),'/factureExterne/codeTypeFacturation')
    FROM &lt;xml_table&gt; i". I use WebDAV + ftp to upload my XML-files.
    How can I retrieve the name of the file in the WebDAV folder that corresponds with the row in my table?
    Regards,
    Vincent Botteman

    Vincent:
    I found a way to get de conexion using the undocumented funcion sys_op_r2o.
    sys_op_r2o transforms an XMLRef to the object_id of the target row, then its possible to join the XML Schema based table to the resource_view or path_view information.
    The XDB$RESOURCE, store an XMLRef to the target row of the table and is available using extractValue(res,'/Resource/XMLRef') function.
    Here the example:
    SELECT r.path,extractValue(value(i),'/factureExterne/codeTypeFacturation')
    FROM <xml_table> i,path_view r
    where ref(i)=extractValue(res,'/Resource/XMLRef');
    If you need to do this inside a trigger of the target table look at the example of the thread:
    Undocumented function sys_op_r2o
    Best reagards, Marcelo.

  • REG : link between Komv table - Konv Table

    hai,
    I have one problem in CIN.
    In Purchase Order for
    ED - JM01 or JEXC
    CESS -ZECS or JEC1
    CSTLST - JIP1 or JIP2
    stored in KOMV Structure,
    other than KOMV where this values are stored..
    (In KONV no values found for that one)
    how can i move it internal table.
    thanks,
    SN

    Hi
    The link is the field EKKO-KNUMV:
    SELECT * FROM EKKO .....
      SELECT * FROM KONV WHERE KNUMV = EKKO-KNUMV
    but you should consider not all conditions are stored in table KONV, because some conditions (generally subtotals) are calculated at runtime.
    Max

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_matcat
          EXCEPTIONS
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

Maybe you are looking for

  • How to link the reports to portal

    Hai Friends... I generated reports using discoverer plus and i viewed the reports using discoverer viewer . I am new to discoverer viewer. Any body done please give me steps for how to deploy the reports in discoverer viewer and how to link the repor

  • How do I print a photo from mail

    How do I print a photo from mail

  • Elvis: Is It possible to use the Function Generator and the Oscilloscope simultaneously?

    Hi,  We are using the NI Elvis to output a function or a sine wave at a certain frequency and using the oscilloscope on the same board/elvis to read a modified signal. Is this possible? Can we use both the Function Generator and the oscilloscope at t

  • DVD Player Clips & Presentations

    Is there a way to store clips on the hard drive using DVD player? If I had a presentation of many DVDs I used for excerpts, I'd like to have them as files and use those in some way, but it seems like DVD Player doesn't want you to (Fair enough). Will

  • Formatted search

    Hi I will be very grateful if someone can help me with this query for a formatted search. The client want the user doing the purchase order to only see certain cost centres. So when a certain user uses SHIFT F2 only a list of certain cost centres mus