Linking AP tables to GL tables

Hi all,
I have a few tables from Oracle E-Business Suite (AP, GL, PO) that I'm using for external analysis. I need to link between AP, PO, and GL, but can't figure the connection between AP and GL.
The AP tables are check_stocks_all, checks_all, invoice_distributions_all, invoice_payments_all, invoices_all, and terms_all.
The GL tables are code_combinations, je_headers, and je_lines.
The PO tables are vendor_contacts, vendor_sites_all, and vendors.
I'm able to link AP_INVOICE_DISTRIBUTIONS_ALL to AP_INVOICES_ALL; GL_JE_HEADERS to GL_JE_LINES;
The GL_JE_LINES hold the GL Account codes in the segments, which I've combined in another field for reporting purposes.
The flow of data would be like this:
1. Select a Vendor x
2. View all invoices from Vendor x and select Invoice y.
3. View line items for Invoice y (invoice_distributions_all). These will list the Line_Type_Lookup_Code (Tax/Item) but I need also to show the GL Account codes, which are in the GL_JE_LINES table.
Is there a way to link AP_INVOICE_DISTRIBUTIONS_ALL and GL_JE_LINES using any of the tables listed, or am I missing a crucial table/s?
Thanks.

Hi Octavio,
It's
gl_code_combinations.code_combination_id=ap_invoice_distributions_all.*dist_code_combination_id*
now we can pick the corresponding segments using table gl_code_combinations.
Thanks Octavio for the correction.

