Tables linking FI and CO

Hi,
I'm currently working on a program in FI and CO where I must determine PRIMARY postings (FI Postings from table BKPF/BSEG) REPOSTINGS (table COVP, VRGNG = RKU3) and
DISTRIBUTION (table COVP, VRGNG = RKIV).
The problem is that I need to link the table COVP to BKPF/BSEG to see the initial FI documents. 
There is a field in COVP called REFBN which contains the reference document number from FI.  It's ok for REPOSTINGS but is empty for DISTRIBUTION.
Is there any other table that can link CO DISTRIBUTION (VRGNG = RKIV) to it's original FI document?
Thanks a lot.
Bonn

Hi Raymond,
This are Links,
COBK     MANDT     =     COEP     MANDT
COBK     KOKRS     =     COEP     KOKRS
COBK     BELNR     =     COEP     BELNR
BSEG/BKPF-BELNR   =   COBK     BELNR     =     COEP     BELNR
BSEG/BKPF-PAOBJNR   =     COEP     OBJNR
Try with the above One.
Thanks & Regards,
Dileep .C

Similar Messages

  • Case Management - table linking activities and cases

    Hi.
    I need to create a report in CRM that shows cases and the service orders that are linked to them.
    I can get the case information from table CRMD_CMG_CASE_AT for example.
    I can get the service order information from table CRMD_ORDERADM_H.
    But how can I link the two tables?  Is there a table that contains both the Case GUID and the Order GUID?
    Thanks in advance.
    Ian.

    The way I have worked by linking these data is:
    CRMD_CMG_CASE_AT-CASE_GUID = SCMG_T_CASE_ATTR-CASE_GUID
    then
    SCMG_T_CASE_ATTR-EXT_KEY = CRMD_ACTIVITY_H-EXTERN_ACT_ID (be careful because EXTERN_ACT_ID is char(20), so you need complete with 0 left zeros the empty positions, for ie: ext_key 2032 is equal to 000000002032 EXTERN_ACT_ID)
    then
    CRMD_ACTIVITY_H-GUID = CRMD_ORDERADM_H-GUID
    I hope it'll be useful. Regards
    Nati

  • SD-How to find table link of special delivery and sales order number?

    Hi Experts,
    I have a requirement as below.
    In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
    One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
    How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
    Thanks a lot,
    Frank

    hi,
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069]

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

  • Linked tables, stored procedures, and locking

    I'm working on an interface between two Oracle systems. I don't know if they're on the same server or not, but they are definitely two different database instances. The plan for this interface is that when a record is created on one of the systems, it will call a stored procedure on the other system to create the record there as well. I believe the relevant information will be passed via parameters to the stored procedure (not by querying the data in the first system). The ID number created on the second system gets passed back to the first system via an output parameter.
    A concern was raised about whether something like this might cause "rev-locking". Similar issues were raised on a different interface, but that interface used a linked table between the two systems. The original design for that interface had a stored procedure initiated from the second system, and it was to update data via the linked table in the first system. But this caused some locking issues. So a different interface was written, that only used the linked table as read-only.
    So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? And a better question is, is there a document or white paper out there somewhere that describes the locking issues between linked databases, and presenting the "best practices" for this type of coding?
    Any help is appreciated!
    Christine Wolak
    [email protected]

    So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? I'm not aware of any issues with updates across databases. can you post a more detail version of what exact issues did you encounter when updating tables across database using database links?
    when you update a row in a table, from the same database or another one, a lock on that row will be placed for the duration of the transaction. Others will be able to read that row but not update it till the end of the local (or the remote) transaction.
    What issue(s) did you encounter?

  • Table that links vendor and customer

    hi
    is there any table that links vendor and customer, for example theres a vendor zz400, he can be a customer as well
    do you know in which table we can find that?

    Hi
    Go through the link given below :
    Configuration for vendor as well as customer
    With Regards
    Sandeep

  • Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)

    Hello,
    I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
    We want a direct link through some table between EQUNR and GEWRK.
    Puneet

    Hi Puneet,
    Appreciate your problem !
    Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
    Approach 1:
    Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
    While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with  work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
    In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
    Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL)  and main work center (GEWRK) in one table.
    For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
    Approach 2:
    Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
    Please let me know, if you get stuck !
    Thanks,
    RAVI.

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • Linking PO and AP tables

    Hi Gurus,
    Please help me in linking PO and AP tables for scenarios like to get the fully/ partially invoiced PO receipts.
    Thanks in advance
    Avinash

    Hi, you can link AP and PO tables in this way: please consider for the AP side table AP_INVOICE_DISTRIBUTIONS_ALL, where you will find all Invoices' distributions. In this table there is a field called PO_DISTRIBUTION_ID that is the right link to PO.
    Hope this helps
    Regards
    Riccardo

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • Table that link Contract and FI doc

    Hello Guru:
    when display Contract condition, each cash flow line will show status "POSTED" and we can double click to see FI doc.
    which table link this together please.
    Thanks in advance.

    To add to what Jagannath has provided. 
    To find out the A/c document for a posted condition I have done the following.
    VICNCN - Select the RE KEY [INTERNO]
    VICDCFPAY  Field INTERNO = VICNCN INTERNO gives you the cashflow.
    VICDCFPAY -REFGUID - Select this value and then link it to VIRADOC - DOCGUID.   [ For posted / processed payment conditions this column will not be blank ]
    Select VIRADOC - REFDOCID  and provide it as input to BKPF - AWKEY  which provides you with FI-document details.

  • Tables linking the invoice and accounting document

    Hi,
    Can anyone tell me tables linking the invoice and accounting details table BSEG?
    Regards,
    Shanu

    Following BSEG fields can be found in VBRK
    MANDT
    BUKRS
    BELNR
    GJAHR
    ZUONR
    VBUND
    VBELN
    ZTERM
    ZLSCH
    BVTYP
    MSCHL
    MANSP
    MABER
    STCEG
    XEGDR
    KKBER
    KIDNO
    BUPLA
    Similarly following fields can be found in VBRP
    MANDT
    VBELN
    thanks
    G. Lakshmipathi

  • How to link EKBE and MKPF tables

    HI all
    plz help me,
    how to link EKBE and MKPF tables
    thanks
    ramesh redddy

    HI,
    EKPO-EBELN =  EKKO-EBELN  has Purchase Documnet no.
    MSEG=MBLNR = MKPF-MBLNR  has material document no
    Link MSEG-EBELN =  EKPO-EBELN ( MSEG purchase prder no and EKPO purhcase document no.)
    and you should have to add one  more table MSEG which is provide three table.
    check this link
    EKPO-EBELN = EKKO-EBELN
    MSEG-EBELN =  EKPO-EBELN
    MSEG=MBLNR = MKPF-MBLNR
    regards,
    PK.

  • Table link for the current and historical functional location for equipment

    Hi Gurus,
    Can anyone please tell me the table link to find the historical functional location details for an equipment and the current functional location of the equipment?
    Regards
    Anoop

    Dear,
    In Table view V_EQUI u can get the details of current and past FL for an equipment.
    Regards
    Sunil

  • Table link between IBASE and its associated products

    Hi,
    If we go to the transaction IB53 and enter an IBase number, all the products asssociated with the IBase will be listed out.
    Similarly, if we have the IBASE number how can we track the associated products via tables.(i.e) the table link between IBIBIBASE and COMM_PRODUCTProduct_id
    Thanks in advance.
    -Aaru

    In two steps..
    1. Convert Product GUID using FM 'GUID_CONVERT'
      CALL FUNCTION 'GUID_CONVERT'
        EXPORTING
          iv_guid_x16 = product_guid
        IMPORTING
          ev_guid_c22 = sysuuid-c22.
    2. Get the IBASE from view v_ibinr where objnr = sysuuid-c22

