Link between EKPO and EBET

Hi
I have tried for long time to find the connection between EKPO and EKBE, but can't find a uniq way.
As example:
EKPO contain 2 lines (2 items)
EKBE contain 3 lines (2 lines for item 00010 and 1 line for item 00020).
The BELNR in EKBE has the same value for 2 of the entries (item 00010 and 00020), but another BELNR for the last item (00010).
Further more the field BUZEI is different.
EBELN        EBELP   ZEKKN VGABE GJAHR BELNR      BUZEI BEWTP
4500002152   00010   00    1     2009  5000000689 0001  E
4500002152   00010   00    1     2009  5000000691 0001  E
4500002152   00020   00    1     2009  5000000691 0002  E
The value that I want from EKBE is EKBE-BEWTP
Any ideas how to get the right line from EKBE?
thanks,

Hi,
Table EKBE is PO history, it means that connection between EKPO and EKBE is 1:N.
EKPO -<EBELN, EBELP>- EKBE
In your example you have two "BELNR" (two material document) which represent two goods receipt --> for PO item 10 there were two goods receipt (5000000689 , 5000000691) whilst against PO item 20 there was only one (5000000689).
BELNR the material document which may have several items, each item may correspond to one PO item. There's no (direct) connection between PO item and material document item numbering, so there's no direct connetcion between EBELP and BUZEI (I mean if EBELP is 10, BUZEI can be 1, 2, 3, ...25, 56, etc).
In EKBE you can find other kind of docuemnts also (not only material document but e.g. invoice receipt also)
Regards,
Csaba
Edited by: Csaba Szommer on Jul 22, 2010 3:00 PM

