Restricting creation of order while material material is not confirmed

Hi
Can i restrict user form creating of sales order if materia is not confirmed
for example if order quantity is 100 and avaialable quantity is less than 100
then sales order should  not saved.
anupam

Maintain this requirement in the User Exit MV45AFZZ by maintaining if in VBEP , WMENG = BMENG,system should throw an error.
Kindly check.
Best Regards,
Ankur

Similar Messages

  • Re:Message: Assigned order 10000086 is neither completed not confirmed

    Dear All,
    I am receiving this message from the System "Assigned order 10000086 is neither completed not confirmed" every time I move to the Usage decision transaction after completing the result recording for a Process Order.
    Please Advice how to fix this message, As at this stage the order is not completed or not even confirmed as this activity is done for completing the IN-Process Inspection activity for a process order.
    Regards,
    Vivek

    Dear Vivek
    It is only an information message. You may kindly ingnore. The pop up is given so that you make sure that your confirmation done for quantities are final and no more changes can be done
    Regards
    Gajesh

  • Error message while creating production order with KMAT material strategy25

    Hi PP Gurus I am running variant configuration cycle...Strategy 25, Custermer Req KEK (KMAT Matrl)
    Sales order & MRP Picked the components correctly as per the dependencies
    written. So Planned order generated against sale order.
    When I tried to convert planned order to Production order...I am getting the
    below error message..
    Error Message:
    You cannot make an assignment to make-to-order stock Message no. CO684
    Diagnosis The component cannot be allocated to an individual stock because
    make-to-order production and engineer-to-order production cannot be executed
    with this order.
    A possible cause is that you are trying to create an order with reference to a
    sales-order/project, where an account assignment to a sales order/project is not
    allowed in the settlement profile that is assigned to the chosen order type.
    This is inconsistant.
    System response The following responses are possible:
    Order processing is cancelled.
    The system resets the special stock indicator back to the original value.
    Procedure Choose another order type.
    I used order type with SD1 as settelement profile.
    OVZG: default 046, settlement profile = SD1
    OPJH: Settlement profile = SD1
    Plz through some light on this if u have worked on Variant Configuration/MTO
    settlements.
    Question:
    1) Is creation of production order with KMAT material supported by SAP?
    2) If yes, why the above error occurs?
    Waiting for Ur reply
    With Best Regards

    Dear R.Brahmankar,
    I have check on the note, but it is not relevant to ecc6. The current system default setting is :
    Standrad setting for reqt class 046
    Special Stock E
    Acct Assgt Cat. M
    Valuation M
    Settlmt Profile SD1
    However if I change the Acct Assgt Cat. from M to E. It resolve the problem. I would like to know is this the right solution?
    Config in Acct Assgt M
    Consumption Posting = E
    Config in Acct Assgt E
    Consumption Posting = '  '
    In F1 key of Consumption Posting field it shown following:
    To flag the sales order item as cost- and revenue-carrying, enter an "E" (settlement via sales order).
    If you do not wish to flag the sales order item as cost- and revenue-carrying, do not enter anything.
    Dependencies
    If you are working with nonvaluated sales order stock, always flag the sales order item as cost- and revenue-carrying.
    If you are working with valuated sales order stock:
      In the case of complex make-to-order production, flag the sales order item as cost- and revenue-carrying
      In the case of sales-order-related mass production, do not flag the sales order item as cost- and revenue-carrying
    Should we change to E?
    Regards,
    Ong

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • Error While Creating Materialized View

    Hello,
    I am getting error ORA-22818: subquery expressions not allowed here while creating materialized view. I am using Oracle9i Enterprise Edition Release 9.2.0.1.0. Below pasted is my SQL Script.
    Any help is highly appreciable.
    Thanks
    *********SQL************
    select distinct(id),NAME,(select count(GRADE) from employees where
    nationality like '%US%'and id=a.organization_id and grade=a.grade
    group by ID,GRADE) US,(select count(GRADE) from employees where
    nationality not like '%US%' and organization_id=a.organization_id and grade=a.grade
    group by ORGANIZATION_ID,GRADE) NON_US,grade from employees a
    where grade is not null
    group by GRADE,ID,name
    order by to_number(grade) desc

    Hi,
    This is a documented restriction on MVs. You cannot have a scalar express (i.e a select statement) in the select list.
    You can get round this by joining your select count(grade).. expression in as an inline view in your FROM clause. Or you can create a normal view without the scalar expression, create your MV as a select from this view, then re-define your view to contain the query you want.
    Hope that helps,
    Rod West

  • Restrict Authorization at Material level during production confirmation

    Hi SAP Gurus,
    I would like to ask if its possible to restrict authorization at Material Level during production confirmation.
    Our scenario is we have SFG and FG which are handled by different group of people but it has the same Order Type. Now we want to restrict authorization such as one department can only confirm SFG and the other department can confirm FG only.
    Is it possible to set authorization at material type or production scheduler level. IF not possible, is there other way except creation of new Order Type?
    Thanks,
    Raymond

    Hi Raymond,
    DO you mean I should create a customized table for this?
    Yes
    Are there no standard way?
    As per my knowledge, you can control through production order type, so you need to create seprate order type for this
    Thanks,
    Sankaran

  • How to stop prod order release without material available?

    Dear Experts,
    Is there any settings to avoid the release of production order if there is no material availability?
    Thanks & Regards,
    Imran
    Edited by: imran  shek on Mar 24, 2009 7:39 AM

    Hi Imran,
    Try the below for not to allow the release of production order when the material is not available.
    1. Goto Tcode : OPJK and select the Plant / Order type for which you want to restrict the order release if the matl is not avaialble.
    2. Click the details tab screen.
    3. System will display the detail screen for the order type / plant combination.
    4. For the Availability Check  put " 1 or 2" i.e. check availability during the Order Creation / Release based on the business requirement.
    5. Under Material Availability tick the check box "Check Material Aval before saving".
    6.For the Collective Conversion use " 3" (No Creation if material is missing)
    Creation control for availability check material :
    Controls whether a planned order can be converted to a production order if one or more material components are not available.
    Dependencies
    This key only relates to the collective conversion and partial conversion planned orders.
    Hope this will help you.
    regards
    radhak mk

  • Imp of division while creating  Material mm01

    hi guys
                While creating material (mm01) there is option of puting  Div ,and if  v put com div  insted of actual div in material ,Now  while creating  sales order  if v put same material it gives option of various sales area .and we can choos any division along with com div also .
    now my question is when 1 product is assigned or related to 1 division only then wht use of creating com division, wht is d purpose ,
    while creating material specific div we shd  put insted of com div
    plse explain me  if i am wrong 
    and  wht use  of creating  com div here
    thnx
    point ll be rewarded if ans is helpful

    The common division is ideally used for all the products where you do not need to restrict the same to any Sales areas.
    If you want a product to be funcuanally operating in all the sales areas of your comapny code then you assign the same to the Common DIv.
    regards,
    Amlan

  • While create inbound delviery Material number is not showing

    Hi All,
    I am trying to create inbound delivery with reference to Purchase Order.
    While using BBP_INB_DELIVERY_CREATE to create inbound deliveries, the material number is not showing up in the VL33N screen but Material Description is coming.
    As you have also faced same problem,can you please suggest how to resolve this issue?Your help will be highly appreciated.
    Thanks
    Santhu
    Edited by: santosh jajur on Sep 24, 2010 12:48 PM

    Hi,
    This function module doesn't pass Material number while creating the inbound delivery.  Instead you can use the function module GN_DELIVERY_CREATE along with NUMBER_GET_NEXT function module.
    See line number 631 to 656 of include LBBP_SIC_40F02 (Called from Line no 18 of BBP_INB_DELIVERY_CREATE) for more details.
    While using the function module BBP_INB_DELIVERY_CREATE, material number is not passed to the function module (GN_DELIVERY_CREATE) structure field XKOMDLGN-MATNR.
    Regards
    Vinod

  • Creating a planned order with error "Material requires configuration"

    Dear All,
    I am facing a problem for creation of a planned order with error "Material requires configuration".
    To follow the note 180317, I change Account Assignment Category to "U" (Unknown).
    However, the system still does display the same error.
    Could you please help provide possible solution for this?
    Regards,
    Phong

    See also the following blog post:
    Configurable planned order for material variants: Exception "53: No BOM explosion due to missing configuration"
    BR
    Caetano

  • Performance issue while selecting material documents MKPF & MSEG

    Hello,
    I'm facing performance issues in production while selecting Material documents for Sales order and item based on the Sales order Stock.
    Here is the query :
    I'm first selecting data from ebew table which is the Sales order Stock table then this query.
        IF ibew[] IS NOT INITIAL AND ignore_material_documents IS INITIAL.
    *     Select the Material documents created for the the sales orders.
          SELECT mkpf~mblnr mkpf~budat
                 mseg~matnr mseg~mat_kdauf mseg~mat_kdpos mseg~shkzg
                 mseg~dmbtr mseg~menge
           INTO  CORRESPONDING FIELDS OF TABLE i_mseg
           FROM  mkpf INNER JOIN mseg
           ON    mkpf~mandt = mseg~mandt
           AND   mkpf~mblnr = mseg~mblnr
           AND   mkpf~mjahr = mseg~mjahr
           FOR   ALL entries IN ibew
           WHERE mseg~matnr      = ibew-matnr
           AND   mseg~werks         = ibew-bwkey
           AND   mseg~mat_kdauf   = ibew-vbeln
           AND   mseg~mat_kdpos  = ibew-posnr.
          SORT i_mseg BY mat_kdauf ASCENDING
                         mat_kdpos ASCENDING
                         budat     DESCENDING.
        ENDIF.
    I need to select the material documents because the end users want to see the stock as on certain date for the sales orders and only material document lines can give this information. Also EBEW table gives Stock only for current date.
    For Example :
    If the report was run for Stock date 30th Sept 2008, but  on the 5th Oct 2008, then I need to consider the goods movements after 30th Sept and add if stock was issued or subtract if stock was added.
    I know there is an Index MSEG~M in database system on mseg, however I don't know the Storage location LGORT and Movement types BWART that should be considered, so I tried to use all the Storage locations and Movement types available in the system, but this caused the query to run even slower than before.
    I could create an index for the fields mentioned in where clause , but it would be an overhead anyways.
    Your help will be appreciated. Thanks in advance
    regards,
    Advait

    Hi Thomas,
    Thanks for your reply. the performance of the query has significantly improved than before after switching the join from mseg join mkpf.
    Actually, I even tried without join and looped using field symbols ,this is working slightly faster than the switched join.
    Here are the result ,  tried with 371 records as our sandbox doesn't have too many entries unfortunately ,
    Results before switching the join  146036 microseconds
    Results after swithing the join        38029 microseconds
    Results w/o join                           28068 microseconds for selection and 5725 microseconds for looping
    Thanks again.
    regards,
    Advait

  • Can i create production order using process material ?

    Dear All.
    Please help me.
    I want to create production order using process material (material type is PROC).
    For may knowledge, process order is standard for the process material, but my customer want to use the PP module for the process material.
    But I cant convert the planned order of precess material to production order in MD05.
    The system message is "System does not support planned orders for process materials."
    The followings are my test steps.
      1. Master Creation
          - Material Master, BOM, ROUTING
    In standard, process material (Material Type : PROC) need creation of master recipe. But due to my clients need (Using production order
               for the process material), I create the work center and ROUTING
      2. DM Creation
          - In MD61, I create the planned independent requirement (Type : LSF)
      3. Planned order creation for the process material using MRP
          - In MD01, I run the total MRP, the the planned order is created.
            It's order type is "LA"
      4. Converting the planned order to Production Order
          - In this step, the system give the error "System does not support planned orders for process materials."
             and can not do anything.
    I want to know that the above case is possible, and how.
    Please Help meu2026..

    Hi
    First of if yur want to create production order or process order why do you go for material type :PROC.
    you can create the same material as FERT & go ahead.
    I do not understand the logic to select the material type as PROC.
    Pl. go through SAP library where PROC is used.
    Regards
    YMREDDY

  • HOW to AGGREGATE TRANSFER ORDERs per same material/batch?

    Hello All,
    My company runs ordering system via web. Customers usually post web orders numerous times during sales campaigns, which result uncountable no. line items on sales and delivery documents (same ship to) even if the material/batch is the same.
    1. Could somebody help me to find a way, if there is at all, how I can create Transfer Orders per the same material/batch <b>NOT</b> per delivery line items?
    I have tried to do a test scenario via <b>2-step picking</b>. Crated a valid Group but the next error came by running <b>LT0E</b> <i>"Selected group 2703 for 2-step picking not relevant"</i>
    I do not have any clue if the 2-step picking is good for solving the above issue.
    I was not able to configure WM view up to now.
    2. How should I do that for 2-step picking?
    Many thanks for any help on this,
    Ferenc

    This response may be a little too late.
    The following may help:
    Customer exit
    Text
    Description
    MWMTOAU1
    Selection of TRs for automatic TO creation
    This task allows you to influence the selection of transfer requirements for the automatic creation of transfer orders.
    MWMTOAU2
    Selection of TRs for automatic TO creation via groups
    This task allows you to influence the selection of transfer requirements for the automatic creation of multiple transfer orders using groups.
    If you have already resolved the issue, please let me know. I have the same problem

  • To create service purchase order by giving material code

    hii
    experts
    can i create service purchase order by giving material code in service po.generally when i give material code in service purchase order the system doesnt accept it.is there any other way where i can create po for service material but my condition is that i should give material code.experts do u have any valuable inputs.
    warm regards
    thanks
    subhash kulkarni

    Hi
    Will you please let me know scenarion under which you want to create service PO with material code?
    Service PO is raised with item category D  and account assignment ( K, P etc) which does not permit to assign any material code, only description of service is mentioned at header and details of service is entered at item level. If service code is created in AC03, enter it at item level, all details mentioned in service master will be fetched else you will have to mention details of services manually.
    creation of service code is not mandatory and also not much useful. it helps in reporting and automatic GL determination which can be mapped with the help of material group.
    Hope, it must have enlighten some knowledge.
    Regards
    Susheel

  • Order as Direct material with result of reservation document

    Hi All,
    Currently, the client requirement is to active the "Direct Material" button during the shopping cart creation to differentiate between Direct and Indirect material purchase.
    As I understand to active the button, we need to active "Extended Classic Scenario" to have "Direct Material" button. But they would like to have reservation document to be created after Shopping cart is approved and this is conflict with setting as only classic scenario to allow reservation document to be created.
    Please share your idea.
    This is my thought.
    (1) Ext Classic with "Direct Material" button and use badi to change the document to reservation? Which Badi?
    (2) Stay with Classic and control certain product category to have always resevervation document.
    Rgds,
    Paul

    The 'order as direct material' is active by default only.
    You don't need to activate ECS for this.
    You can control the same by BBP_DP_PROD_CHK_BADI.
    Only thing whenever you will create a SC for direct matl,
    SRM will try to create the follow-on locally only & not in ECC.
    So creating reservation via SC direct matl line item will not be easy.
    May be you can try to control the follow field
    BBP_PDIGP-SUBTYPE
    in BBP_DOC_SAVE_BADI
    & then use BADI BBP_CREATE_BE_RQ_NEW
    2. this option would be easy if business allows you reservarion for certain matl grps
    BR
    Dinesh

