Link between Accounting Header (BKPF) amd Goods Reciepts Header (MKPF)

Hi,
I am unable to fetch the Material Document Number (MBLNR) in MKPF using the data of Accounting Header (BKPF ).
Would anyone please suggest me the link ?

Hi,
Here's the link betw. BKPF and MKPF
BKPF
-AWTYP :  'MKPF'
-AWKEY :  '50000000012005'
(with MKPF-Belnr = 5000000001 and MKPF-MJAHR = 2005 )
regards Andreas

Similar Messages

  • 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 Accounting Document and Invoice Document

    Hi,
    I need to map the following path for data fetching as per clint requirement.
    G/L a/c >Accounting Document->Invoice Document--->PO Document.
    I don't find the link between Accounting Document--->Invoice Document.
    Pls let me know from which table i can find this link.
    With Regards
    Punesh Sharma

    Hi Punesh ,
    Following tables would be helpful -
    BKPF , BSEG  , RBKP and RSEG
    Regards
    Nilesh

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • Table for link between Accounting document and Billing document

    Which is the table for link between Accounting document and Billing document ?
    Thanks & Regards

    Ø Go to SE16N, enter table BSAD
    Ø In the Reference Field (VBELN) enter the Billing Document no. 
    Tips:
    Ø Make sure that only those billing documents will be considered whose accounting documents actually exists
    Ø No Accounting documents will be displayed for Credits, Free of charge orders and those acc. Documents which have been cancelled.

  • Is there link between account receivable and payroll module ?

    In Account Receivable :( I have This Case )
    How to record a sale to an employee? How to record it as an employee loan without effecting bank or cash records.     
    is there link between account receivable and payroll module ?
    this solution i suggets bellow , is valied solution?
    Define Invoice transaction type "Employee Sales "
    This Type will affect (Receivable ) Employee Account
    In Payroll Module :
    ( Manually )TheEmployee Sales invoice will sent to payroll department to extract amount from employee , this extract Will credit the same "Receivable" Employee account

    Employee Loan in AR can be tied with Element Balance of payroll.you should have to develop some mechism to get the money from AR and update into Payroll element balance, this way you can manage your employee loan without touching bank.
    There is no seeded functionality comes with AR that have such capability.

  • Link between Accounting Document and Sales Order

    Dear SD Gurus,
    How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
    Kindly specify the table links and fields to fetch the above details
    Regards
    Vimal

    Link Between SAP SD, MM & FI
    The link between SD and MM :-
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    Now the link between SD and FI :-
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    SD Integration points with other modules
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    SD Transaction Code Flow: 
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    <b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • What is the link between likp,mseg,bkpf tables

    hi,
    i got to work with tables likp,bseg,bkpf,mseg tables. can any one help me telling the link between these tables..like how these tables are interrelated..thank you..

    Hi Bhaskar,
                 I know some information only.
    First give likp-vbeln to lips and get lips-matnr, lips-werks,lips-charg. give these 3 values to mseg for getting the mblnr.
    Thanks,
    suma.

  • Link between accounts ans other related blue bars

    hi,
    I have to export account data and their related blue bar data like contacts,opportunities and others.
    But the problem is that I can export the accounts data and other data lists separately.
    But how can I link the seapate data to each other?After export they will become separate data.
    Is their any common linkage between them? I checked CRM Id and E1numbers but they are all different.
    Please help.
    Thanks
    Arpita.

    Hi Goud,
    Thanks for your reply. It was very helpful.
    But one problem I am facing is that while selecting Contact external uique id in Accounts page layout it is not displaying in the page. Whereas Accounts unique id are available in Contact and Oppurtunity and seen in any contact or opportunity page. It will be very helpful if this Contact unique id is visible in page as while doing export it will be very helpful.
    Please let me know if there is any solution for this.
    Thanks
    Arpita.

  • I want Next/Back links between topics. Are there good examples how to do this?

    I also have multiple books in which I want to have Next/Back buttons. The Help PDF offered by Adobe does not adequately describe how to do this. Does anyone have a good example/description of how I do this?
    Walt Mahan

    Hi again
    To access the link I listed, you just click it in your web browser.
    There are a few different ways you can do this. You can insert the text as you wish to see it, then manually create the links. Ick! That's not very much fun.
    If you are using RoboHelp 8  you could create a Master Page and insert a Breadcrumb Trails placeholder, then apply the Master Page across the topics.
    For any version of RoboHelp you could achieve this by creating a Browse Sequence (Tools > Browse Sequence Editor) and generate WebHelp twice. The first pass to folder A and the second pass to folder B. During the first pass, you use the "Traditional - No skin" output. This would produce topics with code in them that contains the Previous and Next links. Then the second pass would be generated with a skin. You would then copy the topics from folder A and overwrite the topics in folder B to obtain the best of both worlds.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Link Between billing document and Accounting document

    Hi,
    Need the link between VBRK and BKPF.
    Req to VBRK-VBELN = BKPF-XBLNR.
    But length varies. Error occurs. Any other method to come for linking Billing document and accounting doc

    hi Meenakshi,
    Check with this i hope it will work
    you can have the data from BKPF through fields like AWKEY and AWTYP and VBRK (vbeln).
    in bkpf there is a field called AWTYP  in which you have to specify 'VBRK',and you have split AWKEY depending o upon the vbeln .
    bkpf-awtyp = 'VBRK'
    bkpf-awkey = vbrk-vbeln
    bkpf-bukrs = vbrk-bukrs.

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

  • Link between SD invoice item and corresponding accounting document item

    Hi,
    I have a problem regarding the link between the items of an SD invoice ( or
    credit note ) and those of the corresponding accounting document. There's a
    custom report which extracts information about each credit/debit note
    produced within a certain period. This program has recently failed due to a
    particular case: a credit note was generated starting by two note requests;
    in other terms, cardinality: 1:N exists between the credit note and the
    request document. Currently, the program generates duplicated records in
    this case, because of the following schema:
    -> main loop on VBAK data ( request document header data )
       -> inner loop on BSEG data ( accounting document items );
    our current access criteria in reading tb_bseg is only:
    ... where tb_bseg-belnr = tb_vbrk-vbeln.
    Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
    contain two records ( the two requests the first and the two accounting
    document items the second ), the program fails as follows:
    ° first request  -> two lines
    ° second request -> two lines.
    Is there any way to link each invoice item with the corresponding credit
    note item?
    Thanks in advance to all of you.
    Adrian.

    Hi,
    I have a problem regarding the link between the items of an SD invoice ( or
    credit note ) and those of the corresponding accounting document. There's a
    custom report which extracts information about each credit/debit note
    produced within a certain period. This program has recently failed due to a
    particular case: a credit note was generated starting by two note requests;
    in other terms, cardinality: 1:N exists between the credit note and the
    request document. Currently, the program generates duplicated records in
    this case, because of the following schema:
    -> main loop on VBAK data ( request document header data )
       -> inner loop on BSEG data ( accounting document items );
    our current access criteria in reading tb_bseg is only:
    ... where tb_bseg-belnr = tb_vbrk-vbeln.
    Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
    contain two records ( the two requests the first and the two accounting
    document items the second ), the program fails as follows:
    ° first request  -> two lines
    ° second request -> two lines.
    Is there any way to link each invoice item with the corresponding credit
    note item?
    Thanks in advance to all of you.
    Adrian.

  • Link between outbound delivery and matriel documents of good receip

    HI,
    in which table we can find the link between outbound delivery and matriel documents of good receipt.
    thanks

    Hi!,
    If you have posted a goods receipt for an outbound delivery, you should find in the header table MKPF for the material document the field MKPF-XBLNR completed with the outbound delivery number.
    Then, if the document flow for the delivery has been updated correctly, in the table VBFA for the delivery (VBFA-VBELV), you should find the material document under VBFA-VBELN.
    I hope this helps you!
    Best regards,
    Esther.

  • Whats the link between Migo ( Material Doc no ) & resp Accounting doc no

    In order to generate one development in MM. I need to know Link between Material Doc number ( MIGO ) transaction & Accounting document generated for that particular Material doc number which we browse thru Follow on Doc.
    In case the Number range for both is same the solution is easy but we have No ranges for both these are different.
    Can experts help me to identify link at Table / Field level which is critical for our Abap Development.
    Regards
    Umesh Bagul

    Hi Umesh,
    The link between the Material document & Accounting document is  Movement type.
    Goods movement such as Goods receipt /Goods Issue /Stock transfer is always based on the type of " Movement type " which we are using and 2ndly the type of material that we are procuring and receiving or issuing or posting the goods movements. Because based on the Material only the properties of material depends.  For eg. for Raw material stock updation is possible for Quantity & also for Value.  That means whenever you receive the goods of Raw material agains the external vendor (these goods are received against the PO with r.to. 101 Mvt type), then both Quantity updated (for this Evidence is Material document) and Value is also gets updated (for this Evidence is Accounting document), when you receive the whole stock into Unrestricted use stock /storage location. 
    Note::  The movement type is linked with Value string:   101 - Stock updation - by Quantity -  by Value -  Stock indicator - account modifier with the help of Valuation class - A/c category reference - Material type.
    For example: If its receiving of goods against PO is through MIGO using 101 Mvt type.
    and also 
    Simply can say that, Movement type plays the majour role in every goods movements and further that shows with the evidnece of material document and subsequent accounting document depending upon the movement type. And this is the link between the Material document and accounting document.
    Hope that clarifies you,
    Regards,
    Sapsrin

