Link to MIGO

Dear All,
     i want to create link when user double click the posting no. and my screen will link to MIGO screen to display the posting details.  i used following code to link , but  when disply the screen in migo , the system will ask to select the YEAR for the posting . In my coding i already past in the year rite  ???
               SET PARAMETER ID 'MBN' FIELD ZCL_MSEG-MBLNR.
               SET PARAMETER ID 'GJR' FIELD zcl_mseg-mjhar.
               CALL TRANSACTION 'MIGO_GO' AND SKIP FIRST SCREEN.
Thnks.

check this
link::[caling migo dialog|http://www.erpgenie.com/sap/abap/code/abap57.htm]
Edited by: Keshu Thekkillam on Aug 6, 2009 1:07 PM

Similar Messages

  • DMS object link to MIGO tcode - attach to GRN

    Hi,
    Our scenario requires us to link documents with specific GRN number via MIGO tcode. This is a non-std object and the logic
    1.Program two screens for the following module pools for the SAP object that is to be linked additionally:
    u2013 SAPLCV00
    u2013 SAPLCVIN.......
    is not helpful at all and incomplete.
    Could anyone please let know what needs to be done from GRN object side to enable documents to be attacvhed.
    Archivelink is not an option because several documents need to follow life ctycle and versioninG.

    Hello,
    It is a two step process:
    1. Screen activation in SAP DMS
    2. Screen activation in SAP Object
    Please follow below steps:
    1. Configuration of screens as per SAP suggestion & Maintenance of Standard Structure MCDOKOB
    Material document number filed MBLNR need to be included in the standard structure.
    2. For t code MIGO, following function module needs to be maintained - OBJECT_CHECK_MSEG
    3. Maintenance Key Fields
    MSEG MIGO MBLNR MBN
    4. Maintain Object link
    MSEG Material Document Screen Number (enter the screen number which you have configured)
    Use the above created object link in your document type.
    5. Implementation of BADI - MB_MIGO_BADI, this is to activate the sceen of documents in MIGO
    I have not done this. So it is possible that i would have missed some step.
    But I am sure, it will help you a lot.
    Thanks & Regards,
    Mihir Popat

  • 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

  • Regarding User Exit for MIGO

    Hi Friends:
       I've got the following urgent requirement.When we execute the transaction code for GR i.e. 'MIGO', there should a BDC triggered automatically in the background.This BDC should update the transaction code 'F.13' for automatic clearing.
       I just wanted to ask if there is any kind of user/customer exit or BADI available so that a BDC can be linked to MIGO.I want this BDC to be triggered as soon as the MIGO gets saved.The data in F.13 should be updated is 'company code, fiscal year, assignment no(concatenate ebeln & ebelp), check G/L acct, put G/l acct. no, uncheck 'Test run').This BDC should run on a runtime basis i.e. we have to pick data one by one from MIGO.
         I hope I've made my requirement clear.Is there anyone who have done this earlier & can give me a readymade guideline/example/code so that I can handle this urgent requirement.Is there any kind of confusion, please advise.I really need help on this.Please advise.Reward points will be there.If anyone want to send any material on this, please send on '[email protected]'.
         Friends, I'll really be thankful for this help.
    Thanks:
    Gaurav

    Hi Gaurav,
    Following exits are available for MIGO:
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    Following exits are available for F.13:
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not s
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI docume
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Chang
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Tex
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segmen
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    Ashven

  • Goods receipt not possible for delivery 800001597: error code 4

    Hi,
    When doing goods recipt for outbound delivery in MIGO, I am getting the below message:
    Goods receipt not possible for delivery 800001597: error code 4
    When going in details of error messgae:
    For error 4 : Check the delivery and its document .
    Document flow is as below:
    Step 1. PO Created
            2. Delivery created with ref to PO
            3.Picking
            4. Shipment Created
            5. Goods Issue complete.
    Now what i have to check.
    Thanks in advance.
    Regards

    Check the link Re: MIGO
    Also check OSS Note 458770 - GR for outbound delivery shipping units with batch split and Note 314765 - M7865 during GR f. delivery w/ default values 102 if it applies to your SAP version.
    Regards

  • Goods receipt not possible for delivery 80172554: error code 8

    Hi all,
    I got this error but the description does not helps to understand the issue.
    Goods receipt not possible for delivery 80172554: error code 8
    Message no. M7865
    Diagnosis
    The goods receipt for the delivery cannot be posted.
    The error according to the error code:
    1. The delivery does not exist.
    2. The delivery type is unknown.
    3. The delivery is not goods issue posted.
    4. There are no delivery items.
    5. The receiving plant could not be determined.
    6. The delivery items have already been goods receipt posted or contain zero quantities.
    7. Goods receipt(effect)movement type to goods issue movement type could not be determined.
    8. It is not currently possible to block the delivery.
    Procedure
    Error code 1      : Check your entry.
    Error code 2,3,4,6: Check the delivery and its document flow.
    Error code 5      : The delivery must be related to a purchase order or
                        the customer must be a retail business.
    Error code 7      : Check the settins for your movement types.
    CD

    Please check this answered link:
    Re: MIGO
    Re: Inter comapny  PO-
    Goods receipt not possible for delivery 800015869: error code 1
    STO Problem while doing GR against outbound delivery
    Edited by: Afshad Irani on Jun 2, 2010 7:13 PM

  • Goods receipt without capture excise invoice

    Hi all
    I wanted to do the goods receipt for which the vendor will submit the excise invoice later. How to capture this process in sap
    I need step by step process
    Pls help
    Suresh

    HI,
    Check the link
    Re: MIGO for Excisable material without entering Excise details in MIGO
    Regards
    KK

  • MM related table

    Hi All,
          In which table Purchasing data is available. ( Important TABLE for MM)
    Thanks in advance.
    Asim

    Hi,
    Your requirment asks for two things, as one is Purchasing data tables whereas the second is the important table for MM.
    Please make a note of the following important tables wrt MM module which may be helpful to you.
    1. Master Data Related:
    Material Master
    MARA - client level data
    MVKE - Sales related data
    MARC - Plant specific data
    MBEW - Valuation of material related
    MARM - Unit of measurements related
    Vendor Master
    LFA1 - General data of VM
    LFB1- Accounting data of VM
    Source List - EORD
    Purchasing Info Record - EINE and EINA
    2. Purchase Order
    EKKO - For Header details
    EKPO - For item details
    3. Goods Receipt ( MIGO )
    MKPF - headere details
    MSEG - ITem details
    4. Invoice Verifcation ( MIRO )
    RBKP - Header level
    RSEG - Item level
    5. Others
    EKBE - History details ( to link PO - MIGO and MIRO )
    RESB - Reservation
    IKPF and ISEG - Physical inventory documents.
    These tables will satisfy your major requirements as fas as MM module is concerned.
    Regards,
    RitiG

  • Inspection lot w/o stock tab

    Hi Guru,
    We receive job work items through MIGO and MB31.
    During MIGO , create one inspection lot  w/o inspection lot stock tab and again create one more inspection lot at the time of MB31.
    Pl. suggest any setting so that only one  inspection lot will create after MB31.
    Regards,
    Rakesh Patel

    Hi Rakesh,
    Kindly excuse me but thereu2019s a confusion to me, if you can please clarify the same.
    1.     First transaction that you are carrying out is MIGO for 101 movement I guess.
    2.     For this movement you are observing that inspection lot stock is not getting generated. The probable one of the reasons for this according to me is, goods receipt against cost center using item category K in PO.
    3.     When you inward such material against K, the stock gets consumed at the same moment you inward it. This is standard behaviour of SAP.
    My question is,
    1.     MIGO is done for say material XYZ. (the stock is not visible in MMBE if you have inwarded against cost center.)
    2.     Now MB31 is done for which material? Is it the same material or different? If you have activated 04 inspection type to the material whose production you are declaring then system will generate the lot for it in 04.
    3.     MB31 is generally used for goods receipt against production order.
    I am unable to establish the link between MIGO and MB31 here.
    Regards,
    Anand Rao

  • Need to know Objects Linking for MM Transactions MIGO & ML81N

    We have a typical requirement to store & retrieval of Inspection Records / Reports which were used during Goods Receipt in MM i.e QA32 / or MIGO  Transaction & also at service Entry Sheet i.e ML81N  ( MM Transaction ).
    Can anyone help how can we achieve this as we are implementing DMS in ECC 6.0 on EHP 5.
    The purpose is to store Quality Inspection records while doing Goods inspection in QA32 , & same is doing while passing service entry sheet  ML81n. At any time in future we would be able to pull out soft / PDF copy of inspection reports as certified by Quality dept.

    Hi Umesh,
    Please note that SAP DMS doesn't extend any object linking feature for MIGO transaction.A better approach to meet your requirment would be to store documents via Archivelink.The key steps involved are:
    - Content repository definition for Archivelink
    - Document type creation
    -  Assignment of the above document type to MIGO business object BUS2017
    Regards,
    Pradeepkumar Haragoldavar

  • Commercial Invoice Number in MIGO (GRN) Document - Link

    Hi All,
    I wish to understand - what/where/how is SAP establishing the link between the Custom/Commercial Invoice posted via MIRO to Goods Receipts (MIGO).
    I am also interested to know whether this link is at all updated in SAP somewhere?? This should help me determine the errorneous linkages and save subsequent reversals as well.
    Thanks in anticipation,
    Gaurav.

    Hi Gaurav,
    From my experience with SAP ECC 6.0, I have not consistently found a direct link between the MIGO documents and the MIRO documents.  The only thread is the PO number and the PO line item number.  If when you create the Purchase Orders and you have GR-Bsd IV (EKPO- WEBRE) checked, then the system won't allow you to post a MIRO UNLESS a MIGO has been done.  The theory behind that is that the invoice should be for that particular receipt (or delivery note).  However, once a MIGO is posted, you can post multiple MIROs for that PO then.
    I've used the table EKBE to analyze what is stored for documents posted to a particular PO.  You might try looking at the table to see if you can see a link between a particular PO's invoice and gr.  If you look at the PO History Cat. (BEWTP), Q's are invoices and E's are goods receipts.  You might try checking the Reference Doc field (LFBNR), it appears if you have checked the GR-Bsd IV on the PO, then this field is populated for the invoice with the gr's MM doc number. However if the GR-Bsd IV flag was not checked, then the field may be blank.
    You might want to try posting your question in the ERP Logistics Materials Management group.  That audience may be able to provide you with more information.
    Hope that info helps you some,
    Cindy

  • Copy WBS, MIRO, MIGO element to respective Document Object Link....

    Hi Experts,
    I need to link/copy the WBS element Document number from CJ12 to the Document Object Link (while creating a Document Number from the cj12 screen).
    I have checked BADI's and exists but i couldnt find the exact point to capture the WBS Element and add the same into the DRAD Table.
    In the same fashion i need to capture the MIGO and the MIRO Document Number and put it in the respective Document Object link tab. MIGO and MIRO DMS screens are custom Designed.
    I have tried adding the code in the BADI - DOCUMENT_MAIN01, but am not able to capture the WBS, MIGO, MIRO Documents.
    Pls provide a solution if your time permits, Thanks in Advance.
    Regards,
    Saravana
    Edited by: Thomas Zloch on Mar 17, 2011 3:21 PM - priority reduced to normal

    Hi ,
    In DC10 define document type and assign sap object links . To make fields as mandatory its an risky in DMS customization it will effect on other sap object links like BOM item,BOM header. why beacuse for an BOM item you cannot assign values directly on CV02N.So that you need to create DIR  first and than assign BOM item from user t-code . 
    Regards,
    chandu.

  • Table to link vL03 and MIGO

    Hi
    in which table i will get the link between VL03 Document num and Migo ?
    Regards
    Smitha

    Hi,
    Table VBFA gives you the complete document flow. Pass delivery number as preceeding document. You will get MIGO doc in the succeeding doc.
    Thanks,
    Vinod.

  • Link between MIRO & MIGO

    Dear All,
    Please advise from where I can find the link between IV & GR.
    My objective is to find open invoices against GR & PO.
    Please advise.
    Thanks in advance.
    regards,
    SKF

    it would be very difficult to find Invoice pending
    you will not get is directetly any were, saying that for this gr IV is created or not
    reson is that LIV is posted against PO and not agaist GR number
    so u can find GR numbers for LIV but reverse way very difficult
    as SAP dont update any table where u will find LIV number updating GR documnt
    u can check EKBE po history will get a idea but not excet report
    hope this helps

  • When MIGO received PO, how to link the PO Delivery Schedule period?

    Dear All,
        I want get the PO Delivery Schedule of  this schedule period received date. But in EKET only Delivery Date, Not have MKPF posting date. In EKBE, have posting date, But when EKET have some items,   how to get the correct period posting date.
    Thanks
    Sun

    you need to join EKBE and EKET table. with the help of  ABAP team.
    the reason behind is EKBE is History per Purchasing Document
    where as EKET is Scheduling Agreement Schedule Lines
    or if you have authorization then create query on your own by Tcode SQVI.
    Edited by: deshamol on May 21, 2009 11:08 AM

Maybe you are looking for

  • How Do I back-up my Itunes to a DVD?

    I have created a New Playlist with my entire library. When I go to burn them to the DVD burner, it onyl burns random songs (like every 6th song). What am I doing wrong? Thank you! Jason

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all, I need to know how to set Multi User Environment in the weblogic 5.1 properties file.. Here my question is..:) 1) I have a database with multiple users and having different privileges for the users.. and i need to use all the privileges when

  • How to check the size of an info cube?

    Dear all Is there any t-code which can be used to see the total disk space occupied by a specific cube? I know ST14 can be used for the TOP 30 cubes and stuff. but my cube is not in top 30.....so how should i see the total size of my cube in bytes? p

  • I bought iPhone 5 restored and photos were deleted that were taken before i had time to load my old info

    I bought my iphone 5 and had it for a week before I had time to restore an old backup and get my music and photos all back to normal. I took a bunch of important pictures I needed before I did my restore and once it was complete those photos were gon

  • Excel dates export with wrong format.

    When I exported an Excel Spreadsheet with several date columns, they displayed correctly but because of wrong formatting, they didn't sort right. The cell display was, for example, 2/7/2013 but Excel treated it as 7/2/2013 because it was assigning an