Maybe you are looking for

  • Connecting my MacBook Pro (early 2011) to my Sony LCD TV (KDL-46XBR6) and listening to Multichannel surround sound.

    Dear all, I am attempting to connect my MacBook Pro (early 2011) to my Sony LCD TV (KDL-46XBR6) via the Mini DisplayPort to HDMI. I have successfully connected the two devices and can select "SONY TV XV" in the sound preference pane. I can see and he

  • Abstract class - access to parent

    Hi: I would like to do the following, but I don´t know how (neither if its possible): Access from an abstract class a method of its implementer class. public class ContainerClass () implements AbstractClass{ public void AbstractMethod(){ super().Meth

  • Microsecond being added by SAP XI in date

    Hi, In all my interface, SAP XI seems to be adding a microsecond to the end of my date time fields. Take a JDBC to JMS scenario for example. In MS Access I have 29/05/2007 14:27:00 stored in a Date field . When I check the payload in SXMB_MONI after

  • Fragmentation in Materialized Views

    Hi, Can fragmentation in materialized views will happen, when base table has lots of deletes. I created a simple materialized view for a base fact table which will have daily deletes (same no as inserts). Due to fragmentation the queries for this tab

  • Resubmitting to itunes

    I'm trying to resubmit my podcast to itunes but it constantly says 'It appears this feed has already been submitted'. The story is that we wanted to change which category we were listed in in itunes store. So I removed the podcast (easy enough!) but