Check for Sale order

Hi experts
Our client has a rquirement such that when ever he creates new sale order & inputs material code,the system should check whether that particular material code has BOM & routing,
If it doesnt have it should not allow sale Order To save.
Are there any user exits for this.
Regards
Sandeep patil

pls check,
following user exit,
User-Exit Patterns:
MV45* - Sales
MV50* - Delivery
RV60* - Billing
Check include MV45AFZZ.
USEREXIT_SAVE_DOCUMENT.
USEREXIT_SAVE_DOCUMENT_PREPARE.
and put check if bom & routing is not created then it is not updated in table.
or check the costing status in so, if it contains ant error then dont save.
Regards,
Arpit

Similar Messages

  • User exit in ATP Check for sales Order to trigger notification

    Hi All
    please let me  know is there any user exit after ATP check or in ATP check for sales order to trigger a notication mail.
    Regards
    Kishore

    Hi,
    User Exits For Availability Check are given below:-
    The user exits named here are planned for projects that are to be carried out in agreement with SAP development as they may only be used in consultation with SAP.
    USEREXIT_PLANT_SELECTION in program RV03VFZZ is an exception to this rule (see below).
    User exits in program FV45VFZZ
    USEREXIT_ADD_FIELD_TO_HEADER
    USEREXIT_ADD_FIELD_TO_LINE
    User exits in program FV45VFZY
    USEREXIT_DELIVERY_GROUPS
    USEREXIT_MVERF_INIT
    USEREXIT_QUOTA_KEY_VALUE
    User exits in program RV03VFZZ
    USEREXIT_AVAILABILITY_IN
    USEREXIT_AVAILABILITY_OUT
    USEREXIT_DARA_REFRESH
    USEREXIT_PLANT_SELECTION
    This user exit is used to adjust the flow during plant transfer. A list of permitted plants, where this material is created, is determined and checked in the standard R/3 delivery. A dialog box appears where you can select the plants. The user exits allow you to modify the plant table so that plant selection takes place in advance for every flagged selection and a dialog box becomes unnecessary.
    regards
    Vivek.

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • Credit check for sales order creation using BAPI

    HI,
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating sales order.
    I want the credit check for a customers credit limit done while creating the sales order. Is it possible to make
    credit check with above bapi? If it is possible please give me the solution.
    <b>Helpful answers will be rewarded</b>

    hi,
    it's the same code that is executed for the credit check in the bapi as in va01
    If you put in the correct data, see sap note 366265, the credit check will be executed
    kind regards
    Paul Q

  • Availability check for sales order stock

    Hi,
    We use sales order stock in sales order which creates purchase requisition automatically.Movement types for GR 101E, for GI 601E. Material master data has on MRP2 view as GR processing time 2 days for example. I create sales order with requested delivery date today.After saving SO, PR is created and I create PO with delivery date today and post goods receipt document for today. System gives as confirmation date today + 2 days. although the material is in stock.
    We use also project stock in sales order which creates purchase requisition automatically.Movement types for GR 101Q, for GI 601Q.I run the same scenario for the same material. As soon as I create the purchase order system confirms the open quantity in sales order for today. (Scope of availability check is the same for both sales orders and includes PO)
    What can be the reason?
    Thanks

    Hi Murat,
    i guess the problem is with the 'Check without RLT' indicator' in Availability check control. For the MTO (checking rule AE) i guess this indicator is not set but for the Project systems (Checking rule PS) this indicator is set. This makes the difference. Do the changes as desired in transaction OVZ9.
    Please check and revert back if you are still facing the same problem.
    regards,
    Kathir

  • ECM check for sale order

    Dear Experts
    I am working for steel industry client.
    we are facing as issue of Inconsistency in  old sale orders,suppose we  change a dependency the existing & older sales orders are getting effected,can some body suggest some procedure to avoid sale order inconsistency.
    can we use ECM for the same to put a check for control.
    Regards
    sandeep

    pls check,
    following user exit,
    User-Exit Patterns:
    MV45* - Sales
    MV50* - Delivery
    RV60* - Billing
    Check include MV45AFZZ.
    USEREXIT_SAVE_DOCUMENT.
    USEREXIT_SAVE_DOCUMENT_PREPARE.
    and put check if bom & routing is not created then it is not updated in table.
    or check the costing status in so, if it contains ant error then dont save.
    Regards,
    Arpit

  • Availability check for Sales order

    Hi Experts,
    I have material say 100199 in which I maintain In house production time as 10 days.
    Now I have to create Sales Offer for this material and system check availabity and give delivery date for Offer from Inhouse production time maintained.
    Problem is this In house production time is independent of Order quantity so system will give same delivery date irrespective of quantity in sales order.
    I want system should propose me delivery shedule from master data maintain
    i.e if order is of 120 qty then system should propose and for 30 lot i requires 3 days to manufacture.Order creation date is 09/12/07
    30   12/12/07
    30   15/12/07
    30   18/12/07
    How I can achive this in SAP?

    Hi Lalit,
    You can give Lot size dependent In house Production stimes in Work Scheduling View of Material Master.  You can do it in MM02. Wish this solves your problem.
    Regards
    Krishna

  • Availibility check for sales orders created simultaneously

    Hi SD experts,
    When a sales order is being created with an item "A", while a second sales order is being created too, at the same time, with the same item "A", the system can't carry out the availibilty check.
    It displays the following message : "The material A (plant M500) in item 000010 which you entered for processing is blocked for another transaction. The system is therefore unable to carry out either the availability check or the transfer of requirements."                           
    This is quite logic... But for example for a call center where the operators create orders simultaneously how can we make it possible??
    Any suggestions please ?
    Thank you,
    Bahia.

    Hi there,
    In SPRO -> SD --> Basic functions --> Availability check & TOR --> Avaliability check --> Avaliability with ATP --> Define material block for other users.
    Here you make the settings for different availability check types 02 for individual requirements etc. If you check the field Block, system will block the material for other remaining sales orders if availability check is being carried for one sales order. It is set at plant level. If same material is available at other plants, it will be available there.
    Regards,
    Sivanand

  • Static Credit Limit Check for Sales Orders - Net Value vs Credit Value

    We are testing order credit check and we have run into a problem with the Static Credit Limit Check.  The Static Credit Limit Check is set to use both Order and Delivery Values.  SAP uses the values in S066 and S067 to determine what values it uses to check against the credit limit.  Standard SAP uses the confirmed quantity times the credit price to get the order values - this is the credit value. 
    So the problem is, once an order is released it is set up so it does not go back on credit hold, so anything which is not confirmed (but could be) it a potential credit value which is unaccounted for in the credit exposure and the customer can go over the credit limit.
    Additionally, we run AFS and have items which are rejected with a J0 rejection code (unconfirmed) which have the potential of being confirmed and shipped and we want to include these items in the value of the order which is being checked against the credit limit (along with the deliveries, invoices and receivables).
    Here is a quick example.
    Customer has a credit limit of $100 (no deliveries, invoices or receivables - to keep it simple)
    Order 1 is placed with a credit value of $50.00 but a potential value of $100 (the other half is J0) - this passes the credit check since $50.00 is less than the limit.
    Order 2 is placed for $50.00 and has a credit value of $50.  This also gets approved.
    At this point, the credit limit used is 100% (based on standard SAP)
    Then Order1 backorder is confirmed and the new credit value is now $100.  This order now puts the customer over their limit and if the order had been released would not go back on credit hold and therefore the customer is not over their credit limit by 50%.
    What I want is for Order1 to be credit checked for the $100 not the $50 so the exposure is correct.
    Does anyone have any suggestions as to how we could use the Net Value of the order to perform the static credit check?  And any thoughts on how to determine the correct credit exposure (open order value plus items which are J0, plus deliveries, plus invoices, plus receivables)?
    I am thinking about a Z table to track the adjusted values on the orders and then use one of the customer checks to do a static credit check with the adjusted value.  And for the exposure, use the adjusted value to recalculate the values in F.35 to show a more accurate view of the credit exposure.
    Does anyone have an easier way to do this?  Any advice is appreciated.
    Thanks,
    Suzanne

    Hi Suzzane,
    In the scenario that you have provided, in the first order items worth 50$ are rejected. Hence standard SAP will not take this into account as this item is rejected.Two solutions can be provided here:
    1) The line item can have a delivery block instead of  a reason for rejection.This way the 50$ will get accounted.However, if this is against customer norms as this will appear in the order acknowledgment, this cannot be used.
    2) User exit can be used where a credit check can be triggered once the document value changes, even though the document has a released status.
    Hope this helps.
    Thanks,
    Vinu

  • Credit check for sales order

    Hi,
    I'm trying to block a sales order, under some circunstances. The situation is :
      1- Sales as been created ;
      2- There has been a delivery issued for some items of this sales order;
      3- In the creation of a new delivery for the remaining items of the sales order, we are trying to block the initial sales order, by new credit control on the client;
    Is this possible ? How can we implement this ? Is there a user-exit for VA02 that can help us to overcome this situation ?
      Thanks in advance,
    Pedro Castro.

    Pl provide some more info.
    It can be managed beutifully by authorization and process.
    Please note that if the person who has created part delivery want to block the remaining part he just have to make minor changes in the fields relevant for Credit Control like price (condition record) (Change then restore original price)etc. The document will get blocked. This is standard feature of SAP. It can be used by you. Identify the field relevent for credit control but not used by your organization and hence not significant for you. This field can solve your problem.

  • Authority check for sales order and stock transport order

    In my code i have a requirement to enter sales order and Stock transport order. However i want that a WM resource should not be allowed to enter sales order and an SD resouce should not be allowed to enter stock tranpsort order. Please suggest.

    Hi,
    Another way to solve this is create a Z table with field user name and Resource type and compare the user id ( sy-uname) with the Z table and allow accordingly.
    In production environment controlling authorization in this approch is much easier.
    Hope this helps.
    Regards
    Bikas

  • ATP Check for Sales Order

    Hi Friends,
    I have a requirement in which I want to have ATP on material X, but if the quantity is not in stock for X, system should check for ATP on Y, which can be similar to material X.
    How to achieve this and further make relationship between X & Y ?
    Please advise.
    Regards,
    Harsh

    Hi Harsha,
    we can fullfill this requirment by using Material determination
    In Material determination Record
    normally we are maintaining for A give B instead of putting like this maintain record like this For A give A after that in additional data maintain more material like B,C etc..
    And maintain availability check for every material...
    then u r problem will solve..
    in this item category determination is
    OR NORM PREL        TAX     CX
    OR NORM PSHP TAX TAPS  PP
    like this u need to maintain determination then u will get..
    i hope ur problem will solve...PLZ Reward
    Regards
    Durga Prasad

  • Availability check of sales order in planning strategy 40

    Dear friends,
    Kindly help me this query:
    From online SAP help in Demand Management, it said in planning strategy 40:
    "An accurate availability check is performed according to ATP (available to promise) logic during sales order processing. The system checks whether sufficient planned independent requirements have been planned to cover the sales order....  If there is insufficient coverage of components (the sales order quantities exceed the planned independent requirement quantities), the sales orders cannot be confirmed"
    According to above paragraph, I think that availability check of sales order is carried out against PIR, if PIR quantity cannot cover sales order quantity then order will not be confirmed, it also means stock on-hand will not be included in availability check. However, my testing reveal a different conclusion: sales order is confirmed against stock on-hand, not PIR. My questions are:
    1/ in planning strategy 40, how does system carry out availability check for sales order?
    2/ how to interpret above help from SAP?
    I got that help from this link: http://help.sap.com/saphelp_erp60_sp/helpdata/en/cb/7f9b7043b711d189410000e829fbbd/frameset.htm
    Many thanks for your clear answers.
    Regards,
    Duc.

    Dear duc pb ,
    In 40 its only ATP that works.
    you can do another test ,
    Create PIR 15 quantity.
    Create a stock of 10 quantity.
    and now create a sales order firszt of quantity 30, as both of the above after combining cant fullfill this demand, save order run MRP.
    system will create orders against PIR (15)  and remainibnbg quantity of sales order (5)
    run one more test, by creating PIR 15 quantity , no stock and a sales order of with quantity 10.
    share your findings.
    Thanks
    Ritesh

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • Dynamic Credit Checks - Different Horizon for Sales Order & Delivery

    Hi Experts ,
    had a query . I am testing a scenario for Dynamic credit Check where the Horizon is ZERO for Sales Order & 3 Months Horizon for deliveries. How should the system behave in such a case. What would be the best way to test whether system behaviour is ok as per this expectations.
    Also I would like to know whether "0" horizon for sales order means that system looks into the entiire list of open sales orders or  the horizon of check is only upto the end of the current month . In FD32 the curent date is indiacted as the horizon date. While creating sales orders today I found dynamic block for 0 horizon is only working for sales orders with availabilty date upto 7th July '10 which neither covers the existing month-June & neither full of July. Beyond that there is no dynamic block soccuring.That made me a bit confused .
    Please advice with you valuable inputs.
    Thanking You.

    Hello Sai ,
    thank you for the response. Had already checked note . But this does not speak about the implication "0" M horizon of dynamic credit check . What is coverage for that ?

Maybe you are looking for