Control the goods issue(migo) on the basis of reservation number

Dear All,
I want to restrict the goods issue against the manual reservations.
Logic:At the time of goods issue against the reservation system should check stock in hand(unrestricted stock)-all previous reservations.
Eg:suppose unrestricted stock is 50kg
Reservation 1 for 20 kg
Reservation 2 for 30 kg
Reservation 3 for 40 kg
Reservation 4 for 10 kg
When i do goods issue for Res :3
System should check Uns Stock(50kg)-Previous Res(20kg+30kg)
give error message stock insufficient.
Waiting for the expert comment.
Kind Regards,
Sankar T

hi,
check these exits n badi's related to migo transaction.
if u want to restrict by giving conditions u can do it using the exits n badi's.
Transaction Code - MIGO                     Goods movement
Enhancement/ Business Add-in            Description
Enhancement
MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0011                                Read from RESB and RKPF for print list in  MB26
MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0009                                Filling the storage location field
MBCF0007                                Customer function exit: Updating a reservation
MBCF0006                                Customer function for WBS element
MBCF0005                                Material document item for goods receipt/issue slip
MBCF0002                                Customer function exit: Segment text in material doc. item
  Business Add-in
ARC_MM_MATBEL_WRITE                     Archive AddOn-Specific Data for MM_MATBEL
ARC_MM_MATBEL_CHECK                     Check AddOn-Specific Criteria for MM_MATBEL
MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables
MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn
MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data
MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check
MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data
MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens
MB_DOC_BADI_INTERNAL                    BAdIs when Creating a Material Document (SAP Internal)
MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF
MB_DOCUMENT_BADI                        BAdIs when Creating a Material Document
MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR
MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7
MB_CIN_LMBMBU04                         posting of gr
MB_BATCH_MASTER                         Setting of Batch Data at Goods Movement
reward points if hlpful.

