Closing the pending sale order

Hi friends,
Can we close the pending orders automatically if quantity is below 50 units? If so what is the procedure?
Rama

hi,
i assume u want to have a system where u do not want to have any open orders. u can do this using user exits
try this logic if the confimed qty is less than order qty then set the status as complete. u can do this using tables vbep, vbuk, and vbap. try the user exit. mv45afzz. but this wud have a great impact on availability check func.
saurabh

Similar Messages

  • Deletion of pending sales orders

    Hi,
    I have checked the existing threads regarding deletion of sales orders, but I want to know how to delete or archive all the pending sales orders in one shot.
    And is it possible to search all the pending orders through 'va05n'.?????
    Please suggest.
    Thanks & regards,
    Rupam.

    Dear All,
    I have executed the transaction 'Mass' for pending order rejection, but I have faced some problems.It is not working properly for those orders where some line items have already been fully delivered and some are open or partially delivered.
    Another critical issue is that, this operation can't be performed for specific line items in multiple orders, which is a limitation.
    can any one give me any idea to overcome this problems???????
    Thanks & regards,
    Rupam.

  • Total value for Pending Sales order

    Hi All,
    Kindly tell where we can find the total value for the pending sales order. I think that there should be standard t-code for the same.
    Thanks & Regards
    Points will be rewarded

    Dear,
    One more problem has been highlighted of mismatch inthe values of Billing document and MC01 reporting.
    We have dispatched material for one customer for value Rs. 105000 and the same is shown as 20375 in the MC01 report. This is the First line item in the billing document.
    Kindly suggest the course of action or alternate solution.
    Thanks

  • Closing pending sales order

    Hai gurus
    Please help me how  to close pending sales order with open quantity. So that it cant be never used and partially delivered documents attached to that sales order should nt also be affected
    With Regards

    Hi,
    What ever items are open in sales order. then please go to item level then go to reason for rejection tabage and mention the reason for rejection and then save.
    Then order will be completed...
    Regards
    Sankar

  • How to avoid that two or more people alter the same Sales Order same time

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution.
    I've already put this thread in the Business One forum and someone suggested to put it in the Business One SDK forum, as there isn't a solution in Business One itself.
    So if someone can give me a direction for a solution I would be very pleased.
    Best regards,
    Tim

    Hi Tim,
    The only thing that comes close to what you want in standard SBO is Data Ownership. However, this can't stop someone editing a document that is already being edited.
    You can't use stored procedures to track which document is open because the SBO_SP_TransactionNotification proc (which is the only one that you are able to customise) is triggered when a document is updated or added (or cancelled or closed) and not when the document is actually being edited in the user-interface.
    You could do this by writing an addon that uses the UI API to trap events in the sales order form. In theory, a sales order is being edited if the sales order form is in Update mode (ie in order for the form to be in Update mode, the user must have selected an existing document and changed the value of at least one field). You can trap the event of the user changing a value and then log the user and document in a table. When other users try to edit the same document, you could check the table and then prevent them changing values. When the first user clicks on the update button (or cancels the update or closes the form etc etc) you can remove the lock on the document. However, I have doubts as to how robust it would be. The problem with this kind of locking solution is that you sometimes get 'stranded' locks (eg user was editing a document when their workstation crashed) and the solution can end up being more troublesome than it is worth.
    Kind Regards,
    Owen

  • Plz help me to create pending sales order report

    Hi all,
               I need these INPUT AND OUTPUT FIELDS :
              Pending Sales Order Requirement Specification: 
              1.   Fields on selection screen (input screen) : Plant From to , Distribution channel From to , division  from to , date from to , Customer code from to.
              2.   Field in the output List :    Customer Code , Customer Name , Sales Order Number , sales Order Date , Material , open Qty , Scheduled  Qty , Deliver Qty , Balance Qty , Value , Total Value .

    Hi
    use the tables
    KNA1 -for Customer Number,Name (link KNA1-KUNNR  =VBAK-KUNNR)
    VBAK -Sales order Header (VKORG,VTWEG,SPART, AUDAT, KUNNR on selection screen) VBELn, AUDAT,NETWR for output fields
    VBAP -Sales Order item .Take WERKS(plant) for selection screen
    MATNR,KWMENG (qty) and NETWR  for Output
    VBEP- Schedule line data
    LIPS - Delivery data  equate lips-vgbel  and lips-vgpos with vbap-vbeln and vbap-posnr and fetch the Delivery qty
    OPEN qty  = Order Qty - Delivery Qty
    VBAP-KWMENG - LIPS-LFIMG
    Regards
    Anji

  • Product wise pending sales order

    Hello,
    From which transaction code we can find out the Product wise pending sales order list.
    thanks
    harish

    Hi,
    Kindly make use of filter options and change layout options.This might help you for report format.But ultimately the details are going to be the same I guess
    In the initial screen if you give the date range you will get the list of pending orders for that particular material and the organizational detail you give.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Pending sales order with open quantity

    Hai gurus
    Please help me with any table or t.code to find pending sales order with open quantity
    With regards

    Dear,
    Please use transaction code V.02 to view all the incomplete sales order.
    If you have any concerns please revert back the same to me.
    Amjath

  • Pending sales order weight and value

    Dear all,
    Please guide me that how ill get pending sales order weight and net value for all line items.
    I used VBUK for pending sales order where lfstk = ''a' or 'b' and vbtyp = 'c'.
    for line item details i used VBUP where LFSTA = ''a' or 'b'.
    for further line item details i used VBAP, in BRGEW and NTEWR i get weight and value for particular line item.
    But if some line item is partially deliverd, then how i come to know that it is partially deliver and where its details are stored. how i calculate the partial delivered weight and value.
    Please help me in this issue.
    Thanks
    Puneet

    hi,
    vbap -for sales orders,
    likp - for delivary.
    if u need remaing qty in partial delivary then u use logic which satisfy the condition below.
    OPEN qty = Order Qty - Delivery Qty.
    by linking vbap & likp u can get this.
    regds:
    rajesh.k

  • Pending sales order items

    Hy guys
    Is there a standard transaction to get all PENDING SALES ORDER ITEMS in order to clear inconsistent data previous to implementing MRP in the system?
    tks
    Geraldo

    If VA05/VA05N is not fulfilling, then use table VBAP in t.code SE16. In the selection criteria, make field KWMENG not equal to zero and make field KBMENG cumulative confirmed quantity equals to zero and execute. Download the details into an Excel for further manipulation/data cleansing.
    Regards,

  • Pop up message for pending sales order.

    My requirement is whenever a zgor sales order is being created for a particular material,if a pending sales order exists for the same material,the message should pop up : "number of sales orders pending for the given material",
    Pls help me how to write coding for this to deliver a pop up message.

    Hi,
             You need to find the correct exit for your req.  se38 -> sapmv45A-> INCLUDE MV45AFZZ and check the triggering point before saving the sales order . Write your necessary POPUP code..
    Regards,
    Kumar.

  • Automatic cancellation of pending sales orders

    Hi,
    I got a requirement of cancelling any pending sales orders in case of delivery not effected by a specific date. ie. if a sales order is booked for say 100 numbers with a delivery shedule for today but sales order is valid till the end of the  .. incase the delivery is made for 50 numbers only within the month end, the balance should be automatically cancelled.
    Have someone tried this, can any setting can be made to achieve this??
    Regards,
    Ajit

    I don't think this can done automatically, although please correct me if I am wrong.
    Any sales order we cancel has to be blocked indidivually, although you can use transaction MASS to block multiple sales orders.

  • How to prevent modifying the same sales order in R/3 & CRM at the same time

    Guys,
    We are using CRM 5.0& R/3 4.6C. We have the middle set up. I have noticed that its possible to open the same sales order in R/3 and CRM in the change mode. I believe this could cause inconsistenices if the users modify the same order in different systems. Is there a standar way to prevent this from happening.
    Is there something like a change lock like we have the distribution lock?
    Anirudh

    Hi,
    As per OSS Note 705200 scenario X, Y and Z are supported with R/3 4.6C. Even if you use Scenario A, SAP wont support that. I would suggest sceario Z to be implemented. This would convert all the CRM order into R/3 order as soon as they are transferred to R/3. As a result the order can now only be modified in R/3 and all the changes would flow back into CRM maintaining the integrity between the systems.
    Refer to OSS Note 541113 for details.
    Regards,
    Gaurav Gera

  • 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?

  • Tracking the actual sale order quantity

    Hi Friends,
    How to track the actual sales order quantity given by the customer.
    Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
    How to find out the difference of 10 units as a report in standard sap system.
    Thanks
    AJ

    Dear AJ,
    This is how normal sales process works.
    You create Sales Order line item for the quantity that customer has requested. (eg: 100)
    Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
    Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
    Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
    So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
    Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
    Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
    Coming back to your issue.
    Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
    Only way you can find your original sales order quantity is in the Line Item / Change Log.
    This can be view by selecting below Menu option.
    Environment -> Changes
    If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you  can see the old value & new value. (In this example 100 & 90)
    But that is not a good practice to do as changes will show all quantity changes that you might do based on  customer request. (Imagine if you customer ask to change it later to 95 not 100).
    In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
    Hope this is helpful to you !

