Table link between activity and order

Hello,
In Cic0, we create activities and complaints related to a customer order.
I do not find the link/the table which enables me to make my report (number activity with the linked order).
I seek the table which gives the link between the activity and the order.
Do you know it?
Many Thanks,
Servane

First, you need to get the guids of the activity and complaints. (it is enough to use the table CRMD_ORDERADM_H only)
Second, In table SRRELROLES use the above guids in field objkey and get the RoleID. (Now you would get two Role id's)
Finaly, in table CRMD_BINREL you would have the link between these two roles. (called Role A and B)

Similar Messages

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • Table link between IBASE and its associated products

    Hi,
    If we go to the transaction IB53 and enter an IBase number, all the products asssociated with the IBase will be listed out.
    Similarly, if we have the IBASE number how can we track the associated products via tables.(i.e) the table link between IBIBIBASE and COMM_PRODUCTProduct_id
    Thanks in advance.
    -Aaru

    In two steps..
    1. Convert Product GUID using FM 'GUID_CONVERT'
      CALL FUNCTION 'GUID_CONVERT'
        EXPORTING
          iv_guid_x16 = product_guid
        IMPORTING
          ev_guid_c22 = sysuuid-c22.
    2. Get the IBASE from view v_ibinr where objnr = sysuuid-c22

  • SQL Table Link between invoice and profit centre

    Hi,
    We are about to bulk import reserve invoices but I just need to allocate an invoice against the correct profit centre. Where is the link between sql tables?
    Edited by: Ricky Thomas on Mar 17, 2011 5:15 PM

    If you fill the profit centre on the line, the journal will allocate the profit centre to all GL accounts of Sales or Expenditure type.
    If you are using document expenses for freight, you may need to also assign your profit centre there.
    The line field is OCRCode in both the invoice lines & the expenses lines

  • Link between invoice and order number

    Hi All,
               can any one find like between
    1.field                     structure
        HEADNO_EXT         /1BEA/S_CRMB_BDH_WRK
    and
    2. Description     Field Name     Structure
    Order No                     PO_NUMBER_SOLD                CRMT_7010_SERVICE_UI
    ORDER DATE     PO_DATE_SOLD                CRMT_7010_SERVICE_UI
    YOUR REF     YOUR_REF_SOLD                       CRMT_7190_SALES_UI
    DELIVERY TERMS     INCOTERMS                     CRMT_7190_SALES_UI
    PAYMENT TERMS     TERMS_OF_PAYMENT     /1BEA/S_CRMB_BDH_DSP
    PAYMENT METHOD       /1BEA/S_CRMB_BDH_DSP     /1BEA/S_CRMB_BDH_DSP
    i want to retrive data for order No, order date, yourref ...... based on HEADNO_EXT.
    please help me it is urgent

    Hi,
    If you are getting info from the source document of the billing doc, you can use this FM /1BEA/CRMB_BD_O_GETLIST, passing in the HEADNO_EXT to the import parameter IRT_BDH_HEADNO_EXT to get the item of the billing doc. In your ET_BDI, field SRC_HEADNO will be your source document number. Get the guid from CRMD_ORDERADM_H table and pass it to FM CRM_ORDER_READ. You will find all the info you are looking for in the return data from this FM.
    Cheers,
    ck.

  • Link between AFVC and EBAN tables (material report)

    Friends, wanted to check if anyone can provide assistance on table links between AFVC and EBAN.  The requirement is to track material/service quantity, price, etc in comparison with plan version versus PR, PO, GR, etc.  tried retrieving object numbers of WBS and activities using 'get proj info'  bapi and tried passing them in tables COSP/EBAN/COKEY but the essential link between material assigned to network activity and the PR is missing..
    Thanks in anticipation,

    Hi,
    Did you try the link including EBKN. Basically you can pass the network / WBS number in EBKN and get teh PR number and use this detail in to the item table of PR.
    Regards
    Sreekanth

  • Link between GTM and FSCM (sales or purchase order hedging)

    Hi all,
    I am trying for a few days to have SAP GTM working (I am in an IDES ECC6 system, and as far as I know in EhP4 version). The main goal in fact is to test the currency hedging, and therefore to the link GTM and FSCM, either single-sided purchase or sales order, or two-sided . The flow I want is the following :
    -     I buy or sell a product, in GTM, through a trading contract which generates a purchase or sales order.
    -     Automatically a currency hedge is generated to cover the risk, in FSCM, I guess in exposure management.
    -     And then the financial products (derivatives) are generated as well.
    No problem to create the trading contract, no problem to generate the sales or purchase order. But in spite of the (very little) customizing I found in u201CSAP GTM => currency hedgesu201D, and some in FSCM, in u201Ctreasury and risk managementu201D, no way to have this link between GTM and FSCM, no additional document is generated like a Forward Exchange Transaction (I guess I should have this, and then a risk exposure in FSCM).
    Would you have an idea ? Is this customizing, or an additional Business Functions or Extension Set not activated ? SAP says : u201Cit worksu201D, but canu2019t find the way.
    Thank you very much for your help, I am quite looking for this link for a few days now u2026
    Best regards
    Patrick

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • Technical link between a PM order and its operations (routing number)

    Hi all,
    I would like to know how to make link between a PM order and its routing number for operations in the order (field AUFPL) ?
    Thank you.
    Regards.
    Laurent.

    Hi again,
    I just found function module CO_DB_HEADER_READ.
    With Order Number as import parameter you got in export parameter CAUFWA value AUFPL.
    Then with +AFV+* tables, you have operations data.
    Regards.
    Laurent.

  • Linking between PP and SD tables

    Hai friends,
    I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
    Thanks and Regards
    visvanath

    Hi
    You can simply link the Sales order No and ITEM
    VBAP-VBELN and VBAP-POSNR with the PP order item table
    AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
    or in Sales tables there is a field called AUFNR in VBAP
    use that for PP order number
    SD tables
    http://www.erpgenie.com/abap/tables_sd.htm
    PP tables
    http://www.erpgenie.com/abap/tables_pp.htm
    Regards
    Kiran Sure

  • Table link between contract document and billing document

    Hi,
    Please let me know the table link between contract data and its billing plan nnumber.
    Regards,
    bhaarathi.

    VBKD is the Table name
    if Ordertype "G"  <--- that means It is a contract
    From VBAK and VBAP you can get the Contract Details for the Order Type "G"
    Go to Table VBKD, with the contract and get the billing plan .
    FPLNR <--- is the Billing plan
    Here you get the relation Between Contract and Billing Plan

  • Link between AUFK and BKPF table

    Hi all,
    Can anyone tell me the link between AUFK and BKPF table.
    Thanks in advance
    Regards
    Neha Kapoor

    hi neha ,
    1.first u have to get MBLNR from AUFM for that order
    2.Next u have to call FM
    <b>AC_DOCUMENT_RECORD</b>
    I_AWTYP                         MKPF--->Constant
    I_AWREF                         4900003215--->MBLNR
    I_AWORG                         2004--->Year
    I_AWSYS
    I_AWTYP_INCL
    I_AWTYP_EXCL
    I_BUKRS
    I_VALUTYP                       0
    X_DIALOG                           X
    then u will get the Accounting Documents.
    regards
    prabhu

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Link between Project and Sales Order

    Apart from sales order can we have a link between project and customer master ??
    I know that WBS element assignment can be made in sales order but i want to have link between
    customer master and project. I don't want any user field or text field in sales order.
    Any idea ?
    Regards
    Ashish

    Yes Mr Ashish!
    As far as iam concern there is no link between Project & Customer Master, you have to link it with SALES order, I had check in XD03,XD01, the complete customer master, i didnt find any field in customer master which links with Project.
    I'll let you know if i find any links.
    Regards,
    ANSAR

  • Link between vbpa and vbak tables

    Hi,
    I would like to know the link between VBAK and VBPA tables.
    VBELN field in both these fields are the same?
    If I give the VBELN field got from the VBAK table into the VBPA table will I get the  customer number(KUNNR) of that particular SAles document?
    Thanks & Regards,
    Soumya.

    You can get Kunnr directly from the VBAK table, if you wanna do the Join still you can go forward and do it there is no harm but remeber to give the Partner Function(PARVW) as well as VBELN.
    Hope That Helps
    Anirban M.

  • Link between AP and GL main tables in 11i

    Hello,
    Can anyone please provide the link between AP and GL main tables.
    I need a join between the AP_Invoices_All, AP_INVOICE_DISTRIBUTIONS_ALL, GL_JE_LINES, GL_JE_HEADERS.
    Actually, I found a query that is as below. I want to confirm if that is correct. I need to confirm if the right joins are necessary and are placed correctly.
    Thank you
    select *
    from gl_je_headers gjh,
    gl_je_lines gjl,
    ap_invoices_all aia,
    po_vendors pv,
    ap_invoice_distributions_all aida
    where gjh.je_header_id = gjl.je_header_id
    and aida.invoice_id(+) = gjl.reference_2
    and aida.distribution_line_number(+) = gjl.reference_3
    and aida.invoice_id = aia.invoice_id(+)
    and gjh.je_source = 'Payables'
    --and gjh.je_category = 'Purchase Invoices'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    Any help.
    I have also found out that, in 11i, the Reference_2 column in the GL_JE_Lines table has the invoice_ID in it.
    So, does that mean that we can join the GL tables and the AP Invoice tables using this condition. I dont know if that is right. Please help
    select * from
    ap_invoices_all aia, gl_je_lines gjl
    where aia.invoice_id = gjl.reference_2

Maybe you are looking for

  • How do I keep Safari stable with 40-60 windows/tabs/sites open all at once?

    I have an iMac 2.66 GHz Intel Core i5 with 4 GB RAM running 10.6.4. One internal drive of 1TB half full and good external FW with plenty of room. Recently, I have been needing to keep 60+ windows open (or tabs) in Safari. It's a long story- This has

  • Is it possible to delete MobileBackups and start over?

    I believe that I have inadvertently messed up the classification of my MobileBackups folder.  I have a 500 GB SSD that is nearly full when MobileBackups is included. This is true whether the information comes from the Finder, Disk Utility or doing 'd

  • Illustrator CC, 2014, default art board name

    In Illustrator CC, 2014, How do you remove a custom art board name, and reset the default to start back at one? It used to be you would just remove the name, but that no longer works. When I create a new art board in a document that has been used as

  • Se3000 red hat linux

    Hello, does anybody used any of the se3000 family storage under red hat linux , model 3310 or 3320 or 3510 ? There are any documents around for the setup or any howtos ? Any info apreciated . Thanks, Patrizio

  • How To Deploy Message Driven Beans in SAPJ2ee 6.20?

    <b>How To Deploy Message Driven Beans in SAPJ2ee 6.20? </b>  I<b> tried to deploy default example from SAPJ2ee installation, I do the prerequisites provided by tutorial, but at phase deployment appears Exception that ejb-jar.xml is incorrect</b><b><i