Similar Messages

  • How to fix Action Link Issue in Table and Pivot Table when used Section

    My OBIEE Version: OBIEE 11.1.1.6.5
    Issue Description: Action links (Navigate to BI Content) doesn't work in PIVOT TABLE or TABLE object when used Section area (one or more columns in Section area).
    If you want to recreate this issue please follow next steps:
    1.     First of all you have to create one analyse with min 3 columns (for example Time.“Calendar date“, Product.Product, „Base Fact“. Revenue -> from Sample Sales Lite )
    2.     From column properties -> Set value Action Link Interaction on some column for example Product.Product (choose Navigate to BI Content -> any created BI report )
    3.     Click Results Tab choose Pivot Table and assigned one dimension column to Section area
    4.     Click preview icon
    5.     When you click on action link nothing happens
    6.     If you drug and drop column from Section Area to Excluded, Table or Pivot table Area then Action Link works perfectly
    How to fix this issue?
    I'll be grateful for any help!

    This is Bug:15922681 - ACTION LINK NAVIGATE TO BI CONTENT DOES NOT WORK WITH ATTRIBUTE IN SECTION
    Upgrade to 11.1.1.6.6 will fix this issue.

  • How to make a magnifying glass link to a look up table ?

    Dear Friends,
    Hello. I am developing the accounting application of journal entry. In journal line, I use the image "magnifying glass" next to each chart field. When we click on the magnifying glass, it's supposed to come up a look up table( a chart and name mapping table), and we select the proper chart to input into the chart field.
    I understand to create another record and page for the look up table. But I don't understand how to make a magnifying glass link to a look up table. Can anybody tell me how to do that ? Thanks.
    Lucy

    This is how it works,
    Table A (which stores chart fields). You have used fields from table A on a page so that users can input data.
    You don't need to put a magnifying glass image or create a new page to achieve look up page.
    all you need to do is create another table say Table B which should have the chart field and corresponding description you want to show on lookup page. Then open record-field property of the chart field on Table A and mention Table B as prompt table.

  • Linking between PP and SD tables

    Hai friends,
    I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
    Thanks and Regards
    visvanath

    Hi
    You can simply link the Sales order No and ITEM
    VBAP-VBELN and VBAP-POSNR with the PP order item table
    AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
    or in Sales tables there is a field called AUFNR in VBAP
    use that for PP order number
    SD tables
    http://www.erpgenie.com/abap/tables_sd.htm
    PP tables
    http://www.erpgenie.com/abap/tables_pp.htm
    Regards
    Kiran Sure

  • Link to URL in a table

    Hi,
    I want to insert a link to url in a column of a table dynamically.
    Iam able to create the column and the link to url also.But i dont know how to set thid link in the column of the table.
    Please suggest.
    Regards,
    Padmalatha.K
    Points will be rewarded.

    hi,
      use this code for creating dynamic table and link to action  as a table cell editor.
    public static void wdDoModifyView(IPrivateDynamicCompView wdThis, IPrivateDynamicCompView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
           if(firstTime){
                IWDGroup theGroup = (IWDGroup)view.getElement("InputGroup");
    // name of the group in the view layout
           IWDTable table = view.createElement(IWDTable.class);
           IWDTableColumn column = view.createElement(IWDTableColumn.class);
           IWDLinkToAction linktoaction = (IWDLinkToAction) view.createElement(IWDLinkToAction.class);
      IWDAction action = view.getAction("Action");
    linktoaction.setOnAction(action);       linktoaction.bindText("test.test");
    // context node (test)and attribute(test) binding the path to the link to action text property
           linktoaction.setEnabled(true);
           linktoaction.setImageFirst(true);
           linktoaction.setVisible(WDVisibility.VISIBLE);
           column.setTableCellEditor(linktoaction);
    IWDCaption caption = view.createElement(IWDCaption.class);
           caption.setText("header");
           column.setHeader(caption);
           IWDNodeInfo node = wdContext.nodeTest().getNodeInfo();
           table.bindDataSource(node);
           table.setEnabled(true);
           table.setFooterVisible(true);
           table.setRowSelectable(true);
           table.setVisibleRowCount(5);
           table.setDisplayEmptyRows(true);
           table.setSelectionMode(WDTableSelectionMode.AUTO);
          table.addColumn(column);
               theGroup.addChild(table);
        //@@end
    Note: create a Action in the View Controller , in the above code the action is named as Action.
    hope your problem gets resolved
    thanks and regards
    fazal

  • How can I link table KONV with table VBRP and VBRK using KSCHL field?

    Hi experts,
    How can I link table KONV with table VBRP/VBRK using KSCHL field so that items are fully filtered?
    Thanks,

    Hi,
    If you do not want to specify it as hard code, then define a variable for it if you want to pass the value for it from the selection screen so that it will be dynamic. Code will be as follows.
    select-options: x_KSCHL for T685l-KSCHL.
    select kwert
               kbetr
               knumv
               kposn
               kschl
          from konv
          into CORRESPONDING FIELDS OF TABLE it_konv
          FOR ALL ENTRIES IN it_all
          where knumv = it_all-knumv
          and   kposn = it_all-b_posnr
          and   kschl in x_KSCHL. "Dynamic Selection as per the selection screen input
      endif.
    Hope this helps.
    Regards,
    Chandravadan

  • How to provide Link to Column in  the Table

    Hi
    please let me know how to provide link to one column in the table.
    i have two views
    in one view i will dispaly emp id and emp dept in a table
    i have to provide link to the emp id column table
    when i click emp id column then it will fire other view and display remaining details of emp.
    so please let me know how to provide link to column in the table.
    Solution is urgent
    regards
    mmukesh

    Hi Mukesh,
       You can insert LinkToAction column in table.you can have two cattributes in Valuenode one is of type boolean and other is of type string(empno)
    you can create eventhander in that you can fire plug to seconf view where you can displays the emp details
    With Regards
    Naidu

  • Linking user table with system table

    Hello, I'm trying to link a user table with IC table in order to asign many sales person to a customer.
    I've created a new button in the IC form. When clicked a new form is opened to asign sales person to the IC. Now I need to retrieve the records assigned to this IC. How can I do that???
    Regards.
    Angel.

    Hi Angel,
    I would put a matrix in the new form where you could see/asign/delete the sales person.
    Have a look at this post where you can find a great code from Sebastian Danober to fill a matrix from a recordset.
    Another option could be to modify the existing IC form and add a new folder with a matrix where you can manage the sales person.
    Check this other post with code for adding folder to an existing form.
    Regards,
    Ibai Peñ

  • Trying to write code for clicking on the links that are in HTML table

    Hi,
    I have an application, where in I created a table test for one HTML table. The table test case is passed. Now I am trying to write some VBA code for clicking on the links that are in the table.
    Please help me.
    I was trying to write the following code:
    Dim tbl As HTMLTable
    ' tbl = "window(index=0).Tag[TABLE](index=11)"
    Dim tblrow As HTMLTableRow
    For Each tblrow In tbl
    tblrow.click
    Next
    but getting error as runtime error 424: Object required.
    Is what I am doing is correct.
    I also have another question regarding assigning the no of links to a integer.
    Call RSWApp.WriteToLog("Number of links", objDocument.links.Length) ( i have this code from one of the forum entries).
    This writes the links to the Results log. but is there a way to assign this value to an integer.
    Thanks in advance.
    Sailaja.

    Hi,
    Thanks.
    Q1: I am able to copy all the links to a .csv file for databank. But not able to pass that variable through VBA code in order to click the links.
    I used the following code to copy the links from the application to .csv file
    Dim myFs As Scripting.FileSystemObject
    Dim myFile As Scripting.TextStream
    Set myFs = New Scripting.FileSystemObject
    Set myFile = myFs.OpenTextFile("C:\Empirix\eTEST\DataBank\linksData.csv", ForWriting)
    Q2: I was using the following code for clicking. ( This is different from above. I was trying other alternative without using databank.)
    Dim myDoc As HTMLDocument
    Dim myLink As HTMLAnchorElement
    Set myDoc = RSWApp.om.GetTopDocument
    For Each myLink In myDoc.links
    If myLink.Id = "AppsNavLink" Then
    myLink.click
    End If
    Next
    The problem here is, The "clicking" is happening but not visible in the application. I have 70 links to click, after the test is passed, the cursor is pointing to the last link ( 70th link).
    Please help me if I am doing wrong.
    Thanks,
    Sailaja.

  • Advance Table in advance table via view link

    Hi All,
    I have implemented advance table in advance table to show details region data by creating View Link between master and child View Object.
    I have followed all the steps mention in following link
    http://oracleanil.blogspot.com/2010/06/advanced-table-in-advanced-table-via.html
    Now when I am using child VO in details table region it is giving me null pointer exception.
    Please Help.
    Regards,SHD

    Any Clue?

  • Link between vbpa and vbak tables

    Hi,
    I would like to know the link between VBAK and VBPA tables.
    VBELN field in both these fields are the same?
    If I give the VBELN field got from the VBAK table into the VBPA table will I get the  customer number(KUNNR) of that particular SAles document?
    Thanks & Regards,
    Soumya.

    You can get Kunnr directly from the VBAK table, if you wanna do the Join still you can go forward and do it there is no harm but remeber to give the Partner Function(PARVW) as well as VBELN.
    Hope That Helps
    Anirban M.

  • Link between AUFK and BKPF table

    Hi all,
    Can anyone tell me the link between AUFK and BKPF table.
    Thanks in advance
    Regards
    Neha Kapoor

    hi neha ,
    1.first u have to get MBLNR from AUFM for that order
    2.Next u have to call FM
    <b>AC_DOCUMENT_RECORD</b>
    I_AWTYP                         MKPF--->Constant
    I_AWREF                         4900003215--->MBLNR
    I_AWORG                         2004--->Year
    I_AWSYS
    I_AWTYP_INCL
    I_AWTYP_EXCL
    I_BUKRS
    I_VALUTYP                       0
    X_DIALOG                           X
    then u will get the Accounting Documents.
    regards
    prabhu

  • Link Finance and Controlling / Subledger tables extractors

    Hi experts, I would need your help for following scenarios.
    We would like to have the ability to extract  profit centers from New GL tables, for below scenarios:
    Issue 1:  Profit Center is not in the controlling tables/ flows.
    It is required to extract Cost Center from CO tables / extractors, but this table does not contain Profit Center.
    Requirement: extract Profit Center from new GL line item table: FAGLFLEXT, for the equivalent CO Document.
    Is it a standard New GL extractor that link CO documents and New GL FI document . How was this managed in your previous projects?
    Issue 2: Profit Center is not Customer/Vendor Subledger tables
    It is required to extract data from AR Subledger tables, but  these tables  do not contain Profit Center. Table BSID
    Requirement: extract Profit Center from new GL line item table: FAGLFLEXT, for the equivalent Subledger Document.
    Is it a standard New GL extractor that link AR / AP Subledger and New GL. How was this managed in your previous projects?
    Thanks for your help

    install sap content for ocoom_c02, ops_c04 with0pu_c01  you can join
    0coom_c02 with 0pu_c01
    or wise versa it should give yoru whatu need.
    or search help.sap for fields you need to see which cubes its using and install that content. and create amultiprovider and join them.

  • Linking Java to Access Database tables

    Hello,
    I need use JCreator to link Java to Access Database tables.
    Could any one tell me what kind of drivers I need use?
    Also, where could I find the examples of linking Java to Access Database tables?
    Thank you,
    Daniel

    Thanks.
    I have read the tutorial and downloaded the sample code from the web http://java.sun.com/docs/books/tutorial/jdbc/
    In the CreateCoffee.java programming, I made the following changes:
         //     String url = "jdbc:mySubprotocol:myDataSource";
              String url = "jdbc:odbc:DB1";
    DB1 is an Access Database file located in the same folder as CreateCoffee.java.
    //Class.forName("myDriver.ClassName");
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Every time when I run the CreateCoffee.java programming, it shows the following running error:
    SQLException:[Microsoft][ODBC Driver Manager]
    Data source name not found and no default driver specified.
    Could any one have any suggestions for solving the above problem?
    Thank you,
    Daniel

  • Linking UDF to User Defined Table

    Dear Experts,
      I have a UDF on the batch tables that I would like to link to a User defined table. After creating the link, the UDF drop down cannot open up to display anything. The drop down box is there on the UDF but cannot open or drop to display anything from the user defined table.
    Has anyone came across this problem before ?
    Regards,
    Edited by: MARTIN KAMAU on Jan 4, 2011 10:12 AM

    Hi Martin,
    When you click on the UDF for the drop-down, do you see an option for "Define New"?
    What version of SAP are you using?
    Regards
    Sudatt

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

Maybe you are looking for

  • SQL*PLUS console not coming back when create a tablespace in ORACLE RAC11g

    Hi all, I have run a create command in oracle RAC 11g system (2 nodes, ASM) by SQL*PLUS, every datafile for this tablespace is 1.5GB, I want to create 6 tablespace at the first: 1. It run successfully for the first tablespace , it toook 4-5 minutes t

  • Creative Inspire T3000 2.1 System

    I purchase the system in Feb/05 for my desktop computer. I am very happy with it. I now have a Toshiba Laptop and want to know if I can change it over. I loaded the original CD Sound Blaster that came with the speakers, but am not sure where to go fr

  • Repeated Problems Accessing Secure Network - Which Pref Do I Delete?

    More often than not, when I awaken my 20" iMac G5 from sleep or do a cold startup, it won't connect to my home network. It's an Airport Extreme closed network using WPA encryption. I'm running 10.4.6 on my G5. When this occurs, it tells me that none

  • Missed to extract RDBMS_SAP_64.zip before installing Oracle

    Hi Gurus, I am installing solution manager 7.0 on solaris 10. As per installation guide before installing ORacle we should extract the RDBMS_SAP_64.zip  file in /oracle/stage/102_64/database... but i missed this step. Right now installtion is going w

  • Aperture upgrade under Mountain Lion

    Hello, just moved from Leopart to Mountain Lion but cannot upgrade my aperture to latest version (current being 3.2.4.). I downloaded the file but when trying to install requests a version post 3 which I have. Any idea on how I should proceed ? Thank