Re: table joining for  k810009

Hi Experts,
I am developing a new report  by taking output field from table k810009 and some selection screen field from mara.
Below is my code
TABLES : MARA,K810009.
  TYPES: BEGIN OF TY_FINAL,
         ARTNR TYPE K810009-ARTNR,                    " MATERIAL NUMBER
         PAPH1 TYPE K810009-PAPH1,                    " PRODUCT HIERARCHY LEVEL 1
         PAPH2 TYPE K810009-PAPH2,                    " PRODUCT HIERARCHY LEVEL 2
         PAPH3 TYPE K810009-PAPH3,                    " PRODUCT HIERARCHY LEVEL 3
         PAPH4 TYPE K810009-PAPH4,                    " PRODUCT HIERARCHY LEVEL 4
         PAPH5 TYPE K810009-PAPH5,                    " PRODUCT HIERARCHY LEVEL 5
         PAPH6 TYPE K810009-PAPH6,                    " PRODUCT HIERARCHY LEVEL 6
         WWREP TYPE K810009-WWREP,                    " REPRESENTATIVE MATERIAL FOR PCA
         BUKRS TYPE K810009-BUKRS,                    " COMPANY CODE
         PRCTR TYPE K810009-PRCTR,                    "PROFIT CENTER
         VKORG TYPE K810009-VKORG,                    " SALES ORGANISATION
         WERKS TYPE K810009-WERKS,                    "PLANT
         MAKTX TYPE MAKT-MAKTX,                       " MATERIAL DESCRIPTION
         END OF TY_FINAL.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_MTART FOR MARA-MTART.                      "MATERIAL TYPE
                S_MATKL FOR MARA_MATKL.                      " MATERIAL GROUP
                S_ARTWR FOR K810009-ARTWR.                   "MATERIAL NUMBER
                S_WERKS FOR K810009-WERKS.                    "PLANT
                S_BUKRS FOR K810009-BUKRS.                     "COMPANY CODE
                S_VKORG FOR K810009-VKORG.                     "SALES ORGNISATION.
SELECTION-SCREEN END OF BLOCK B1.
can any one throw some light how to dispaly output filed based on my selection screen.
Regards,
Am
Moderator Message: Just do not post your requirement. First try out on your own & get back to the forums in case of
any specific problem.
Edited by: Suhas Saha on Jan 15, 2012 2:49 PM

Hi Soumya,
Based on my selection screen i.e mara table can we proceed to Ktable.
i have written the code upto here
type-pools: slis.
TABLES : MARA,K810009.
  TYPES: BEGIN OF TY_FINAL,
         ARTNR TYPE K810009-ARTNR,                    " MATERIAL NUMBER
         PAPH1 TYPE K810009-PAPH1,                    " PRODUCT HIERARCHY LEVEL 1
         PAPH2 TYPE K810009-PAPH2,                    " PRODUCT HIERARCHY LEVEL 2
         PAPH3 TYPE K810009-PAPH3,                    " PRODUCT HIERARCHY LEVEL 3
         PAPH4 TYPE K810009-PAPH4,                    " PRODUCT HIERARCHY LEVEL 4
         PAPH5 TYPE K810009-PAPH5,                    " PRODUCT HIERARCHY LEVEL 5
         WWREP TYPE K810009-WWREP,                    " REPRESENTATIVE MATERIAL FOR PCA
         BUKRS TYPE K810009-BUKRS,                    " COMPANY CODE
         PRCTR TYPE K810009-PRCTR,                    "PROFIT CENTER
         VKORG TYPE K810009-VKORG,                    " SALES ORGANISATION
         WERKS TYPE K810009-WERKS,                    "PLANT
         MAKTX TYPE MAKT-MAKTX,                       " MATERIAL DESCRIPTION
         MATKL TYPE MARA-MATKL,                       "MATERIAL GROUP
         END OF TY_FINAL.
DATA: IT_FINAL TYPE STANDARD TABLE OF TY_FINAL.
DATA: WA_FINAL TYPE TY_FINAL.
data: it_fcat type slis_t_fieldcat_alv.
data: wa_fcat type slis_fieldcat_alv.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_MTART FOR MARA-MTART,                    "MATERIAL TYPE
                S_MATKL FOR MARA-MATKL,                      " MATERIAL GROUP
                S_ARTNR FOR K810009-ARTNR,                   "MATERIAL NUMBER
                S_WERKS FOR K810009-WERKS,                    "PLANT
                S_BUKRS FOR K810009-BUKRS,                     "COMPANY CODE
                S_VKORG FOR K810009-VKORG.                     "SALES ORGNISATION.
