How to Prevent the confirmation of quantity in Sales Order

Hi All,
  I want to make sure that if the quantity in a line item for certain customers exceeds certain threshold quantity the quantity does not get confirmed and we set up a delivery block on the entire order.
  I know how we can setup the delivery block. Could someone tell me, if we can programmatically ensure that quantity is not confirmed for that particular item. Is there a standard SAP way (function module/BAPI etc) of doing it? Or do I need to find and update the table.

Hello krishna,
You need to delete the confirmed schedule line programatically in the user exit. 
Delete the corresponding entry in the internal table xvbep. You need to do this in a appropriate user exits in the include mv45afzz.
I guess you can also do this in atp function module user exit.
Hope this helps you..
Regards,
Jiten

Similar Messages

  • How to combine the line items of 2 Sales orders into 1 delivry

    how to combine the line items of 2 Sales orders into 1 delivry
    and their process, pre-requisites and tcode

    The prerequisites are:
    1) In the customer master sales area data, shipping tab, there is a field called Order combination. u must tick that.
    2) for the two orders, the sold to party & ship to party must be same
    3) both orders must have created from same plant & shipping points
    4) the line items must have same loading grp.
    5) the both orders sheduline line date must be same.
    transaction code for the same is VL04.
    enter the required data and select the order nos to be processed.
    Do reward points if it is useful

  • How can prevent duplication of condition types in sales order??

    How can prevent duplication of condition types in sales order.
    While we want Amount field Changeable by user.
    Please give me solution.

    Dear Rohit,
    Can you explain your scenario in detail with an example or any screen shot so that we will help you in easy way ...
    Regards,
    C.B Reddy

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • How to prevent changes to SOLD TO in sales order

    Hi,
    Can someone remind how to stop users from changinf the address of the SOLD TO in a sales order?
    We allow users to change the SHIP TO address but sometimes they select the wrong partner and update the SOLD TO and then the delivery is made to the wrong address.
    Thanks

    Hi Javaid,
    You can achieve this by role base access control, please ask your BASIS guy to create role as per your requirement and assign to user profile so that user will not be allowed to any such changes.
    Cheers !!!
    Imzo

  • How to define the detail "Condition" item for  sales order?

    Hi, I checked the condition information of a sales order, the following contents were displayed:
    PR00     Price     230.00
         Gross Value     230.00
         Discount Amount     0.00
         Net Value for Item     230.00
         Net Value 2     230.00
         Net Price     230.00
    I can understand that the price 230.00 can be maintained via tcode: vk11, what I want to know is:
    How to define/control the following items such as:
    Gross Value     230.00
    Discount Amount     0.00
    Net Value for Item     230.00
    Net Value 2     230.00
    Net Price     230.00
    and how to control their currency?
    Thanks.

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • How to delete the subsiquent document for a sales order

    Hi,
    Please tell me the tcode to delete the subsequent document of a sales order and a sales quotation.I want to reject or delete the sales quotation.
    Please tell me the procedure.
    Currently i am trying to cancel the billing document for sales order by VF02 and try to cancel through menu bar.
    After canceling the document its still giving the message that subsequent document exists.
    Please help.
    Thanks and Regards

    in the document flow : i am finding documents which are given below :
    Doc.                                           Date     Overall Processing Stat
    Serv. notif. 00015773
    Qt For NewConnection 20022016    23.04.08   -   Completed
    Order New Connection 22460 23.04.08           -    Open
    Z New Connection 90022430 23.04.08      FI doc. not Required
    Cancel. Invoice (S1) 90023731 19.07.08    FI doc. not required
    And no accounting document created.
    Thanks and Regards
    Edited by: Birendra Choudhary on Jul 19, 2008 2:08 PM

  • How to get the confirmation slip for a production order

    Hi experts,
      Can anybody tell me how to find out the confirmation slip for a given production order?
    Is there any standard BAPI/Function module which generates the confirmation slip?
    Please help me out.
    Thanks in advance.
    Regards
    Sireesha.

    Check
    <b>BAPI_PRODORDCONF_CREATE_ACT</b>
    CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_ACT'     
       EXPORTING                                     
         POST_WRONG_ENTRIES = POSTWRONGENTRIES       
       IMPORTING                                     
         RETURN = RETURN                             
       TABLES                                        
         ACTIVITIES = ACTIVITIES                     
         DETAIL_RETURN = DETAILRETURN                
       EXCEPTIONS                                    
         OTHERS = 01.                                
    Regards,
    Santosh

  • Confirm Pick Quantity in Sales Order

    Hello all,
    I am getting this error while i am trying to create a delivery for my sales order. How do i confirm the picking to resolve this error.
    No schedule lines due for delivery up to the selected date
    Message no. VL248
    Thanks!!!

    Hi
    ATP (Available to Promise) must be activated for your sales order type. As a result system would have determined a date when the quantity would be available. If you are trying to create a delivery before this date the system will throw this error. Go to your sales order and for the item that you are trying to create the delivery for, check the schedule line (double click on the material line item and go to the tab Schedule lines). Check the date on which the system could confirm a quantity. While trying to create a delivery through VL01N provide the same date in the selection date and then press enter. If system was unable to confirm anything then it means there is not enough stock to confirm this order for delivery.
    Thanks
    Indranil

  • How to config the UI fields list of Sales order?

    I'm a fresh of CRM.Now,I have a business requirement,that is when creating/changing sales order in CRM GUI  and Portal,
    after I entered the procudt id,quantity,then press enter button,I want the field "Product" to be gray.
    In other words,I don't want the operater to change the product after creating an item,of course,if he really need to change it,he can delete the whole line,and then create a new one.
    How should I implement my idea?
    Anybody have any document can help?
    Thanks in advance.
    Jerry

    Please read this book.
    http://www.amazon.com/s?ie=UTF8&rh=i%3Astripbooks%2Cp_27%3AMatthias%20Zierke&field-author=Matthias%20Zierke&page=1
    Rg,
    Harshit

  • How to create Deliveries with lesser quantity than sales order quantity

    HI all,
    I have one Scheduling Agreement SCHDMNT1 with ITEM A and Qty 100. Now i want to create 2 deliveries against this Agreement i.e DEL1 - ITEM A QTY 40 and DEL2 - ITEM A QTY 60. How to aceive this while manually entering the deliveries. What are the settings required. I also want to create such multiple deliveries against one Sales Order. What are the Configurations required to aceive this functionality.Replies will be highly appriciated.
    Thanks and Regards,
    Manish Khare.

    Hi,
    In the customer master, you have to select more than one delivery allowed.
    While creating delivery with reference to your sales order, the total quantity will be copied to delivery, just the change the delivery quantity and picking quantity that u want to deliver and do the PGI.
    Against reference the same SO, now the remaining qty will default in the delivery. In this way u can have multiple deliveries for the same SO.
    Hope this helps.
    Thanks,
    Viswanath

  • How to populate the ship-to-party in Sales Order at the header level

    Hi Config experts,
    I created Sales Order. I entered the Sold-to-party number, item and Qty and when I press ENTER, the ship-to-party field does not get populated with Business Parter number. I am expecting the same sold-to-party number to get populated automatically in ship-to-party field too. But it is still empty.
    Any clues how to get BP no. automatically in ship-to-party field.
    Thanks,
    John

    Hi John,
    The partner is determinated by access sequences on your partner function in partner determination procedure. For example, if you set the access sequence 0017 'Current Partner: Sold-To Party' on ship-to party on your partner determination procedure, you can see the ship-to is set as sold-to when you enter the sold-to.
    Regards,
    Masayuki

  • How to use the BAPI_GOODSMVT_CREATE for Transfer posting Sales order

    Hi Friends,
    How to use the Bapi BAPI_GOODSMVT_CREATE for transfer posting sales order to sales order.
    pls, send the list of parameteres to pass to the bapi, if program avail please send it to me.
    Thanks in advance
    Shankar

    You have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
    Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
          BATCH.
          MOVE_TYPE.
          ENTRY_QNT.
          MOVE_PLANT.
          MOVE_STLOC.
          MOVE_BATCH.
          MOVE_REAS
    these parameters.
    Regards,
    Sushil.

  • How to delete the line item from a sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • How to know the changes made to Quotations & Sales orders?

    Hi all
    I want to know how we can have the records of changes and alterations that are made in quotations and Sales orders. For example, once the quotation is created and saved, there must have been many alterations either on pricing or in terms & conditions based on the final negotiations with the customer. Please let me know how do we record the changes.

    Hi,
    what ashish told is exactly correct.You just go to the Environment-changes and execute,it will shows all the changes made for that order like pricing,payment terms etc.
    Regards,
    Hari.

