Relation b/w MTL_MATERIAL_TRANSACTIONS_TEMP  and  MTL_KANBAN_CARDS in r12

Hi,
One MTL_MATERIAL_TRANSACTIONS_TEMP Line belongs to only one kanban_card_number line in MTL_KANBAN_CARDS.
So, say if MTL_KANBAN_CARDS has kanban_card_number = 12345 , I'm trying to find this related record in the MTL_MATERIAL_TRANSACTIONS_TEMP table.
not sure which condition i need to use.
Could you suggest.
Thanks.

Hi Hrishikesh,
I tried using below query, but i don't get any data. Not sure whether it is data issue.
select *
from mtl_kanban_cards kan,
mtl_txn_request_lines txn,
mtl_material_transactions_temp temp
where kan.kanban_card_id = txn.txn_source_id --txn.txn_source_line_id (even tried with this)
and temp.move_order_line_id = txn.line_id;
for this query, i get only 2 records.
select *
from mtl_kanban_cards kan,
mtl_txn_request_lines txn
where kan.kanban_card_id = txn.txn_source_id; --txn_source_line_id
thanks
pravin

Similar Messages

  • Link between XLA_AE_LINES and AP_INVOICES_ALL in R12

    Good day,
    Table AP_AE_LINES_ALL was replaced with XLA_AE_LINES in R12. There used to be a direct link in R11 between AP_AE_LINES_ALL and AP_INVOICES_ALL. Does anybody know what the link is between XLA_AE_LINES and AP_INVOICES_ALL in R12?
    Thanks for your help.

    Post it in Oracle Application related forum.

  • Relation b/w PRPS and RPSCO tables

    Hi  PS Experts,
    What is the Relation b/w PRPS and RPSCO tables
    PRPS : WBS (Work Breakdown Structure) Element Master Data
    RPSCO : Project info database: Costs, revenues, finances
    Thanks in Advance,
    Regards,
    sudharsan.

    Hello Sasikanth Thank u for ur information,
      and i need some more information, am working on abap, now i got a requirement in PS,
    i want 2 calculate the values like Planned Revenue, Planned Cost, Actuall Rev, Actuall Cost, Actuall Billing, Revenue Taken, Cost Taken, BNS and SNB.
    based on i/p parameters:  Company Code, Fiscal year and month.
    pls let me know how to calculate the above values, its very urgent for me.
    Thanks in advance,
    sudharsan.

  • Transfer data from one database to another without identities but keep the relation b/w PK and Foreign key

    Hi,
    I need to transfer data from one database to another database (both are identical databases). 
    1. Not transferring identity columns (primary keys). the destination table might have the same key.
    2. keep the PK's and FK's relation b/w parent and child table
    3. I have 4 levels 
    Example: tableA (col1 int identity(1,1) , col2, col3)
    tableB (col1 int identity(1,1) ,
    col2 , col3) -- col2 has the foreign key relation with tableA.col1
    tableC (col1 int identity(1,1) ,
    col2, col3) -- col2  has the foreign key relation with tableB.col1
    tableD (col1 int identity(1,1) , col2, col3) -- col2  has the foreign key relation with tableC.col1
    please advise me.
    Thanks in advance

    Try the below:
    /********************************SAMPLE TARGET***************************************************************/
    Use MSDNSamples
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'R1'
    Insert into TableA(name) Select 'R2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Childname1',1
    /********************************SAMPLE TARGET***************************************************************/
    /********************************SAMPLE SOURCE***************************************************************/
    Use Sample
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'C1'
    Insert into TableA(name) Select 'C2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Kidname1',1
    /********************************SAMPLE SOURCE***************************************************************/
    USe MSDNSamples
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    --Migration table
    Create table Mg_TableA(LevelValueId int, NewValueId int)
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    MERGE INTO TableA
    USING sample.dbo.TableA AS tv
    ON 1 = 0
    WHEN NOT MATCHED THEN
    INSERT(name) Values(tv.name)
    Output tv.levelValueId ,inserted.LevelValueid INTO
    Mg_TableA;
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    Insert into TableB (name,LevelValueID)
    Select A.name,B.NewValueId From sample.dbo.TableB A
    Inner join Mg_TableA B on A.LevelValueID = B.LevelValueId
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    /********************************TEST THE VALUES***************************************************************/
    Select * From TableA
    Select * From Mg_TableA
    Select * From TableB
    /********************************TEST THE VALUES***************************************************************/
    Drop table TableB,Tablea,Mg_TableA
    Use Sample
    Drop Table TableB,Tablea

  • Where can I find the relation between company code and plant?

    where can I find the relation between company code and plant?
    I need to the list of plants under a company code.
    Which table?

    yes,wayne weng   .What you said is right.
    Thank you very much!
    My MSN:[email protected]

  • Relation b/w vendor and company code

    hi,
        i m working on vendor details report, where i wanna select vendor on the comany code parameter.
    but i m not getting any relation b/w bukrs n lifnr so plz help me if u no anything regarding this.
    this is very urgent.
    thanks in advance
    marks will be sure.
    regards
    vijay

    Hi Vijay,
    LFB1 is vendor master data (company code)
    this gives the 1 to 1 relation between a vendor and a company code..
    to select the vendor based on company code
    SELECT lifnr
    FROM knb1
    INTO TABLE t_lifnr
    WHERE bukrs EQ 'comp code value'
    Thanks and Best Regards,
    Vikas Bittera.
    **Reward if useful**

  • Relation between GL Account and Invoice?

    Hi Experts,
    I am working with the FI reports for the first time and I do not have any idea on FI functional flow. I have some basic questions like
    What is the Relation between GL Account and Invoice?
    When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?
    For example if I want to calculate " no of vendor invoices without PO how can I do that"? How can I know what are vendor invoices created against a PO or without PO?
    Thanks for any help in advance and I am bound to reward points.
    Sri

    <b>What is the Relation between GL Account and Invoice?</b>
    SAP's Glossary for GL Account is
    "A structure that records value movements in a company code and represents the G/L account items in a chart of accounts.
    A G/L account has transaction figures that record changes to the account during a posting period. These figures are totals that are used for G/L reporting."
    In accountancy, an account is a label used for recording and reporting a quantity of almost anything. For example when a company pays salary to its staff, They debit Salary account. This is to identify what is the nature of an expense.
    An invoice is a message to the buyer of goods or services that contains, among other things, Name of the goods or services, Quantity sent, & Remuneration due.
    Invoice is also a SD document used to charge a customer for a delivery of goods or for services rendered.
    <b>When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?</b>
    If it were a vendor invoice. (i.e you purchase items or service and recieve invoice)
    Invoice get posted to the tables once someone makes a Logistics Invoice verification through t-code MIRO etc. The teble RBKP gets the first posting.
    If it were your own invoice to your customers, then VBAK and VBAP get the posting.  The connectivity of tables are available in http://www.erpgenie.com/abap/tables.htm As far as SAP is concerned an invoice is a document, so you can only trace invoice as a document number, field name is usually BELNR. Even if a vendor invoice arrive, an internal invoice number is generated where the vendor invoice is entered only as a reference field. This is because, each vendor can have inovices of different size and pattern.
    <b>How can I know what are vendor invoices created against a PO or without PO?</b>
    For a purchase order you can find in table EKBE for BEWTP = Q any invoice document.

  • Relation between MSEG table and movement types in 2lis_03_bf

    Hi all,
    May i know the relation between MSEG table and 2lis_03 _bf xtractor stock type/stockcategory where we see the informarion in r/3 side for this, you answers gets rewarded.
    regards,
    Dan.

    Hi,
    Most of the data for IM comes from the tables MSEG andd MKPF. You can go to MSEG contents and see the data there. You will find all the movement types, stock types and stock categories there. You can also use the transactions MB5B, MB51 etc.. to see the related info in R/3. As I said most of the data comes from these tables but not all the data. It uses some internal programming to get the data.
    Hope it helps...

  • Relation between different GUID and tables in RPM

    Hi All,
    can you tell me the relation between different GUID and tables in RPM. Many thanks.
    Regards,
    J B

    Hi Deepesh,
    Try the foll. join :
        SELECT  fragment_guid  INTO  (some internal Table)
             FROM  comm_pr_frg_rod
             WHERE  product_guid  = (your product guid list)
    This should give u a complete match of the products.
    Hope this helps.
    Regards,
    Raviraj

  • Is there any table for relation between batch number and valuation type ?

    hi,
    I would like to know where i can find relation between batch number and valuation type ?
    thank you and Best regards
    Fernand

    Hello
    MCHA

  • Relation B/W tax and pricing condition types

    HI friends
    I want to know relation b/w tax and pricing condition types.
    Here, i think we are giving relation in pricing procedure, how we are giving that relation, what is that mean.
    How sys will carry the values from tax condition types to pricing condition types.
    plz give me the details early.
    with regards
    lakky

    Hi...
    Actually in priciing procedure it is only sequential arrnagment of COnt type could be price, dicount or tax ... so that system calculates as process given by client.
    now when u see tax condition types .. they are also created in FI and also in Sd with same controls and linked via the account key...
    Account key MWS, MW3 are created in Fi and only used in Sd but azccount keys like ERL, ERF, ERS are created in Sd and used for account det in VKOA ...
    also MWS, MW3 used in VkOA but are used in TAx procedure also and are assigned G/L in Tax code ...
    now when u c the pricicng in a Sd doc .. sales order then all totals calculated and net price given and below that a Tax total given ... how system calculates tax totals is that in the tax conditio type in condition category .. we give Taxes as D so that all cond types with this cond catefory gets added and totalled to this tax total figure ..
    Reward if helpful
    Krishna

  • Relation b/w likp and ekko

    hi
      can i have the relation b/w likp and ekko(direct / indirect)
      with thanks
       mahi.

    Hi,
    You can link your sales order number with PO from table EKKN.
    1.First get sales order number for delivery from VBFA.
    2.You can get the Purchase order number for sales order from table EKKN.
    Regarsd

  • Relation between Sales org and Shipping Point

    Hai all,
           Can any one tell me wt is the relation between Sales Org and Shipping point?
    Ravi
    < PLEASE DONT USE SMS LANGUAGE AND PLEASE SEARCH THE FORUMS.  >

    Hi Ravi,
    There is no direct relation.
    Sales organisation in broader level, it is responsible for selling a product in a company.
    It is liable to the customer interms of service of the product or service and confirmation of the sale order, delivery and invoicing.
    Shipping Point is a logical point from where the shipment / dispatch begins.
    Both Sales organisation & Shipping point wil be linked to plant (one or more).
    In case of sale order, sales org will decide the delivering plant.
    Shipping point will be picked based on delivery plant, sh.conditions (cmr) & loading grp (mmr).
    hope this is clear to you now!

  • Relation between sales organization and company

    HI,
    What is the relation between sales organization and company
    codes?
    ANY BODY SUGGEST THIS MATTER.

    hI,
    Kindly search in this forum before posting
    Re: Can you assign one sales organization to multiple company codes?
    see the above link
    Thanking you,

  • Info related to SD datasources and infocubes

    Hi,
    Could anyone send me some information on the data sources, infocubes, the possible enhancements etc. related to Sales Overview and Offers/Orders of the LO extraction? My mail id is [email protected]
    Thanks.
    Regards,
    Jon.

    Hi ,
    <b>SD Cubes</b>
    0SD_C01  Customer
    0SD_C02  Shipping Point
    0SD_C03  Sales Document Header Data
    0SD_C03  Sales Document Item Data
    0SD_C05  Delivery Item Data
    <b>SD Data Sources</b>
    2LIS_01_S001        Customer
    2LIS_01_S005       Shipping Point
    2LIS_11_VAHDR  Sales Document Header Data
    2LIS_11_VAITM     Sales Document Item Data
    2LIS_11_VAKON   Sales Document Condition
    2LIS_12_VCITM     Delivery Item Data
    2LIS_13_VDKON   Billing Document Condition
    2LIS_13_VDITM     Billing Document Item Data
    <b>Sales Over view Related DS</b> InfoSources
    2LIS_01_S260: SD - Sales order
    2LIS_01_S261: SD – Delivery
    2LIS_01_S262: SD - Billing document
    2LIS_01_S263: SD - Sales order / delivery
    <b>Offers / Ordres Related DS</b>
    2LIS_01_S264 SD - Quotation
    2LIS_01_S260 SD - Sales order
    2LIS_12_VCSCL - Schedule Line Delivery
    2LIS_12_VCITM - Delivery Item Data
    Message was edited by:
            Renjith Kumar
    Message was edited by:
            Renjith Kumar

