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.

Similar Messages

  • Join for dataview and tables.

    Hi,
    can i write join for dataview and tables.
    Regards,
    Suresh.

    hi,
    YEs u can create for data view and tables.
    You can create database views in the ABAP Dictionary. Views (aggregate objects) are application specific and allow you to work with multiple database tables.
    Regards,
    Rahul

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

  • How to get Manual Receipt Data using PO & RCV tables in R12

    Hi,
    I'm building a query using PO & RCV tables, I need to select all the Manual Receipts (not the receipts generated automatically using the ASN & RCV files).
    What condition should I use in the where clause for capturing only Manual Receipts?
    Thanks.

    Hi,
    All the manual receipts will have NULL value in the INTERFACE_SOURCE_LINES_ID column in the RCV_TRANSACTIONS table for the TRANSACTION_TYPE="RECEIVE".
    Thanks,
    PS.

  • Please help to provide a join for the three tables and output as per list

    to produce a report to list out all condition records for output and pricing.
    <u><b>usage  app  procedure step  counter  cod type  description  access seq </b> </u>
    <u><b>accseqnum  cond table   sales org  doctype  customer  channel  sale doc type</b></u>
    the above list of fields from tables t683s ,t685,and t682i to be pulled, i need an inner join
    regards
    ksrao

    Hi,
    check the site www.alvrobot.com.ar
    you can create a report over there using inner join just by providing simple information
    follow step by step procedure and create a report
    <u><b>Reward points if usefull.</b></u>

  • Joins for OKS (Billing) tables

    Hi,
    A couple of questions:
    1) Can anyone let me know how the following tables can be joined correctly with OKC_K_LINES_B? If there is more than one way, please let me know that too:
    OKS_BILL_CONT_LINES
    OKS_BILL_SUB_LINES
    OKS_BILL_SUB_LINE_DTLS
    OKS_BILL_TRANSACTIONS
    OKS_BILL_TXN_LINES
    2) From contracts form, when I choose Tools -> Invoice Details, I'm able to see the invoice #. But when I go to Lines - Pricing/Products tab and click on Billing button....I see no invoice information at Stream Level. (The Service Contracts Fetch Receivables Info for Billing concurrent request has already been run). This is happening with a warranty contract created thru OM. My assumption was that once the Service Contracts Fetch Receivables Info for Billing conc. request is run, I would be able to see the invoice #. FYI, the History tab also does not show any invoice related details.
    Help is greatly appreciated.
    Thanks,
    Alka.

    Please look at the following query to get an idea about the joins:
    SELECT BCL.id,BCL.cle_id,BCL.btn_id,BCL.bill_action,OKL.id line_id,OKH.id header_id
    FROM OKS_BILL_CONT_LINES BCL,
    OKC_K_LINES_B OKL,
    OKC_K_HEADERS_B OKH,
    OKS_BILL_TRANSACTIONS BTN,
    OKS_BILL_TXN_LINES BTL
    WHERE OKH.contract_number = p_contract_number
    And nvl(OKH.contract_number_modifier,'-') = nvl(p_contract_no_modifier,'-')
    And BCL.bill_action = 'TR'
    And OKH.ID = OKL.DNZ_CHR_ID
    And OKL.CLE_ID IS NULL
    And OKL.ID = BCL.CLE_ID
    And BTN.ID = BCL.BTN_ID
    And BTN.TRX_NUMBER = -99
    And BTL.BTN_ID = BTN.ID
    And BTL.BILL_INSTANCE_NUMBER IS NOT NULL
    And NOT EXISTS
    (SELECT 'x' FROM RA_INTERFACE_LINES_ALL
    WHERE SALES_ORDER = OKH.CONTRACT_NUMBER
    AND INTERFACE_LINE_ATTRIBUTE2 = NVL(OKH.contract_number_modifier,'-')
    AND interface_line_attribute3 = BTL.bill_instance_number
    And NOT EXISTS
    (select 'x' from ra_customer_trx_lines_all
    where interface_line_attribute1 = OKH.CONTRACT_NUMBER
    and INTERFACE_LINE_ATTRIBUTE2 = NVL(OKH.contract_number_modifier,'-')
    AND interface_line_attribute3 = BTL.bill_instance_number
    );

  • 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

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

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

  • 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

  • Handling Outer Join for hard coded values in the Logical Table Source

    Has anyone tried to apply an outer join in the Logical Table Source Content Tab?
    I have to add this APPLSYS.FND_LOOKUP_VALUES.LANGUAGE (+)= 'US' but the outer join is not allowed. I get this message.... [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] .
    Could you tell me please how this should be handled? I have a lot of this cases in my project and without this being set-up affects the expected output of my report.
    Thank you in advance.

    hi Ap,
    Pull only Dim_W_LOV_D_Acty_Src column into answers and check whether u r able to see CUST_SRC_ACT or not .Of course, you need to check sql query too
    Thanks,
    Saichand.v

  • Replacement for    "AP_CHECK_FORMATS"  table in R12

    Hi all,
    what is the replacement for ap_check_formats in Oracle apps R12.
    Is ap_selected_invoice_checks obsoleted in R12? If yes ,what is the replacement for ap_selected_invoice_checks.
    Please suggest.

    Hi,
    You need to have metalink (my oracle support) credentials and a valid CSI to access this.
    Metalink can be accessed from here.
    https://support.oracle.com
    Thanks

  • Logical level for logical fact table sources

    it is clear that for fact aggregates, we should use the Content tab of the Logical Table Source dialog to assign the correct logical level to each dimension.
    question is : is it mandatory to assign even for non-aggregates fact tables the logical level for each dimension (which normally should be set to the most detailed level of each dimension) ? is it any known issue if "logical levels"in content tab are not set ?
    the reason I'm asking this is a strange bug I have (I'm not going to discuss it here) and then only workaround seems to be NOT setting the logical levels (on content tab) for logical fact table sources.
    thank you !

    If levels are not set: By default levels are considered as lowest level
    It should not matter if you set or not
    Generally we set for facts explicitly when we are using Aggregate tables.
    Your current issue might be a case by case; I would suggest to check implicit fact, any table mapped to the source to force a join etc
    Mark if helps
    Let me know how it helps
    Edited by: Srini VEERAVALLI on Feb 5, 2013 8:33 AM
    Any updates on this?+_
    Edited by: Srini VEERAVALLI on Feb 14, 2013 9:09 AM

  • Open Interface for OM to Contracts in R12

    Hi,
    I am facing an issue regarding with OM to Contracts interface, in R12 Warranty contracts are created with standard coverage and having no line for coverage in table OKC_K_LINES_B. Can anyone let me know how we can insert the actaul coverage line into table OKC_K_LINES_B.
    Thanks,,,
    Parminder S.

    As far as I know there is no interface for it.
    Check if you can use EGO_ITEM_AML_PUB.Implement_AML_Changes.
    If that does not work, you can do a straight insert into the MTL_MFG_PART_NUMBERS
    The main columns are manufacturer_id , organization_id, inventory_item_id , and mfg_part_num.
    Oracle validates only the first 3. And it does not allow duplicates of the first 4 columns.
    Hope this helps,
    Sandeep Gandhi

