Default quantity of confirmation(co11) should allowed in goods movements mb

thank you for giving valuable reply.
i have another question
after confirming 10 pcs. partially of the order quantity say 50 pcs.(through co11)
i have to cary out the goods movement mb31 (101) for 10 pcs.
now, i put qtys. more than 10 pcs. & up to the 50 pcs the system will allowed
for the goods movements.
but i want restriction that the 10 pcs. confirmed qtys. only allowed for goods movement.
please tell me the solution for the same.i have not defined auto G.R. in control key & in production scheduling profile.please give alternative for these.
thanks
regards
mangesh

Gowri,
Code for your copy pasting in the source code of ZXMBCU02.
Remember to activate the program. In SMOD enter the enhancement, press F8 and then click on activate button.
*&  Include           ZXMBCU02
data it_afvv like afvv occurs 0 with header line.
tables: afvv, afko, afpo.
data tot_gr like mseg-menge.
If i_mseg-bwart = '101' and i_mseg-aufnr is not initial.
  select single * from afko where aufnr = i_mseg-aufnr.
  select * from afvv into table it_afvv where aufpl = afko-aufnr.
  sort it_afvv by aplzl descending.
  read table it_afvv index 1.
  select single lmnga from afvv into afvv-lmnga where aufpl = afko-aufnr
and aplzl = it_afvv-aplzl.
  select single * from afpo where aufnr = i_mseg-aufnr.
  tot_gr = afpo-wemng + i_mseg-menge.
  if tot_gr > afvv-lmnga.
    MESSAGE 'GR qty greater than Confqty of the last opern' TYPE 'E'.
  Endif.
endif.