Maybe you are looking for

  • Can not add songs to ipod--says not space when there should be

    I have deleted many, many songs from my ipod but when I try to add just one song, I get the message that there is not enough space for the file. Also, the space available is not going down when I delete songs. Help!! Do I need to delete everything an

  • CX_CRM_UNSUPPORTED_OBJECT - Object MemberBasicSearch is not (yet) supporte

    Hello Experts, We have configured the Loyalty Management in our system. We are able to create Loyalty Programs successfully through Loyalty Professional role in Web UI. However, on trying to create a memebership object or Member activity, we are gett

  • Help i can't run reason 5 on lion!

    I just got a new mac book pro with lion and I went to install propellorhead's reason 5.0 and it installed fine....howevery,  every time i try to open it i get a "failed to open midi support library" message. This is extremely frustrating and I can't

  • Impersonalized form document rights are no longer valid after db lookup

    Hi, I have an impersonalized form which does some client side database lookup. The idea is that I can fill the data off-line, save it and submit it when online. Everything is working fine if I am entering all the data manually. I am able to use the s

  • How to Maintaining Cost component under cost component structure?

    Hi Gurus, How to Maintaining Cost component under cost component structure? I am using OKTZ trx for cost element and cost component maintaiance but when i am trying to maintain the cost element and corresponding cost comp , i am not able to find a co