Allows to change quantity in sales order lesser that already billed

Dear All,
I am new to SD and I have encountered an issue. Please help me finding a solution. The details are given below:
1. I have a sales order with 1 line item with quantity 5
2. I bill the sales order for quantity 4
3. Someone goes and change the quantity in sales order to 2 which is wrong because an invoice of 4 has already been raised.
4. System gives a information message telling that an invoice has already been raised for quantity 4 but the person ignores and saves the sales order.
I would like system to display an error message and stop the person from saving the sales order in this scenario.
Kindly let me know where can I make the changes in configuration to achieve the same.
Regards,
Rajesh

Hi Rajesh,
Thats why the above solution has not worked. The above solution is for delivery related orders.
I have tried the same scenerio as yours, I mean the order related Billing and Once the billing is done then I again open the order and tried to change the quantity.
System give me the red error
For item 000010, the following has already been invoiced:                   3 PC
Message no. V1518
That was the error Rajesh, As per my understanding we cant customize V1 Messages. These are hard coded in the progam.
Please contact to your ABAPer and ask him/her to analyse the process in Debuging mode.
One more interesting thing I have found
My credit memo request already billed for 3 quantities
When I am tring to decrese the quantity, it gives me red error V1518.
But when I increase the quantity its give me same error V1518 but only as information, after enter it accept.
I think it really needs technical analysis.
Hope this helps,
Regards,
MT
Edited by: M T on Mar 1, 2010 6:44 PM

