Creating freigth cost document and material document

Dear all,
when creating a freigth cost document the system automatically generates a service entry sheet, and a material document with its accounting document. This is standard behaviour.
When creating freigth cost document we've activated user exit V54C0001 so that field 'Description for reference' (VFKP-POSTX) is populated with outbound delivery number (instead of transport number). We need to know how could we automatically fill field 'delivery note' (LFSNR) in material document with that number.
Best regards
Joana Trigo

Hi
So the material document should be linked to the delivery
The document flow:
Delivery->Outgoing moviment->Delivery->Bill->FI invoinces
If you start from FI:
- Get the bill number from header data: BKPF-AWKEY
- get the delivery number from bill item VBRP-VGBEL
- get the document flow for the delivery: VBFA: here you can find out the material document
Max

Similar Messages

  • Billing Document and Material Document Relation

    Dear all,
    i need to know about the relation between Billing document and Material document.
    Please let me know if there is any Function Module or Some View available to get these details.
    my only requirement is to get only Material document From Billing Document.
    Thanks In Advance.
    Pradeep.

    Hi
    So the material document should be linked to the delivery
    The document flow:
    Delivery->Outgoing moviment->Delivery->Bill->FI invoinces
    If you start from FI:
    - Get the bill number from header data: BKPF-AWKEY
    - get the delivery number from bill item VBRP-VGBEL
    - get the document flow for the delivery: VBFA: here you can find out the material document
    Max

  • Establish link between Billing document and material document

    Hi All,
    I have billing document for some materials created using the FM BAPI_BILLINGDOC_CREATEMULTIPLE and I have created the material document for the corresponding materials using the FM BAPI_GOODSMVT_CREATE. Both these documents have been created in separate FM calls.
    My requirement now is that I have to establish a link between these documents, so that the material document appears when  the "Document flow" button is clicked in billing screen (VF02). Does have any suggestion for making this happen ? Any help will be highly appreciated .
    Cheers,
    Sandeep

    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.

  • Billing Document and Material Document number and Date (Goods Issue)

    Dear Experts,
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    Thanks

    Hi Abid
    Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
    You have to follow the flow from the billing document to the material document. This will only work if the billing document comes from a delivery note.
    Billing document => Delivery
    LIPS-VBELN = VBRP-VGBEL
    and LIPS-POSNR-VBRP-VGPOS
    So you have LIPS + LIKP with the LIKP-WADAT_IST as the goods issue date.
    Delivery => Material Document Number
    You can use the table VBFA with the delivery item as the preceding document number (VBFA-VBELV) and item (VBFA-POSNV) ; you will also have to define the preceding document type as J (delivery) and the document category of subsequent document as R (material document).
    Because in SAP nothing is simple, there might more than one material document, because the goods issue (601) movement might have been canceled and issue again. So you will have to decide what to do in that case.
    Best Regards,
    Franck

  • Link Between delivery and material document

    Dear All,
    how do we link between delivery document,
    and between delivery document and accounting document,
    with regards
    Mohammed Raees

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • PO print OUT And material Document Print Out is coming In English

    HI all.
    I have Created Vendor In ZH(chinese Language,)and in material master I have maintained description in Chinese language.
    I'M taking PO and material Documents print outs  in Chinese Server log-in.
    even Though Im taking Print outs in Chinese Log-In server, IM getting Print outs in English Language only not In chines language..
    At the Time Of PO creation the Communication Language is ZH(Chines)..
    I have read some related post even 89899..
    But I have not find solution
    plz help me.
    thanks and regards
    ramesh reddy.'

    Check SAP Note 894444 - Tool for server-based printing on Windows (SAPSprint) for your requirement,
      Installation
    Before you install SAPSprint, delete SAPLPD manually. To do this, you normally need to completely delete the installation directory only. If you installed SAPLPD as a service using the srvany tool, you can remove the service by calling 'Instsrv SAPLPD remove'.
    You can download SAPSprint as a self-extracting executable file from SAP Service Marketplace:
    1. Entry by Application Group (on the left)
    2. SAP Frontend Components (on the right)
    3. SAPSPRINT (on the right)
    4. SAPSPRINT <Release> (on the right)
    5. SAPSPRINT <Release> (on the right)
    6. Win32 (on the right)
    Start the program. After you enter the installation path, the system prompts you to enter the TCP/IP port.
    Normally, the default setting of 515 is suitable for the port. You should only change this setting if the Windows TCP/IP print service is also running on the computer. The SAPSprint Windows service starts as soon as the installation is over.
    We recommend that you set up the following options for the service in the Windows Service Control Manager:
    The service should run under a domain user that has the relevant authorizations for the required printers. After the installation, the service runs under "Local system account". This can access locally-defined printers only. You can set the user in the Windows Service Control Manager, in the options of the SAPSprint service.
    If you want to delete SAPSprint, you can do so using the normal Windows uninstall tool.
    We recommend that you install the SAPSprint service on a separate computer and not together with a SAP system, especially if you use a large number of printers. All printers that SAPSprint uses must be installed on the SAPSprint computer. This applies particularly to released printers from other computers. These should be installed as a queue on the SAPSprint server.
    Also note further settings in accordance with Note 1069483.
    Settings
    You can display the call parameters available for SAPSprint by calling 'sapsprint -?' on the command line. The most important parameters are those that set options, especially log options for troubleshooting.
    You can set the log level to 5 by specifying 'sapsprint -oi LogLevel 5'. Immediately after installation, no log level is set up, which means that no log file is created. By setting the log level to 1, 5, or 9, you can ensure that more information is available in the directory that you specified during the installation. A file called sapsprint.dbg and a print job specific file with a variable name are generated. The second file is deleted after successful printing. It is only retained if the printout is recognized as incorrect. If you set the option 'sapsprint -oi KeepFile 1', then both this file and the print file are retained. This is primarily intended for troubleshooting by SAP Support.
    All options are case-sensitive. You can display the most important SAPSprint options by calling 'sapsprint -?'. All possible options are described in Note 85469. Normally, the options described there are not necessary - you should use them only in exceptional circumstances.

  • Sync of Material document and accounting document during MIGO

    Hi Friends,
    Can we synchronize the Document numbers between Material document (WE) for GR (101) and Accounting documents created for the MIGO transaction????
    We have 50 is assigned to WE. But, we have a gap in numbers of Material document number and Accounting document numbers??? though the document type WE is common for both.
    I have seen that "Buffer" is the culprit. But, not sure how to fix that.
    Appreciate your help in this regard.
    Dev.

    When the document type is same (WE) for both, how come the accounting doc has continuous numbers and Material doc has breaks ( from buffer)????
    document type WE is same for GR for material document and accounting docu but number range are stored diffrentely.
    OMBT is where u store the number range for material document
    and this number range is assigned to group of materia doc we wf wo ww
    OMBA is where u create diffrent number range for accounting document hear U assign WE to ur transaction code and in turn WE is assigned a number range what is created in OMBA, this number range is nothing to do with number range u have created in OMBT.
    when ever u post the docunemt in system
    SAp hav efixed the document type for GR that is WE
    it goes in OMBA in the group of Material documents for goods receipts
    check what is the year and number range assigned and current number so it assignes this number first
    than it go to OMBA  cheks what is the Tcode u are using and what is document type u have assigned to that tcode and it can be any WE or what ever u have assigned to that tcode
    taking that doc type it goes and see what Number range is assigned say 50 and then checks company code and year for this 50 and get the number for accounting doc
    so i think its is clear that material and account are 2 diffrent ranges
    skiping of numbers might be due to buffer
    also go throught following post it will be helpfull
    GR NO SEQUENCE - MISMATCH
    hope this helps

  • ML81N Service entry sheet and material document

    Hello,
    Why SAP creates a material document "WE" and another document "Lerf" when you create a service entry sheet using the ML81N transaction?
    I have seen too that if you don't set up the "No limit" flag in the purchase order then you can make a lot of entry sheet but SAP doesn't create the same number of material documents.
    Therefore, it can be a scenario where you can have a document entry sheet but you don't have the corresponding material document.

    Hi,
    The GR document is an official document. The system creates the material document automatically when you accept and save the entry sheet (ESSR-KZABN = X).
    "Lerf" in the PO history is a service entry sheet, the material document is the same material document which MIGO would create.
    Please check the EKBE and MSEG for the entries.
    You can save for the same PO several entry sheets and the system automatically creates material documents for these entry sheets when you save and accept the entry sheets. It is not possible to save more than 1 material document for the same entry sheet.
    But it is possible to release entry sheets collectively in ML85:
    For example you created a PO with service quantity 20 and you can create as many entry sheets as the quantity from the PO service item (20) and the overdelivery tolerance this allows. All of these entry sheets will refer to the same PO item. In ML85 you can release all of these entry sheets in the same step in ML85 and the system will create a material document (just 1 material document) with as many items (BUZEI) as many different entry sheets you saved for your PO item...
    Regards,
    Edit

  • What is the Std Cost field in Material document

    Hi,
      Can someone please advice what the table name and fieldname for fetching the std cost from the material document.
    I have checked the tables MKPF and MSEG but could'nt find any.
    Thanks,
    Arti

    Hi,
    Can you please tell me where the Standard Cost  is stored in the Material Document ? I am looking the same Material Document in the MIGO 'Display Mode' and i am able to trace the Accounting Documents in it..
    Can you please clearify where that field is present in the MB03 or MIGO Tcode....
    Edited by: nav009 on Jan 15, 2010 7:25 AM

  • New document type for Physical and material documents

    All SAP Gurus,
    I have created new document type in OBF4.
    How to view that Document type in OMBT (number range for for Physical and material documents)
    Regards,

    Hi,
    on the menu bar of trxn  click "number range object" in that go into overview you will get number range object overview  of every documment type or else do shift F7.
    Regards,
    Archit

  • Need help abt Purchase order and material document number

    1)Is there any releation ship between Purchse order number and material document number?
    2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?

    hi kiran
    check this thraed. this gives you relatinship between Purchse order number and material document number
    Retrieving Accounting Document number based on PO numbers
    BAPI to get goods receipt details by using purchase order number is
    BAPI_GOODSMVT_CREATE
    thanks
    Sachin

  • Table name and field name for accounting and material document in MM

    Hi
    Table name and field name for accounting and material document in MM
    how can we diffreentiate the accounting document in MIGO and MIRO ?

    Hi,
    For Goods reciept documents you can search from the tables  MKPF-Header: Material Document and MSEG-Document Segment: Material,
    and for Invoice documents you can search in  tables   BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
    For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
    Hope this may help you.....................

  • Unable to create excise invoice against the Material document

    Hi experts,
    Unable to create excise invoice against the Material document in J1IEX transaction.
    Material document is generated through quality management which movement type is 105.
    error message :
    Material document cannot be processed
    Message no. M7130
    Thanks
    SAP MM

    Steps to do GR along with excise,
    1.Capture excise invoice using J1IEX.
    2. Refer excise invoice no. in MIGO(SAP not recommends to post excise invoice against 105 mvmt against blocked stock)
    3. Post excise invoice using J1IEX

  • Relation between goods receipt and material document number

    guyz!
    i got stuck up at one functional doubt. can any one say link between goods receipt and material document number. in other way, i wanted to know difference between these two i.e. goods receipt and material document number. or both are same.
    awaiting for reply
    manas

    Hi,
    Just have a look if this thread can solve ur problem.
    Re: display goods receipt
    Rgds,
    Prakash

  • Relation between Material Number and Material document Number.

    hi xperts,
         I want to Know Is there any Relation ship between the <b>Material Number</b> and <b>Material Document Number</b>.
      If So can i get any Tcodes to check them?
    Thanks in advance.
    Message was edited by:
            STALIN JOSEPH

    Hi,
      Thanks for your reply.
    I want to Load the Inventory Management Data into Business warehouse ,there the Only way i correlate the Data between is by taking some material Number.
    and Material Document.
    In step 1 i load Material Number data and step 2 i load material document data,so i want to make cure those two loads i load the same material numbers.
    Please help me to collerate between them.

Maybe you are looking for

  • Os 10.4.4 combo update

    I am trying to fix a conflict between QT 7 and Premiere 6.5. I downloaded the 10.4.4 combo update from the apple website because I am trying to follow someone else's set up where he reports no problems. The update is 'not recognised' by my computer.

  • How can i request just the navigation or just the product list when i query the dgraph?

    Is there a way to make a request for navigation only or record list only?

  • Function Module Call CONVERT_OTF_AND_FAX

    Hi, Could someone please explain how to use this FM, it is unable to generate a fax for me and I always get a conversion error in SOST, following is the code. I have searched this forum and internet and usage in standard SAP includes but still could

  • Equium M40X: WLan card drivers don't work

    Hello, I just installed fresh WXP and I can't find wireless drivers in internet. I found 3 or 4 drivers but the device is still not working. Any idea where to look or what to do? Cheers, Bilas

  • Create button on ALV Dashbaord

    Hello All, We have upgraded from XRPM 4.0 to XRPM 4.5 and also have switched to ABAP Dashboards from Java Dashboards. However on this new Item Dashboard, Collection Dashboard, Bucket Dashboard, etc the Create button is not working and also i am not a