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

Similar Messages

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • How to restrict status profile for sales order.

    Dear Friends,
    Pl suggest me for follwoing scenario
    ►     As per business process for tender/ institutional sales and exports, the order is complete once the complete delivery and invoicing for the same has been performed.
    ►     It was also observed that a sales order may be modified (material, quantity, price etc) even after complete invoicing of the same has been performed in SAP.
         The requirement is  Possibility to enable a control to restrict any amendments to the sales order after complete delivery and invoicing will be explored as per business requirements.
    Is there any solution above scenario without writing any code.
    Regards,
    Atul
    Edited by: atul thakur on Oct 28, 2009 5:09 AM

    Mr Atul,
    My understanding is, you don't want your user to be able to change the pricing and order quantity once the order is complete, i.e Delivered and Shipped.
    The status profile will not help you in the above scenario, Price/Quantity changes will not come up as Business transactions that can be controlled at Status profile.
    Standard SAP restricts the price changes to a completed item of the order, so no need to worry about this.
    But order quantity can be increased any time.
    So to restrict the user to increase the order quantity you need to use the User-Exits that SAP provided.
    Use the MV45AFZB user-exit program and form  FORM userexit_check_vbap to code this.
    Hope this helps you.
    Regards,
    Aj.

  • How to Restrict Confirmed Quantity in Sales Order (Based on Batch Expiry)

    Dear SD Experts,
    Currently our sales order confirms any amount of quantity if stock is available. And only during delivery it checks for the expiration of the batch and reduces the delivery quantity to batches available in stock within expiry.
    But since we are doing a bulk creation of deliveries at the end of the day, the check for expired batches is happening too late and no visibility for the data entry operators of stock that cannot be delivered during creation of the sales orders.
    So I am looking for solution to restrict the confirmed quantity in sales order to actually confirm only stock what can be delivered. i.e. based on expiry of the batch.
    Thanks!

    hi
    in Logistic general - batch mangement - batch determination allocation and check activation - maintain allocate SD search Procedure/ activate check
    check this for your sales area and sales document type and then in the search procedure maitain the strategy to check the Expiration date.
    regards,
    Sudhir

  • How to restrict date flow to sales order

    i want to keep the required delivery date field blank when a sales order is created with reference to quotation.
    how to do it?

    Hi Santhosh,
       Use the badi CRM_SALES_BADI method Merge to implement your code.
    Regards.
    Manuel

  • How can i get the open sale orders for given material no and plant

    Hi,
    I have to retrieve the open sale orders depending on the material number and plant.
    For only open sale orders at header level and item level.
    I want to use VBUK-GBSTK to find open sale order at header level and
                          VBUP-GBSTA at item level.
    Can any one suggest me the best logic as performance is concerned?           
    Thanks,
    Kumar.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How to find status of sales order without OBJNR

    Hi All,
    Could you please let me know how to find staus of a sales order without VBAK-OBJNR, sales order type is debit memo request(VBAK-AUART = 'L'), it has no status icon in status tab, and VBAK-OBJNR is empty, but 'Rejection status' is showing as 'Everything rejected' in its status tab.
    Thanks & regards
    RK

    HI,
    I just verified with other statuses of sales orders, it is confirmed,
    Many thanks.
    Regards
    RK

  • Restriction of No. of Sales Orders

    Dear Gurus,
    How  can we restrict the no. of sales orders for a customer ie. if we want to only allow the system to create say 3 orders for the particular customer in a particular month, and the system should not allow  to create the fourth order for that month for that customer.

    Hi Hari
    In customization its not possible.
    Blocking /unblocking customer every month will be an extra effort for end user.
    Advisable is go for user exit.
    Take help of ur abaper, use User exit USEREXIT_SAVE_DOCUMENT.
    Write a code such that before saving sales order program will check VBAK table for the Sold to party (KUNNR) and number of sales orders created in SY-DATUM month i.e. current month.
    If its already 3 then display an error message and exit. ie not save that sales order.
    try and revert.

  • Automatically generate Delivery No-  after saving the return sales order

    Dear All
    Return sales process-
    When am saving the return sales order that time Delivery should be generated automatically in backend process.
    Tell me the procedure how the delivery should be happened automatically without PGR.
    thanks
    sunil

    Hi sunil
    Do the following customization for the Document type RE in VOV8
    1) Immediate delivery  -  X
    2) Lead time in days   -  Blank
    3) Shipping conditions - 10 (immediately)
    Also check the shipping point days (picking time , packing time etc) in shipping point details .As system will consider those days and give the delivery date after considering all those days also
    Regards
    Srinath

  • How to update  pricing in open sale order

    Hi all
    in open sale order suppose my basic price has been changed .how Can i update all open sales order basic price in one shot.

    Dear Sachin,
    Please follow the point as given below;
    1. In VTFL for your item category maintain pricing type as B if it is delivery related billing and if it is order related billing VTFA maintain pricing type as B and one more thing maintained Billing Quantity as C if you using VTFA and Billing Quantity as D if you using VTFL.
    2. Create the new condition records in VK11 for your new price ( Do not change the existing  condition record in VK12) with proper validity dates
    3. Use update button in billing the system will pick the new record by accessing VK11 in billing.
    Try this, it will work.
    Regards,
    Bharat B

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to get Changed fields in Sales order to create a report

    Dear Gurus,
    How to get the log from sales order for the change of particular field.
    In my scenario, If an user remove the delivery block from sales order I want to capture the date on which this delivery block
    is removed and by whom (User)?
    I know that I can get the log of change but can I get in the form of field updates because further I want to use that date and user name to create a report.
    I hope u got my query. Please reply soon that I can create a report.
    Thanks in advance.
    regards,
    Sanjay

    Hi
    You can use the table CDPOS for tracking the changes at the Table level with the Sales order number
    or Else you can also use AUT10 transaction to track the logs/chanages with START DATE, END DATE and the Transaction code in your case it is VA02
    Please check and revert back
    regards,
    santosh

  • Billing plan (Downpayment) for saved and open sales orders at header level?

    Hi gurus,
    I have configured billing plan in my SD environment at Item Level.
    I want to change it to header level.
    Questions:
    1- When I make the changes to update the system to have billing plan at header level for future sales orders, is that possible for me to change all my saved orders and open orders with the new settings so that I can also have those saved and open orders with a billing plan at item level?
    2- If that scenario is not possible, could we for example copy the data of a previously saved or open sales order into a new sales order with the new customizing (Billing plan at Header level?)
    Thanks for your input
    Kind regards
    Chris

    Hi
    I am afraid you cannot do that converstion for the existing orders. BP at header level are enabled at teh document type level, while BP at item level is done at item category. So both are independent. Mostly it is advisabel to use BP at item level only.
    If you are already using item level BP, and want to mvoe to header BP, then only future transactions can be executed with BP at header level. Existing item level BPlans will remain so in the system.

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • How to transfer cost from old sales order (cancelled) to new sales order

    Hi Gurus
    I want to know, how to move cost from one sales order to another sales order.
    SD created sales order before 1 month and there was production order behind this. Production was completed and all the cost was moved to sales order and also SD has raised invoice on customer. This transaction was completed.
    The above order was rejected by customer due to some changes in the order. SD raised another sales order and production order was created to to additional work. Production transfered above stock (produce before on old production order) to new production order.
    My problem is stock is now transfered to new production order but cost is still sitting on old sales order. How do I transfer cost from old sales order to new sales order. SD cancelled old invoice and raised new one with full value (old + new work) on new sales order. Now cost is on old sales order and revenue is on new sales order.
    Please help.
    Thanks

    Hi
    I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
    The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
    Many thanks

