MR51 - Accounting & Material Doc

Dear All
I want to enhancement of Mr51 for MIIGO & MIRO doc no correspondance with Accounting doc.
Please advise.
WBR
Avijit

Hello Jeyakanthan
Thanks for reply....
In MR51 have showing a/c doc against material code & MB51 have showing Miro or migo doc aginst material code.
But I want a/c doc & miro or migo doc against material code in one standard report whether MR51 or MB51.
Have any enhancement....?
Regards
avijit

Similar Messages

  • Material doc, accounting doc, and profit center doc in vl03n

    Hi All,
    In VL03N how can i see Material doc, Accounting doc, and Profit Center doc.
    thanks in advance,
    kumar.

    yes he meant the exact same thing which you have understood my friend, you can have any sales document number with you f& rom that you can trace all the documents relavant to that, say you have inquiry which lead to quotation then to order, delivery, invoice & finally the accounting document so by simply entering VA13 you will get the inquiry display screen where you enter your inquiry number & click on the document flow, you will get all the details which i just mentioned, double click on the particular document number which you want to see in details
    Reward Points if it helps
    Regards,
    N

  • 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

  • Extractor for Acc Doc . Material Doc/Invoice Ref

    Hi All
    I am looking for an extractor which provides the following information.
    Purchase Doc --> Material Doc / Invoice --> Acc Doc number
    Is there any extractor that i can enhance or use which gives me the following information.
    Thanks
    Vanaja

    Hi,
      Try 0FI_AP_4. It will give accounting doc and purchasing doc. I am not sure abour material doc.
    Regards,
    Raghavendra.

  • How Material Doc is linked to Invoice?

    Hi All,
    I have a query.I want to know how the Material Document is linked to the Invoice in case of mutiple Material docs. & multiple invoices(where in Invoice is cancelled & recreated again & VL09 is done).
    Is there any table where we can see the direct linkage between Material Document & Invoice.
    I checked in VBFA, but we are not able to identify which Material Doc is linked to which Invoice.
    Regards,
    Manjunath.

    Hello,
    As in the earlier mail, there is no direct link between the material documents created during PGI and accounting documents created using invoice creation.
    When you do PGI, the material documents will be created along with the same an accoutnign document also will be generated for Debiting the COGS and crediting the Inventory.
    When the accounting document is created during invoice creation, the customer get debited and sales revenue get credited. This is done using the VOKA setting (revenue accoutn determination).
    Prase

  • Cancellation of Invoice, Material doc, Inbound delivery and TO

    Hi
    I have run the following business ME21N->VL31N->LT03(TO)->LT12(TO confirmation)->Material doc is created->MIRO.
    Now i want to reverse the whole process. I have cancelled the Invoice then cancelled the Material document (MIGO), after the material document is cancelled a TR(LB11) is created, then i have created a TO from the TR created(LT04) ->TO confirmation. After this the quants are reversed from the bin to the GR area external reciepts.(nullifying with the first TO)
    My question here is how to post the stock again i.e. from where should i start ? When i am trying to create TO wrt VL32n its not happening because the status showing as completed and is it possible to cancel the inbound delivery created, If yes how to do that.
    The reason for this scenario is that the customer for some reason entered incorrect values and want to cancel the documents created.Everything should be cancelled except PO

    Scenario 1
    While creating the customer master my client forget to give the account assignment group in the billing tab of the sales area data. Because of this it did not hit the proper G/L Account. Automatically it went to some other accounts.
    My question is weather we want to cancel only the invoice or we want to reverse the delivery
    If your GL accounts will be determined based on the customer account assignment group and material account assginment group combination then you can enter manually in Billing document (if accounting document is not created), No need to reverse the invoice and delivery.
    Second Scenario 2
    My client taken the invoice without calculating the TAX and the same also released to accounts.
    Now he wants to Add the TAX
    You can cancel the previous invoice and create new invoice with taxes.

  • How to create material doc using bapi

    hi all,
    pls tell me how to create material doc using bapi ,
    if i give po no , it will create material doc no .
    advance thanks ,

    Hi venu,
    Please go thru this example, it will help u.
    REPORT ZBAPIMM01 LINE-SIZE 255 NO STANDARD PAGE HEADING
    LINE-COUNT 065(001).
    TABLES: T001L, "Storage Locations
    MARA, "General Material Data
    MAKT, "Material Descriptions
    MBEW, "Material Valuation
    MARC. "Plant Data for Material
    DATA: BAPI_HEAD LIKE BAPIMATHEAD,
    BAPI_MAKT LIKE BAPI_MAKT, "Material Description
    BAPI_MARA1 LIKE BAPI_MARA, "Client Data
    BAPI_MARAX LIKE BAPI_MARAX,
    BAPI_MARC1 LIKE BAPI_MARC, "Plant View
    BAPI_MARCX LIKE BAPI_MARCX,
    BAPI_MBEW1 LIKE BAPI_MBEW, "Accounting View
    BAPI_MBEWX LIKE BAPI_MBEWX,
    BAPI_RETURN LIKE BAPIRET2.
    DATA: BEGIN OF INT_MAKT OCCURS 100.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF INT_MAKT.
    DATA: BEGIN OF INT_MAT OCCURS 100,
    WERKS(4), "Plant
    MTART(4), "Material type
    MATNR(18), "Material number
    MATKL(9) , "Material group
    MBRSH(1), "Industry sector
    MEINS(3), "Base unit of measure
    GEWEI(3), "Weight Unit
    SPART(2), "Division
    EKGRP(3), "Purchasing group
    VPRSV(1), "Price control indicator
    STPRS(12), "Standard price
    PEINH(3), "Price unit
    SPRAS(2), "Language key
    MAKTX(40), "Material description
    END OF INT_MAT.
    SELECT-OPTIONS:
    PLANT FOR MARC-WERKS OBLIGATORY MEMORY ID PLT,
    MATERIAL FOR MARA-MATNR MEMORY ID MAT,
    MATLTYPE FOR MARA-MTART MEMORY ID MTY,
    DIVISION FOR MARA-SPART MEMORY ID DIV.
    PARAMETERS: F_FILE LIKE RLGRAP-FILENAME
    DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
    GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
    UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
    IF GETDATA = 'X'.
    PERFORM DOWNLOAD_DATA.
    PERFORM DOWNLOAD_FILE.
    ENDIF.
    IF UPDDATA = 'X'.
    PERFORM UPLOAD_FILE.
    PERFORM UPDATE_MM.
    ENDIF.
    FORM DOWNLOAD_DATA.
    SELECT * FROM MARC WHERE LVORM EQ ' '
    AND WERKS IN PLANT
    AND MATNR IN MATERIAL.
    CLEAR MARA.
    SELECT SINGLE * FROM MARA WHERE MATNR = MARC-MATNR.
    CHECK MATLTYPE.
    CHECK DIVISION.
    CLEAR MBEW.
    SELECT SINGLE * FROM MBEW WHERE MATNR = MARC-MATNR
    AND BWKEY = MARC-WERKS.
    CLEAR MAKT.
    SELECT SINGLE * FROM MAKT WHERE SPRAS = 'EN'
    AND MATNR = MARC-MATNR.
    WRITE:/ MARC-WERKS, "Plant
    MARA-MTART, "Material type
    MARA-MATNR, "Material number
    MARA-MATKL, "Material group
    MARA-MBRSH, "Industry sector
    MARA-MEINS, "Base unit of measure
    MARA-GEWEI, "Weight Unit
    MARA-SPART, "Division
    MARC-EKGRP, "Purchasing group
    MBEW-VPRSV, "Price control indicator
    MBEW-STPRS, "Standard price
    MBEW-PEINH, "Price unit
    MAKT-SPRAS, "Language key
    MAKT-MAKTX. "Material description
    INT_MAT-WERKS = MARC-WERKS. "Plant
    INT_MAT-MTART = MARA-MTART. "Material type
    INT_MAT-MATNR = MARA-MATNR. "Material number
    INT_MAT-MATKL = MARA-MATKL. "Material group
    INT_MAT-MBRSH = MARA-MBRSH. "Industry sector
    INT_MAT-MEINS = MARA-MEINS. "Base unit of measure
    INT_MAT-GEWEI = MARA-GEWEI. "Weight Unit
    INT_MAT-SPART = MARA-SPART. "Division
    INT_MAT-EKGRP = MARC-EKGRP. "Purchasing group
    INT_MAT-VPRSV = MBEW-VPRSV. "Price control indicator
    INT_MAT-STPRS = MBEW-STPRS. "Standard price
    INT_MAT-PEINH = MBEW-PEINH. "Price unit
    INT_MAT-SPRAS = MAKT-SPRAS. "Language key
    INT_MAT-MAKTX = MAKT-MAKTX. "Material description
    APPEND INT_MAT.
    CLEAR INT_MAT.
    ENDSELECT.
    ENDFORM.
    FORM DOWNLOAD_FILE.
    call function 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = F_FILE
    FILETYPE = 'DAT'
    FILETYPE = 'WK1'
    tables
    data_tab = INT_MAT
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    OTHERS = 10.
    IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Download Successfully to your local harddisk'.
    SKIP.
    ENDIF.
    ENDFORM.
    FORM UPLOAD_FILE.
    call function 'WS_UPLOAD'
    EXPORTING
    FILENAME = F_FILE
    FILETYPE = 'DAT'
    FILETYPE = 'WK1'
    tables
    data_tab = INT_MAT
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    OTHERS = 10.
    IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Upload Successfully from your local harddisk'.
    SKIP.
    ENDIF.
    ENDFORM.
    FORM UPDATE_MM.
    LOOP AT INT_MAT.
    Header
    BAPI_HEAD-MATERIAL = INT_MAT-MATNR.
    BAPI_HEAD-IND_SECTOR = INT_MAT-MBRSH.
    BAPI_HEAD-MATL_TYPE = INT_MAT-MTART.
    BAPI_HEAD-BASIC_VIEW = 'X'.
    BAPI_HEAD-PURCHASE_VIEW = 'X'.
    BAPI_HEAD-ACCOUNT_VIEW = 'X'.
    Material Description
    REFRESH INT_MAKT.
    INT_MAKT-LANGU = INT_MAT-SPRAS.
    INT_MAKT-MATL_DESC = INT_MAT-MAKTX.
    APPEND INT_MAKT.
    Client Data - Basic
    BAPI_MARA1-MATL_GROUP = INT_MAT-MATKL.
    BAPI_MARA1-BASE_UOM = INT_MAT-MEINS.
    BAPI_MARA1-UNIT_OF_WT = INT_MAT-GEWEI.
    BAPI_MARA1-DIVISION = INT_MAT-SPART.
    BAPI_MARAX-MATL_GROUP = 'X'.
    BAPI_MARAX-BASE_UOM = 'X'.
    BAPI_MARAX-UNIT_OF_WT = 'X'.
    BAPI_MARAX-DIVISION = 'X'.
    Plant - Purchasing
    BAPI_MARC1-PLANT = INT_MAT-WERKS.
    BAPI_MARC1-PUR_GROUP = INT_MAT-EKGRP.
    BAPI_MARCX-PLANT = INT_MAT-WERKS.
    BAPI_MARCX-PUR_GROUP = 'X'.
    Accounting
    BAPI_MBEW1-VAL_AREA = INT_MAT-WERKS.
    BAPI_MBEW1-PRICE_CTRL = INT_MAT-VPRSV.
    BAPI_MBEW1-STD_PRICE = INT_MAT-STPRS.
    BAPI_MBEW1-PRICE_UNIT = INT_MAT-PEINH.
    BAPI_MBEWX-VAL_AREA = INT_MAT-WERKS.
    BAPI_MBEWX-PRICE_CTRL = 'X'.
    BAPI_MBEWX-STD_PRICE = 'X'.
    BAPI_MBEWX-PRICE_UNIT = 'X'.
    WRITE:/ BAPI_HEAD, BAPI_MARC1.
    call function 'BAPI_MATERIAL_SAVEDATA'
    exporting
    HEADDATA = BAPI_HEAD
    CLIENTDATA = BAPI_MARA1
    CLIENTDATAX = BAPI_MARAX
    PLANTDATA = BAPI_MARC1
    PLANTDATAX = BAPI_MARCX
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA = BAPI_MBEW1
    VALUATIONDATAX = BAPI_MBEWX
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA = BAPI_MVKE1
    SALESDATAX = BAPI_MVKEX
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    IMPORTING
    RETURN = BAPI_RETURN
    TABLES
    MATERIALDESCRIPTION = INT_MAKT
    UNITSOFMEASURE =
    UNITSOFMEASUREX =
    INTERNATIONALARTNOS =
    MATERIALLONGTEXT =
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    IF BAPI_RETURN-TYPE = 'E'.
    WRITE:/ 'Error Message ', BAPI_RETURN.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    *---End of Program
    Reagrds,
    Kumar

  • Invoice Verification with material document - can we check material doc?

    hi,
    we have Invoice Verification with material documents in MIRO
    is there any way to find out (from MSEG or ekbe maybe) if a particular
    material document was invoiced or not ?
    (without comparing material doc and invoice lines ?)
    thank you,
    Regards,
    michal

    Hi
    Materials Management under Logistics Invoice Verification u2192 Incoming Invoice u2192 Activate Direct Posting to G/L Accounts and Material Accounts
    When you create an invoice containing only items without reference to a PO, the system cannot copy any information (such as currency or invoicing party) from the purchase order. This means that in addition to the document date and the amount, you first have to enter the following information in the header data:
    1. On the Basic data tab page: Currency
    2. On the Payment tab page: Baseline payment date
    3. On the Detail tab page: Invoicing party
    Finally, you enter the item data on the G/L Account and Material tab pages.
    use transaction FB60 to post vendor invoice
    SAM

  • IP address of material doc

    Dear MM guys,
    Any method to find out which IP address a material doc been processed?
    Even via any audit transaction.
    Our scenario is 3 persons share a sap user account but not per work shift, we would like to find out who executed a corresponding GR material doc.
    Thanks in advance.

    Hi,
    This issue can be solved like this . While posting the MIGO in any of the reference fields of header or texts fields let them maintain their name or any other code so that this can be easily identified through  tables like mseg or any other . also sap stores the time of entry so that through that you can identify .
    Regards,

  • Unable to post the excise through J1IG w.r.t material doc....

    Hi
    Please need your inputs....
    We are configuring the trading import scenario.
    We created the material doc through MIGO and the user need not to capture in the exicse during the MIGO they need to capture the excise entries through J1IG.
    But I am unable to capture excise through J1IG with reference to material doc
    System will not capture all values.
    I can able to capture the excise during the MIGO but I am unable to capture the excise with material doc through J1IG
    Please give your valuable suggestion.
    Edited by: K. Raghuram on Dec 6, 2011 7:47 AM

    Thanks for your promt reply Nagarajan.
    We are using serial no functionality for that perticular material.
    While doing Goods issue wrt STO (351) we select serial nos for eg (10001 to 10105), qty-105.
    While doing GR wrt PO i.e. STO (in Rec Plant) those serial nos are not reflected.
    So we needed GR wrt Mat doc.
    Regards,
    Sachin Narvekar

  • Std Report to see Material doc. and FI doc.

    Hi all,
    I want a SAP standard report where i can see both the Material doc. as well as the FI doc. created against that in a single report.
    Please help.
    Thanks & Regards,
    Rajeev Kumar

    hi
    go to MB51 then excecute then u will see the report just go to
    system >list>save>local file  click and choose spreadsheet
    allthe report can be convert to excel format using this
    regards
    kunal
    award if helpful

  • Material doc in AFRU table

    Hi Guys,
    Need a little help, Can any body tell me why sometimes there are enteries in AFRU table with material doc number (WABLNR) and some time material doc number field came as blank. Even though in MSEG i see material doc number (MBLNR) but its blank in AFRU-WABLNR?? Any help be appreciated.

    >
    samiaalis wrote:
    > Hi Guys,
    >
    > Need a little help, Can any body tell me why sometimes there are enteries in AFRU table with material doc number (WABLNR) and some time material doc number field came as blank. Even though in MSEG i see material doc number (MBLNR) but its blank in AFRU-WABLNR?? Any help be appreciated.
    AFRU table is for order confirmation
    Material document will create if the material is subjected to goods movement
    In case if you use auto GI and GR, then at the time of confirmation, system will post the goods movement
    at the time of operation confirmation, if the operation is linked to goods movement( if raw material is assigned to operation or final operation related to GR, that means auto GI or GR, then along with confirmation, material document will create.
    In case for particular operation , consider you have n't assign any raw material for the operation , at that time, for that confirmation, No material document is posted, for that confirmation, material document field in AFRU, will be blank

  • Transfer posting with reference to Material Doc and PO

    Dear all,
    Any Idea on how to use this function Transfer Posting wrt Material Doc/PO.
    Basically there is a genuine requirement from client which seems quite logical. There are two PO to different Vendors. Goods are receipt and sent to Quality Inspection. Once visual inspection is done, material from one Vendor is sent to Unrestricted and other still lying to be inspected. Material is transferred to Unrestricted. How does we tag that Stock of Vendor 1 is sent to unrestricted and Stock from vendor 2 is still on Inspection.
    There may be multiple Vendor in this case.
    Secondly, there are more than 50 line items in the PO, I have checked all the items and decide to sent it to unrestricted. And, to save time and confusion, I need to refer the GR/PO.
    No batch
    Any input. And how does this new function (attached image) is helpful. It is not possible to refer the PO/Mat doc during TP though the option is there.
    Regards,
    Lakhya

    Hello ,
    Case 1- Remining quantity will not be taken and sent back to vendor.
    you can just reject the quantity if you don`t want it any more.So only one invoice will be happened for the quantity which you have transfer
    if you will be returning the remaining quantity then do the config for auto return in  SPRO.
    So steps will be like this,
    1) create po for 100
    2) do GR in Quality
    3) post 90 in unrestricted and 10 in return while doing the UD in QA11
    4) do the invoice it will be done for 90.
    case 2 - remaining quantity will be taken in afterwards
    if you want partial UD then it wont be possible , And you have to either plan your receipts to accommodate full quantity of item in single lot .
    you can either do a enhancement to restrict the MIRO before UD is done using LMR1M001
    hope this help.Search on net you will get thread for this requirement.
    Thanks
    Kunal

  • BAPI /FM for getting Transfer Order details based on Material Doc No.

    Is there any FM or BAPI with which I would be able to get directly Transfer Order details, status etc based on Material Doc No without going into the tables?
    Thanks for your help
    Usha

    Yes, you can use BAPI_WHSE_TO_GET_DETAIL.
    You can find bapis using transaction BAPI and following functionnal nodes.
    Regards,
    Christophe
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 30, 2008 11:37 AM

  • Material Doc Showing Twice in ZSTO PO while uploading BDC

    Dear Gurus,
    For STO(Stock Transfer Order) PO we are uploading a BDC. After executing the BDC , it will generate material doc also.
    For E.g:
    we uploading a BDC for 50 materials.It will generate a material doc for 50 materials but for one or two materials, it is showing the material documents 2 times(twice).
    plz tell me,whats happening.
    thx in adv..........

    Check the movement type for those material where material document is coming twice. It is more of Movement type 301 or 303 or 305 or 311 313 or 315.
    this is standard behavior of SAP at database level for such movement type.

Maybe you are looking for

  • ITunes is not displaying correctly on my laptop, iTunes is not displaying correctly on my laptop

    Hi - iTunes has recently stopped dsiplaying correectly on my laptop.  It still works in terms of it will play music - but finding the music I want to play is the problem.  It's not displaying text and only displaying some graphics - if I hover over d

  • I have only a few clips that need to be up resed

    I read the Ken Stone article on working in low res, but in order to up-res, you have to create an entire offline sequence. I only have a few clips that were captured at OfflineRT (photo jpeg), I cut them in to a full-res sequence, now how do I select

  • Problem when launching Photoshop CS3 in OSX 10.5.1 (Leopard)

    When I launch Photoshop CS3 it quits and a message comes: "can't launch Photoshop because file is locked. Go to 'File' > 'Get Info' and unlock the file". But the file is not locked. Any idea? Thanks.

  • Accessing datetime  range data from table...

    Hey Everyone, I have table called vdet_sa_archive and in that table there are so many fields and i want to access the data on datetime range. sample data in table starttime endtime 1 14-02-13 01:30:15.000000000 AM 14-02-13 02:01:57.000000000 AM 2 14-

  • Darren's Occasional Nugget 05/18/2007

    Reading Jim's post about loop debugging on this LAVA thread reminded me of a similar trick I do with Event Structures.  In my event-based UIs, I always wire the iteration count of the While Loop containing my Event Structure through to the inner bord