Automatic purchase order via MIGO

Hello,
I'm trying to do a GR via MIGO. The GR is supposed to create a Purchase Order. I enter the vendor account in "buisiness partner" tab but I keep getting error massage "please enter vendor" (M7 018).
I'm working on version 4.6c.
Has any one ancountered the same problem ?
Many thanks,
Sarit Babnik

Hi
you have to check all the setting befor you to MIGO
1.Material master in purchasing screen Auto PO checked
2.Purchase group should be same in
         Material master
         Vendor master
          info record
3. Vendor master purchasing screen should be checked with Auto PO
then do a MIGO with Mvt type 101. then it will give PO number once you post the document.

Similar Messages

  • Issue with Automatic Purchase Order creation.

    Hello
    I am creating Automatic Purchase Order via transaction ME59N.
    I have  1 Purchase Requistion for 2 line items having 2 materials .When I create PO the system is creating 2 different PO's instead of one PO even though the Vendor is same.I am not able to understand why 2 PO are created even though PR is 1 .
    I would like to have one Purchase Order with 2 line items in the same way I have 1PR with 2 line items.
    Regards

    Hi Satish
    Thanks for the reply.
    I checked the parameters and it is creating 2 PO when the Indicator Ordering address is set.If I uncheck this Indicator then only one PO is created.
    But now my question is from where is the Ordering address taken because for both line items Vendor is same and ordering address is also same.
    Then why the system is creating new PO?
    Regards
    Vaibhav Mahajan

  • MIGO 101 automatic purchase order creation

    Hi!
    We have Release 640 or at least 4.6C. We need to turn on the process, automatic purchase order creation by MIGO with movementtype 101 for two materials. So far the function in customizing is turned on (marked as on) but no reaction if I try it. The documentation is not very exactly than only to turn on which is already now! Can I fix this process just for two materials? What is wrong? Why does it not run? Do I need an additional note or any exit? Thanks for your support and help for more information for this process.
    Hi!
    So far I solved it on my own. It is an program error and solved with the note 324517.
    But another question. This is now running general but I need this process just for two materials not more! My idea would be to copy the transaction MIGO into a ZMIGO and fix this process just for the ZMIGO. So far, or is there a way to make this process only for the two materials available which I need in the original MIGO?
    Thanks a lot in advance and waiting to your reply asap.
    Best regards
    Kind regards
    Sabrina
    Message was edited by: Herbert Brunner

    Hello Herbert,
    perhaps you could use the BAdI MB_MIGO_ITEM_BADI to implement a check for the 2 given materials & issue an error message for everything else.
    Cheers,
    Attila

  • Automatic Purchase Order Creation

    Dear All,
    I would like to test the scenario of automatic creation of PO. I have already checked the Auto PO indicator in material master and vendor master record. Info Record and Source list also exist. In MRP view i have maintained manual reorder point planning.
    When I run the MD02, system creates the Pur. Req.  but automatic PO generation doesn't exist. Please let me know what else I need to check or there is any more setting, which I have to do.
    Thanks and Regards,
    Vineet

    Dear Vineet,
    In SAP, the automatic Purchase Order(PO) creation is possible via ME59- which via Purchase Requisitions. I would like to remind you, the automatic PO creation is possible only if Purchase requisition exists with required pre-requisites.
    Not possible to create the PO from Requirements. I mean to say not possible thru MRP. Where MRP is a requirement planning, order proposal. Order placement is an another process, which can be automated thru ME59- when PR exists.
    Hope this helps.
    Njoy SAP
    -Saravanaganesh

  • BAPI for  Reversal of Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    Is there any BAPI for the Reversal of posting the documents Goods receipt Purchase order
    (Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    Try this passing material doc and year.
    * Cancel the goods movement (creates a reversal document)
      CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
        EXPORTING
          materialdocument = g_material_doc
          matdocumentyear  = g_matdoc_year
        TABLES
          return           = i_return.
    Edited by: Raj on May 14, 2008 7:46 PM

  • BAPI needed  for  Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for Goods receipt Purchase order(Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    use 'BAPI_GOODSMVT_CREATE'
    Check this sample.
    code
    REPORT ZRICH_0001 .
    Structures for BAPI
    DATA: GM_HEADER TYPE BAPI2017_GM_HEAD_01.
    DATA: GM_CODE TYPE BAPI2017_GM_CODE.
    DATA: GM_HEADRET TYPE BAPI2017_GM_HEAD_RET.
    DATA: GM_ITEM TYPE TABLE OF
    BAPI2017_GM_ITEM_CREATE WITH HEADER LINE.
    DATA: GM_RETURN TYPE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
    Setup BAPI header data.
    GM_HEADER-PSTNG_DATE = SY-DATUM.
    GM_HEADER-DOC_DATE = SY-DATUM.
    GM_CODE-GM_CODE = '04'. " MB1A
    Write 971 movement to table
    CLEAR GM_ITEM.
    MOVE '412' TO GM_ITEM-MOVE_TYPE .
    MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
    MOVE '3800533484' TO GM_ITEM-MATERIAL.
    MOVE '1' TO GM_ITEM-ENTRY_QNT.
    *MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
    MOVE '1060' TO GM_ITEM-PLANT.
    MOVE '0007' TO GM_ITEM-STGE_LOC.
    *MOVE '0901' TO GM_ITEM-MOVE_REAS.
    MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
    MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
    APPEND GM_ITEM.
    Call goods movement BAPI
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    GOODSMVT_HEADER = GM_HEADER
    GOODSMVT_CODE = GM_CODE
    IMPORTING
    GOODSMVT_HEADRET = GM_HEADRET
    MATERIALDOCUMENT = GM_RETMTD
    TABLES
    GOODSMVT_ITEM = GM_ITEM
    RETURN = GM_RETURN.
    IF NOT GM_RETMTD IS INITIAL.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ENDIF.
    WRITE:/ GM_RETMTD.
    LOOP AT GM_RETURN.
    WRITE:/ GM_RETURN.
    ENDLOOP.
    [/code]
    Also check the Bapis
    BAPI_PO_CREATE --> To create Purchase Order
    BAPI_PO_CHANGE --> To change Purchase Order
    BAPI_PO_GETDETAIL --> Todisplay Purchase Order
    Regards,
    Raj.

  • Automatic Purchase Order upon Goods Receipt 101/161

    Hi Guys,
    Hope everyone is well. I would like to know in as simple terms as possible, what is the use of Automatic Purchase Order upon Goods Receipt mvt 101 or 161. Can someone explain to me the purpose of this? or applicable in which type of business scenario?
    Because i think, if it is upon Goods Issue, then it is understandable, you would want to top up the stocks, but upon GR? Why?
    This is a non configuration question, just a business process question..

    >
    Nazrin84 wrote:
    > Hi Guys,
    >
    > Hope everyone is well. I would like to know in as simple terms as possible, what is the use of Automatic Purchase Order upon Goods Receipt mvt 101 or 161. Can someone explain to me the purpose of this? or applicable in which type of business scenario?
    >
    > Because i think, if it is upon Goods Issue, then it is understandable, you would want to top up the stocks, but upon GR? Why?
    > This is a non configuration question, just a business process question..
    This process is used in case of emergency when stock is required in the plant and we dont have time to first create PO and then get its approval and follow the normal process. In the case of emergency, we tell the vendor to deliver the material and on receipt of this material we take it into the system through GR and the corresponding PO is automatically generated.
    Usually this is option available in system, but it depends on the clients requirement whether they want this option available to end users or not. Mostly our clients prefer not to have this option enabled, as this way can lead to irregularities by the users.
    So they prefer to follow the normal process, but this process for above scenario is followed on war footings that way the GR takes place immediately when Goods are received.

  • Problem in sending purchase order via EDI

    Hello Experts ,
    I want to send purchase order via EDI , for this i have refer the below link for configurations.
    link :
    http://help.sap.com/saphelp_nw04/helpdata/EN/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm
    I have created purchase order (ME21N)and saved it.
    Then i went to ME22N , Goto -> Messages, i am getting below error .....
    Maintain outgoing EDI connection data for partner 8888(this is the partner number i have created in partner profile)
    please suggest the possible cause of the error and how could i rectify it.
    Thanks
    Sonal

    Ensure that you have the relevant message type in outbound parameters for this partner profile

  • Automatic Purchase Order Rounded Quantity

    Hello Everybody,
    I have a doubt with automatic purchase order, here is the situation:
    Purchase Requisition (ME51N) reference on a Contract
    ITEM 1 - Quantity 750,920 (Total Value $750,92)
    ITEM 2 - Quantity 29.041,640 (Total Value $29.041,640)
    Total Value PR: $29.792,56
    Automatic Purchase Order (ME59N)
    ITEM 1 - Quantity 750 (Total Value $750)
    ITEM 2 - Quantity 29.041 (Total Value $29.041)
    Total Value PR: $29.791
    I would like to know if when I execute the ME59N to generate automatic PO, the quantities from PR always will get rounded? It's possible to adjust manually (standard way) to generate them with all the quantity of the PR?
    Thank You!
    Best Regards,
    Raphael Palmieri

    HI,
    "CUNI is only for display, in background system will consider decimals in table level."
    Rephrase - CUNI you can only define how the decimals are presented to the user, but stored in tables is always with 3 decimals.
    Note: 23771,
    The same has been discussed many time, Follow mr JürgenL -
    Unit of measure rounding.
    Increase in decimal places for UOM

  • Problem attempting to create a purchase order via SRM Portal instance.

    Unsing SRM7.0 with PPS; When attempting to create a purchase order via the "Create Purchase
    Order" button in SRM Portal instance, after select ECPO type; the following message is show in the screen: "Object or set with GUID 00000000000000000000000000000000 does not exist".
    Could you please advise what the problem might be and what to do.Thanks, responds would be very appreciated.Kind regards.
    Edited by: ital230 on Jun 30, 2010 10:37 AM
    Edited by: ital230 on Jun 30, 2010 11:05 AM

    Solve!
    The problem was the attributes specialy the BSA.
    chekout the attribute should be at highest level and in the user not excluded (grayed).
    Also
    Define Backend System for Product Category: check that the system for category transfer should be from srm to backend:

  • Regarding Purchase order Via email

    Hi,
          I want to  know whether it is possible to send purchase order via email to various email ID.
    (Same purchase order must have to be deliver to various email ID , Ofcource in Outlook).
    Please give me suggestions.
    Regards,
    Ajinkya

    Hi,
    Yes, You can send PO via e-mail to outlook or other mails.
    Pre-requisites are:
    1. Message settings to be done with customized print program (including the logic of selecting the users)
    2. Mail server smtp configuration in SCOT transaction
    3. maintaining e-mail IDs in relevant Masters. eg: for users- SU01, for vendors- in VMR, for buyers:- in Purchase Grps etc.
    Umakanth R

  • Conversion of sales order to automatic purchase order

    hii
    experts,
    i m doing automatic purchase order from sales order.my questions are as follows:
    1. can i create automatic purchase order from sales order . if yes then what r the steps involved.
    2. what r the account assingnment category and item category that i have to provide in purchase requisition.
    waiting for ur valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    HI, 
            You can not create PO automatically  from Sales Order, You can create PR automatically  from Sales Order  if it is a Third Party Process. Normally in Third party process , when you create Sales Order the PR will be created automatically. Through this PR Number you can create PO either manually or automatically(me59n). For this you need to configure some settings.
    In Material Master item category group should be -BANS (Standard).
    In Sales document type  should be assigned with Item catagory -TAS.
    In Schedule lin category -CS  you have to maintain the item category -S and order type- NB. And account assignment category-X.
    After this config when you create Sales Order , PR will be created automatically. In that PR you can see the item category -S and acct assignment -X.
    Regards,
    abi

  • TAX CODE not reflecting in automatic purchase order

    Dear MM/SD Gurus,
    We are in process of Transportation. Flow of business scenario is mentioned below.
    Sales order-> Delivery->Shipment->Shipment cost.
    After creation of shipment cost document, as configuration system is generating automatic purchase order for
    freight vendor and also post service entry sheet.
    But in purchase order genereted in back ground , there is no tax code in invoice tab though we had maintained
    master info record for Vendor,Material group,Plant,Purchasing org level.
    PO is genereted in D (Item Category) and K (Account assignment category) withouth any master data.
    So we maintained Info record on base of material group.
    Thanks & Regards
    Rajan

    Hi
    check your Po and see info record number is there or not and check your tax code in that info record again
    Regards
    kailas  Ugale

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

  • Automatic Purchase order approval

    Hi Friends,
    we are generating Automatic purchase order for drop shipping material.And business clients wants to have automatic approval. Is there any configuration settings to have Automatic approval for Automatic Purchase Order?.
    Thanks

    Hi,
    Can you provide additional clarification of how the WF can be used for automatic release as to my best understanding, WF will only be used for agent determination as well as e-mail notification transmission.
    Cheers,
    HT

Maybe you are looking for