SELECTION-SCREEN END OF BLOCK B1.
select  artnr
        paph1
        paph2
        paph3
        paph4
        paph5
        wwrep
        bukrs
        prctr
        vkorg
        werks from k810009 into table it_final
                                  where artNr in s_artNr
                                   and  werks in s_werks
                                   and bukrs in s_bukrs
                                   and vkorg in S_vkorg.
Please can u proceed from here how to get that output.
Regards,
Am

Similar Messages

  • 3 way table join for a view?

    Hi,
    I need to create a view comprising several complex queries (at least to me...). Below is an example where I have to do a three way table join, based on multiple columns from each table.
    This is the data I need to get at:
    table1."DISTRICT TYPE",
    table1. "DISTRICT CODE",
    table1."EO_NAME"
    With the following constraints:
    table1 joined with table2 via DISTRICT_TYPE and DISTRICT CODE
    table2 joined with table3 via PRECINCT and PRECSUB
    What is the best query to use in this situation? Or, is there a better alternative, considering I do have to create a view?
    Thanks very much.

    This one really is a basic join question, and a quick perusal of the SQL Reference Manual, or any basic SQL book would provide an answer. However ...
    Assuming your tables look like:
    TABLE1
    district_type
    district_code
    eo_name
    TABLE2
    district_type
    district_code
    precinct
    precsub
    TABLE3
    precinct
    precsub
    other_stuff
    then
    SELECT a.district_type, a.district_code, a.eo_name,
           b.precinct, b.precsub,
           c.other_stuff
    FROM table1 a, table2 b, table3 c
    WHERE a.district_type = b.district_type and
          a.district_code = b.district_code and
          b.precinct = c.precinct and
          b.precsub = c.precsub

  • Tables/Joins for logical tables being combined

    I have 2 logical tables set up that have multiple physical table sources (using map to these tables). Some of the physical sources are the same in each logical table. It seems that when I make selections from Answers and look at the SQL, it is picking tables from both logical tables (instead of just the one I used). It is also grabbing the content (additional 'where condition') from the other logical table as well. Why is it doing that?

    Yes it is kind of limitation in obiee. But there are some solutions which might deviate from best practices.
    Sol 1. Snowflake the dimensions in Business Model. Rather than merging both of them into single logical table, separate them into two different logical tables.
    Sol 2. For the logical table , have two LTSs. First LTS will have both tables and all columns mapped to both tables. Second LTS will have only main table, Columns belong to that table only mapped. In this way when you selected columns related to first source system will use second LTS which has only only one table.
    - Madan Thota

  • SUS - Table joins for PO and Invoice

    Hello,
    I am trying to create a report in SUS and I'd like to join some tables.
    I'd like to be able to pull all the SUS PO's and SUS Invoices filtered by Vendor and Date.  Looking at BBP_PD all the data is already linked under "Header Links" but I'm not sure how to use those links in a query.
    CRMD_ORDERADM_H seems to contain most of the PO and Invoice data I need but how can I connect a PO with the correct invoice? 
    Thanks,
    Matt

    Solution: 
    Use the following function modules to look up this data.
    BBP_PD_SUSPO_GETLIST
    BBP_PD_SUSPO_GETDETAIL
    This returns a lot of data so you can pick and choose what you need.
    Thanks,
    Matt

  • Table Join brings in multiple records

    Hi guys,
    I have created a table join for 2 HR master tables to get a view.
    When i output the view however it brings in multiple records for each employee.
    I have set PERNR as the Key field to join the tables but instead of giving me one instance of employee it picks it up 2 records....and in some cases many more, is their a fix for this?
    Thanks

    Hi,
    Try using a combined primary key;
    PERNR, BEGDA and ENDDA
    There are more primary keys to be combined but try with this 3.
    ~BiSu

  • How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?

    1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
    When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed  in the stat plan  ?
    2. Does rowsource statistics gives some kind of  understanding of Extended stats ?

    You can get Row Source Statistics only *after* the SQL has been executed.  An Explain Plan midway cannot give you row source statistics.
    To get row source statistics either set STATISTICS_LEVEL='ALL'  in the session that executes theSQL OR use the Hint "gather_plan_statistics"  in the SQL being executed.
    Then use dbms_xplan.display_cursor
    Hemant K Chitale

  • WHERE clause creating a join for two or more tables

    The CS3 Dreamweaver book says that the WHERE clause can
    create a join for two or more tables. The join was created, but the
    data is repeating. I have searched the web and this forum and have
    not found the answer.
    My Master page filters the recordset by Style No and when a
    customer clicks on a particular style, it sends him to the Detail
    page. All the records are showing from all tables on the detail
    page from the Dynamic List, except they are showing multiple times
    (ex. Size table has 4 sizes and Color table has 2 colors - my Size
    Drop Down list is showing 8 options and my Color Drop Down List is
    showing 8 options) I have a Master Page with a recordset pointing
    to a Detail Page using the same recordset.
    Master page works perfectly.
    Master Recordset SQL:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, coloroption.color,
    sizeoption.size
    FROM products, coloroption, sizeoption
    WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    products.styleno=coloroption.styleno
    GROUP BY products.styleno
    ORDER BY styleno ASC
    The Detail Recordset:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, sizeoption.size,
    coloroption.color
    FROM products, sizeoption, coloroption
    WHERE itemID=colname AND products.styleno=sizeoption.styleno
    AND products.styleno=coloroption.styleno
    I tried using the GROUP BY on the detail page, but then it
    only showed one size and color from the dynamic drop down list. I
    tried changing the field name "styleno" in the other tables to be
    unique, however, I was using the table identifer. I tried using the
    JOIN command instead of the WHERE clause and that didn't help
    either.
    On the detail page, the customer is supposed to click on the
    Size box and see sizes XSM - 6XL ONLY ONE TIME. and then be able to
    click on the Color option and see White, Black, Red ONE TIME.
    Is this possible?
    Thank you for giving your time to read this.!
    Evie

    Do you have a link we can look at to see what you are trying
    to do?
    Dave
    "EviePhillips" <[email protected]> wrote in
    message
    news:[email protected]...
    > The CS3 Dreamweaver book says that the WHERE clause can
    create a join for
    two
    > or more tables. The join was created, but the data is
    repeating. I have
    > searched the web and this forum and have not found the
    answer.
    >
    > My Master page filters the recordset by Style No and
    when a customer
    clicks on
    > a particular style, it sends him to the Detail page. All
    the records are
    > showing from all tables on the detail page from the
    Dynamic List, except
    they
    > are showing multiple times (ex. Size table has 4 sizes
    and Color table has
    2
    > colors - my Size Drop Down list is showing 8 options and
    my Color Drop
    Down
    > List is showing 8 options) I have a Master Page with a
    recordset pointing
    to a
    > Detail Page using the same recordset.
    >
    > Master page works perfectly.
    > Master Recordset SQL:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > coloroption.color, sizeoption.size
    > FROM products, coloroption, sizeoption
    > WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    > GROUP BY products.styleno
    > ORDER BY styleno ASC
    >
    > The Detail Recordset:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > sizeoption.size, coloroption.color
    > FROM products, sizeoption, coloroption
    > WHERE itemID=colname AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    >
    > I tried using the GROUP BY on the detail page, but then
    it only showed
    one
    > size and color from the dynamic drop down list. I tried
    changing the
    field
    > name "styleno" in the other tables to be unique,
    however, I was using the
    table
    > identifer. I tried using the JOIN command instead of the
    WHERE clause and
    that
    > didn't help either.
    >
    > On the detail page, the customer is supposed to click on
    the Size box and
    see
    > sizes XSM - 6XL ONLY ONE TIME. and then be able to click
    on the Color
    option
    > and see White, Black, Red ONE TIME.
    >
    > Is this possible?
    >
    > Thank you for giving your time to read this.!
    > Evie
    >
    >

  • Join 3 tables using FOR ALL ENTRIES

    Hi,
    I want to join 3 tables and show their result in a text file delimited by comma.
    ITs a download program.Can someone tell me how to how to join the three table using for all entires instead of inner join.please give step  by step illustration

    Hi,
    Please check below code which downloads records from 3 tables into excel file.
    if you want other file means you can specify other file type in the fm parameter
    REPORT zstemp_qty2_  LINE-SIZE 255 .
    DATA:it_vbak LIKE vbak OCCURS 0 WITH HEADER LINE.
    DATA:v_file1 LIKE rlgrap-filename.
    DATA:v_file2(80) TYPE c.
    DATA:it_vbap LIKE vbap OCCURS 0 WITH HEADER LINE.
    DATA:it_mara LIKE mara OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT * FROM vbak INTO TABLE it_vbak UP TO 100 ROWS.
      IF NOT it_vbak[] IS INITIAL.
        SELECT * FROM vbap INTO TABLE it_vbap
        FOR ALL ENTRIES IN it_vbak
        WHERE vbeln = it_vbak-vbeln.
      ENDIF.
      LOOP AT it_vbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  input  = it_vbap-matnr
             IMPORTING
                  output = it_vbap-matnr.
        MODIFY it_vbap TRANSPORTING matnr.CLEAR it_vbap.
      ENDLOOP.
      IF NOT it_vbap[] IS INITIAL.
        SELECT * FROM mara INTO TABLE it_mara
        FOR ALL ENTRIES IN it_vbap
        WHERE matnr = it_vbap-matnr.
      ENDIF.
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name        = sy-cprog
         dynpro_number       = sy-dynnr
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = v_file1          .
      v_file2 = v_file1.
      CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
         filename                      = v_file2
         filetype                      = 'WK1'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
         col_select                    = '1'
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
        TABLES
          data_tab                      = it_mara
      FIELDNAMES                    =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      OTHERS                        = 10
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT it_mara.
        WRITE:/ it_mara-matnr.
      ENDLOOP.
    Regds
    Sivaparvathi
    Please reward points if helpful.....

  • Joins for PO & RCV tables in R12

    Could you provide me joins for below tables
    rcv_shipment_headers rsh
    rcv_shipment_lines rsl
    rcv_transactions rct
    po_headers_all poh
    po_lines_all pol
    Thanks

    rsh.shipment_header_id = rsl.shipment_header_id
    AND rsl.po_header_id = rct.po_header_id
    AND rsl.po_line_id = rct.po_line_id
    AND rct.po_header_id = poh.po_header_id
    AND rct.po_line_id = pol.po_line_id
    AND poh.po_header_id = pol.po_header_id
    Thanks,
    PS.

  • How to use Inner Join for these 4 table's

    Hi Guys,
                  My Requirement is i have to get the data into the final Internal table whose structure is like this (BWKEY   type  MBEW-BWKEY,
            MATNR   type  MBEW-MATNR,
            MAKTX   type  MAKT-MAKTX,
            BWTTY   type  MBEW-BWTTY,
            BWTAR   type  MBEW-BWTAR,
            MEINS   type  MARA-MEINS,
            BKLAS   type  MBEW-BKLAS,
            VPRSV   type  MBEW-VPRSV,
            STPRS   type  MBEW-STPRS,
            PEINH   type  MBEW-PEINH,
            CRCY(3)    type  c,
            LBKUM   type  MBEW-LBKUM,
            SALK3   type  MBEW-SALK3,
            LAEPR   type  MBEW-LAEPR,
            J_3ADEFSI   type  MARC-J_3ADEFSI,
            J_4kDEFSC   type  MARC-J_4kDEFSC,
            SCLAS   type  MARA-/AFS/SCLAS,
            EKALR   type  MBEW-EKALR,
            HKMAT   type  MBEW-HKMAT,
            HRKFT   type  MBEW-HRKFT,
            KOSGR   type  MBEW-KOSGR,
            PRCTR   type  MARC-PRCTR,
            MMSTA   type  MARC-MMSTA,
            SOBSK   type  MARC-SOBSK,
            PPRDL   type  MBEW-PPRDL,
            LPLPR   type  MBEW-LPLPR,
            PPRDZ   type  MBEW-PPRDZ,
            ZPLPR   type  MBEW-ZPLPR)
                  from 4 table's MBEW , MARA MAKT and MARC.
         Can anybody provide the logci for this based on the below requirement
    "Go to table MBEW with material number, plant and valuation type; fetch the information laid out in output format. There are some fields which need to come from tables MARC, MARA and MAKT. The common criterion is material number across these tables.
    MBEW-MATNR = MARC-MATNR
    MBEW-MATNR = MARA-MATNR
    MBEW-MATNR = MAKT-MATNR
    Thanks,
    Gopi.

    Hello Gopi,
    I did not have system now and just written in notepad..
    types : begin of ty_mbew ,
    MATNR type MBEW-MATNR,
    BWTTY type MBEW-BWTTY,
    BWTAR type MBEW-BWTAR,
    MEINS type MARA-MEINS,
    BKLAS type MBEW-BKLAS,
    VPRSV type MBEW-VPRSV,
    STPRS type MBEW-STPRS,
    PEINH type MBEW-PEINH,
    CRCY(3) type c, " What is this field ,i did not include in join
    LBKUM type MBEW-LBKUM,
    SALK3 type MBEW-SALK3,
    LAEPR type MBEW-LAEPR,
    J_3ADEFSI type MARC-J_3ADEFSI,
    J_4kDEFSC type MARC-J_4kDEFSC,
    SCLAS type MARA-/AFS/SCLAS,
    EKALR type MBEW-EKALR,
    HKMAT type MBEW-HKMAT,
    HRKFT type MBEW-HRKFT,
    KOSGR type MBEW-KOSGR,
    PRCTR type MARC-PRCTR,
    MMSTA type MARC-MMSTA,
    SOBSK type MARC-SOBSK,
    PPRDL type MBEW-PPRDL,
    LPLPR type MBEW-LPLPR,
    PPRDZ type MBEW-PPRDZ,
    ZPLPR type MBEW-ZPLPR,
    end of ty_mbew.
    types : begin of ty_makt ,
    matnr type makt-maktx,
    MAKTX type MAKT-MAKTX,
    end of ty_makt.
    types : begin of ty_final ,
    MATNR type MBEW-MATNR,
    MAKTX type MAKT-MAKTX,
    BWTTY type MBEW-BWTTY,
    BWTAR type MBEW-BWTAR,
    MEINS type MARA-MEINS,
    BKLAS type MBEW-BKLAS,
    VPRSV type MBEW-VPRSV,
    STPRS type MBEW-STPRS,
    PEINH type MBEW-PEINH,
    CRCY(3) type c,
    LBKUM type MBEW-LBKUM,
    SALK3 type MBEW-SALK3,
    LAEPR type MBEW-LAEPR,
    J_3ADEFSI type MARC-J_3ADEFSI,
    J_4kDEFSC type MARC-J_4kDEFSC,
    SCLAS type MARA-/AFS/SCLAS,
    EKALR type MBEW-EKALR,
    HKMAT type MBEW-HKMAT,
    HRKFT type MBEW-HRKFT,
    KOSGR type MBEW-KOSGR,
    PRCTR type MARC-PRCTR,
    MMSTA type MARC-MMSTA,
    SOBSK type MARC-SOBSK,
    PPRDL type MBEW-PPRDL,
    LPLPR type MBEW-LPLPR,
    PPRDZ type MBEW-PPRDZ,
    ZPLPR type MBEW-ZPLPR,
    end of ty_final.
    Internal tables
    data :i_mbew type standard table of ty_mbew,
    i_makt type standard table of ty_makt,
    i_final type standard table of ty_final.
    Work Areas
    data : wa_mbew like line of i_mbew,
    wa_makt like line of i_makt,
    wa_final like line of i_final.
    start-of-selection.
    get the data from MBEW,MARA,MARC Table
    select aMATNR aBWTTY
           aBWTAR bMEINS
           aBKLAS aVPRSV
           aSTPRS aPEINH
    *CRCY(3) type c,
    aLBKUM aSALK3 a~LAEPR
    c~J_3ADEFSI type MARC-J_3ADEFSI,
    c~J_4kDEFSC type MARC-J_4kDEFSC,
    b~SCLAS type MARA-/AFS/SCLAS,
    aEKALR aHKMAT
    aHRKFT aKOSGR
    cPRCTR cMMSTA
    cSOBSK aPPRDL
    aLPLPR aPPRDZ
    a~ZPLPR into corresponding fields of table i_mbew
            from mbew as a inner join mara as b on bmatnr = amatnr
            inner join marc as c on cmatnr = amatnr.
    if sy-subrc eq 0.
    select matnr maktx from makt into table i_makt
                 for all entries in i_mbew
                 where matnr = i_mbew-matnr
                 and   spras = sy-langu.
    endif.
    loop at i_mbew into wa_mbew.
    read the data from MAKT Table
    read table i_makt into wa_makt with key matnr = wa_mbew-matnr.
    if sy-subrc eq 0.
    move-corresponding wa_mbew to wa_final.
    move wa_makt-maktx to wa_final-maktx.
    append wa_final to i_final.
    endif.
    endloop.
    Thanks
    Seshu

  • How to insert a record for tables joined

    Hi,
    first of all I've been learning Forms for few days.
    I've created a simple form where I report the columns from two tables joining them.
    Once I've entered a new list of values in the fields of the form, how can I insert them in the two tables? What I've done, but it doesn't work, is to set "Insert Procedure Name" of the data block = to my procedure compiled in "Program Units" hoping that once pushed the "Execute Query" button in the running form worked, but it didn't work.
    Any advice for the better way to how execute an insert in one or more tables with the content of the fields of the form?
    My versions are: database 10gXE and forms 10.1.2.0.2
    Thanks in advance!

    Hi,
    Create two data blocks using create data block wizard and join it with a relation. Display the fields you want and form will automatically save your updates in the both tables.
    When there is a join you can not update all the fields.
    Regards
    Yoonas
    Edited by: yoonus on Oct 3, 2012 1:04 AM

  • Joins for INV tables  R12

    Hi,
    Could you provide joins for below tables:
    mtl_system_items_b
    mtl_kanban_cards
    mtl_onhand_quantities_detail
    MTL_SECONDARY_INVENTORIES
    MTL_ITEM_CATEGORIES
    MTL_CATEGORY_SETS_TL
    MTL_CATEGORIES_B
    Thanks

    Yes it is kind of limitation in obiee. But there are some solutions which might deviate from best practices.
    Sol 1. Snowflake the dimensions in Business Model. Rather than merging both of them into single logical table, separate them into two different logical tables.
    Sol 2. For the logical table , have two LTSs. First LTS will have both tables and all columns mapped to both tables. Second LTS will have only main table, Columns belong to that table only mapped. In this way when you selected columns related to first source system will use second LTS which has only only one table.
    - Madan Thota

  • Joins for CRM - Service tables

    Hi,
    Could you let me know joins for below tables.
    CS_INCIDENT_TYPES_TL  Name (SR Name)
    MTL_SYSTEM_ITEMS_B
    cs_incidents_audit_b
    csi_item_instances
    csi_iea_values
    csi_iea_values_h
    Q_ESTIMATE_DETAILS_V
    JTF_TASK_AUDITS_B
    jtf_task_assignments_audit_b
    csi_item_instances_h
    cs_incident_statuses_vl
    QA_RESULTS
    QA_RESULTS_V
    Thanks
    Praveen

    Could you let me know joins for above tables.

  • Joins for Quality Tables

    Hi,
    Could you give me joins for below tables, r12.
    qa_results
    qa_results_v
    cs_incidents_audit_b
    Thanks.

    You can get from etrm, refer this link: http://etrm.oracle.com/pls/et1211d9/etrm_fndnav.show_object?n_tabid=55117&n_appid=250&c_type=TABLE http://etrm.oracle.com/pls/et1211d9/etrm_search.search thanks

  • Table necessary for join - no columns wanted

    I have three tables, A,B and C.
    A joins to B and B joins to C.
    I want to see information from A and C but not B.
    Discoverer workbooks will not let me select just table A and C, I must select table B for the join condition to work.
    How can I "hide" the columns from table B? Or do I need to make a "view" in the Admin user of tables A and B or B and C to do this?
    null

    Adrienne,
    You have a few options here, none of which you are attempting.
    1. Create a view on the database and import it as a folder.
    2. Create a custom folder with sql that is passed from discoverer to the database.
    3. create a folder move the items in from the three tables and then make the items for the second folder invisible.
    CHW

Maybe you are looking for