Maybe you are looking for

  • Error During MIRO - Enter a G/L account

    Hi, While we are doing MIRO against a Service PO, system showing an error message - Enter a G/L account. In PO, We have given the Condition for ZOT1 - Other Charges (QTY.), where this error is showing at the time of MIRO. What should be the error?? R

  • Cannot RUN Illustrator CC in windows 8 (x64)

    I have install adobe illustrator before in my windows 8 (x64) it run well and no problem at all due to some reasons i uninstall all adobe softwares last 2 days and install back the illustrator too but currently it cannot run in my windows after the i

  • Some Cameras Not Showing Up In Multi-Cam Master Sequence

    I'm editing a music video with about 40 cam angles. They are all synched. They were all shot on the same three cameras and ingested together in preluder and converted to ProRes 422 (HQ) MOV files. They all show up in the sub-timeline and are turned o

  • Nokia e63 save email attachment as text file

    When I receive email with text document attached and select save, it is always saved in office notes. While this is probably  a reasonable thing to do, the problem is that I cannot find the saved file using file manager. So this text document becomes

  • What does the inside of the HP Pavilion 500-125a look like?

    Hello I'm thinking of  upgrading my HP Pavilion 500-125a (graphics card) and I was wondering if someone could maybe send a picture of what the inside of the computer looks like. (Taking off the side panel) Thanks Specs: Intel core i7 4770