How to link MM & FICO Tables

Hi,
I have a requirement to extract the data from the transaction FBL1N ( i.e. from BSIK & BSAK) to get the details of XBLNR-Reference Document & WRBTR-Amount in Document Currency to display in the MM-Purchasing reports. In MM-Purchasing tables we are using ( EKKO, EKPO, EKBE) tables. Bothe FBL1N & the MM-Purchasing custom report runs based on Vendor & Company code.
Please provide how to link these two.
Regards,
Kiran.L

Hi,
You can link the two tables using joins.
Here's one simple example.
Select matnr ersda mtart maktx into corresponding fields of table itab1 from mara as a inner join makt as b on amatnr = bmatnr.
If you want to use outer join use outer join in place of inner join.
Hope its helpful.
Reward points if found helpful...
Cheers,
Chandra Sekhar.

Similar Messages

  • How to link Azure database tables and fields to VS2012 C++ entry form

    We are using Visual Studio 2012 C++ and have successfully connected to the database on Azure, but do no know how to associate the database tables and fields with the C++ application data entry forms.  Can anyone help?  Thanks

    Hello Roxanne,
    You could use Entity framework to map classes to Azure tables. Please refer http://www.codeproject.com/Articles/363040/An-Introduction-to-Entity-Framework-for-Absolute-B to
    learn more. Hope this helps.
    Regards,
    Kumar Bijayanta

  • How to link two fact table in OBIEE

    i experts
    1. I have one fact table EXCHANGE_FACT(Contains the exchange rate for each curruncy on each day) .
    2. I Have anothe fact Table ACCOUNT_FACT(Contains Amount for each currency on each day).
    Now i have to link these two table on bace of currency_key and time_key in OBIEE. so i have can i achieve it in OBIEE.
    Regards
    Frnds

    Hi Frnds,
    You should create two common dimensions (currency en time) and join each fact table seperately to these dimension. Create a demnsion (hierarchy) for each dimension.
    Good Luck,
    Daan Bakboord
    Scamander Solutions

  • How to link a summary table

    Post Author: strife
    CA Forum: General
    I am using Crystal 10 and trying to develop a donor percent participation report, comparing donors to total number of class members (donors per class/good addresses per class) * 100.  The number of class members comes from a summary table of good address counts that remains static throughout the year.
    1)      I can create a view for the good address counts but Iu2019m unclear as to the way to link this view to the table of donors.  I canu2019t link ID to ID since itu2019s a summary and doesnu2019t have a row per ID (I need address counts for ALL IDs not just the ones who are donors). 
    2)      If I put the view in a subreport, I get only one result not a count for each group which is class year. 
    3)      If I put the subreport in the class year group to get a result returned for each class but the subreport creates unwanted blank rows in the export to Excel.
    I am looking at the last option but wonder if there is some other way that Iu2019m overlooking.  Any help is appreciated.

    Here is the video!  and it works for 2010.  It shows you how to put the pivot wizard that you need on the ribbon.
    https://www.youtube.com/watch?v=pUXJLzqlEPk
    Excel Pivot Tables: How to flatten a cross tab table
    Note:  the above instructions for 2007 and 2003 work as well BUT you must let go of the "alt" & "d" when you press "P"!

  • How to link oracle dba_users table with SQL's sysusers and syslogin tables?

    I need to validate that the username present in the Oracle's dba_users table is the same as SQL's sysusers's isNTUSER and syslogin's name columns. How to achieve this? Someone please help me out. Thanks.

    refer these three link for information.
    http://www.oracleappshub.com/release12/r12-sla-analyzing-subledger-accounting/
    http://www.oracleappshub.com/release12/r12-sla-from-product-accounting-to-subledger-accounting/
    http://www.oracleappshub.com/release12/know-the-changes-because-of-r12-oracle-payment-module-fund-disbursement-in-ebs/

  • How to link a fact table to one dimension many times

    I have fact table which contains four date fields and I want to connect all of them to the Time dimension. I think I probably must split this fact table to multiple tables and then link them to dimensions. What is the right way to solve this kind of problem?
    Example: Fact table: TimeIn, TimOut, TimeStart, TimeStop, InPlace, OutPlace, StartPlace, StopPlace, Speed, Weight, Width, Height .....
    Thank you

    Hello Kostis,
    thank you for your answer. I don't fully understand you. Can you show me short example, please? I create alias table for time dimension on Physical Layer - original table is TimeDayDim and I create aliases TimeDayDim1, TimeDayDim2, TimeDayDim3, TimeDayDim4. Then I create foreign key Fact.Time1 -> TimeDayDim1, Fact.Time2 -> TimeDayDim2, Fact.Time3 -> TimeDayDim3, Fact.Time4 -> TimeDayDim4. And what now? Must I create these table api Bussines Model and create new time dimensions at bussiness model????
    I need in Answers ONE Time dimension. I think I must split my fact table to four tables ... (time1, place1 ...) (time2, place2 ...) (time3 place3...) (time4 place4...) then link those tables to Time dimension (but I dont know where I can split those tables - on Physical Layer or on Bussines Layer).
    I suppose that I will have in Answers one time dimension and four facts tables and I will be able to query them. (for example: Time.Days, Fact1.Place1, Fact3.Speed, Fact4.Count Criteria: Time.Year = 2008)
    Best Regards Vlada

  • How to link a XMLType table to a repository?

    I follow following steps:
    1) register a schema and generate a default table
    2) insert XML documents ( specifing the schema just registered) into the table by using SQL
    But how to let those XML documents show up in the repository so that users can access to them by using HTTP/FTP so that any update done to the table will be reflected in the repository and vice versa.
    I tried many things but no luck.

    Everything looks OK to me. In the folllowing example the createResource() is the equivilant of the WebDAV copy. Do you have multiple database instances running on the server machine. It is possible that the WebDAV connection is connected to another database instance.
    What folder are you copying the data into
    Can you do
    select path from path_view where under_path(res,'/targetFolderForWebDav') = 1
    SQL>
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://localhost:8090/CMDEMO/fullname.xsd';
      3    :schemaPath := '/public/testcase.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0"?>
      5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
      6    <xs:element name="fullName" type="xs:string" xdb:defaultTable="FULL_NAME_TABLE"/>
      7  </xs:schema>
      8  ');
      9  begin
    10    if (dbms_xdb.existsResource(:schemaPath)) then
    11      dbms_xdb.deleteResource(:schemaPath);
    12    end if;
    13    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    14  end;
    15  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> desc FULL_NAME_TABLE
    Name                                                                                Null?    Type
    TABLE of SYS.XMLTYPE(XMLSchema "http://localhost:8090/CMDEMO/fullname.xsd" Element "fullName")
    SQL> --
    SQL> set long 100000 lines 150
    SQL> --
    SQL> select *
      2   from FULL_NAME_TABLE
      3  /
    no rows selected
    Execution Plan
    Plan hash value: 3651065813
    | Id  | Operation         | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                 |     1 |  2022 |     2   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| FULL_NAME_TABLE |     1 |  2022 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd">
                  <read-properties/><read-contents/></privilege>'))=1)
    Note
       - dynamic sampling used for this statement
    SQL> declare
      2    res boolean;
      3    docPath varchar2(40) := '/public/testcase.xml';
      4    xmldata xmlType := xmlType(
      5  '<fullName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6  xsi:noNamespaceSchemaLocation="http://localhost:8090/CMDEMO/fullname.xsd">
      7  David King
      8  </fullName>');
      9  begin
    10    if (dbms_xdb.existsResource(docPath)) then
    11      dbms_xdb.deleteResource(docpath);
    12    end if;
    13    res := dbms_xdb.createResource(docPath,xmldata);
    14  end;
    15  /
    PL/SQL procedure successfully completed.
    SQL> select *
      2   from FULL_NAME_TABLE
      3  /
    SYS_NC_ROWINFO$
    <fullName xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://localhost:8090/CMDEMO/fullname.xsd">
    David King
    </fullName>
    Execution Plan
    Plan hash value: 3651065813
    | Id  | Operation         | Name            | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |                 |     1 |  2022 |     3   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| FULL_NAME_TABLE |     1 |  2022 |     3   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
                  xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
                  http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd">
                  <read-properties/><read-contents/></privilege>'))=1)
    Note
       - dynamic sampling used for this statement
    SQL>
    SQL>
    SQL>
    SQL>

  • 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.

  • How fact links to Dimension Tables.

    Hi All,
    Can any one explain how the ROW_WID of the dimension table and the related column in the fact table both gets populated with same values in different mapping ?
    Consider if we want to develop a new fact and dimension tables, then how should i proceed for the ROW_WID and the join between fact and dimension.
    Thanks in Advance.
    Regards
    Vishwanath

    Hi
    Basically in BI Apps all dims are first populated and every dim table has a row wid column apart from the primary key combination(datasourceid+integration id) .If you open a seeded mapping and you would see this row wid column is populated using a reusable sequence generator transformation.So everytime u run this mapping the row wids change..........
    Now coming to the facts............as a normal rule of thumb in ETL u run the facts after all the dimensions........If you open any seeded fact mapping you will observe that every fact has a wid associated the dims it joins to.......so if a fact is joining to 3 dims then there will be 3 wids associated to each dim .These wids are again populated using a lookup on the dimension table and extracting row wid for relavant id of the dim.So u get the value of row wid of the dimension in the wid column of the fact....Please let me know if u hv questions
    With Regards
    Venkatesh

  • How two link two extern tables in one in BW ?

    Hello everybody,
    I have 2 extern tables with few data (6000):
    ZETL_NEGO:
    Number/AIRPORT/DATEFROM/DATETO/AMOUNT_NF
    10;CDG;10/02/08;20/05/08;100
    ZETL_PRICE:
    AIRPORT/FARE_PUBLIC
    CDG;400
    I wanted to load these 2 tables in BW.
    And i want obtain the following result:
    10;CDG;10/02/08;20/05/08;100;400
    and not these 2 lines:
    10;CDG;10/02/08;20/05/08;100;0
       ;        ;            ;             ;     ;400
    I want join these two tables ...
    - I create an ODS specific to load ZETL_NEGO with
    KeyField=Number/AIRPORT/DATEFROM/DATETO
    - I create an other ODS specific to load ZETL_PRICE with
    KeyField=AIRPORT
    - Then, i create a third ODS which load the two precedent with
    KeyField=Number/AIRPORT/DATEFROM/DATETO
    but, yes, it doesn't work.
    These 2 tables are not join ...
    Could you give me suggestions how do this?
    Thanks in advance.
    Best Regards,
    Rod.

    Yes that way is not going to work, but when you are loading data from the first DSO, do a lookup to the second DSO with AIRPORT number. The only drawback with this is if you load the first DSO before the Second DSO, you will be losing some data and also  you might have some issue if you are doing delta load. This will work fine with full loads.
    Another option is leave the dso or create cube for each dso and create a multiprovider, and create a report off the multiprovider and when you create a report, you can use the option of 'Constant Selection' to make the report come in one line.
    And final option is to create infoset of the two DSO'es which will create one records.
    thanks.
    Wond

  • How to link two modules of data when querying the data ?

    Hi ,
    I am using Designer editor to create a form .
    I am having two modules with the tables EMPLOYEE and department .
    In my form ,I want to display the data of each employee with the department data .
    How to link the two tables data in the designer ?
    How to View the generated triggers in the designer ?
    Thanks
    Sai

    Two modules means two forms. These are unrelated.
    Or do you mean that you have one form with two blocks (master-detail)?
    How to link the two tables data in the designer ?You have to define the foreign key on the tables. Based on this FK Forms Generator will generate the code if you create two Module Components (master-detail) in the module. Don't forget to define the Key Based Link on the master block.
    How to View the generated triggers in the designer ?You can't. You have tom open the generated FMB file in Forms Builder to see what code is generated.

  • How to link CRMD_ORDERADM_H and CRMD_ORDERADM_I

    Hi,
    I am new to CRM and I am not sure how to use the two tables CRMD_ORDERADM_H and CRMD_ORDERADM_I. What is the relation between the two tables? Can i use the GUID in CRMD_ORDERADM_H to get details from CRMD_ORDERADM_I? I am not sure how to link the two tables. I need to derive the confirmation number in a report that I am developing but the two tables are confusing me. Please  help me with this.

    Hi,
    CRMD_ORDERADM_H gives header details of a transaction number(like service contract number, sales order number etc) and CRMD_ORDERADM_I gives item details.
    Yes,both are linked by GUID.
    Enter the transaction number in OBJECT_ID input filed in CRMD_ORDERADM_H and copy the GUID.
    Then enter the copied GUID in HEADER field in CRMD_ORDERADM_I to get item details.
    You can also use function module CRM_ORDER_READ to obtain all the information regarding a transaction number.
    Regards
    Anitha

  • How to Link Bseg Rseg RBKP

    Hi to all
    Pls give me information i am trying from last two days For Bank Payement Advice,
    how to link bseg rseg and rbkp,
    From Bseg i am retriving - BELNR (Accounting Document Number) 1500000003
    and from RSEG & RBKP---> DMBTR, XBLNR, BLDAT, RMWWR, WERKS ,EBELN And so on
    But i am getting problem how to link these two tables with BSEG
    where RSEG OR RBKP-BELNR NOT EQ BSEG_BELNR
    I tried some document from SDN i have not got the solution Pls Help.
    Example
    Header of RSEG is RBKP.
    Header of BSEG is BKPF.
    concatenate RBKP-BELNR ans RBKP-GJAHR
    Put that in BKPF-AWKEY
    BSEG-BELNR =1500000003
    RSEG-BELNR = 5105604141
    BKPF-AWKEY = 150000000310002009
    This Solution Is also not working.
    Pls Help for this Issue.
    Regards
    Mateen

    Hello,
    just concatenating keys won't work.
    Coming from RBKP you could use the function  AC_DOCUMENT_RECORD. From BKPF to RBKP you could use the 'AC_DOCUMENT_SENDER' -  but that one displays the original document.
    The AC_DOCUMENT_RECORD you would call with the parameters:
    I_AWREF = RBKP-BELNR
    I_AWORG = ( move  RBKP-GJAHR to a field in AWORG format)
    I_AWTYP = AWTYP ( which 'RMRP')
    I_AWSYS = RBKP-LOGSYS
    Regards Wolfgang

  • How do I link to a table from a slice of a pie chart?

    My project manager is after me to add a feature to a pie chart built on one of my tables. The code that selects from the table for the pie chart is this:
    select 'http://apexdevapp1.ci.raleigh.nc.us:7777',activity_type,count(ID) total FROM eba_ver2_cust_activity
    where ACTIVITY_DATE BETWEEN NVL(TRIM(:P23_START_DATE), '01-JAN-2001') AND NVL(TRIM(:P23_END_DATE),
    '31-DEC-2099')
    group by activity_type,'http://apexdevapp1.ci.raleigh.nc.us:7777';
    She wants to be able to click on a slice of the pie ("activity_type") and link to another page showing a report limited to that activity_type, selected from the same table. I know how to link from one interactive report to another, but I don't know how to do it from a slice of a pie chart. Does anybody know how?
    I'd appreciate some guidance on this.
    Steve the n00b in Raleigh NC

    Denes Kubicek wrote:
    Have you compared that link with any of your apex application links in the browser? ;) :)
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------I may be missing the point of your question, Denes, but all my links are implemented from the Link Column section under Report Attributes. They are not mentioned anywhere in the Select statement, unlike yours.
    Steve "the n00b" in Raleigh NC

  • How to link documents in SD following tables?

    Hi All,
    I am new to SD and I am a technical person not a business person. But now I have to find out how to link a billing document of type Credit Memo (tcode VF03) with the invoice that originated it. I can see in the document flow of the credit memo (button Display Document flow) all the documents related but... where are those link in the data dictionary? I need the technical part that lays behind this. How can i follow the track of the former documents knowing only one of them?
    I hope you can help me experts.
    BR. Elena

    Elena,
    VBFA table is for Document Flow for which you can see all the preceeding Documents.For Example VBRK ( Billing Table) --> LIKP ( Delivery Tabel ) and VBAK ( Order Tabel).Here for Billing Document the Preceeding Document is Delivery and for Delivery Doucment the Preceeding Document is Order.
    Hope this clarifies your doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

Maybe you are looking for

  • Database selection with invalid cursor with MaxDB database

    Hi Experts, I encountered the this error: "Database selection with invalid cursor The database interface was called by a cursor (in a FETCH or CLOSE cursor operation) that is not flagged as opened. This can occur if a COMMIT or ROLLBACK was executed

  • Need my user account to have sysdba rights. Can't get it to work.

    Hi All, I have installed sql developer and i don't know how to change my user account to have system rights. when i try to login as sysdba i keep getting errors. I have tried a tutorial, the one were you're suppose to create an hr account but I can't

  • Multiplication in smartforms

    Hi Guru's, I am working on 4.7c. My requirement is i want do multiplication between two columns and result should be display in third column which is not included in structure in smartform. Presently i achieved this by adding that third column as fie

  • IPhone upgrade to 3.1.2. resets date time - no daylight saving

    I upgraded my iPhone 3GS to the new OS: 3.1.2 recently. I noticed the date & time were reset to some time way in the past so I reset them to the current date & time. I notice now there's no way in the Settings | General |Date & Time to automatically

  • Removing items from "open a recent item" list

    Hi, I deleted some files in dreamweaver cs5, but they still appear in "Open a recent item", how can I remove them from the list? Thanks for any help David