Maybe you are looking for

  • Question about metadata filtering and document sets

    Hello, I have a question about the metadata filtering when using document sets. When i use the metadata filter for example for "Installatie: P00001" it shows. But i wan't to show only the document set and not all the documents. Is this possible OOTB?

  • CRUD using ADF fails to update database table

    Hi All, I am very new to ADF and JDev. I am using JDev 11.1.1.2.0 and oracle 10g DB. I have created the required 1. model, view control, Data control files using JDev for a DB table. 2. .jspx file that has a 'panel accordin' and a 'panel formLayout'

  • Is database consistent?

    Hi @ll have oracle 9.2.0 what is the best way to check whether the database is consistent or not when it is mounted? one way: i can try to open the database in read only mode oder i can open them. but is there a better way to check that. is there a v

  • Got my old iphone 3g replaced by apple, now i cant restore it from backup

    Because of a minor issue, i got a new iphone I had a backup of my old iPhone now i wanted to restore it Since my old iPhone was on 2.0.2 I first had to update it Now i made Restore, and then Restore from Backup It says it can't cause the Backup is no

  • Can I receord Manual Wire Payment in Batch

    Hi right now I am recording manual wire payment using Manual payment but i can pay only one invoice at a time .. is there any way i can record wire payment in batch so I can pickup multiple invoices at the same time to save the time