Similar Messages

  • What is the link between EKPO and KONP tables

    Dear All,
    Please I want to access KONP table based on purchasing document number(Ebeln).
    I have to pick kbetr field from konp and I know the kshcl field.
    But to access the Konp table I have only EBELN with me.
    Regards
    Mave

    Hi Mave ,
    There is a table <b>A016</b> which links Purchase Order Items to condition record number KNUMH. From A016 you can select a record corresponding to PO Number & Item Number. Using this KNUMH you can select from KONP.
    For header conditions you can use A019.
    Cheers

  • Link between ekpo -ebeln and vttk-tknum ie shipment no:.............urgent

    HI all,
      plz help me in getting link between ekpo -ebeln and vttk-tknum ie shipment no:
    reply soon....urgent.
    thanks in advance

    Hi
    Link VTTK and VTTP tables with TKNUM and take the delivery VBELN field  from VTTP
    with that delivery you can find the PO number
    see the reference number in EKKO and EKPO tables by passing this VBELn to XBLNR field
    Or take the VGBELand VGPOS  from LIPS table passing VTTP-VBELN  and pass this values to EKKN-VBELN and EKKN-POSNR and take the EBELN and EBELP which are nothing but EKPO-EBELN and EBELP fields
    Reward points for useful Answers
    Regards
    Anji

  • Link Between KONV and EKPO/EKKO (RFQ)

    Hi Experts!
    We are developing a canvass sheet and the customer requires that the discount amount (both item and header) be displayed in the report. We know that the table for conditions is KONV. However we cannot find the link between KONV and EKPO/EKKO (RFQ). Can you help us with this.
    Will really appreciate if you can help us in this. Thanks! =)

    Hi Shakir,
    Thanks for your immediate response. We have tried looking at that field but for RFQ, the field KNUMV is blank even if a condition is maintained for the RFQ. Is there any other way to connect EKKO/EKPO and KONV? Or how do we code our program to compute for the item and header discounts in RFQ?
    Thanks in advance! =)

  • Link between PR and RFQ

    Hi all,
    I looking for a table where I got a link between e PR and the RFQ which refeer to that PR. We can see in ME53N in the Status tab the RFQ number. I want to fine a table where is that link between PR and RFQ.
    We can see the link in EKPO with the PO number  only if a PO is done from the RFQ (field BANFN).
    If I look in EKPO with the RFQ number, the field BANFN (PR number) is empty.
    I don't find a table with a link between the PR and the RFQ if the PO is not done (nothing interesting in EBAN)
    May someone help me ?
    Thanks all
    Regards
    Mathieu PAINEAU

    Hi all,
    I found by myself ! This link is done in the Table EKET.
    Regards
    Mathieu PAINEAU

  • Relation between EKPO and EKKN

    Hi, what is the relation between EKPO and EKKN?
    I want to retrieve the requestor name (EKKN-WEMPF) for all open orders in EKPO. But I dont find any matching data between these two tables.

    Hi
    But what do you really need to do?
    The link between EKKN and EKPO are only the field EBELN and EBELP.
    If you know the item you can know its data for account reading EKKN, you don't need to know how to relate KOSTL or AUFNR with EKPO.
    SELECT * FROM EKPO WHERE EBELN = P_EBELN
    SELECT * FROM EKKN WHERE EBELN = EKPO-EBELN
                          AND EBELP = EKPO-EBELN
    >EKKN-KOSTL is the cost center of the position you're elaborating
    Max

  • 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 sd and pp

    hi all,
      i have a problem regarding relation or link between sales and production order. i have to fetch production order number related to sales order number. i have checked in the table AFPO that is production order item table , there is field AFPO-KDAUF and AFPO-KDPOS ie, sales order and sales item. but when i see these two fields there is no data into the field so how can i get data into the table related to production order.can anyone help me on this issue.

    Please refer to the below links -
    https://forums.sdn.sap.com/post!reply.jspa?threadID=309885
    Integration points with MM/IM and PP are some of the following -
    When a Production order is created and released a reservation gets created for the materials in BOM
    When the reservation is created and materials are posted against the reservation with mvt type 311 these are transferred to the respective location.
    When a GR is posted with mvt type 101, the Finished or Semifinished goods are posted to the respective storage location and inventorized.
    When a consumption is posted with mvt type 261 then stock will get reduced in resepective storage location.
    When a batch determination is done in a production order basing on the batch search strategy and sort rule material, quantity and batch are selected.
    If WM is configured an associated internal movement for all the above movement types will be posted.
    During MRP, BOM which is a master data for PP is used to calculate the dependent requirements of materials.
    During availabilty check of a production order basing on the availability check configured materials will be selected and checked.
    Hope the above may help you.

  • 'Is there a link between OLM and iProcurement'

    I have been asked 'Is there a link between OLM and iProcurement'? The person posing the question is wanting to create trainers as suppliers and I know that the supplier information is shared between OLM and the A/P, A/R and G/L modules and I presume that the link to iProcurement will be via one of these modules however is there a more direct vanilla link between OLM and iprocurement?
    Any help would be great
    Thanks
    DM

    I am afraid there is no link between the iProc and OLM.
    The closest that apps can offer you is that your learner/delegates can be of type external i.e. being an Organization or a Customer. Hence there exists a link for your delegate to be a customer(hz_parties).
    However this might be a future integration i.e. Trainers being suppliers. I am saying so because in 11.5.10 there is a table named OTA_VENDOR_SUPPLIES that has reference to vendor_id. Currently this table is not being used by OLM.
    You may look into the code of packages OTA_VSP_API, OTA_TEA_BUS & OTA_PLE_BUS and see if Oracle's future functionality will converge towards your business requirement.
    Thanks,
    Anil Passi
    http://oracle.anilpassi.com

  • 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 Item and delivery

    Hi ,
    I want to know the link between item and deliveyr. Like for example, an sales order item ( no. 10) containing 10 quantities can be delviered 5 times( each containing 2 quantities) and line item ( no. 20) can contain one single delivery. I am working on a report where i have to link all the line item to its delivery number. I am trying to achieve this through GENIl but i am not able to indetify as to how to differentiate the different deliveyr numbers. In other words, can some one help me as to how to link the delivery number to its corresponding items?

    Document flow is stored in the table VBFA in ECC.
    VBELV fied is the sales order number and in POSNV specify the line item number and speicfy VBTYP_N = J (Delivery).
    Regards,
    Bhanu

  • 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

  • What is the link between PO and Requisition in database side

    hello friends,
    please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
    want to know that what is the link between both in database side.
    Thanks in advance
    krish.

    Hi,
    The link is at distribution level, between:
    PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
    and
    PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
    Hope it helps.

  • Link Between AP_INVOICE_PAYMENTS_ALL and AP_PAYMENT_SCHEDULES_ALL

    Guys,
    I am new to Oracle Financials, can you please let me know if my understanding of link between AP_INVOICE_PAYMENTS_ALL and AP_PAYMENT_SCHEDULES_ALL is correct or not?
    SELECT ai.invoice_id
    , ai.invoice_num
    , aps.due_date
    , aip.accounting_date
    , aip.amount, aip.payment_num
    FROM ap_invoices_all ai
    , ap_invoice_payments_all aip
    , ap_payment_schedules_all aps
    WHERE aps.invoice_id = ai.invoice_id
    AND aip.invoice_id = aps.invoice_id
    AND aip.payment_num = aps.payment_num

    plz look at seeded view AP_DOCUMENTS_PAYABLE
    FROM
    ap_invoices_all ai,
            ap_invoice_payments_all aip,
            ap_payment_schedules_all aps,
    WHERE
    AND aip.invoice_id = ai.invoice_id
    AND ai.invoice_id = aps.invoice_id
          AND aps.payment_num = aip.payment_num
    ...your code a bit different by
    AND aip.invoice_id = aps.invoice_idbut it's ok
    >
    AND aip.payment_num = aps.payment_num
    Is this correct?
    >
    yes

  • 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

Maybe you are looking for