Maybe you are looking for

  • A truetype font I want to use in Firefox doesn't appear in the fonts list in Tools/Options/Display

    A font (News Gothic BT) that I want to set via Tools/Options/Content to be the default font for Firefox is not listed in the dropdown font menu on that tab, even though it is in my Windows/Fonts directory on my C:/ drive. The font in question is a TT

  • Custom Deserialization for a List of serializable objects

    I'm running into trouble creating custom deserialization using the readObject method. Here is the code the reads the blob from the database: Blob blob = rs.getBlob(idx++);             InputStream iStream = blob.getBinaryStream();             try {   

  • Convert Date Object to Calendar object

    Hi, I have a Date field in my webdynpro application, I need to to read this from my current context and convert the same to a Calendar field and pass it to my model. Calendar date = CalendarConverter.parseDate(req_date.toString()); The above code giv

  • Business Object  BUS2078 Quality Notification

    Dear Friends, from Qulity Notification I can call the QM-Order. But in the Data model the QM-Order is not included. I have the suspicion that the QM-Orders are not part of the Data model BUS2078. I think it belongs to  a different BO. Am I right? Cou

  • Can't activate FaceTime on ipad2

    I'm trying to activate FaceTime on my new ipad2, but keep getting a network error. So I tried to create a new account and then end up getting a status = 500 error. Can anyone help?