Relation between SD contract n euipment no.

how to relate a SD contract and equipment number...is there any table for the same??

Hi,
Refer to this link VA41 - Contract Data ( Equipment No )

Similar Messages

  • Relationship Between BP, Contract, Contract Account and industry

    Hi,
      Anybody can send  the relatonship diagram between BP,Contract, Contract Account, and Industry , with Relation ship fields,
    Regards,
    Sivakumar.

    Can u send me your mail id, So that i can mail u.
    These relation is your business specific.....
    If u want i can send you.......
    Regards,
    Shiv

  • Relation b/n Contract, SA, RFQ, Purchase Order and Purchase Requisition

    Hi All,
    Could you please explain relation between
    Contract
    Schedule Agreement
    RFQ
    Purchase Requesition
    Purchase Order
    Regards
    Swamy

    You may get better responses in MM forum than in FI.
    <b>Purchase Requisition and Purchase Order</b>
    Purchase Requisition is created by any users who ever want any item for whatever purpose. This is routed to appropriate authority within the organization. When approved, the same can be converted to a Purchase order

  • Relation between Ibots,Delivers and BI Publisher

    Hi,
    I would like to know the relation between Ibots,Delivers and BI Publisher.
    Any one help Please.
    Thanks,
    Lakshmipathi.

    Tim,
    Please in Contracts forums look for "Need to change OKCTERMSDS Data Source "
    The third reply says
    "The XML for the documents are generated by the product code using BC4J XML generation. No concurrent program is involved in it.
    As regards to including additional fields from Sourcing documents into the XML generated, you can use the BC4J extension fwk to extend the ViewObject that generates XML and modify the query to include any additional fields as needed.
    All the above assumes knowledge of Oracle Application Framework and the customization fwk. There is a Metalink Note (dont know the exact id) which explains how to extend BC4J objects and deploy them.
    Thanks.
    Juanje

  • Relation between a Purchase Organisation and Reference PORg

    Hi ,
    1) Can any one explain me what is the relation between a Purchase Organisation and Reference Purchase Organistion.
    2) I have removed the assignment of Purchase organisation 1000 to the Reference POrg 6666 . I want to do the testing in development server after making the above configuation change. Can any one let me know how to do the testing to see that this configuration change is taken place?.
    Thanks in advance.

    hi
    Ref. Pur Organisation is used when there is no centralized pur. organisation. You have to define 1 pur. organsation as refernce pur. organisation and link other pur orgnisations to this ref. pur. orgaisation. When you create a contract using this pur. organisation and this contract can be used by other pur orgasations which are linked to this ref. pur oganisation.
    Ref. Pur Organisation is basically used for better negotiation.
    Eg- You are having 2 plants (A & B) of 2 different company code(A & B).
    1. Pur org A is assigned to company code A & plant A
    2. Pur Orga B is assigned to company code B & plant B.
    3. Ref pur organisation C is created and linked to Pur organisation A and B.
    Scenario -
    Vendor A can supply Material A 1000 qty at Rs. 100 whereas more than 1000 qty at Rs. 90.
    But your requirement for Plant A is Rs. 800 and Plant B is Rs.700
    If you create a contract on plant basis to the Vendor A then you have to pay Rs. 100.
    But if you create a contract with ref pur organisation C for total requirement of Rs.1500 without plant basis then rate will be only Rs.90.
    Then this contract can referred by both the plant and can be converted to P.O at Rs.90.

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

  • DBAdapter Creating Relations between tables not having PF-FK relationship

    I am writing a process which has to pull data from three tables.
    SELLER_HEADER (inv_Num is Primary Key)
    SELLER_LINE_ITEMS ( no PK but has inv_num and line_number which together are unique)
    BUYER_LINE_ITEMS (no PK but has cust_num, cust_PO_num and line_num that are unique)
    I want to create a DB Adapter which would take in an invoice number, customerNumber and customerPONumber
    and fetch me data whose XSD is roughly in this structure
    One Node of Type Header
    ---- Column 1 of the Header Table
    ---- Column 2 of the Header Table
    ---- Column 3 of the Header Table
    ... and so on
    Multiple Nodes of
    ---- Column 1 of the Seller Table
    ---- Column 2 of the Seller Table
    ---- Column 3 of the Seller Table
    and
    ---- Column 1 of the Buyer Table
    ---- Column 2 of the Buyer Table
    ---- Column 3 of the Buyer Table
    I tried some combinations and found that if you have a 1:M mapping for Header - Seller Line Item
    and a 1:1 mapping between Seller Line Item and Buyer Line Item then i get the desired XSD
    So, I created a 1:M relation between header and Seller lineItems. However i cannot create a one to one mapping between Seller Line Items and Buyer line items. Nor can i create a 1 :M mapping between Seller Header and Buyer Line Items. That is why the generated XSD shows
    <SomeCollectionName>
    <SellerHeader>
    <BuyerLineItems>
    <SellerLineItems>
    </SomeCollectionName>
    Any pointers for this? How do i make a relation based on the input values to the DBAdapter

    Does the CORE_BUSINESS schema have REFERENCES and SELECT privileges on the table you are trying to reference with the foreign key constraint?

  • Is there a relation between the Engineering Change Management and MM

    Hi SAP MM Gurus,
    Is there a relation between Engineering Change Management and Materials Management? I know we get the versions changes updated in Material Master. But do not know where is the origin for ECM. Step by step configuration is appreciable.
    Thanking in Advance.
    with regards
    Ravi Babu

    Hi ,
    I have created an application and have created end users also who will be using this application. For each of these users i have to give access to application in such a way that they will be able to see only their area a work. So how do i do this ..this needs to done based on the login user_name..my question now is how or from where will i get the current session details like user_name, current session id ,current session date and time?
    Thanks in advance,
    Bhargavi

  • How to make relation between  gl_je_lines  and wip_transaction_accounts

    I try to write script to make relation between GL and WIP, wip_transaction_accounts and mtl_material_transactions
    1.
    SELECT
    (SELECT meaning
    FROM mfg_lookups
    WHERE lookup_type = 'WIP_TRANSACTION_TYPE'
    AND lookup_code =
    (SELECT TRANSACTION_TYPE
    FROM wip_transactions
    WHERE transaction_id = wta.transaction_id
    ) "Transaction Type" ,
    gjb.NAME "Journal Batch Name" ,
    gjh.NAME "Journal Name" ,
    gjh.je_source "JE Source" ,
    gjh.je_category "JE Category" ,
    glp.period_num "GL Month" ,
    glp.period_year "GL Year" ,
    gjh.default_effective_date "GL Date" ,
    NVL(gje.accounted_dr,0) -NVL( gje.accounted_cr,0) "GL Line Amount" ,
    gje.description "GL Line Description" ,
    (SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = wta.organization_id
    ) "ORG Name" ,
    NULL "Vendor/Customer Name" ,
    NULL "SO/PO Number" ,
    NULL "Reference Number" ,
    NULL "AP/AR Invoice Number" ,
    NULL "Doc Sequence Value" ,
    NULL "Invoice Type Lookup Code" ,
    NULL "Check Number" ,
    NULL "Line Type" ,
    NULL "Category" ,
    NVL (wta.base_transaction_value, 0) "Transaction Amt" ,
    NULL "AR/PO Receipt Number" ,
    NULL "Applied Invoice Number" ,
    (SELECT a.segment1
    FROM mtl_system_items_b a ,
    wip_discrete_jobs b
    WHERE a.inventory_item_id = b.primary_item_id
    AND a.organization_id = b.organization_id
    AND b.wip_entity_id = wta.wip_entity_id
    AND b.organization_id = wta.organization_id
    ) "Item Name" ,
    gcc.segment1 "Company" ,
    gcc.segment2 "Department" ,
    gcc.segment3 "Account" ,
    (SELECT description
    FROM fnd_flex_values_vl fnd
    WHERE flex_value_set_id = 1009707
    AND TO_CHAR (fnd.flex_value) = gcc.segment3
    ) "Account Description" ,
    gcc.segment4 "Intercompany" ,
    NULL "JE Category Description" ,
    NULL "AP Invoice Line Description"
    TRUNC (wta.transaction_date) "JE Creation/Inv Trans Date" ,
    NULL "JE Created By" ,
    NULL "Reversal Flag" ,
    NULL "Reason Code" ,
    NULL "Subinventory Name" ,
    wta.primary_quantity "Quantity" ,
    NVL (wta.base_transaction_value, 0) "Value" ,
    gje.context ,
    gje.attribute1 ,
    gje.attribute2 ,
    gje.attribute3 ,
    gje.attribute4 ,
    gje.attribute5 ,
    DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status"
    FROM gl_je_lines gje ,
    gl_je_headers gjh ,
    gl_je_batches gjb ,
    wip_transaction_accounts wta ,
    gl_code_combinations gcc ,
    gl_periods glp
    WHERE 1 =1
    AND gje.je_header_id = gjh.je_header_id
    AND gjh.je_batch_id = gjb.je_batch_id
    AND UPPER (gjh.je_source) = 'INVENTORY'
    AND gcc.code_combination_id = gje.code_combination_id
    AND wta.reference_account = gje.code_combination_id
    AND TRUNC(wta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
    AND gje.reference_1 = wta.gl_batch_id
    AND gje.gl_sl_link_table = 'WTA'
    AND glp.period_name = gjh.period_name
    AND glp.period_set_name = 'OVT_US_CAL'
    ==
    2.
    SELECT mtt.transaction_type_name "Transaction Type" ,to_char(mmt.transaction_date,'mm/dd/yyyy hh:mi:ss') as teas, mta.transaction_id,mta.organization_id, mmt.organization_id,
    gjb.NAME "Journal Batch Name" ,
    gjh.NAME "Journal Name" ,
    gjh.je_source "JE Source" ,
    gjh.je_category "JE Category" ,
    glp.period_num "GL Month" ,
    glp.period_year "GL Year" ,
    gjh.default_effective_date "GL Date" ,
    NVL(gje.accounted_dr,0) - NVL(gje.accounted_cr,0) "GL Line Amount" ,
    gje.description "GL Line Description" ,
    (SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = mta.organization_id
    ) "ORG Name" ,
    NULL "Vendor/Customer Name" ,
    NULL "SO/PO Number" ,
    mmt.TRANSACTION_REFERENCE "Reference Number" ,
    NULL "AP/AR Invoice Number" ,
    NULL "Doc Sequence Value" ,
    NULL "Invoice Type Lookup Code" ,
    NULL "Check Number" ,
    NULL "Line Type" ,
    NULL "Category" ,
    NVL (mta.base_transaction_value, 0) "Transaction Amt" ,
    NULL "AR/PO Receipt Number" ,
    NULL "Applied Invoice Number" ,
    (SELECT segment1
    FROM mtl_system_items_b
    WHERE inventory_item_id = mmt.inventory_item_id
    AND organization_id = mmt.organization_id
    ) "Item Name" ,
    gcc.segment1 "Company" ,
    gcc.segment2 "Department" ,
    gcc.segment3 "Account" ,
    (SELECT description
    FROM fnd_flex_values_vl fnd
    WHERE flex_value_set_id = 1009707
    AND TO_CHAR (fnd.flex_value) = gcc.segment3
    ) "Account Description" ,
    gcc.segment4 "Intercompany" ,
    NULL "JE Category Description" ,
    NULL "AP Invoice Line Description"
    TRUNC (mta.transaction_date) "JE Creation/Inv Trans Date" ,
    NULL "JE Created By" ,
    NULL "Reversal Flag" ,
    (SELECT MGD.SEGMENT1
    FROM MTL_GENERIC_DISPOSITIONS MGD,
    MTL_MATERIAL_TRANSACTIONS MMTT
    WHERE MGD.DISPOSITION_ID = MMTT.TRANSACTION_SOURCE_ID
    AND MMTT.TRANSACTION_SOURCE_TYPE_ID = 6
    AND MGD.ORGANIZATION_ID = MMTT.ORGANIZATION_ID
    AND MMTT.TRANSACTION_ID = MMT.TRANSACTION_ID
    ) "Reason Code" ,
    mmt.SUBINVENTORY_CODE "Subinventory Name" ,
    mta.primary_quantity "Quantity" ,
    NVL (mta.base_transaction_value, 0) "Value" ,
    gje.context ,
    gje.attribute1 ,
    gje.attribute2 ,
    gje.attribute3 ,
    gje.attribute4 ,
    gje.attribute5 ,
    DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status" -
    FROM gl_je_lines gje ,
    gl_je_headers gjh ,
    gl_je_batches gjb ,
    mtl_transaction_accounts mta ,
    mtl_material_transactions mmt ,
    mtl_transaction_types mtt ,
    gl_code_combinations gcc ,
    gl_periods glp
    WHERE 1 =1
    AND mta.transaction_id = mmt.transaction_id
    AND gje.je_header_id = gjh.je_header_id
    AND gjh.je_batch_id = gjb.je_batch_id
    AND UPPER (gjh.je_source) = 'INVENTORY'
    AND gcc.code_combination_id = gje.code_combination_id
    AND mta.reference_account = gje.code_combination_id
    AND TRUNC(mta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
    and mta.request_id=mmt.request_id
    and mta.inventory_item_id=mmt.inventory_item_id
    AND gje.reference_1 = mta.gl_batch_id
    AND gje.gl_sl_link_table = 'MTA'
    AND mtt.transaction_type_id = mmt.transaction_type_id
    AND glp.period_name = gjh.period_name
    AND glp.period_set_name = 'OVT_US_CAL'
    When gl_je_lines have multiple line this script on the same transaction_id it will get wrong information. By setup all wip_transaction_accounts.GL_SL_Lind_id and mtl_transaction_accounts.GL_SL_Lind_id is null
    Anyone can help?

    Hello.
    How are you reaching the inconsistencies ? Are you comparing report's results?
    Octavio

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

  • Database table/FM to find relation between plant and company code in SRM

    Hi,
    I have a requirement where I need to determine the relation between the plant and company code in SRM.
    The plant and company code both belong to R/3. We are replicating the plant by using the report BBP_LOCATIONS_GET_ALL.
    This plant is now available as a BP in SRM. But from which SRM table or using which SRM FM can I get the relation between this and the company code?
    Thanks,
    Srivatsan

    Hi
    <b>Check table BBP_LOCMAP. (Plants) -  Manage Table Business Partner   > System   > Location
    BBP_COMPCODE_FAV               User-Specific Favorites for Permitted Company code.</b>
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • 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 sales order and purchase requisition in MTO senario

    Hi:
    guru,In MTO sinarnio,for example strategy group is 20 or 50,how to get the raw material requisition according to every sales order item,semi-finished production orders should be exploded to raw material purchase requisition.In other words, how to beulid the relation between them and which tables data can be retrieved?your advice will be appreciated.

    Hi Wang,
    To view Sales Order Itemwise status, use MD4C.
    Keep patience becuase in first go through it may look bit confusing.
    Secondly, to generate Component requirements there are two ways.
    1) Use MD41 - Run it on FERT code. It will generate requirements upto last level of BOM
    or
    2) Use MD02
    2nd option would not work if MRP type 'M0' or equivalent is used in FERT Material master. In that case only 1st option would work.
    Hope your question is answered.

  • I want to know the relation between Retiremen in assets and AR

    i want to know the relation between Retiremen in assets and AR
    whene selleing asset in FA and retire it in AR

    Hello.
    how can i achieve this entry in AR You will have to create it manually. The system does not create it automatically.
    and is their any report in FA to identify the sold assetsThe Asset Retirement Report
    Octavio

Maybe you are looking for

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all, Anybody please guide me regarding the posted error. I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/

  • Problem loading

    Hi All, when i am loading some data package keeps in yellow, i tried to execute them for problem of RFC but the load failed, in my last client, when i was loading and some data package keeps in yellow, i use to wait until the job end, then i activate

  • Sapscript Form closes prematurely

    I copied and edited standard form PM_COMMON to accomodate requirement for custom Job Ticket. However, when I set that in OIDF, the Job Ticket print fails (print or print preview). I traced the problem to the standard program RIPRJT00. it enters FORM

  • Weird lines/dots around cursor

    My old Mac Pro - 2x2.66 Xeon, 4gb memory, 3x500gb disks, uses external Apple monitor 20" or so - has been acting weirdly. Was getting stuck at grey screen when starting up. We went through all the Gray screen appears during startup troubleshooting: r

  • I need the manual for replacng the battery clock an old Compaq Presario 1247 laptop

    Once upon a time I had a link to a document that showed how disassemble my Compaq Presario 1247 laptop to get to the clock battery. Can anyone provide the link to retrieve that manual?