Alert for change in due date on sales order

Hi,
I would like the system to create an alert when ever a user changes the due date on an existing sales order. The alert should only be triggered once when the change takes place.
Please help
Kind Regards
Grant

Grant,
You could use the Query below 
SELECT DISTINCT T1.DocNum AS 'Document Number', T1.CardCode, T1.CardName, T0.DocDueDate [Old Due Date], T1.DocDueDate [New Due Date] FROM  [dbo].[ADOC] T0  INNER JOIN  [dbo].[ORDR] T1 ON T0.DOCNUM = T1.DOCNUM WHERE T0.ObjType = N'17'   AND  T0.DocNum = 400000
AND T1.DOCDUEDATE <> T0.DOCDUEDATE
NOTE: The number of times the Alert appear cannot be controlled through a Query, it is a setting in the Alerts windows. 
Suda

Similar Messages

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All,
    I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8.
    For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit for the same. And how does exactly change it.
    Thanks in advanced.
    Points will be awarded.
    Regards,

    EXIT_SAPFV45E_001 has nothing to do with this - it is meant to update the purchase order from a sales order. It might not even be triggered if the sales order has no link to a purchase order.
    USEREXIT_SAVE_DOCUMENT is not really good for this either, because the delivery date has to be changed before that. If memory serves, it also influences the schedule lines and probably the ATP check and such. I would strongly advise against it. One of the other routines in MV45AFZZ should do just fine, USEREXIT_MOVE_FIELD_TO_VBAK for example.

  • Mass change of LOADING DATE on Sales orders

    Hi
    Does anyone know how we can MASS CHANGE  the LOADING DATES on SALES ORDERS with MANY LINE ITEMS  - ALL WITH Different DELIVERY DATES
    So basically we are wanting to over-ride the loading dates which SAP suggests - which relates to the ROUTE
    I am aware that you can use EDIT > Fast change > delivery date  - but this would put all of the delivery dates then to be the same
    Your help would be much appreciated, as the Operatives are doing this line by line, order by order at the moment
    Many thanks
    Tony

    Dear Tony,
    Won't You able to change the same Via LSMW (or through BDC-Program)?
    Just check whether the T. Code: MASS, could be useful
    Best Reagrds,
    Amit

  • User Exit for Changing Payment Due date for Invoices

    HI Gurus,
    Could anyone suggest a User Exit which cane be used for Due Date calculation an all Invoice Entries like MIRO, FB60 etc.
    This is required for overwriting the Due Date determined via payment terms by a Particular day in a week. (Eg: Friday)

    Hi
    User exit
    Re: user exits in MM
    Regards
    Ram

  • Pricing after change of delivery date in sales order

    Hi,
      When i change delivery date in a sales order prices are not recalculated automatically .
    I want the prices to be calculated automatically .
    thank you.
    Ashok

    hi,
    i have this problem, can anyone suggest me, is there any user exit or anything relevant for the solution.
    When we attempt to remove the Rejection flag (for any Reason) The system is changing Dates in sales order like Delivery date , Shipping date, GR date  to current date this needs to be stopped and client wants to retain old set of dates when rejection flag is removed
    waiting eagerly for this solution. if you find send me mail to my id [email protected]
    bharadwaj.

  • Regarding changing of configuration data of Sales Order/item

    Hi,
    I have taken configuration data of sales order/item from VC_I_GET_CONFIGURATION function module, i should change some of the data and save them back,
    Can any one provide the function module name to save the configuration data in SAP sytem,
    Thanks in advance,
    With regards,
    P.Prasanth.

    Try with Function module
    CE_C_PROCESSING.also you can use
    CE_I_SET_CONFIGURATION
    CUCB_CHANGE_CONFIGURATION
    CUD0_CONFIGURATION_TO_DB

  • Dont allow to change item level data in sales order.

    Hi all,
    I have a requirement in which, users should not be allowed to change  item level data or not allowed to add any new items in sales order on a certain condition. But they should be allowed to change the header level data.
    How can i achieve this.
    Can anyone help me?

    Hi,
    Check below exit.
    MV45AFZZ and in form USEREXIT_MOVE_FIELD_TO_VBAP.
    Here check for ur validation, If passes then CHECK variable SVBAP-TABIX. If it is 0 then item is created. If it is GT 0 then item is changed. Other way could be...
    select data from VBAP for each sales document and item in xvbpa internal table.
    If for any item u don't have data in VBAP table that means u r adding that item. So issue error message.
    *       FORM USEREXIT_MOVE_FIELD_TO_VBAP                              *
    *       This userexit can be used to move some fields into the sales  *
    *       dokument item workaerea VBAP                                  *
    *       SVBAP-TABIX = 0:  Create item                                 *
    *       SVBAP-TABIX > 0:  Change item                                 *
    *       This form is called at the end of form VBAP_FUELLEN.          *
    Thanks,
    Vinod.

  • Need an alert for Customer Ref. No on Sales order.

    Dear All,
    I have a question concerning Customer Ref. No. tab in the Sales Order.  We use this tab to enter the customers PO number.  if I create and save a Sales Order with a PO number, is there a way to ALERT me when I try to make a new Sales Order using the identical PO number as previously saved. 
    e.g. I have a SO#1 Customer Ref. No is #10. Then I have a SO#5 Customer Ref. No. is #10 too. When I type in #10, is there anyway to pop-up me an ALERT to let me know I have #10 for SO#1 already?
    Thanks.
    Yuka

    Hi Yuka,
    Check below code in SP_Tran
    If @object_type = '22'
         begin
              Declare @refcli as nvarchar(2)
              Select @refcli =
              (SELECT top 1 T0.NumAtCard
              FROM OPOR T0
              where T0.docentry = @list_of_cols_val_tab_del
              order by NumAtCard
              from OPOR where docentry = @list_of_cols_val_tab_del
              if @refcli='' or @refcli is null Or @refcli=@refcli
              begin
              set @error = 1
              set @error_message = 'No vendor References !!! Or vendor References is Already exists!!!'
         end
    end
    Hope this will helps you.
    Thanks,
    Sachin

  • BAPI or FM for changing billing plans of a sales order

    Hi guys,
    I tried the FMs BILLING_SCHEDULE_SAVE and BILLING_SCHEDULE_MAINTAIN for updating the billing plan of an SO but it doesn't work. Tried adding coomit work after calling the FMs but didn't affect the results.
    Can anyone provide me with a BAPI or FM for updating the billing plan?

    Below is a sample code.
    I am able to delete the details....
    Take a look...:)...imp to add wait for few seconds
    REPORT z.
    PARAMETER: vbeln TYPE vbak-vbeln.
    PARAMETERS: fplnr TYPE fplnr.
    DATA: t_zfpla TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_zfplt TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    DATA: t_fpla_new TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_fpla_old TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
    DATA: t_fplt_new TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    DATA: t_fplt_old TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
    *DATA fplnr TYPE fplnr.
    IF NOT vbeln IS INITIAL.
      SELECT SINGLE rplnr INTO fplnr FROM vbak WHERE vbeln = vbeln.
    ENDIF.
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr = fplnr
      TABLES
        zfpla = t_zfpla
        zfplt = t_zfplt.
    LOOP AT t_zfpla.
      MOVE-CORRESPONDING t_zfpla TO t_fpla_old.
      t_fpla_old-updkz = 'D'.
      APPEND t_fpla_old.
    ENDLOOP.
    LOOP AT t_zfplt.
      MOVE-CORRESPONDING t_zfplt TO t_fplt_old.
      t_fplt_old-updkz = 'D'.
      APPEND t_fplt_old.
    ENDLOOP.
    BREAK-POINT.
    *CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
    TABLES
       fpla_new = t_fpla_new
       fpla_old = t_fpla_old
       fplt_new = t_fplt_new
       fplt_old = t_fplt_old.
    DATA fpltr TYPE fpltr.
    CALL FUNCTION 'BILLING_SCHEDULE_MAINTAIN'
      EXPORTING
      I_FPLA           =
      I_FPLT           =
       i_upd_fpla       = 'X'
       i_upd_fplt       = 'X'
        i_fplnr          = fplnr
    IMPORTING
      E_DATALOSS       =
      E_UPD_FPLA       =
      E_UPD_FPLT       =
       e_fplnr          = fplnr
       e_fpltr          = fpltr
    TABLES
        fpla_new = t_fpla_new
        fpla_old = t_fpla_old
        fplt_new = t_fplt_new
        fplt_old = t_fplt_old.
    WAIT UP TO 2 SECONDS.

  • User Exit for Requested Delivery Date in Sales Order

    Hi
    Which user exit can be used to change Requested Delivery Date in Sales Order.
    Scenario:  Sales Document Type: OR has Lead Time: 7 days.  System always proposes delivery date after 7 days.  We need to change this Lead Time based on plant.
    Thanks in advance for your support.
    Regards
    Uma

    Hello,
      try with USEREXIT_MOVE_FIELD_TO_VBEP or USEREXIT_SAVE_DOCUMENT_PREPARE, of program MV45AFZZ.
    Hope to be useful.
    Best regards,
    Andrea

  • Change Delivery date in Sales Order

    Hi all
    I want to change Request Delivery Date in Sales Order. But when I changed Request Delivery Date system appear" The default date is not copied into existing schedule lines"
    And Delivery Date didn't change.Could you tell me how to change Delivery Date ?
    I setup Request Delivery Date - September 21th but Availability Date is September 19th. Could you tell me how to setup loading time, picking time, packing time ?
    Thank and Best regards,
    Thang

    Hi,
    When you change the Request Delivery Date, it automatically changes the schedule line date of all the materials, but by default does not change the schedule line date of the ordered material.
    So just check the ordered material schedule line date and change it manually in the order.
    Similarly maintain the same date in all the resp fieldsi in the delivery, wherever you see the date.
    Regards,
    Siddharth.

  • I cannot Split Deliv. Date in Sale Order

    Hi expert
    Can anyone give some suggestions.
    - Sale order is MTO and have production order that generated from sale order but production order was closed by user.
    - User create new production order by tcode CO08.
    Users want to change Deliv. Date in Sale Order by refer to new production order but cannot change.
    I cannot edit and split Deliv. date because date of old production order and ATP check not found new split item.
    regards,

    Hi, Allen Qiu2010 
    Thanks for your suggestion, after check at shipping tab than Partial delivery per item is blank.
    After change type, i can split  new delivery date but it refer to the old prod.ord, which was closed.
    Clould you tell me about new item which split delivery?
    How to refer between new Deliv.date and prod.ord. that create by CO08?
       -  first item of Deliv.date, and confirmed dty. have 40 PC (refer to old prod.ord which was closed)
         ->i checked material on MB52 don't have stock of this sale order . (sale order is make to order)
         -> prod. ord which create by CO08 unfinished process.
    Sorry, if i wrong understand.
    regrads,

  • Billing date in sales order should not be modifiable to backwards dates

    hi gurus
    I have a requirement where in few users while creating a sales order , they should not be able to modify the billing dates to previous dates . So that particular field shd not be modifiable . Could use some help here .
    Regards
    JNM

    Dear JaganNM,
    While creating the billing document in VF01 the billing date will be changed manually by the user.
    This change will not applicable in sales order.
    Once you save the billing document you can't change the billing date in sales order ,it will be graded out.
    Before saving the billing document only the date can be changed in sales order.
    Let me know if you have any further clarifications.
    Thnaks&Regards
    Raghu.K

  • Can't change quantity when copy from Sale order for Delivery

    Hi all!
    Can i use authorization for can't change quantity when copy from Sale order for Delivery.

    Tien,
    Approval will not work when you have mutiple rows of data.  You would have to work with SP Transaction Notification
    There has been threads before on the forum on the same topics.
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Suda

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

Maybe you are looking for

  • What monitors will work with the Power Mac G5?

    If I got a new Power Mac, would I need to get a new monitor (Apple Display), too? I have a Dell 17" LCD monitor (VGA). Would this work with the Power Mac? HP P4 1.8GHz   Windows XP Pro  

  • Preview and Printing of Chinese Characters in Smartform

    Hi everyone! I have a development that needs to output in Smartform a combination of Chinese and English characters, on an English Logon, When I debug the form, the Chinese characters are shown in the debug screen, but when it is previewed or printed

  • Mass Download of Originals

    Hi all Is there any way to mass download the Originals from the following scenario - from cv04n by selecting multiple DIRs Regards Aby

  • Find the ITS FAQ, latest ITS releases and more on our ITS Wiki on SDN

    Dear ITS community, You can find the ITS FAQ and a list of the latest ITS releases on our <a href="https://wiki.sdn.sap.com/wiki/display/HOME/InternetTransactionServer">ITS SDN Wiki pages</a>. Best regards, Henning

  • Reg value table and check table

    Hi Friends,     I have defined a value table(ZVALTAB) for a domain and defined the relation ship between check table(ZCHKTAB) and dependent table(ZDEPTAB). Here value table and check table both are different. My problem is while I am entering the val