Similar Messages

  • Quantity of sales order in Milestone wise billing

    Hi
    i have a sales order and its assigned to Project. Its a project sales order and we are doing milestone billing.
    only one line item in sales order. Now my question is we dont give quantity in the sales order line item and now the slaes order is saved and the quantity filed is grayed out.
    Why is it happening. Any speciff setting we mainitain for Project related sales order for milestone billing plan???
    Please guide me
    Thanks a lot in advance
    Regards
    SURYA

    need inputs...................
    regards
    SURYA

  • Changing quantities in sales order with reference to quotation

    Hi,
    Quotation has been created for Product -- A, 10 quantities.
    Sales order created with reference to quotation, system copies 10 quantity in sales order.
    How do you restrict in sales order end user should not change quantities, system should not allow for changes by end user. If end user changes Qty system should give an "Error message", so that sales can not be saved.
    Could you suggest solution ASAP.
    Thanks in Advance.
    Regards,
    vamsi.

    Normally You will have a warning message set for this. under class V1. if you want the error to be hard error then you would have to hard code it in a user exit under mv45afzz "userexit_save_document_prepare" where u can check if the quantities in the quote and sales order are different and create a hard error.
    the other option which I am not sure if it is possible is to propose the eror in message class v4 which you can control thru customisation under SPRO>SD>message settings
    reward points if it helps
    regards
    Biju

  • Open quantity in Sales Order did not update after cancelling Reserve Invoice

    Client created Credit Memo with reference to Reserve Invoice but this did not update the open quantity in Sales Order. Client is using SAP B1 8.82 PL9. I tested this in SAP 9.0 and still same behavior. Is there a work around other than creating another SO?
    I checked Document Settings and "Reopening Doc by creating credit memo based on Doc" is enabled.
    Thanks in advance.

    Thanks for the reply. How will the client be able to make new reserve invoices from the SO? They are trying to make partial reserve invoices from the sales order. I already suggested to just change the quantity in the reserve invoice before adding. But I have doubt because the SO might close prematurely before they complete the quantity in the SO because open quantity is much less then the quantity in SO.
    SO Quantity: 100
    Open Quantity: 40
    Reserve Invoice 1: 60
    Reserve Invoice 2: 40
    SO closes before they can make Reserve Invoice 2

  • Delivery quantity greater than confirmed quantity in sales order

    Hi experts,
    Quantity in delivery order can be changed to more than the confirmed quantity in sales order when there is sufficient stock. (Setting "Check overdelivery" in 0VLP already maintained "B-Situation rejected with an error message").
    Anyway in system to check only "confirmed quantity" can be delivered?.
    Regards,
    Liang

    Thanks Ankur for your reply.
    The "Overdeliv. tolerance" in customer master allow customer to deliver more than the quantity in sales order.
    But my situation here is to control the deliver quantity base on confirmed quantity in sales order.
    For example, i have quantity 10 for an item in sales order, and i only confirm 5 to deliver. Let's say my stock has more than 15 quantity, during DO creation, system will proposed 5 but i can manually change quantity to 10.
    I would like to control only confirmed sales order can be delivered. Is this only can control using user exits?
    Best Regards,
    Liang

  • Contract Quantity to Sales order qty

    Dear Sdities,
    1. I have created Contract Using VA41 for 150 KG & saved Contract.
    2.I have created Sales Order(va01) by referring to Contract , but i created  Sales order for 151KG.
    Then it gave me below Warning message & it allowed me to do delivery for 151 KG.
    {Target qty of reference: 150 KG (total referenced: 151 KG)
    Message no. V1501}
    But My requirement is...
    1. For the same it shouldn't allow me to create for 151 KGs & it should give me Error message than Warning Message.
    Plz reply with Solution.
    Regards..

    Hello,
    Its very normal that you can enter order quantity more than the reference contract quantity flowing from the contract.
    Additionally its not recommended that you change the standard SAP standard messages from warning to error etc.
    Better you should go for an exit. Use following details:
    Goto SE38 & enter include MV45AFZZ
    Then goto user exit "USEREXIT_SAVE_DOCUMENT". In this you should tell your ABAPer to write code such that it compare the previuosly refered quantity & hence does not allow to enter quantity more that that in contract. You will get error message while saving the document & system will thus prevent extra entry of quantity in sales order.
    Hope this solves your requirement
    Regards,
    Dhananjay

  • Order quantity on Sales Order

    Hi All....
            When we create a sales order with reference to Quotation, then the quantity will be copied from quotation. Later on if user tries to change that quantity in sales order then it is giving a warning message......but what we need is a error message rather than a warning message....so that user will not be allowed to change quantites which are copied from quotation.
    Thanks in advance....

    Hi Rajesh and Vinay...
             Thanks for your replies.....
    I went in to that of message variables but how to proceed from there...every thing is greyed out....
    Regarding that user exit they want me to do this in configuration.....
    The message no which i am getting for warning is V1503
    Thanks in advance......
    Message was edited by:
            ravi chimmili

  • Free goods determined in Delivery over Order Quantity in Sales Order Item

    Hi Gurus,
    I've a problem about using free goods determination.
    First I created free goods master record with following information
    ZG1010012060075 From 100 PC -> Free good ZG1040012060075 2 PC
    Free goods Category = '2' (Exclusive)
    Free goods delivery control = 'E' (Delivery proportional to quantity in main item)
    Then I've created Sales Order with
    Item 10 ZG1010012060075 4,000 PC.
    Item 11 ZG1040012060075(Free good) has been automatically determined for 80 PC
    Then I've splitted Item 10 into 4 deliveries. The result of free goods determine in each delivery are as follow:
    Delivery#1)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#2)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#3)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#4)
    Item10 ZG1010012060075 = 472 PC
    item20 ZG1040012060075 = 9 PC
    *Remark : Total quantity of 'ZG1040012060075'(free goods) = 92424+24 = 81 PC
    (Greater than 80 PC)*
    I think the system determined free goods in Delivery#4 correctly due to rounding up. But It might not be over the order quantity in Sales Order Item 11. Even though I've set the item category in delivery with Check overdelivery = 'B' (Situation rejected with an error message), the free goods are determined over order qty. BUT if I change delivery qty in delivery#4 Item20 from 9 PC -> 8 PC -> 9 PC, the error message occurred.
    My point is to fix the system not determine free goods in delivery items over order quantity in sales order item.
    Has anyone met this situation before? Do you have any idea about this issue?
    Best Regards,
    Prachya Lalitnorasate

    Dear Sai,
    Thank you for your advice, but it didn't solve my problem.
    I would like the system to determine free goods with proportional to main item AND In the last delivery main item delivered completely free goods must be determined equal to remaining open delivery item.
    Do you have any idea about configuration/customization?

  • Confirm Quantity in Sales Order

    at the time VA01 (create Sales order)
    in Schedule lines tab systems shows Confirm quantity for final goods item with confirm quantity which should not be happen .
    can anybody please how to customize for confirm quantity in sales order as we are working on make to order.

    The confirmed quantity will be picked based on the schedule line category u have choosed. So change the schedule line category to No material planning ( CN ).
    Schedule line category
    A classification that distinguishes between different kinds of schedule line. The category determines how the system processes the schedule line.
    Use
    The schedule line category determines, for example, whether the system passes on requirements to materials requirements planning (MRP).

  • Changing address in sales order item level

    Dear very good mng
    i want to know , i am trying to change ship to party address in sales order line item level
    but showing Gray mode only ..  i have maintained Sales document item level ( partners) Removed check box not modifiable
    And i activated Item partners check box at partner tab
    even i am not able to change address in sales order item level plz tell me
    Thanks a lot

    Hi Madhuri
    I  have checked my self.system does allow to change different ship to Party on line Item level .
    Please do the following steps .
    1. Replace/delete  the WE partner Number ( Example -1) in my case  in change mode.
    2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
    3. Ignore the message and go ahead  . Please put the new Partner's number and double click
    address Screen will Pop up . You can Change the address .
    Hope this helps .Let me know for more clarification needed .
    Regards
    Santosh Verma

  • Restricting order quantity in Sales Order

    Hi Folks
    I have a requirement that my material can only be ordered in multiples of 5 KG, 15 KG and 25 KG. Could you suggest how can i control the ordered quantity in sales order ?  is there a standard way in SAP to do it or does it require customization.
    Thanks

    Hi
    The delivery units like in the multiples of 5  like 5 or 10 or 15 can be maintained in sales org data 1 tab of the material master delivery units field
    Having set this So when creating the delivery if the multiples are not properly given the system will throw a warning message message no V4 and 081
    You can set this message as errr message in t code OVAH
    But there is a risk involved here
    If the delivery units is maintained as mutiples of 5  that is  5 ,and 10 and 15 like that in MMR sales org data 1 tab andin OVAH it set as error message V4 and 081 then if the sales order is for 21 units then the delivery will be allowed only till 20 units
    So carefully lookimg at many angles this should be used
    Regards
    Raja

  • Create and Change functionality for Sales order

    Hii All,
                Can any one please suggest me any Standard program or BAPI or IDOC for Sales order, it should cover create as well as change fuctionality of Sales order.
    this is very urgent to me.
    Suitable Answer will be Rewarded.
    Thankyou,
    Shobha.

    For change you can use:
    BAPI_SALESORDER_CHANGE         Sales order: Change Sales Order
    For create you have the following choices:
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESDOCU_CREATEFROMDATA with business object 'BUS2032'
    The difference between the create ones is the functionality you get e.g. create_from_data2 is the 'most powerful' but you also have to provide the most data. It just depends on what you want it to do.
    In terms of IDOCS:
    message type:
    SALESORDER_CREATEFROMDAT201 or
    SALESORDER_CREATEFROMDAT202 or
    ORDERS05
    Hope that helps,
    Michael
    Here is an example we use, you might want to populate additional fields or leave fields out in case you want different data to be transferred to the IDOC - however some fields are mandatory.
    create the order header structure
      ls_header-doc_type   = ls_screen-order_type.
      ls_header-sales_org  = gc_vkorg_aa01.
      ls_header-distr_chan = gc_distr_aa.
      ls_header-division   = gc_divis_aa.
      ls_header-purch_no   = ls_screen-po_num.
      ls_header-po_method  = ls_screen-po_source.
      ls_header-ship_cond  = ls_screen-ship_cond.
    create partner input table (sold to)
      ls_partner-partn_role = gc_role_sold.
      ls_partner-partn_numb = ls_screen-sold_to.
      APPEND ls_partner TO lt_partner.
    create partner input table (ship to)
      ls_partner-partn_role = gc_role_ship.
      ls_partner-partn_numb = ls_screen-ship_to.
      APPEND ls_partner TO lt_partner.
    items are added by looping at a table
        ls_item-material = <fs_upload>-matnr.
        ls_item-req_qty  = <fs_upload>-quantity.
      process the quantity, it needs to be three decimals, because it
      will be moved into a string in the BAPI and divided by 1000 before
      it is moved back into a number field (1.500 => 001500 => 1.5)
        ls_item-req_qty = ls_item-req_qty * 1000.
      truncate remaining decimal places if exist (1.2525 => 1252.5 => 1252 => 1.252)
        ls_item-req_qty = trunc( ls_item-req_qty ).
        price is taken from the file
          ls_item-cond_type = gc_cond_so_upld_price.
          ls_item-cond_val1 = <fs_upload>-price.
        condition one (price) is multiplied by 10 in the BAPI
          ls_item-cond_val1 = ls_item-cond_val1 / 10.
        no discount
          ls_item-cd_type2   = gc_cond_so_upld_disc.
          ls_item-cd_value2  = 0.
        ls_item-item_categ = ls_screen-item_cat.
          APPEND ls_item TO lt_item.
    then BAPI is called
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
        EXPORTING
          order_header_in           = ls_header
          business_object           = gc_bus_obj
        IMPORTING
          SALESDOCUMENT             = lv_vbeln
          RETURN                    = ls_return
        tables
          order_items_in            = lt_item
          order_partners            = lt_partner.
      IF ls_return-type NE gc_msgty_error AND
         ls_return-type NE gc_msgty_abend.
      No errors where found
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ELSE.
      There was an error or abend
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.

  • 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

  • Change status for sales order in crmd_order

    Hi,
    I am creating a report which has to change for all sales order with status "Open" to status "Processed". Is there any function or bapi to do this ?? Supposing, there is no function, which tables do i have to change ???
    thanks in advance!!!
    Maria

    Mmmm it doesn't work... I have tried this:
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
          EXPORTING
      CHECK_ONLY                = ' '
            OBJNR                     = i_crmd_orderadm_h-guid
            USER_STATUS               = 'I1003'
      SET_INACT                 = ' '
      IV_REF_KIND               =
      IV_OBJECT_TYPE            =
      IV_NO_1O_MAINTAIN         =
    IMPORTING
      STONR                     =
    EXCEPTIONS
       OBJECT_NOT_FOUND          = 1
       STATUS_INCONSISTENT       = 2
       STATUS_NOT_ALLOWED        = 3
       OTHERS                    = 4.
    If sy-subrc = 0.
    endif.
    But noting has change in tag Status in tx. CRMD_ORDER.. still have in "system status": In process and in "User status": Order Rep Processed.
    Thanks in advance !!!

  • In which table,i could find order quantity for sales order..??

    In which table, i could find order quantity for sales order..??
    and also in which table i could find delivery for sales order..
    need help..??
    Moderator message: please search.
    Edited by: Thomas Zloch on Feb 23, 2012

    Check the table AUFM.
    Give the order number in AUFNR.
    For movement type 261 (GI) & 101 (GR), you can get the material document number (MBLNR), Material (MATNR), Qty (MENGE) & UoM (MEINS).

