FI-MM document relationship tables?

Are there tables where I can find the relationship of the FI Invoice with the MM Invoice and the GR document. Basically, I want to find the FI Goods receipt document from the FI Invoice document.
In FI document display, the Document relationship browser gives me this information. But I want to know the table relationships or logic. Can anyone help?
Thanks,

Hello Vishal,
The main tables related to invoice is RSEG. for more information on table relation, please have a look on the first thread of MM forum which will give table information.
Hope this helps.
Regards
Arif Mansuri

Similar Messages

  • How to implement one to many relationship between two Document Line Table

    Hi,
    I want to implement the following relationship into user defined tables:
    Example Situation:
    There are tables A, B and C.
    For one record of Table A, there could be multiple records in table B.
    For one record of Table B, there could be multiple records in table C.
    i.e. A(1) -> B(n) [One to many relationship]
         B(1) -> C(n) [One to many relationship]
    finally: A(1) -> B(n) -> C(n)
    How can I achieve this? If I make Table A as Document and table B & C as Document Line and then make them UDO, will it work? Kindly suggest me a solution.
    Regards,
    Sudeshna.

    Hi,
    I think that the database representation is exactly what you ask for. 3 tables, A, B, C. A should have a UDF that is linked to B table, and B should have a UDF that is linked to C table.
    You should manage the database transactions, and the UI to support all this stuff.
    Regards,
    IBai Peñ

  • CRM Copy control: CRM_COPY_BADI for document relationship

    Hello!
    I need CRM copy control from an opportunity to another opportunity. The implementation of badi CRM_COPY_BADI should include document relationships: target document should be related to the same documents linked in the source document.
    I cannot find a method to do this.
    Please, could anyone suggest me a solution?
    Thank you.
    Kind regards.
    Elena

    Hello Elena,
    Please follow the steps below:
    1) Go to transaction CRMV_EVENT
        Click on "Object Function/Callback" button
        Create a new entry with following values:
        Function Module: ZCRM_DOCFLOW_COPY_EC
        Object Function: CRM_DOC_FLOW
    2) Go to IMG Path: Customer Relationship Management -> Transactions -> Basic Settings -> Edit Event Handler Table :
    Here create a new entry with the following details
    Trans. Category       BUS2000111     Opportunity
    Execution Time        1                                Immediately
    Priority                    99
    Object Name            ORDERADM_I                       Administration item
    Event                       AFTER_CREATE_WITH_REFERENCE
    Attribute                   <*>
    Function                  ZCRM_DOCFLOW_COPY_EC
    Perform Function for Doc.Header = "Checked"
    Perform Function for Document Item = "Checked"
    Call Callback = space
    3) Create function module ZCRM_DOCFLOW_COPY_EC with the following signature:
    *"  IMPORTING
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    **Code:
    DATA:
      FIELD-SYMBOLS:
              <ls_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk,
              <lu_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk.
      ASSIGN iv_strval_new TO <ls_orderadm_i_wrk>.
      ASSIGN iv_strval_old TO <lu_orderadm_i_wrk>.
    4) Now in this function module you can read the docflow of old opportunity (<lu_orderadm_i_wrk>) using 'CRM_DOC_FLOW_READ_OB'
    Build the new docflow entry for the new opportunity and call 'CRM_DOC_FLOW_MAINTAIN_OW'
    Please let me know if any questions.
    Thanks,
    Sandeep

  • How to read records from Relationship table using ABAP API's

    Hi All,
    I need to retrieve the records from Relationship table. In Java API's I came to know there is an option to retrieve this. I could not find anything in ABAP API's. Is there any option in ABAP API's to do this.
    Please Suggest.
    Thank You,
    Gajendra.

    Hi Gajendra,
    You can mainly read records from MDM (in a DDIC structure) using ABAP API's using the following function modules/methods:
    1. RETRIEVE: This is used to generically retrieve records from tables. Attributes and Values can also be retrieved.
    2. RETRIEVE SIMPLE: Retrieve records from MDM in a simple way.( simple data types).
    3. RETRIEVE CHECKOUT: Retrieves all checked out ID's.
    4. RETRIEVE ATTRIBUTES: Retrieves attribute(s) from a Taxanomy table.
    You will find all these methods in the following interface
    Interface : IF_MDM_CORE_SERVICES
    Hope it helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • Printing document with table to PDF - file disappears

    When I print a document to PDF from either AppleWorks or MS Word, it is saved to the location as PDF and works as would be expected. If the file contains a table, the PDF file initially appears where saved but disappears when I attempt to access it.
    The document was initially created in AppleWorks. The MS Word document was translated from AppleWorks.
    The PDF file quite literally disappears from the screen. All routine Mac software maintenance is on schedule and all Apple updates for my OS completed to date.

    The solution is logical, if annoying.
    My Print to PDF problem has been solved. I complained about not being able to save documents containing tables created on AppleWorks as PDF, but the tables were not the problem. The problem was a font within a table. I discovered this when I could also not print the document to a printer. Despite saving as PDF being a print routine, I cannot get out of Save As mode. The document did print to PDF on my mother’s iBook because another font was substituted in the table.
    There are several fonts on my PowerBook that will not print, even on a postscript printer that has them on board. That is a separate and largely ignored problem. One of those is the Bookman family. Too bad. I like that family and use it frequently with older operating systems, but OS X refuses to print anything containing that font. I have never taken the time to troubleshoot the problem.
    I had already performed the searches suggested to no avail. The point of all this is that font problems that prevent printing a document to a printer will also prevent a document from printing to PDF. The icon initially appearing then going away seems odd to me but probably not to a MacGeek.
    Thank you, Mask, for giving thought to this issue. Now, maybe I should invest in a font troubleshooting application.

  • SHOW THE PARENT CHILD TABLE RELATIONSHIP TABLE

    hi experts,
    I want show the parent child relation ship tables
    for exmple iam passing the emp table then display related child tables like dept,grade after that again child table(dept,grade) related to child relationship tables like recursive
    Regards,
    VENKAT

    Probably something like below. This may not be exactly what you are looking for, but one way to get what you are asking for.
    Only if you can give specifics, of your Input being passed and the Output, it might be possible to provide more help. But you also need to help us with your best effort on this.
    select *
      from (
            select prior table_name Child, table_name Parent
              from user_constraints
             start with constraint_name = some_constraint_name_of_Parent_Table
            connect by constraint_name = prior r_constraint_name
           ) a
    where a.child is not null;

  • Newbie Repository question: How to add extra columns to relationship table?

    I've defined the following item-descriptors:
    <item-descriptor name="award" display-property="id">
    <table name="bc_award" type="primary" id-column-name="award_id>
    </table>
    </item-descriptor>
    <item-descriptor name="product" display-property="displayName" xml-combine="append">
    <table name="bc_product" type="auxiliary" id-column-name="product_id">
    </table>
    Now products and awards have a many-to-many relationship, so I also added the following under the product item-descriptor definition:
    <table name="bc_prd_awards" type="multi" id-column-name="product_id">
    <property name="awards" data-type="set" component-item-type="award" column-name="award-id"/>
    </table>
    So far, so good. However, I actually want some extra information on the relationship table. Namely, the catalog to which the product-award association applies. In other words, I'd like the create table statement to turn out something like this:
    CREATE_TABLE bc_prd_awards (
    product_id varchar2(254) NOT NULL REFERENCES dcs_product(product_id),
    award_id varchar2(254) NOT NULL REFERENCES bc_award(award_id),
    catalog_id varchar2(254) NOT NULL REFERENCES dcs_catalog(catalog_id),
    PRIMARY KEY(product_id, award_id, catalog_id)
    Any ideas as to how I accomplish this?
    Edited by: user6200425 on Jul 1, 2011 1:04 PM

    If you want to add catalog information to the product-award association, do this.
    <item-descriptor name="product"/>
    <table type=multi>
    <property name="productAwardAssociation" component-item-type="productAward" data-type="set" />
    </table>
    </item-descriptor>
    <item-descriptor name="productAward">
    <property name="award" column-name="award" item-type="Award"/>
    <property name="catalog" column-name="catalog" item-type="Catalog"/>
    </item-descriptor>
    <item-descriptor name="Award">
    --- award related properties
    </item-descriptor>
    Hope this helps.
    Thanks
    karthik

  • Creating UDO through code  with 1 Docment table & 4 Document Line Tables

    Hi,
    I need to create one Document table and four Document Line tables(child tables) and make them UDO through code. This process is working When I am creating UDO with one Document table and one Document Line table but if I add more than one Child table it is taking only one child.... Can anyone give me some solution or code example related to this problem this problem?
    Regards,
    Sudeshna.

    Hi,
    Firstly Trinidad, unfortunately I could not open that link.
    And secondly, the following is my code... Through this code I am trying to create an UDO with one document table and two document line tables.... here the UDO is being created but it is not taking two line table, its taking only one Document line table.... how can I create udo with more than one Document line tables?
    Dim oUserObjectMD As SAPbobsCOM.UserObjectsMD
    oUserObjectMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
    oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanLog = SAPbobsCOM.BoYesNoEnum.tNO
    oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.ChildTables.TableName = "childSplitNew1"
    oUserObjectMD.ChildTables.TableName = "childSplitNew2"
    oUserObjectMD.Code = "udoSplitNew"
    oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tNO
    oUserObjectMD.Name = "udoSplitNew"
    oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_Document
    oUserObjectMD.TableName = "masterSplitNew"
    lRetCode = oUserObjectMD.Add()
    Regards,
    Sudeshna.

  • Header record in document flow table VBFA

    Hello experts:
    I would like to have header entries (item number as "000000") for every document in document flow table VBFA. How to get it done?
    We have copy control from sales document to delivery document and from delivery to billing. All items are copied.
    Would appreciate your help.
    Raj

    Hi Ulrich:
    Thanx for your reply.
    To give you a little background. I am both a developer and SD consultant. In my previous assignments where I was only a developer, I used to query document flow with item no. as "000000" to limit the selection for performance reasons. If you notice, I did not have to hard-code item no.s as it is dynamic. So, it was a cool option. It is the case with VBKD table too.
    Right now, I work in a highly performance conscious environment where I thought it would be useful to implement what I had experienced before. But I am stuck!! My previous experiences make me think it is possible and hence the question.
    Thanks,
    Raj

  • Accounting document relationship to find intermediate document in FI-SL

    Hi all,
    I'm working in FI-SL and specially, on Drill-down from FI-SL document.
    My customer has a distributed system by ALE transfer with many other SAP Sytem.
    But I have one problem, when I try to drill-down these documents created by ALE, I have an error message "Original document is not in local system ".
    it's normal because, I only have the original document number but I haven't an intermediate document (My accounting document).
    So I would like to know if you know the function module's name used by SAP in Document relationship ?
    Thank you for any help.
    Gilles.

    Thank's Vikas.
    But I could tell you, It's normal behaviour of FI-SL. When you have one document which was created in another System, in FI-SL standard field, you only have the original document informations.
    Thus, you could not use the drill-down by GD13, for example, because it's not the right system. The original document was not created in the local system.
    Anyway, I just would like to know the name of function module,"Display Relationship" used by SAP in FB03. Because, it's only object which works with all documents created, from original document to last object.
    Thank you.
    Best regards,
    Gilles.

  • Materials Management Document flow  table

    hi all,
    can any body tell me the Materials Management Document flow  table .
    thnaks

    Hi,
    T001L     Storage locations
    T024E     Purchasing organization
    T3001     Warehouse number
    TVST     Shipping point
    TVLA     Loading point
    TTDS     Transportation
    ADRC     Addresses (Business Address Services)
    Material master :
    MARA     Material master
    MAKT       Material text
    MARC     Material per plant / stock
    MVKE     Material master, sales data
    MARD     Storage location / stock
    MSKA     Sales order stock
    MSPR     Project stock
    MARM     Units of measure
    MEAN     International article number
    PGMI     Planning material
    PROP     Forecast parameters
    MAPR     Link MARC <=> PROP
    MBEW     Material valuation
    MVER     Material consumption
    MLGN     Material / Warehouse number
    MLGT     Material / Storage type
    MPRP     Forecast profiles
    MDTB     MRP table
    MDKP     Header data for MRP document
    MLAN     Tax data material master
    MTQSS     Material master view: QM
    Vendor
    LFA1     Vendor master
    LFB1     Vendor per company code
    LFB5     Vendor dunning data
    LFM1     Purchasing organisation data
    LFM2     Purchasing data
    LFBK     Bank details
    Purchasing
    EKKO     Purchase document
    EKPO     Purchase document (item level)
    EKPV     Shipping-Specific Data on Stock Tfr. for Purch. Doc. Item
    EKET     Delivery schedule
    VETVG     Delivery Due Index for Stock Transfer
    EKES     Order Acceptance/Fulfillment Confirmations
    EKKN     Account assignment in purchasing
    EKAN     Vendor address purchasing
    EKPA     Partner functions
    EIPO     Item export / import data
    EINA     Purchase info record (main data)
    EINE     Purchase info record (organisational data)
    EORD     Source list
    EBAN     Purchase requisition
    EBKN     Purchase Requisition Account Assignment
    Inventory Management
    MKPF     Header: Material Document
    MSEG     Document Segment: Material
    EKBE     History per Purchasing Document
    Invoice Verification
    RBKP     Document Header: Invoice Receipt
    RSEG     Document Item: Incoming Invoice
    BSIK     Accounting: Secondary Index for Vendors
    BSIS      Accounting: Secondary Index for G/L Accounts
    Services
    ESSR     Service Entry Sheet Header Data
    ESLL     Lines of Service Package
    Regards,
    Vengat

  • What is Relationship table and how to work on that

    Hi MDM Gurus,
             Can anybody please let me know regarding Relationships table and how to work with that. I am aware of all the other MDM concepts.
    Regards
    Yugandher

    Hi,
    Relationship tells how the records from main table and subtable are related to each other. We need to first create the entry in relationship table from MDM Console. MDM support two types of relationships:
    1. Parent/Child Relationship - Applicable for all possibilities of main and lookup table
    2. Sibling Relationship - Applicable only for Main table records
    For More information refer the below links
    1. What are Relationships and how to create them
    http://help.sap.com/saphelp_mdm550/helpdata/en/8e/9f9c427055c66ae10000000a155106/frameset.htm
    Repository Maintainance -> Repository Structure Operations -> Relationship table
    2. How to work with Relationship table
    http://help.sap.com/saphelp_mdm550/helpdata/en/43/e0615f82b40a2ee10000000a11466f/frameset.htm
    Record Mode -> Editing Relationships
    Regards,
    Jitesh Talreja

  • Formatted Data from 1 to many relationship tables

    Hi All,
    How can we get data from 1 to many relationship table in a formatted way, for example I have tables:
    Search (Id, title)
    Criteria (Id, searchId, radius, latitude, longitude)
    Results (Id, searched, zip-code, city, state)
    And I want response to look like this:
    "Id":"A86E8DE3-36B0-4DBE-822E-326F84AF8FEE",
    "title":"Untitled",
    "criteria":{
    "Id":"A86E8DE3-36B0-4DBE-822E-326F84GHFUI",
    "searchId":"A86E8DE3-36B0-4DBE-822E-326F84AF8FEE",
    "radius":5,
    "latitude":31.2379068,
    "longitude":-85.456757
    "results":[
    "Id":"A86E8DE3-36B0-4DBE-822E-326F8HKLLKJ",
    "searchId":"A86E8DE3-36B0-4DBE-822E-326F84AF8FEE",
    "zipcode":"36302",
    "city":"Dothan",
    "state":"Alabama"
    One ugly way would be to get search data and then execute two queries against each search one for criteria and one for result. Any other way. Also sometime we to need to increase timeout of Custom API request depending on the complexity
    of it. How to sort it out?
    Thanks,
    Attiqe Ur Rehman

    There are a couple of options:
    Use database views. For an example, see my forum posts on this thread: https://social.msdn.microsoft.com/Forums/azure/en-US/4c056373-d5cf-4ca6-9f00-f152d2b01372/best-practice-for-syncing-related-tables-in-offline-mode?forum=azuremobile#0e23494c-1da2-4ee3-ac5a-6955d0dfed3e. 
    Or, if you using the .NET backend, you can use Automapper to flatten the relationships:
    http://blogs.msdn.com/b/azuremobile/archive/2014/06/18/insert-update-related-data-with-1-n-relationship-using-net-backend-azure-mobile-services.aspx

  • Image document insert tables

    May in an image document insert tables of border ie 3 px ? If
    yes how ? I use Fireworks mx 2004, and I am beginner ...

    123polis123 wrote:
    > May in an image document insert tables of border ie 3 px
    ? If yes how ? I use Fireworks mx 2004, and I am beginner ...
    Can you try translating again? I don't understand your
    question.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • DMS Document relationship with company code

    Hi All,
    I have to delete all DMS Documents for Document Type AAA and company code 8200. I am not able to find relationship between Document info records and company code in table level so can you please guide me How to get the relationship.
    I checked with tables : DRAW, DRAD, AUSP... but not got proper answer.
    -Thanks,
    Ajay

    Hi All,
    Thanks for your replay. This issue is resolved.
    In transaction CV04N with classification tab I have to option of Company code. I am able to get list of DIR's with company code and document type.
    -Thanks,
    Ajay

Maybe you are looking for

  • BRF+ is not working for MDG-F

    Hi Experts I selected rule based workflow template for OG_0001 CR type ( Creation of GL account). It seems workflow is not triggered as there is error for one work item: Check If Single Agent-Group Processing  Error in getting proper agent group; no

  • How do I download pictures from icloud backup to a new device

    I just bought a new iPad yesterday because my iPhone was stolen a few weeks ago.  That phone was backed up to iCloud.  How do I get the pictures from iCloud back up to my new iPad?  I heard there is a short time period to retrieve them and I may be o

  • File path for application server file

    Hi All,              I have a file 'abc.doc' stored on the application sever.             I want to crate a document using the BAPI_DOCUMENT_CREATE and store this file             What is the file path that I need to pass into the bapi. Please help W

  • Taxes for one time customer

    Hi all, I have created a one time customer in the Ac grp CPD and the tax combinations are manintained in master records. But still the tax is not picking up in sales order. I have thoroughly checked the customer master, material master and the condit

  • ALV tree question

    Hi, I run BCALV_TREE_SIMPLE_DEMO in order to know how it is working but I have one question: if I want to download the list to excel, how do I add a button and the functionality to do this? Thanks in advance, Cristian