Restrict Yield to be confirmed should not less then operation GR quantity.

Dear Sap Gurus,
I have an issue. I want to restrict Yield to confirm quantity should not be more or less then operation GR quantity.
I am doing production order confirmation through Co11.
How can i restrict it ? or please guide user exit for that.
Regards
rvyas

Hi
You can use implicit enhancement to restrict the confirmation in CO11N screen.
Check with your ABAPer to use it.
Regards
Bala

Similar Messages

  • Without standard release confirmation should not allow in process order

    Our clients need is that without standard release confirmation should not allow in process order.
    We are using CORK,cor6 and MB31 My need is to apply user exit in all cases.
    I got input from sdn User exit:-PPCO0006 Function module Exit_SAPLCOZF_003
    INCLUDE ZXCO1U06
    I need to activate this only during confirmation.ie confirmation to be avoided if cost is not released.
    Regards,
    Pert

    Hi,
    You are right. For preventing confirmation in case std cost estimate release is not available you need to do enhancement. You can check for following exit along with exit which you mentioned in your post :
    Enhancement     CONFPI05
    EXIT_SAPLCORF_405 - Process Ord. Conf.: Cust.-Specific Enhancements when Saving
    INCLUDE ZXCOFU10
    Check either of the enhancements which may fulfill your business requirement.
    Regards,
    Tejas

  • End date should not less than Start date, else CLEAR it

    Hello
    I put CONTRACT START DATE and CONTRACT END DATE fields on the form. These 2 objects (Date/Time objjects) i pulled them from Satndard tab of pallette and dropped on my layout page design, fine.
    Now, am trying to put a validation that the end dat eshould not lower than start date, so, i got a thread as below from Niall,
    http://forums.adobe.com/message/1909551
    and i did my FormCalc coding under EXIT event of END DATE field as below,
    // Pls. note this FormCalc
    // End date should not less than Start date, else CLEAR it - Begin
    var stDate
    var endDate
    stDate = xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_START_DATE") .rawValue
    endDate = xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE").r awValue
    if (stDate > endDate) then
        xfa.host.messageBox("End date is lower than Start date! End date is cleared")
        xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE").r awValue = null
    endif
    // End date should not less than Start date, else CLEAR it - End
    I tried in VALIDATE, CALCULATE, CHANGE events of END DATE, but nothing working!!
    PLs. let me kow how can i achieve my requirement? I am anewbie,
    Thank you

    If you use the exit event, you will probably have to have the same code on both the start and end date fields since they have a dependancy on each other. Maybe better to try the validate event of the end date so that if either field is changed the event gets fired. You can try the following for validate event
    // Pls. note this FormCalc
    // End date should not less than Start date, else CLEAR it - Begin
    var stDate
    var endDate
    stDate = CON_START_DATE.rawValue
    endDate = $.rawValue
    if ( HasValue(endDate) ) then
        if (stDate > endDate) then
            xfa.host.messageBox("End date is lower than Start date! End date is cleared")
            $.rawValue = null
        endif
    endif
    1
    // End date should not less than Start date, else CLEAR it - End

  • Contract End date should not less than Start date, else CLEAR it

    Hello
    I put CONTRACT START DATE and CONTRACT END DATE fields on the form. These 2 objects (Date/Time objjects) i pulled them from Satndard tab of pallette and dropped on my layout page design, fine.
    Now, am trying to put a validation that the end dat eshould not lower than start date, so, i got a thread as below from Niall,
    http://forums.adobe.com/message/1909551
    and i did my FormCalc coding under EXIT event of END DATE field as below,
    // Pls. note this FormCalc
    // End date should not less than Start date, else CLEAR it - Begin
    var stDate
    var endDate
    stDate = xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_START_DATE") .rawValue
    endDate = xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE").r awValue
    if (stDate > endDate) then
        xfa.host.messageBox("End date is lower than Start date! End date is cleared")
        xfa.resolveNode("CUSTOMER.Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE").r awValue = null
    endif
    // End date should not less than Start date, else CLEAR it - End
    I tried in VALIDATE, CALCULATE, CHANGE events of END DATE, but nothing working!!
    PLs. let me kow how can i achieve my requirement? I am anewbie,
    Thank you

    http://forums.adobe.com/message/4264933#4264933

  • Purchase Order Quantity should not be more than PR quantity

    Dear all,
    We want to control Purchase Order quantity against Purchase Requisition.
    We have configured message setting 00 076 as  ERROR. when we create Material PR for lets say 100 quantity. When we create single or multiple Material PO against this PR for more than 100 quantity system is giving us error. This is exactly what we needed.
    But due to this message setting when we create Service PR and give service quantity lets say 100. and when we create Service PO and give Service quantity 60. First time system is allowing to save the Service PO.
    When we create another Service PO with reference to same Service PR system is showing error as we have configured. Even though quantity 40 is still available.
    What we want is to have control on quantity of Purchase Order for Material as well as service. Quantity should not be more than PR quantity.
    Is there any other way to have such control? please provide other available options to configure.
    Regards
    Kant

    Hi,
    06 076 is only for applicable only in case of material.
    For Service and material both, use 06 400 as error "Materials/services for requisition & & already ordered with & &"
    NOtes 786736
    This may help u !
    Regards,
    Pardeep malik

  • Reg:Confirmation should not happen without issuing goods.

    Hi Friends.
    We have an issue regarding goods movement.
    I need to know, is there any setting can be made for the below issue.
    1. how to make settings that confirmation of production order or any goods movement( Of finished good) , should not be done untill and unless goods issue has been done for the order,.
    EX: After releasing the order , we have to issue goods for productionn. then only we can do confirmation.
    But we are facing the issue that without issuing the goods also, we are able to confirm. so i need to stop the confirmation or any goods movement which will happen without issuing the goods,,
    Waiting for your positive answers,,thank u in advace.

    Dear
    You can try the following user exit in your case : Enhancement - MBCF0002 /FM - EXIT_SAPMM07M_001/Include - ZXMBCU02
    Or T.code OPK4. Set termination of Order confirmation in case of wrong Goods movement.
    - Use User Status .T.code is BS02.
    Refer : GR restrict before Confirmation & Confirmation restrict before GI
    Regards
    JH

  • Confirmation should not be allowed till materials issued from store

    Hello friends,
    I have a production order in which one material is issued automatically by Backflush function in confirmation and other material is issued manually. I want that confirmation must not be happen till materials are issued from store.
    Waiting for reply!
    Thanks!

    HI
    Check these BAdis for your requirement:
    WORKORDER_GOODSMVT
    RM_BFLUSH_GOODSMVT
    also if working in REM then check REM profile for incorrect goods MVt in OSP2 and in Discrete check OPK4 with your oreder type for termination of incorrect goods MVt
    Check and revert
    Regards
    Anupam Sharma

  • With out goods issue confirmation should not be done

    Dear all ,
    Is there any method or user exit to  stop the confirmation with out goods issue to the production order.
    Regards
    Srinivas

    Reddy,
    User status to my is not a good solution if you are really looking to restrict confirmation if goods are not Issued, the reason why I am saying is that you can have referance of user status with respect to "GMPS"-Goods movement posted status.
    The major draw back is that SAP sets this status for partial goods movement or even incase GR alone is done, so how can this really help...
    Regards,
    Prasobh

  • Confirmation qty in co11 should not be more than operation GR qty (subc)

    hi,
    i have an issue after the operation(external process). we made GR in migo. it will be updated in particular production order
    co03 - operation overview - select operation - ext proc tab - GR quantity ( here it is updated after migo)
    now we have to do confirmation in co11. yield+ scrap = GR quantity(external operation quantity) 
    it should not more that of GR quantity.
    sometimes they do partial receipt and do remaining operation in inhse.
    so system should check First operation GR quantity , while making confirmation in co11
    is it possible????
    thanks in advance...

    Prakhash,
    You will have to implement the Production Order Confirmation user-exits to check based on your requirement. Try the below user-exits and see which one meet's your requirement.
    CONFPP01 |PP order conf.: Determine customer specific default values  |
    CONFPP02
    PP order conf.: Customer specific input checks 1
    CONFPP03
    PP order conf.: Cust. specific check after op. selection
    CONFPP04
    PP order conf.: Customer specific input checks 2
    CONFPP05
    PP order conf.: Customer specific enhancements when saving
    CONFPP06
    PP Order Confirmations: Actual Data Transfer
    CONFPP07
    Single Screen Entry: Inclusion of User-Defined Subscreens
    Try and revert back.
    Regards,
    Swapnil

  • Date should not be  less than current date.

    Hello, I have a form.It has an item called end_date. I want to have validation of end_date in such a way that "end_date should not less than current date". Any tips would be helpful.
    Thanks in advance.

    jwellsnh wrote:
    Pravish,
    A dynamic action executing JavaScript can do this:
    Create a Dynamic Action:
    Event Before Page Submit
    Condition JavaScript Expression
    Value $v('P1_END_DATE')<$v('P1_BEGIN_DATE')In this scenario; P1_BEGIN_DATE would need to default to sysdate and could be a hidden item on the page.
    Jeff
    Edited by: jwellsnh on Jul 19, 2012 9:50 AMMaybe I'm missing something but isn't this just a use case for a common-or-garden validation? Would be interested to know why you thought of javascript rather than normal built-in functionality (not meant as a criticism incidentally!) - is javascript your first port of call when it comes to APEX?
    I'd also watch out for comparisons to SYSDATE - remember that SYSDATE includes the current time, so you'd need to take that into account (maybe you could make use of the TRUNC function to remove the time element?). Indeed, would javascript evaluate that expression as comparing two dates (I know Javascript evaluates variables byDuck Typing but does this work in practice)?

  • Production Order should not be confirmed if material is not issued

    Dear All,
    Our Client has a requirement,
    While confirmation of order,system should check the material issue to production order,if material not issued confirmation should not allow.
    Please give your valuable input to fulfill this requirement.
    Thanks in advance,
    Vijay Mankar

    Hi,
    You can use this exit with reference to MB1A and MB31.
    Please refer the Documentation for the Enhancement: MBCF0002
    =======================================================
    The user exit MBCF0002 includes a function module that is called up whe
    you enter a goods movement for each item.                                                                               
    It enables you to fill in the item text in the material document item,
    depending on the following data:                                                                               
    o   MKPF     (Material document header)                                                                               
    o   MSEG     (Material document item)                                                                               
    o   VM07M    (Additional data for material document item)                                                                               
    o   DM07M    (Additional data for material document item)                                                                               
    The item text is also stored in the accounting document.                                                                               
    Examples                                                                               
    Goods receipt for a purchase order assigned to an account: since the  
    purchase order number does not contain a material number, the material
    Example of source text:                                                 
       IF I_MSEG-MATNR IS INITIAL.                                           
         E_SGTXT = I_DM07M-MAKTX.                                            
       ENDIF.                                                                               
    If the material description is to be used as the item text for all goods
    movements, the source text has the following line only:                                                                               
    E_SGTXT = I_DM07M-MAKTX.                                            
    ==============================================================
    You can refer the earlier post for some sample coding.
    You need to build your own logic for this..
    Hope this helps..
    Regards,
    Siva

  • System should not allow overlapping trips

    How to restrict the sytem - overlapping trips should not be allowed in R3 as well as ESS. Error message should be displayed.

    That is a standard functionality.
    Say  you have created a trip from 01.01.2009 to 05.01.2009 and created an expense report for it.
    Now you try to create another travel request from 03.01.2009 to 07.01.2009, system will give error

  • User should not allow to exceed planned order qty

    Hello Experts
    In present case user can change the planned order qty when he converts it to a process order or purchase requisition.
    Is there any way to restrict the user, where user can not exceed the planned order quantity?
    Request to reply with a solution.
    Regards
    Pradipta Sahoo

    Hi Sahoo,
    I have two suggestion regarding the restriction of Changing the quantity while converting the Planned order into Process Order OR Pur Reqt. :
    1. First one is through the authorisation for the user, the suggestion given by our friends.
    2. You can use a User exit in the Planned Order Conversion transaction (CO40 / CO41/ MD04 etc). Where you can code to refer a Z- Table created with the User whom to be allowed.
    You can create a Z table and mention the user id for whom system should allow the change of Quantity during converion of planned order. So wheh the user is trying to convert the planned order system will fire the User exit and check if the user is available in the Z-table then it will allow him/her to modify the qty otherwise it will through an Error as required.
    Request you to take the help of the Abaper to invoke the userexit .
    I can suggest the third option too, but not sure whther it will work, you can try out.
    3. If you feel no user should be allowed to modify the quantity then I suggest you to create a Error message in the conversion tcode if the qty is being modified. You can try using a field exist.
    Regards
    radhak mk

  • If PO is created Or approved   reference PR,  should not allow to change th

    Dear All
    I have one requirement
    If PO is created Or approved   reference PR,  should not allow to change the quantity or line item.
    And is it possible to assign this to user specific whether to allow or not .
    Thanks in advance
    Mahisap

    Thanks for reply
    MY Requirements are
    1)A  PR line item should not be changed after creation of PO or after PO approved
    2)In case PR is referenced for multiple po's then should check all the po's
    3)if po line  item deleted then system should allow to change PR
    4) Assign it to user specific
    plz get me outoff this
    regards
    mahisap

  • PO data should not allow to change

    Dear Forums,
    Can any body so kind to find a way in solve the following business requirement:
    In my client business scenario the PR only subjected to release. PO against the PR not go for any release.
    My client require the user should not allow to change the data of PO which is pick from PR (PO created reference to PR).
    For example : user should not allow to change the quantity in the PO which capture from PR while creating the PO reference to PR.
    Your early reply should highly appreciated.
    Regards,
    sp sahu

    Hi,
    there is no standard way of doing this and I am not sure that it should be done.
    How are you going to be able to correct errors and set deletion flags, delivery completerd flags etc. if the PO is blocked for change?
    If you really want to do this then  I would create a new document type that has the requisition reference field set to mandatory. This means that the document tyoe can ONLY be used for creating POs that refer to requisitions. Then change the field settings for this new PO document to display only in ME22n.
    That way, POs that don't reference a requisition will use another PO document type that has the fields set to open for input in ME22n.
    Would this do what you need to do?
    You should also look at the EVO and EFB parameters and config (in the Purcashing config menu under environment data > Default values for buyers (the EVO paraneters are maintained here)  The EFB parameter (the more powerful settings) is configured in the purchasing > Authorisation Management > Define function authorisations for buyers)
    Read the configuration text help and note the flags and what they do.
    Steve B

Maybe you are looking for

  • Scheduling Agreement Release Comparison

    Hi Experts does Scheduling agreement release comparison works for JIT delivery schedule (Doc Type LP) in SNC? if yes then how it works and how it is different than forecast delivery schedule release comparison (Doc Type LPA) Thanks

  • Cinema Display 27" with iMac 24" Early 2008

    I want to connect my Cinema Display 27" to an iMac 24" Early 2008. I recently bought two adapters, one from Mini DisplayPort to DisplayPort and another one from DisplayPort to Mini-DVI. Unfortunately they won't work together. Before I continue buying

  • Safe operating temperatures for macbook

    What is a safe operating temperatures for macbook? My processor runs as high as 170 degrees sometimes.

  • Freight loading on material

    Hi All, In R/3 in tcode T_57, when I maintain the check in Header ONLY, then the inbound freight cost is getting loaded on material at GR. If I additionally maintain check in Leg also, then it is NOT getting loaded on the material. why its so? regard

  • Thinking about upgrading.

    Hi. I've been using After Effects CS3 for a while now, as I just haven't had the funds to upgrade to CS4. I recently got my finances in order and am thinking about upgrading to CS5. Can someone briefly explain the differences between CS3 and CS5, and