MIGO vs MB1a - cancellation with reference to order

Folks,
Within MB1A we have the option to make a cancellation with reference to order by going into the menu in the selection screen:
Goods issue / Cancel with reference / To order.
This allows the user to only cancel issues for those items that were initially issued on the order. I was trying to find the same logic in MIGO but I cant find it. Customizing also only shows Material document as reference document for cancellations. We cannot add another reference document, or can we?
Thanks,
MZ

Hi,
MIGO is the enjoy transaction can be used for GR,GI  and CANCELLATION. If you want to cancell with reference to order, that order might be partially completed, still delivery need to done on this, to which quantity in order you will post cacellation. Hence SAP system proposed to refer materila document as a reference for cancellation. With that reference the items which are issued or received can be cancelled exactly (quantity and amount)
In MB1A :It is purely related to GI and refer the order
Hence in standard SAP in MIGO, you cannot have option of order as reference for cancellation. I hope it will help you. Thanking you.

Similar Messages

  • IST OPERATION SUBCONTRACTED WITH REFERENCE TO ORDER

    Hello SAP Experts,
    i am doing operation subcontractiing. My first operation is subcontracted. So, I have assigned PP02 control key to first operation  and maintained external processing data for opration in routing. When i saved the order, for that operation PR gets generated.
    Now, I converted PR into PO and assigned raw material that has to be send to vendor. By 541 mvt. type material is issued to vendor. When i do goods receipt in MIGO, system is not showing storage location field. I dont find material in stock anywhere.
    But i can see quantity received in external processing tab of first operation in routing overveiw in order.HERE P.O is generated with reference to order.& it is in cost center.while confirming the second operation system will ask for storage location of material received from vendor.it ie not seen in mmbe.iam creating new code and it is assigned to second operation .
    Then how can i issue the material from storage for second operation if it is not in stock?
    How can i get stock of subcontracted material by MIGO?
    Please help me.
    regards,
    RAHUL

    Hi!,
    When you say operation subcontracting, in SAP it is considered as a service you are recieving and hence there is no material movement involved in that because you are sending a WIP material and recieving a WIP material back. But as per indian requirements whenever a material is sent out side the factory premises, you need to send a challan alongwith that. To print a challan you need to have a material movement. This movement (541) happens in normal material subcontracting but not in operation subcontracting. To generate a material doc, you can send the raw material with 541 movement but on GR of the processed material just reverse that movement so that raw material will again come in the stock. Then issue that raw material on order with 261 movement.
    I hope this will help in resolving your problem.
    Regards,
    Uday

  • BAPI For CREATE SALES ORDER WITH REFERENCE TO ORDER

    Hi ,
    I want to develop a new RFC for 'Creating Sales Order' with reference to another sales order -
    Is there any BAPI available for the same ? (Version 4.7) - I know its available for new create and change
    but couldn't find for create with reference to Order ...
    Thanks in advance ...
    Regards
    Rajesh.

    Hi,
    You can use this FM "/SAPNEA/SMAPI_ORDER_CREATE". I haven;t tried this but you can still give it a try. Mention the Reference Order Type and other data in the header work area and pass it to the FM.
    Reward if it's useful.
    Thanks,
    Anil

  • Creating sales order with reference to order

    Hi SD gurus.
    I try creating a sales order with reference to order, but I get this error message: "Flow control: Entry SAPMV45B, UER1, E0, *   , AU  , * is missing in T185". I don't know what is missing. Please, could you help me?
    Thanks a lot.
    Marta.

    hi,
    this is to inform you that,
    i went to SE16N given there T185 and checked with UER1 which is an FCODE FOR OVER VIEW SCREEN in VOV8.
    this entry is missing for the combination.
    please check in your sales order in VOV8 whether you have maintained UER1 in the above field.
    if not :
    please maintain the entries missed in T185 in SM30.
    because i have checked teh same in SM30 it is having opportunity to maintain.
    hope this will solve your issue.
    regards,
    balajia
    Edited by: balaji timmampalli achari on Nov 23, 2010 12:00 PM

  • VA01: Sales order with reference to order

    Hello,
    I'm trying to create sales order with reference to other sales order with tcode VA01.
    Original sales order has 2 items with same MATNR and MATKL
    Example:
    000001 MAT1 LLL
    000002 MAT1 LLL
    When we create a sales order with reference the system throw the following message:
    Item 000001 exists already; the entry will be ignored (V1338).
    Why dont the system copy the exact number of items although they are iqual?
    Is there any option in configuration to control this behavior?
    I thank you in advance.
    Mario.

    Hello Jignesh,
    I've tried to perform the changes as you said, but the system trows a short dump.
    PERFORM_PARAMETER_MISSING, excepction: CX_SY_DYN_CALL_PARAM_MISSING
    A PERFORM was used to call the routine "BEDINGUNG_PRUEFEN_303" of the program
    "SAPLV45C".                                                                
    The current call contains 0 actual parameter(s),                            
    but the routine "BEDINGUNG_PRUEFEN_303" expects 1 parameters.               
    I image that's because we are giving a position routine at header level.
    Do you have aby other sugestion: I tried to use the same routine that i had (001) and Mark Complete Reference but i didnt worked.
    I thank you in advance.
    Mário.

  • Create Delivery with Reference to Order

    Hi!
    All,
    While Creating the Delivery (VL01n) with reference to Sales Order i have a error. Even i maintained Material correctly.
    'Storage location was deleted since material is not maintained correctly'.
    Plz give me suggestions, how to solve?
    Thanks and Ragards.
    raju.

    Hi raju,
    for this problem first u extend the material to that perticular storage location by using trasnaction <b>MM01</b> .
    then goto <b>vl01n</b> then enter that perticular storagelocation then do <b>pgi</b>.then i think ur problem will solve.
    reward points if it helps.
    thanks&regards
    veera

  • Creation of saleorder with reference to order using BAPI_SALESORDER_CREATE

    hello
    iam trying to create a sale order with respect to order BAPI_SALESORDER_CREATEFROMDAT2.
    the parameters i am passing is
    *Fill the header information for the order.
    wa_order_header_in-doc_type = Sales Doc type of order to be created.
    wa_order_header_in-sales_org = sales org.
    wa_order_header_in-distr_chan = distribution channel.
    wa_order_header_in-division = division.
    wa_order_header_in-ref_doc = order  number(This is the order i  refer to).
    wa_order_header_in-refdoc_cat = 'C' (c stands for order).
    *Fill the item level information for the order.
    wa_order_items_in-itm_number = item number.
    wa_order_items_in-material = material number.
    wa_order_items_in-ref_doc = order number(This is the order i refer to).
    wa_order_items_in-ref_doc_it = Item number of order i create.
    wa_order_items_in-ref_doc_ca = 'C'.
    APPEND wa_order_items_in TO i_order_items_in.
    *Fill the partner information for the order.
    wa_order_partners-partn_role = partner function.
    wa_order_partners-partn_numb = partner number.
    APPEND wa_order_partners TO i_order_partners.
    & likewise conditions structure
    i have done bapi_transaction_commit after bapi call.
    probelm which i am facing is , BAPI is creating a new sale order.. but it is not creating a order with reference order.
    thanks

    see this example as how to add text and multiple lines...
      loop at it_tab into wa_tab.
            record_no = sy-tabix.
            serial_no = wa_tab-ser_no.
    *       ORDER_TYPE =  WA_TAB-ORD_TYP.
            sales_office = wa_tab-sal_off.
            sales_group =  wa_tab-sal_grp.
            old_ref_no  = wa_tab-ref_shp_to_par.
            shipping_condition = wa_tab-ship_cond.
            perform sales_info using sales_office sales_group
    shipping_condition.
            condense shipping_condition.
            ship_cond = shipping_condition.
            on change of old_ref_no.
              refresh it_bapisdhead.
              refresh it_bapisdhead1x.
              refresh it_bapiparnr.
                 wa_bapisdhead-doc_type     = wa_tab-ord_typ.
                 wa_bapisdhead1x-doc_type   = 'X'.
                 wa_bapisdhead-sales_org    = '5088'.
                 wa_bapisdhead1x-sales_org  = 'X'.
                 wa_bapisdhead-distr_chan   = '01'.
                 wa_bapisdhead1x-distr_chan = 'X'.
                 wa_bapisdhead-division     = '00'.
                 wa_bapisdhead1x-division   = 'X'.
                 wa_bapisdhead-sales_grp    = sales_group.
                 wa_bapisdhead1x-sales_grp  = 'X'.
                 wa_bapisdhead-sales_off    = sales_office.
                 wa_bapisdhead1x-sales_off  = 'X'.
                 wa_bapisdhead-purch_no_c   = wa_tab-po_no.
                 wa_bapisdhead1x-purch_no_c = 'X'.
                 wa_bapisdhead-purch_date   = wa_tab-po_date.
                 wa_bapisdhead1x-purch_date = 'X'.
                 wa_bapisdhead-req_date_h   = wa_tab-req_del_date.
                 wa_bapisdhead1x-req_date_h = 'X'.
                 wa_bapisdhead-incoterms1   = 'EXW'.
                 wa_bapisdhead1x-incoterms1 = 'X'.
                 wa_bapisdhead-incoterms2   = wa_tab-inco_terms2.
                 wa_bapisdhead1x-incoterms2 = 'X'.
                 wa_bapisdhead-ship_cond    = ship_cond.
                 wa_bapisdhead1x-ship_cond  = 'X'.
                 wa_bapisdhead-ref_1        = wa_tab-ref_sld_to_par.
                 wa_bapisdhead1x-ref_1      = 'X'.
                 wa_bapisdhead-ref_1_s      = wa_tab-ref_shp_to_par.
                 wa_bapisdhead1x-ref_1_s    = 'X'.
                 append wa_bapisdhead to it_bapisdhead.
                 append wa_bapisdhead1x to it_bapisdhead1x.
                 wa_bapiparnr-unload_pt    = wa_tab-unload_pt.
                 wa_bapiparnr-partn_role   = 'AG'.
                 wa_bapiparnr-partn_numb   = wa_tab-sld_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
                 wa_bapiparnr-partn_role   = 'VE'.
                 wa_bapiparnr-partn_numb   = '777'.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
                 wa_bapiparnr-partn_role   = 'ZM'.
                 wa_bapiparnr-partn_numb   = '999'.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               if wa_tab-bill_to_par <> ' '.
                 wa_bapiparnr-partn_role   = 'RE'.
                 wa_bapiparnr-partn_numb   = wa_tab-bill_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               if wa_tab-payer <> ''.
                 wa_bapiparnr-partn_role   = 'RG'.
                 wa_bapiparnr-partn_numb   = wa_tab-payer.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               if wa_tab-ship_to_par <> ''.
                 wa_bapiparnr-partn_role   = 'WE'.
                 wa_bapiparnr-partn_numb   = wa_tab-ship_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               wa_bapisdtext-text_id   = 'Z113'.
               wa_bapisdtext-langu     = 'EN'.
               wa_bapisdtext-text_line = wa_tab-add_txt.
               append wa_bapisdtext to it_bapisdtext.
               clear wa_bapisdtext.
               if wa_tab-banker <> ''.
                 wa_bapisdtext-text_id   = 'ZKT1'.
                 wa_bapisdtext-langu     = 'EN'.
                 wa_bapisdtext-text_line = wa_tab-banker.
                 append wa_bapisdtext to it_bapisdtext.
                 clear wa_bapisdtext.
               endif.
               if wa_tab-fwd_age <> ''.
                 wa_bapisdtext-text_id   = 'ZKT1'.
                 wa_bapisdtext-langu     = 'EN'.
                 wa_bapisdtext-text_line = wa_tab-fwd_age.
                 append wa_bapisdtext to it_bapisdtext.
                 clear wa_bapisdtext.
               endif.
            endon.
    *                  ***** ITEM LEVEL DATA *****
                 wa_bapiitemin-material     = wa_tab-matno.
                 wa_bapiiteminx-material    = 'X'.
                 wa_bapiitemin-target_qty   = wa_tab-qty.
                 wa_bapiiteminx-target_qty  = 'X'.
                 wa_bapiitemin-plant        = wa_tab-plant.
                 wa_bapiiteminx-plant       = 'X'.
                 wa_bapiitemin-item_categ   = 'YAPS'.
                 wa_bapiiteminx-item_categ  = 'X'.
                 append wa_bapiitemin to it_bapiitemin.
                 append wa_bapiiteminx to it_bapiiteminx.
                 clear wa_bapiitemin.
                 clear wa_bapiiteminx.
    *             WA_BAPICOND-COND_TYPE      = 'PR00'.
    *             WA_BAPICONDX-COND_TYPE     = 'X'.
                 wa_bapicond-cond_value     = wa_tab-amt * wa_tab-qty.
                 wa_bapicondx-cond_value    = 'X'.
                 append wa_bapicond to it_bapicond.
                 append wa_bapicondx to it_bapicondx.
                 clear wa_bapicond.
                 clear wa_bapicondx.
            at end of ref_shp_to_par.
              call function 'BAPI_SALESORDER_CREATEFROMDAT2'
                exporting
    *             SALESDOCUMENTIN               =
                  order_header_in               = wa_bapisdhead
                  order_header_inx              = wa_bapisdhead1x
    *             SENDER                        =
    *             BINARY_RELATIONSHIPTYPE       =
    *             INT_NUMBER_ASSIGNMENT         =
    *             BEHAVE_WHEN_ERROR             =
    *             LOGIC_SWITCH                  =
    *             TESTRUN                       =
    *             CONVERT                       = ' '
    *           IMPORTING
    *             SALESDOCUMENT                 =
                tables
                  return                        = it_errmsg
                  order_items_in                = it_bapiitemin
                  order_items_inx               = it_bapiiteminx
                  order_partners                = it_bapiparnr
    *             ORDER_SCHEDULES_IN            =
    *             ORDER_SCHEDULES_INX           =
                  order_conditions_in           = it_bapicond
                  order_conditions_inx          = it_bapicondx
    *             ORDER_CFGS_REF                =
    *             ORDER_CFGS_INST               =
    *             ORDER_CFGS_PART_OF            =
    *             ORDER_CFGS_VALUE              =
    *             ORDER_CFGS_BLOB               =
    *             ORDER_CFGS_VK                 =
    *             ORDER_CFGS_REFINST            =
    *             ORDER_CCARD                   =
                  order_text                    = it_bapisdtext
    *             ORDER_KEYS                    =
    *             EXTENSIONIN                   =
    *             PARTNERADDRESSES              =
        read table it_errmsg into wa_errmsg with key type = 'E'
        binary search.
        if sy-subrc ne 0.
                 call function 'BAPI_TRANSACTION_COMMIT'
        endif.
    endloop.

  • Pricing procedure for order with reference from order

    Dear Friends,
    If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too.
    But I would to use another pricing procedure for second document
    I found the oss note 14136 but this is for reference from invoce
    I tried to create new data transfer routine for orders in copy from 51, but does not work
    Can you help me??
    thanks
    best regards
    GdA

    > If I create a sales order with reference to another sales order of different type, the pricing procedure is copied too. But I would to use another pricing procedure for second document,
    Based on my understanding of query.
    You are looking for a different pricing procedure in second doc.
    For instance, the PricProc for SalesDoc1 is ZPR001 and  the PricProc for SalesDoc2 is ZPR002, in addition to that, you want SalesDoc1 to become reference doc for SalesDoc2.
    For this, ZPR002 & ZPR001 should have common base price condition type and rest pricing can change.
    And for maintaining different Pricing Procedure with similar combination of sales area for SalesDoc1 & SalesDoc2, maintain different document pricing procedure for both docs and maintain Pricing procedure accordingly..
    Thanks & Regards
    J Prakash

  • BAPI for Goods Issue (MIGO) movement type 351 with reference to PO

    Hi,
    Is there an BAPI for Goods issue in MIGO with reference to PO movement type 351, i tried using "BAPI_GOODSMVT_CREATE", but there is no PO field in this, is there any other BAPI's available for the same?
    Thanks in Advance,
    Santosh

    for goods mvt type , the available is that itself . for 351 mvt type Po number is not required .
    if its a must , create a Z bapi with additional field  for PO and make it as reference .

  • Delivery with reference to order

    Hi ,
    When i am creating a order related delivery it is allowing me to create new line items which are not present in the referenced sales order.Our requirement is that it should not allow us to create new line items in the delivery. Do we need to create new routines for that.
    Can anybody help me out.
    Regards,
    Smita

    Hi Smita
    I know this solution will work
    Have you tested this ?
    Because with my settings if you add up another line item in the deivery the system will give an error message?
    Have you read that error message?
    It says that for that extra item which is added in the delivery doc there is no item category defined in table  or t code 0184
    That means automatic determination of delivery item category is there for your delivery type and item category group combination in t code 0184 but still system will not pick that and
    if you maintain manual item category also in t code 0184 for that combination and if your user who adds the extra line item in the delivery is very smart he can manually input the delivery item category there and add that extra line item inspite if our controls in OVLK
    To avoid that only we are doing that
    We are putting double control
    Hope i am clear
    Regards
    Raja

  • Transfer Requirement for Movement Type 262 (Cancel With Ref to Reservation)

    Hi Experts,
    it is possible to configure the system to create a Transfer requirement for movement type 262 (Cancel With Reference to reservation) ?
    When i execute a movement type 262 (Cancel with reference to Order), the system creates a Transfer Requirement, i can process it in transaction LB12. Now i am using the movement type 262 to Reservation, but the system does not create a transfer Requirement.
    I am using SAP ECC 6.0.
    Thanks in advance,
    Alejandro López.

    Hi Alejandro,
    Can you clarify what process you are performing by this comment? .. "_Now i am using the movement type 262 to Reservation"_.
    As per standard process TR (transfer requirement) creation takes place as per the setting in IM-WM interface. Please check in Tcode OMLR, if TR create field is having "X" for the warehouse and reference movement type record. Normally whenever any material document gets posted in IM, MM-WM interface provide the decisions about which WM movement type to pick for warehouse and data about TR , PCN and TO creation.
    Hope this will help.
    Regards,
    Sudhir

  • Is there any BAPI available for sales order creation with reference?

    Hi Experts,
    My requirement is to create sales order with reference for order type.
    Now my billing document number already contains the two items
    one is correct and another is zero quantity.
    I want to create order with reference of billing document but not with zero quantity item.
    Which BAPI I should use and what to pass to ignore zero quantity item?
    Regards,
    RH

    Hi Ronny,
    Try using BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    Shraddha

  • Invoice with reference to SalesOrder

    Hi,
    in SQL Table INV1 i can see information like BaseRef=10000, BaseType = 17, BaseEntry = 1 etc.
    How can I Import invoice via XML structure with a BaseRef?
    In our scenario we have invoices with reference to order.
    Thank
    Kay

    I solved it:
    BaseRef will be filled automatically.
    in XML I defined only <BaseEntry> and <BaseLine>
    Another important Point: <CardCode> <LineNum> and <ItemCode> in invoice sould be the same as in order!
    Best regards,
    Kay

  • Proforma with reference to inquiry

    Dear Guru's,
    My client want to create proforma invoice to be sent to its export customer before receiving order.
    Once the proforma is accepted by its export customer we have to create order for it.
    In standard SAP we have proforma invoice with reference to Order (F5) & with reference to Delivery ( F8 ).
    Is it possible to create proforma with reference to Inquiry document?
    If yes how can I do it.
    Or you can suggest any other option to cater this requirement.
    Thanks & Regards,
    Santosh

    Dear Santosh
    Yes you can create through copy control: VTFA
    CR:007
    Please also check the item category AFN, CR, Billing Qty, Pricing Type
    I have done this which is similar to ur requirement
    Regards
    Sandeep Bhowmick

  • MB1A : warning if i cancel a document with reference to a production order

    Dear.
    I need to cancel a document of consumption (mvt.type 262)  with reference to a production order.
    Only when the production order have status DLV (delivered) I need that system send a warning.
    Do you know any solution (customizing , exit ..) in order to solve my issue ?
    Thanks.

    Hi
    Wwhen a production order was taken in and delivered the finished material ,,, and when you try to cancel the consumption happened for the order , system will normally give a message .
    Regards.

Maybe you are looking for

  • FB 4.0 suddenly started crashing

    My FB 4.0 was working fine until today. It started this morning, it either crashes on startup or starts but crashes when doing something trivial in the IDE (e.g. right click on an item in the package explorer). Below is the crash log I get. Please he

  • Solaris10/UltraSparc Installation Freeze

    Hi After 20 years of Unix (AIX, then Linux), I am taking my first steps with Solaris. To this end, I have acquired an old OEM UltraSparc machine: SPARCengine(tm)Ultra(tm) AXi (UltraSPARC-IIi 440MHz), No Keyboard OpenBoot 3.10.8 SME, 256 MB memory ins

  • Which table stores CO Internal Order Status

    Hi Guys,               I am changing Internal Order status, but can't find the respective field in RESB table. AUFK status fields are not even changed ! Any idea Which table records internal order status changes ? Cheers

  • How to create VPN through tunnel

    how to create vpn through tunnel Navaz       

  • Delete account taking a long time

    Hi, yesterday evening I try to delete my account, but the process is still running, I read on the internet that this process takes much time (30 hours, 2 days) Is it normal? If it is not normal behavior how can I solve it ? I look forward your reply