Maybe you are looking for

  • No data in insight

    Hi. Please, give me advice what to do to find the solution and see data in insight dashboard (BPC for MS SP5). What i did: 1. i started insight service and set it to automatic 2. activated insight in bpc administration 3. made synchronization manuall

  • URGENT: Changing 'Purchasing:Contract Terms' PDF output Layout

    Hi, My requirement is to change the layout of 'Contract Template' which is in the Purchasing: Contract Terms OAF page. I wanted to know how the xml file is generated and passed to the template inorder to obtain the PDF output. Could anyone suggests t

  • Callback message not appearing on Siemens Hicom connected phones

    We have connected two Siemens Hicom 350 PABXs using E1 controllers on two routers. The routers are connected via an IP (over ATM) link. Siemens digital phones are connected to each PABX. Calls are going across smoothly, however, when callback feature

  • Program Error - Photoshop CC

    I un-installed and re-installed photoshop CC becasue everything I did came up with an error message 'program error.' It didn't help, I'm angry, have lots of retouching to do. Any suggestions? Glen

  • Website doesn't render properly on an ipad - looks okay on normal desktop computers?

    Best wishes everyone! Rookie at Dreamweaver but have created a website that looks fine on desktops, Apple and Pc but when viewed in pad doesn't seem to render properly. Site is www.oakridgegroup.co.uk. Any ideas on what I need to do to fix this. Than