Maybe you are looking for

  • ALV - refresh data after value is selected from input help

    Hello, I have input ALV where after I enter material number and press enter, the logic goes ahead and populates description column by utilizing ON_DATA_CHECK event. Is is possible to trigger some kind of event after the value is selected from search

  • Captivate 5.5 variables in AS3

    Hi, i seem to be having a problem accessing the captivate 5.5 variables in AS3. I saw guides that tells people to do something like var myRoot:MovieClip = MovieClip(root); var mainmov:MovieClip = MovieClip(myRoot.parent.root); mainmov.rdcmndPause = 1

  • How to put an HTML file into JEditorPane

    Hi I am doing an aplication on swing.But I don't know how to add a html file to the JeditorPane keeping the html file on the source code. i.e my html file is in my source code.Then how to add this source code to Jeditor pane. Thanks Srikant

  • Conversion of Binary to Text

    Hi, I am facing a problem while converting data from Binary to Text format, I've used FM SCMS_BINARY_TO_TEXT but still there is no Output. Can any1 please tell a FM which does the conversion?? Cheers Abhishek

  • Java CAPS 5.1.3 edesigner problem?

    Hi, In my Business Process, i changed something in a business rule designer (changed return type from number to string) then build and deployed. But changes did NOT show up! Any suggestions please. thanks in advance.