Maybe you are looking for

  • Troubles installing Adobe Photoshop CS6

    Recently I had to system restore my laptop. In the process it uninstalled Adobe Photoshop. When trying to install in back onto my computer I put in the disc and start to install and recieve a problem message. It says that the installer failed to init

  • Problem in placing hibernate.cfg.xml

    Hi,   I have written one ejb project with hibernate in my net weaver.Now i have a problem in placing hibernate.cfg.xml.so tell me where to place it .Give some examples related to that and some related links.

  • How can I spool file in SQL*Plus using sysdate as filename?

    Dear Oracle Experts, Would you help me to solve following problem? I want spool a file in SQL*Plus but using sysdate as filename. e.g. today is 30-Nov-1999 then the filename is 19991130.lst tommorrow is 1-Dec-1999 then the filename is 19991201.lst My

  • HT5429 How to create map on PC or create a map?

    Hello, As we know, the MAPS app is absolutely horrendous.  Not only can I no longer use my app walkrunjog, I can't even create a walking map!  Is there an online version where I can view and create a map to be sent to my iphone?  I can't even tell yo

  • How to authenticate oracle application user from third party application -

    Hi All! I am using OC4J as a J2EE container with an Oracle Applications setup (11.5.10, LINUX version). This is for an application which gets called from Oracle Applications. We need the user, responsibility and session information of Oracle applicat