Link between vbap and vbrk

hi folks
whatt's the link between vbap and vbrk table.
gaurav

Hi Gaurav
VBAP is Sales document item detail table and VBRK is Billing header data table.
VBRK is linked to VBRP by VBELN (i.e. VBAP-VBELN = VBRK-VBELN).
VBRP is linked to LIPS(SD document: Delivery: Item data)by
VBRP-VGBEL = LIPS-VBELN.
VBRP-VGPOS = LIPS-POSNR.
And LIPS is linked to VBAP by
LIPS-VGBEL = VBAP-VBELN.
LIPS-VGPOS =VBAP-POSNR.
the flow of the SD tables is like after creation of the sales document the header details of the document is filled in VBAK.THe item details of the sales document is stored in VBAP.After creation of the delivery the delivery documnet number is updated in the LIPS table and than if the INVOICE for the particular delivery is done than the BILLING document is generated the details of which can be looked in VBRK.

Similar Messages

  • Link between KONA and VBRK/VBRP and KONP and VBRK/VBRP

    Hi
    please suggest me the link between KONA and VBRK/VBRP and
    KONP and VBRK/VBRP
    I want to give link of rebate agreement and invoice no/Inv Qty
    My requirement is I want a report where i can see Under one Rebate agreement ,how many Commercial Invoice use
    e.g. Rebate Agreement no -125 ( for 10 Rs / unit)
    I have created 10 Invoice for 10 qty each so accrual Amount is 10* 10= 100
    I want such report where for agreement No 125- 10 Invoice No should be reflected.
    I don't want to go into VBO2 and go to verification level that concept i know
    i want one report where i will see all
    Regards
    Hemant

    Hi
    In my case i want commercial invoice no (billing type F2) but if i try to find link between KONA and VBRK for field KNUMA i can only see credit Memo No(Billing type-B3-rebate billing type) ,
    I want to display commericial invoice and not rebate credit memo
    Pls advice
    Regards
    Hemant Gaikwad

  • Link between VBAK and VBRK

    Hi
    How to link VBAK(sales order)and VBRK(billing document)?
    what are the fields to link and how to link. because vbak-vbeln is sales order number and vbrk-vbeln is billing document number.
    need help...
    Thanks
    smita

    hi,
    Following tables are included in link (In chronological order):
    VBAK - sales documetn header,
    VBAP - Sales document item
    LIPS - Sales doc. Delivery items
    VBRP - billing item data
    VBRK - Billing header
    generally sales doc and billing docs are related by delivery docs.
    u can join these tables using joins in select statement.
    join structure will loolk like.:
    select .....
    from vbak as a
    inner join vbap as b on avbeln = bvbeln
    inner join lips as c on cvgbel = bvbeln and cvgpos = bposnr
    inner join vbrp as d on dvgbel = cvbeln and dvgpos = cposnr
    inner join VBRK as e on evbeln = dvbeln
    Also, pl refer following file, very helpful, forever.
    http://www.sap-img.com/sap-download/sap-tables.zip
    Jogdand M B
    PS: Reward if helpful...

  • Link betwwen KONA and VBRK/VBRP

    Hi
    please suggest me the link between KONA and VBRK/VBRP and
    KONP and VBRK/VBRP
    I want to give link of rebate agreement and invoice no/Inv Qty
    My requirement is I want a report where i can see Under one Rebate agreement ,how many Commercial  Invoice use
    e.g.  Rebate Agreement no -125 ( for 10 Rs / unit)
    I have created 10 Invoice for 10 qty each so accrual Amount is 10* 10= 100
    I want such report where for agreement No 125- 10 Invoice No should be reflected.
    I don't want to go into VBO2 and go to verification level that concept i know
    i want one report where i will see all
    Regards
    Hemant

    You can go via KONH - KONV to VBRP but you will have big performance issues especially with the KONV table when you enter the condition record number from KONH only.
    Much easier go to KONH enter your Agreement number. Get the KNUMH from your rebate agreement and enter it in Table S136. This will give you all the invoices associated with your rebate.
    Good Luck.

  • 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

  • Link between VBRP and KONV

    hello,
        any idea for the link between VBRP and KONV tables ?
    I am fetching vbeln from vbak and based on that i am getting matnr and quantity details from vbrp now i want to get condition type and tax code details from konv.how to link it?
    regards
    Soniya.

    KONV (condition table) is linked to VBRK (Billing: Header data) by the following
    VBRK-KNUMV = KONV-KNUMV
    and VBRK (Billing: Header data) is linked to VBRP (Billing: Item data) by the following
    VBRK-VBELN = VBRP-VBELN
    I believe you can can fetch data from VBRP using for all entries.
    Then fetch the data from KNOV table using the above given link and then modify the required internal table to retrieve the required result.
    Hope it helps

  • 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

  • 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

Maybe you are looking for

  • When will the ACROBAT PDF function work again for Office 2011 for MAC and PC?

    HELP!!!! Adobe Tech support suggested I submit my comment to this post in hopes  that this will help resolve the issues.  I feel for them having to field  these calls. I can no longer convert Excel, Word and Powerpoints to PDF.  If our company conver

  • Call Inbound Proxy error

    PI settings help I am trying to transfer PR from ERP6.0 EHP4 to SRM7.0 using CPPR scenario. I configured ERP/SRM and PI configuration in Integration directory. But i get Reciever determination error in XML at ERP/SRM AND PI RCVR_DETERMINATION">NO_REC

  • Flash Components and XML Binding

    I just ran through the XML binding Bike Trails tutorial about a hundred times. I can get that to work just fine. But when I try to work with my XML file, it keeps falling apart. I just don't get it! I've been working on it for 2 days and it's still n

  • UC Sizing Tool x64

    Forgive me if there is another post about this, but i could not find it.  I am running Windows 8 x64 with Office 2013 x64.  When i download the excel for the UC Sizing tool at http://tools.cisco.com/cucst/faces/landing.jsp and load it, i get a warnin

  • "When_list_changed" what is the problem with this code???????

    DECLARE      v_group_grade RECORDGROUP;      v_pop_group NUMBER; BEGIN      v_group_grade := find_group('group_grade');      IF NOT id_null(v_group_grade) THEN                delete_group(v_group_grade);      END IF;      IF :CONTROL_LISTS.STAGE = 1