Maybe you are looking for

  • Improve the order-to-cash cycle and DSO with e-invoicing

    Hi Gurus Please will you provide me with material or ducumentation in this area- Improve the order-to-cash cycle and DSO with e-invoicing. Thanks in advance Rash

  • PurOrd & ShipNt in MD04 duplicated (SNC confirmation)

    Dear experts, When a purchase order released to vendor, initial order acknowledgment is received through EDI, from SNC (ECC integrated with SNC). This order acknowledgement creates confirmation category "AB" in purchase order under 'Confirmation' tab

  • A pop up called XPCOM since I downloaded stops me from going on to the Internet ??

    I want to reinstall FireFox but no matter if I use Comcast or Google or any attempt to get on line with any program a :POP UP in center screen XPCOM pops up and my only option is to cancel it without any moe actions. George Weir [email protected] NOT

  • Link to URL

    Hi, I need to create a button that when called, opens a URL. This URL is a Web Report created by BPS_WIF0. I know the URL, but I want to avoid hardcoding this url in the abap report because it's different in each server.  Is this URL stored in a spec

  • Music skips during slideshow

    Hi, When I play a slideshow from within iphoto8 the music skips every 10-15 seconds. If I play the same selection in itunes it does not skip. I've tried this with many songs in the off chance that it was the one song but it does it with every song I