Similar Messages

  • Adding the Goods Issue Date

    Hi,
    On the Sales order screen in VA01, there is a tab at item level called Shipping. The dates that can be changed here are the delivery date, Material Availability date and Loading Date. From here we would also like to be abe to change the Goods Issue Date.
    Do you know if it is possible to add this date to the screen?
    Thanks in advance,
    Finbarr

    Hi Mahesh,
    I checked but copy control does not add the Goods Issue date to the screen.
    Hi Rajesh,
    Would like to add the Goods issue Date and not change the Delivery date.
    Thanks,
    Finbarr

  • How Goods Issu happens in the Stock transfer process with outbound delivery

    Hi,
    Can you please explain me how the goods issue happens in the Stock transfer scenario with outbound delivery?
    can we use VL02n for goods issue for single delivery doc(Delivery type-RL).
    Can we use the transaction VL23 for collective processing of goods issue for stock transfers.
    Thanks

    Hi Anil,
    ->You can use VL02N transaction to do PGI for the outbound delivery in the Stock transfer scenario.
    -->But you have mentioned that delivery type is RL -is this returns delivery
    Normally NL delivery will be used in STO(Rplenishment
    delivery)
    -->You can use VL06G transaction for collective PGI
        The transaction VL23 for delivery schdule in the back ground
    I hope it will help you,
    Regards,
    Murali.

  • Goods issue quantity exceeds the ordered quantity

    Hi Gurus,
                    I created a sales order with single line item for 100 MT. Subsequently i created outbound delivery against the order. Now the 100 MT quantity gets copied in the delivery. now i created an additional line item in the same delivery for 10 MT against the same material . After this i did the PGI. To my surprise system allowed to do the PGI for this additional item that i had added. Now in this case the goods issue quantity exceeds the Sales order quantity. How can i restrict such functionality.
    My requirement is that the goods issue quantity should never exceed the ordered quantity in any case. Moreover the line items should be copied directly from sales order and there should not be any scope of adding any additional line item during delivery. The outbound delivery document should be copied from sales order and no manual alterations should take place during delivery or PGI . How can i achieve the same . Please help.
    Thanks in advance.

    Also for your delivery document tpye,under order reference,keep item requirement as '201' so that system will not allow any new entries in the delivery.
    Phani Prasad.
    P:S: Please check the forum before you post your questions as this query was answered a number of times earlier.
    Edited by: phani.prasad on Mar 6, 2012 11:29 AM

  • Need a Badi to look the good issue status for prod order before good receipt in MIGO

    Hi ,
    Need a Badi to look the good issue status for compoents for prod order before good receipt in MIGO.
    Example : There are 10 comps need to be issued to production order to make any assy but 6 comps were issued
    and remaining 4 comps are not yet issued.,in this situation if I try to do goods receipt for prod order through MIGO.,system should populate the warning
    message saying still goods issue are pending for prod order.
    Please advise .
    Thanks
    Prasad

    Hi Prasad,
    Before trying with a BAdI, have you tried to control this behaviour thru the Order confirmation parameters (OPK4)?
    Note that you can have a termination in case of having problems in the goods movements..
    Take a look of this and the SAP help:
    Termination of Confirmation if Incorrect Goods Movements
    Controls if the confirmation is terminated in the event of incorrect goods
    movements.
    Use
    This enables you to terminate the confirmation in the event of incorrect
    items, for example, to prevent postprocessing records.
    Dependencies
    The indicator is only evaluated if either no process control key or one
    process control key has been stored that enbles the goods movements to be posted
    in dialog AND for which the "provide error handling for goods movements"
    indicator is active. If there are incorrect goods movements, the system behaves
    as follows:
    A log is issued that gives information on the incorrect goods movements
    If these incorrect goods movements are determined by inventory management,
    then the option of correcting these errors is offered in the error handling
    If the correction is not successful, the confirmation is terminated
    Kind Regards,
    Mariano

  • While doing the goods issue system is thruoghing an erro message no VL621

    hi ,
    actually while doing the goods issue we had put a validation if that filed(serial number) is not valid.like AVAILABLE then the system has through to an error message.but after that error message system is throughing an nother error.
    Risk of posting several mat.documents for one delivery->long text
        Message no. VL621
    Diagnosis
        Processing has been terminated because there is the risk that the system
        creates several material documents for this delivery.
    Procedure
        If this message occurs frequently, please note the exact situation and
        procedure as well as error messages and inform the system administrator.
    and we changed that error to warning also still we are getting that error message.
    how to stopthis error message.

    hi actually not for serial number check.
    there is a Z field in serial number master which is used for SIM number.
    that SIM number will be validated with available SIM number from another Z table.
    after this SIM error system is throughing this VL621 error after transaction terminated message.

  • HU error when Reversing the goods issue in STO process

    Hello Gurus,
    I will explain the whole process we follow for STO:
    1. Create sales order ->Based on PR in sales order schedule lines, PO will be created -> outbound delivery -> Pack in HU -> PGI -> based on output type Idoc will be triggered -> this outbound IDOC will create the Inbound IDOC and Inbound delivery -> Here HU will copied from Outbound delivery (Means both in inbound delivery and outbound delivery HU is same)-> then do the Good receipt in Inbound delivery.
    Now when user doing the goods receipt he is getting error MSSA-SATRA exceeded by 1PCE  The reason is someone deleted the item from the sales order.  Hence when user trying to post the GR it is checking for the open sales order item in MSSA table.  Since it has been deleted from the sales order he cant able post GR.
    Now user does not wants to receive this item, hence we wants to reverse the process.
    So we followed the below process:
    1. Unassigned the HU in Inbound delivery and then deleted the Inbound delivery.
    2. Then used VL09 transaction to reverse the goods issue.  But system giving error saying that HU is already assigned to object.
    I cant able to reverse the Goods issue since the HU is same in Inbound delivery and outbound delivery.
    Kindly suggest the reversal process for the above case.  Many thanks for your help in advance.
    Awating for your valuable replies.
    Br,

    Insted of deleting the handling units you should have un assign the handling units from inbound delivery.You have deleted the handling units and the same handling units will not be available in outbound delivery Pack icon.
    Do one thing are you able to enter line item in sales order ?.If yes then create inbound delivery manually and create new handling units for the qty and do GR.
    Currently where is the stock is it transit ?.If yes then above option may work.
    If nothing is possible only an option to write a SAP oss note they will correct your outbound delivery and inbound delivery.

  • Goods Issue to increase the stock levels in a plant

    Folks,
    I am not a MM guy and I am trying to increase the stock levels in a plant using a Goods issue.
    1.     Can I do the Goods Issues without reference to a Purchase Order? If so, how can I do this
    2.     What are the relevant movement types when GI is made w/o reference to a Purchase Order?
    3.     Can GI be made with reference to any other entity/object other than PO?
    Thanks

    1. Can I do the Goods Issues without reference to a Purchase Order? If so, how can I do this
    No u can't ..u have to do Goods receipt for a PO
    Raise a PO for the same material and do GR
    2. What are the relevant movement types when GI is made w/o reference to a Purchase Order?
    u cant do GI for PO
    3. Can GI be made with reference to any other entity/object other than PO?
    GI aganist cost centre, production order, reservations ....
    the easier way to bring in stock of a material is to do intial entry thru MB1C with mvt type 561.

  • I cannot cancel the goods issue because the delivery has been archived

    Dear Gurus,
    I have cancelled the MB1C goods receipt but I cannot cancel the goods issue because the delivery has been archived. Is it possible for you to fix this batch record any other way ?
    Early resposne would be appreciated !
    Thanks,
    Rafiq

    Dear Friends,
    Can u please help me out of this issue
    Thanks,
    Rafiq

  • Good Issue date in the Sales order should 1 day difference from the MBDAT

    For the particular customer, i want to have difference of 1 day in between the material availability date & good issue date in the schedule line. As per standard i can't made any changes in route and shipping point. Suppose material availability date in sales order is 22.09.2010 than my good issue date should be 23.09.2010 in the sales order. Any body having any idea how can we handle this case and what are things we need consider impact of this change.
    Regards,
    Srinivas.

    Hi,
    I think you can easily enable this in Route scheduling /Delivery scheduling. You have to maintain the load time and pick/pack time as the total of 8hours. If this is done, then after material availability date, one more day will be added and the final day will be considered as GI date.
    If you dont want to do this, you only have to enable this by Z by using a user exit where you can add one day to the MBDAT and update that in GI date.

  • Goods Issue : Cancellation date 20071231 is before the goods issue date

    While trying to reverse a Goods issue document I am getting the following error.
    "Cancellation date 20071231 is before the goods issue date 20080103"
    Please let me know if this is a legitimate error. Is it possible to
    reverse the document for 20071231 though the goods issue date is 20080103

    Hi,
    Better you do the goods issue reversal as same date which is in delivery(Actual GI date if not Planned GI date),if you do it in different period then there will be problem with reconcillation of COPA reports.
    the value VPRS does not match,because your orginal PGI document and cancelled PGI documents with diffrenet dates.
    If you do not mine on above issue,then you can very well change the date while cancelling PGI(VL09) by changing reversal date once you click option Cancel in VL09 transaction you can see that date.
    Reward if it helpful.
    Regards,
    Chandra

  • Unable to post the goods issue document

    Hi,
    when i try to post goods issue after creating the transfer order i am getting the error as "Posting only possible in periods 2010/01 and 2009/12 in company code LU09" . so could you please tell me  where i have to change the posting period for my company code.
    Thanks and Best Regards,
    Rajeswari

    Hi Kesav,
    Use the transaction MMPV and close the previous period for ex the last period  open for your transaction is DEC 2009 so close it in the transaction MMPV so automatically next period will get open.
    Regards,
    Rajeswari

  • How to know if the goods issue is posted from LIKP / LIPS

    for a delivery number in LIKP or LIPs, how will I know if the goods issue is posted? Is there any field for this?
    Please give your input.
    Thanks,
    Krishen

    Hi Kirsh,
       U can go and check the sales order status tables.
      VBUK-Header informations
      VBUP-item Informations
    Dont forget to give an point.
    Regards
    Justin

  • Budget availibilty control against Goods Issue

    Hi all,
    can anybody help me in the following issue....
    in a budgeted/released cost project (WBS elements only):
    i set up a budget profile (overall & annual years, and availability control against annual values), and assigned it to the project
    i configured the availability control in order to issue a warning message when exceeding 110% from the budget against all activities (target group: ++)
    Availability Control is active
    However,
    When i made a Goods Issue for a particular WBS element has the status "REL / BUDG / AVAC"   with amount more than110% of the WBS element budget, the system permit the transaction and does NOT issue the warning message.... WHY??
    Also, when i run CJI3 report, i find the amount of the Goods Issue in the actual cost of the WBS element,
    NOTE: the availability control is working well against Purchase Orders, and FI direct postings FB60

    Search the forum before posting such basic queries. You will find your answer.

  • I reinstall the Yosemite due to the wifi issue, when finished, the iMovie was not installed, I try to download it from app store, but it's not free. How can I get iMovie back?

    I'm using a mid 2014 13" rmbp. I reinstall the Yosemite due to the wifi issue, when finished, the iMovie was not installed, I try to download it from app store, but it's not free. How can I get iMovie back?

    It's something to do with the main user account (not iTunes account) on my Mac because I logged in with another account and it downloaded fine, I installed it on the HDD and even though the date in App Store was 16th October 2014, it is the full installer of 10.10.2.
    To try to resolve this problem, I have copied the installer app elsewhere and deleted it but App Store still will not allow me to download it with my main user account yet just allowed me to update iTunes.
    I had a brainwave last night that it might have been related to me changing the default downloads folder to one not on my boot drive (to save disk space on my main boot drive) but having changed it back, tried again, rebooted and tried yet again, deleted my App Store preferences. nothing has worked.

Maybe you are looking for