Similar Messages

  • Completion Confirmation of PM orders before goods movement

    Hi,
    Is there any settings available to stop completion confirmation of PM orders before goods movement (release purchase requisitions, create purchase order, goods issuance and good receipt), if stock, non stock material and external service are assigned on order?
    Regards,

    Hi ,
    Not sure but look at BADI WORKORDER_CONFIRM : Business Add-In PM/PP/PS/PI Orders  Operation: Confirm
    regrds
    pushpa

  • The Reservation item is not allowed for goods movements

      Hi Experts,
      When i do the goods movements against the reservations in
    MIGO, I encounter the below error.
      The reservation
    xxxxxxx item xxxx is not allowed for Goods Movement.
      Can you please suggest on this.
      Regards,
      Venkat.

    What is the message number ?
    Can you please check the goods movement allowed for reservation in MB22 :

  • Confirmation of process order create : goods movement

    Dear Sir/Madam ,
             I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
    so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
    i have already  searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for   Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
    thanks and regards ,
    arun

    Hi,
    I believe you would need to append the below line for your code for goods movement.
    wa_timetickets-order_itno = p_itno.  " Order item nos.
    Check & revert if it resolves the issue.
    Regards,
    Vivek

  • Goods Movement while confirming a process in collective orders.

    Dear All,
    While making a confirmation, the process is getting confirmed, but goods movement is being not happened in the auto GR/GI process.
    Please provide a solution for this problem.
    Regards,
    Ashok.

    Hi,
    Check all the setting ---
    1. Backflush indicator is set for all the components
    2.Order confirmation parameters ,  just check out Goods movement .
    3. Production scheduling profile - check auto gr
    reward points if you find it is useful to you

  • Goods Movement is not allowed  (WBS D-INC-051001)

    kindly help me in my problem in goods movement, i got this message "Goods Movement is not allowed  (WBS D-INC-051001)" how would i know when WBS is allowed or not allowed for goods movement.
    thanks.
    donna

    One of my users got this error message and require a solution.
    What I did was, require the Finance Team to release an account related to WBS.
    Once released, my user able to (Goods Issue) in a breeze.
    Do rate if this helps.
    Thank you.

  • Want "NOT  to Default Quantity in GR from PO"

    Hi,
    My issue is, we want:
    in MIGO>  make GR Quantity field "Blank" instead of its getting copy from open PO quantity!
    Most of the time user commits mistake when they received partial quantity,
    (they save default open PO quantity ), We want to force user to TYPEIN actual receiving Quantity field while doing MIGO.
    Any suggestion!
    Thanks
    -Sam

    The enhancement MEVME001 might be of help for you.
    The documentation of this enhancement in transaction SMOD states that:
    "The enhancement MEVME001 comprises the user exit EXIT_SAPLEINR_001,
    which is invoked to calculate the default quantity in the case of a
    goods receipt against a scheduling agreement.
        Example:
        If your vendors frequently deliver early, you can use this user exit
        to specify that instead of the quantity open to date, the quantity
        open up to the day after tomorrow is taken as the default quantity
        for a goods receipt.
        You can also specify that the tolerance check is to relate not to
        the default quantity but to the total scheduled quantity.
    This enhancement can be used to define the following data differently
    to that in the standard system:
    o   Default quantity for goods receipt
         In the standard system, the quantity open to date from the last-
         transmitted SA release is used in the case of scheduling agreements
         with release documentation (document type LPA). In the case of
         scheduling agreements without release documentation (document type
         LP), the open quantity to date is used.
         Note
         If you use vendor confirmations with GR assignment, the quantity
         from the confirmation is suggested (i.e. in this case, the default
         quantity cannot be influenced via the user exit.
    o   The quantity to which the tolerance calculation is to relate
         (In the standard system, the tolerance check relates to the default
         quantity - i.e. the quantity open to date). At the time of the
         tolerance check, the tolerance limits for under- and overdeliveries
         entered in the scheduling agreement item are taken into account.
    The parameters F1 and F2 are passed on in the interface to the user
    exit. These parameters must contain the following data:
    Parameter F1
    = Default quantity + total of all already delivered quantities (posted
    GR quantity)
    (The already delivered quantity is deducted again prior to the output
    of the default quantity on the screen.)
    Parameter F2
    = Quantity to which the tolerance calculation relates
    All schedule lines for the relevant item are passed on in the internal
    table "CETT" as the basis for determining the default quantity and the
    tolerance.
    Note
    Please note that the user exit applies to both document types."
    Please, check also the information contained under the two attached
    notes:
    874264 - MB01/MIGO: Default quantity for goods receipt posting
    105169 - Default quntity durng goods receipt f.purchase ordr
    Hope this will help.
    Regards,
    Sunitha.

  • Split PO itm quantity with default quantity .

    Hi Experts,
        our client has a requirement that when perform Good Receipt via MIGO transcation, each PO Item quantity should be split serveral lines ,and each lines should contains a default quantity
    for example: PO item 1000 quantity, should be splited into 100 quantity per (batch/ pallet, i am not sure how to describe this term) .
      is this related to batch determination or any configuration in the MM master data ?
      thanks
      Mu

    The default for GR will be one PO line item one line in GR. If you want to change it then you need to do manually. In case with some logic if you want to split quantity, you need to do ABAP development
    Regards
    Antony

  • Split of activities and quantity while confirming production order

    hi gurus,
    Our scenario is that suppose if we have to confirm 10 nos of a finished product.
    and 10 operations are there.
    here we have to confirm each no. for each operation. and quality checks are there for these operations .
    now the quality people has to confirm the quantities and production people has to confirm the timings of activities(like set up , machine and labour ) .
    i will be thank ful to you if some one helps me regarding this
    thanks in advance
    Kalyan

    Hi Kalyan,
    Do as below:
    In OPK4, do the following for your order type--
    1) On the second tab page (general individual entry), select 'partial confirmation' as the confirmation type.
    2) On the third tab page (operation indiv.  entry), tick 'propose' quantity and 'propose' activity.
    Now, go to OPK0. Here, either change in the existing active profile or create another profile and tick it as active. Then, inside the profile, do the following:
    1) On the first tab page (are selection), for the detail area 'activities' select "Activities: activity 1 - actitivity 6 (table control)
    2) On the second tab page (default), select 'partial confirmation' as the confirmation type. Also select 'immediate proposal' for quantities and services
    I am assuming that the production would carry out confirmation in CO11N.
    After doing this, whenever QM would do the confirmation of activities, then proportionately the activities would be confirmed. This would be partial confirmation. After this, production people would access CO11N and do final confirmation. At this time, enter anmy changes in the activity values. You will be able to see a table giving actual and planned values for activities. If there are no changes, then just post the final confirmation.
    Make sure that when QM confirms, it is a partial confirmation.
    Carry out the process now and tell me in case of any issues.
    Regards,
    Shrenik

  • BI content/data source to get quantity in confirmation network

    Hi All,
    Please advice, is there any BI content to get quantity / daily progress from network activity in SAP R/3 . I found 0PS_NWA_EVA but it does not provide quantity for confirmations.
    Please Advice.
    Cheers,
    Nies

    You should create simple table/view datasource from table T077Y.
    Hope it helps,
    Alexander Kuzmich.

  • ER : 10268883 : DROP AS METHOD ACTIVITY ON TASK-FLOW SHOULD ALLOW CHOOSING

    hi
    In the context of Re: Task Flow API for programmatically retrieving parameters?, this forum thread is Re: Task Flow API for programmatically retrieving parameters? to get your vote or feedback on one specific ER:
    - 10268883, "AM: DROP AS METHOD ACTIVITY ON TASK-FLOW SHOULD ALLOW CHOOSING PAGEDEF FILE"
    It resulted from a suggestion by Steven Davelaar
    at http://groups.google.com/group/adf-methodology/msg/b701acd873c3d888
    "I think it would be a nice ADF enhancement that when you drag and drop an AM method as method activity onto a tasflow diagram, you get a choice to either create a new page def, or pick a page def of some other (view) activity already on the taskflow. "
    (But, regardless the intent of this forum thread, feel free anytime to pursue other means to attract the attention of Oracle to a specific ER. Possibly by creating a service request referring to an ER, or by any other way you see fit.)
    many thanks
    Jan Vervecken
    edit (January, 2011) : see also "The official ADF EMG bug and ER thread"

    fyi
    There is a +1 (or would it weigh more than one), "a jolly good idea ", from Duncan Mills.
    at http://groups.google.com/group/adf-methodology/msg/bf7d2c32106b2e7b
    "Sev 3 is the default status for an Enhancement so that's why it's at that value initially. I've actually upped the priority of this one as I think it's a jolly good idea and I don't really see any downside to it assuming you don't have a huge TFs with many many method activities of which only a small number are used most of the time."
    regards
    Jan

  • How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.

    Hi Gurus,
    How to remove the Planned leave from the LOV of Absence status? Only confirmed leave should be listed. for 11i instance.
    Thanks
    Shobhit Shukla

    Hi Shobhit,
    Please personalize the self-service page and make that field non-updatable with default value "Confirmed".
    Thanks,
    Avinash

  • When create RO against contract system should allow to create RO 10% tolera

    Hello,
    My scenario is when create release order (RO) against contract, system should allow to create RO against contract value 10% tolerance on total value of the contract.
    Please let me know what are the configuration settings needs to be done.
    For ex: contract value 1000 USD
    So system should allow to create RO against contract 1100 USD it means 10% tolerance on contract value.
    It seems nobady have idea on this issue
    Thanks
    Edited by: sapmm99 on Apr 19, 2011 8:11 AM

    you idea  is just in conflict to SAP design and as well it does not follow the good business practise and violates the meaning of a contract.
    a contract is a written agreement between vendor and you (customer) that fixes a certain quantity at a certain price for a certain period.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee0ee555c811d189900000e8322d00/content.htm

  • TS2972 I assume my Apple TV should allow me to view all events,albums and slideshows but It only allows four events to display on my TV. I'm using a Optus mini Wi Fi for my home network. Could this be the reason for limited access via my iMac computer? Ch

    I assume my Apple TV should allow me to view all events, albums and slideshows in my iPhotos app but it only allows four events and four albums to display on my television. I'm using a Optus mini Wi Fi for my home network. Could this be the reason for limited access via my iMac computer?
    Chris

    No, I have not chosen photos to share as I assumed that the Apple TV would access all photos and music that are stored on my iMac. 
    Thanks for your advice. I will check it out.
    Chris

  • PR should allow to change after the PO

    Hello
    Creating the Purchase order with ref to PR, Once the PO is created with ref to PR with full qty then system should not allow to change the PR.
    How to made this?
    Regards
    sapman man

    Hi,
    My Requirement is.....PO is created with ref to PR, then that perticular PR should allow to edit in ME52N .
    it should allow only after the PO deletion, then system should allow to change that perticular PR
    How do this?
    sapman man

Maybe you are looking for