Automatic Send mail when sales order is change

Hi friends,
I have a requirement that  when ever sales order is created or change i.e in va01 or va02 automatically mail to send to customer. So please can u sujjest me in doing this ?
with regards,
prasad.

Write the codes in sales order exit program so that as soon as you save the sales order the email can be triggered.
Abap Program: MV45AFZZ
USEREXIT_SAVE_DOCUMENT
Sending e-mails using ABAP
Thanks
Ganesh
you can also use work flow to trigger the email from sales order.
Edited by: Ganesh Modhave on Oct 6, 2008 10:54 AM

Similar Messages

  • Automatic Billing Creation Through Sales Order Output Type

    I have requirement to create Automatic Billing document when Sales Order has been created.
    Any Suggestion.
    Regards
    Vijay Maurya

    Hi,
    it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
    for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
    hope it helps..
    regards..
    yogi..

  • Need to send a mail to group of users when sales order saved

    Hi
    user requirement is send a mail to group of users when sales order is saved

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

  • How to ATP check when sold to party in sales order is changed?..

    Dear SD Gurus,
       I have one issue with ATP check in my current project where I need to change the the Sold to party of the sales order for a valid business case. We are using production allocation method for ATP check which reduces the Open PA qty once the sales order is saved.
    In the above scenario, once the Sold to party in sales order is changed, it redetermines everything and also goes through a ATP check which is cusing as an issue as it would again reduce the open PA qty for the same items in sales order for which are already taken into account. It would either reduce the open qty or propose the next date if it is no more available on that day.
    This is a big issue for us. Also it deleted the texts that are maintained.
    Does anyone know how to stop the ATP check in this (main issue) and also if possilble stop the deleteion of texts?
    Thank you very much for your help in advance..
    BR/
    Ashutosh

    Hello SAJU,
      The ATP check is done automatically when sold to party is changed..the issue is how to stop it? beacause of production allocation , it would be incorrect to reduce the open PA qty once more for the sales order when sold to party is changed. So I would like to stop it. Is there any exit or paramater by which we can stop ATP check?
    Thanks for your reply..
    BR/
    Ashutosh

  • How To Automatically Create Planned Orders When Sales Order Is Saved

    I have a MTO sceanrio where we need to create planned orders when sales orders are saved without running MRP.
    I have the Planning Strategy Group set to 81 in the material master, but it didnt create the planned orders.
    Could you tell me other settings I should review to make the planned orders create automatically?

    Tony,
    At the "Requir. Classes" (OVZG) customizing screen, field "Automatic start of make-to-order in background mode" affects the automatic planning. See fields help doc. below.
        If you select this indicator, the system automatically carries out
        single-item, multi-level planning for a sales order if a sales order
        item is either created or changed.
        This function can only be used for make-to-order production.
    So check out the Req. Cl that yr Req. type (req. type is part of a strategy).
    BR,
    Elly

  • Automatic mailing of sales order to Customer

    hi,
    My client is using version 4.6B and wants a solution to this problem.
    When a sales order is created,there should be an option to mail the sales order,i.e soft copy of the sales order to the customer.
    Also certain branches do not have SAP, but theyw ant to mail certain reports related to billing (ZReprts and standard reports) everyday to the branches via e-mail
    How can this be accomplished?
    Is it possible to achieve this in the above said version?if yes then how?
    plz mail me at [email protected]
    Can someone please advise.
    Thanks in advance

    Dear Priyanka
    If you want Simple solution without ABAP , I will suggest you following
    We will divide it in two steps
    1. Create PDF file of your report.
    2. Mailing it to particular email address - This will be done manually , it will not pickup from customer master
    1. Create PDF File
    go to SPAD and define new output device ZPDF1, and select Device type PDF- if that is not visible you can implement note Note 317851 - Creating PDF format using the SAP spooler in 4.6C/4.6B/4.5B
    Or there is other manual method, you can run report RSTXPDFT4 in SE38 and execute, give the spool number of your report and then give the path to save the report in PDF file in your desktop.
    2.  Email
    in SPAD you have now defined ZPDF1, for that in HostSpoolAccMethod, check in Host Spool Access method M: Email to receiver owner is there if it is avaiable then save it
    if it is not available execute report RSPO0075 in SE38 and activate access method 'M' by enabling check box for M. Then you can go to SPAD and edit your ZPDF1 Output device.
    Now you are ready to use ZPDF1, run your report select Output device ZPDF1, your output will go to spool request , when you select it and click on printer icon, it will ask you for email address, just type it
    But now your Email should have access to Internet
    So in SCOT - i.e SAP Connect for define node in INT and define RFC Port (TCP/IP)for your Node in SM59, if you are not able to do it take help of BASIS
    I think this settings will be enough.
    if you have any issues you can write back
    Regards
    Jitesh

  • Purchase orders are duplicated when the SAP sales order is changed

    HI Guys
    We got an issue here, when a sales order is changed at the same time PO is duplicated and sent to the vendors.
    Someone just enter a change of address on this sales order and our system sent PO which is already being Invoiced, again to the vendor for a ship direct order. But this time the only information the vendor got was the address change.
    Any idea where is it going wrong. (Version 4.7)
    Will assign points to every useful answer.
    Thanks

    tranz V/30 or
    spro
    sd
    basic fun
    output control
    maintain output type (before find your output type in your sales order)
    cond.type - details
    TAB General data
    check the flag for Multiple issuing
    check TAB Default values as well

  • Automatic Price Redetermination when header data is changed

    Hi All,
    Scenario: Client is using customer condition group fields to maintain shipping method(VBAK-KVGR2) and freight terms(VBAK-KVGR3) in Sales Order Header. They have maintained condition records to calculate frieght charge for items. Requirement is whenever any of the above mentioned field is changed, freight condition has to redetermine automatically for the item.
    Any help will be highly appreciated.
    Regards
    Srini

    Hi Everyone,
    As mentioned in your response, those steps are carried out already. When Sales Order is created for first time, the freight condition is calculated automatically using condition record and access sequence. Here the requirement, if Freight terms or Shipping method is changed later, the freight condition has to be redetermined automatically without manual price update. However I find an user-exit, which can redetermine the freight condition only when any of the line item details are changed.
    I am not sure if there is any other user-exit available if header values are changed, the freight condition has to be redetermined.
    Thanks for your response.
    Regards,
    Srini

  • How to make Text Input in Sales Order Trigger Change Event

    Hi Gurus,
    I have a project going on where when a sales order is created, changed or cancelled, an IDoc is FTP to our freight company.
    Now the issues is when we change a sales order text input (for example, shipping note). Nothing happens. The system doesn't take this as a change so no change event is triggered.
    Text fields I'm talking about is the one from Go to --> Header. and for Item Go to --> Item.
    When I input a note in this field, it comes out in the IDoc, but when I go back to the Sales Order and change the note, it doesn't trigger a change and therefore no IDoc is generated.
    how can I go about this?
    thanks.

    Hi,
    Could you initiate the idoc creation from a workflow?
    Have you checked the event trace?
    Is the BUS2032 object type CHANGED raised? I checked our system and event is raised on text change.
    Transaction SWELS to activate and deactivate trace.
    Transaction SWEL to monitor event raised.
    Don't forget to turn trace off
    Hope this helps
    TB

  • When sales order is created ,costing of a material cann't be created automa

    dear suppporter:
      when sales order is created ,costing of a material cann't be created automatically.if i cost the material in va02 ,the cost can be generated.please help me analyse it .
    best regards.

    There is Tick in Delivery block 01 Deliveries: Blocking Reasons/Criteria
    I have observed in testing Before you save a sales order, you look at the schedule line overview, you can see what the system would Proposed confirm date and confirmed qty, if the block were  not set. However, as soon as you save the sales order,(warring message Oldest open items over due will appear) the confirmed quantities are automatically reset to zero because sales order is Blocked. Here the goods remain available for other customers.
    Note : When you release the sales order the automatically in sales order confirmed qty and proposed date will come.
    Here the problem is  when they do MRP run after sales order saved with block Planned order is creating.

  • Trigger custom idoc through ALV when sales order is created in VA01 & VA02

    Dear Experts,
    I am new to the concept of ALV_idoc. Please give me the procedure in detail.
    How to send custom fields to non SAP system when sales order is created or modified in VA01 &VA02?
    Can i use existing Logical Systems and Ports and partner profiles?
    Thanks & Regards
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Jan 17, 2012

    hi,
    the first option is the right one. the FM invoked makes a direct input, so all the functionalities in S.O. are the standard one in the same way as if you are making it manually.
    Also you can have some exits in the Idoc FM, so you can manipulate data there before loading the sales order.
    pls. reward if helpful
    regards
    Roberto

  • External Mail from Sales Order

    Hi All,
    Can anyone help me out. While trying to send mail via Invoice using External Send I can send the mail to external mail ID. But whith the same settings for Output Type I am unable to send the mail via Sales Order. can anyone please help me out I am unable to trace like whether the problem is with program or Output Type Configuration.
    Regards
    tanushree Bose
    Edited by: Tanushree Bose on May 6, 2010 5:58 PM

    Hi,
    Check the output status in the sales order.
    If it is in yellow,click on "Further data".
    Select the "Dispatch time" as "4".
    Save.
    If the status is green,try to debug the code with the help of ABAPer.It might be mistake in the program.
    If it is in "Red" color,Check the processing log.
    Regards,
    Krishna.

  • Can't send mail when using mobile broadband

    Hi
    I am getting quite frustrated as I can't send mail when using my mobile broadband modem! I can receive mail, and surf the internet etc, but mail just wont send!(i get the usual cannot send try later/resend options). I thought this might be an issue with my mobile broadband but have recently reinstalled it. When at home on a wireless network I have no such issues.
    Any help appreciated
    Charlie

    Cgienke wrote:
    I am not using a SMTP it is a Pop3 domain name account from freeparking and uses mail.'NAME'.com for incoming and outgoing mail!
    Even though your e-mail service uses the same URL for POP3 and SMTP servers, in the software sense you actually do have separate POP3 and SMTP servers, although they may be hosted on the same machine, or the requests are routed via some "smoke and mirrors" to the right host.
    It is not related to my ISP at home, which is Virgin media. My mobile broadband provider is 3. I was thinking it might be that I need to change the port settings in mail when using my mobile modem, but don't know what to change them too(or how to do it!) or configure the modem differently but again not sure what to do there!
    Check with the freeparking online help to see if it supports port 587 or some such.
    Also try Mail's "Connection Doctor" (under the Window menu) when you're away from home to see if that shows anything useful.
    Since you can send e-mail from that SMTP server when you're at home but not when you're using your mobile broadband, I think one of two possibilities is likely: (a) Your mobile broadband provider is blocking your attempts to access the freeparking SMTP server and/or port. (b) The freeparking SMPT server for some reason doesn't like being communicated with via your mobile broadband provider. I'd check with each of them to explore these options.
    Does your mobile broadband provider have an SMTP server that you can use instead of the freeparking one?
    My modem(Huawei E220) is not particularly Mac friendly as it is, and I believe Mail can be quite sensitive when servers don't respond immediately?
    Yes. Mail seems to have a fixed time-out value for server responses.

  • Problem sending mail when out of town.

    So, I check in to the hotel w/ wifi and I receive mail but cannot send it. "Cannot send message using selected server" referring to my regular mail server. Gmail doesn't work nor does .mac even changing the port to 587.
    Are there any magic numbers I need to configure to accomodate this or is it just too bad.
    Thank you

    Do you have the authentication information filled in for the mail account? Open Mail preferences, click on Accounts icon in toolbar, click on Account Information tab. Click on the Server Settings button. Select Password authentication from the Authentication drop down menu. Fill in your email username and password.
    Some mail servers will not permit you to use them for sending mail when logged into another ISP account without authentication. Also be sure you are using the proper server for the mail account you are accessing, especially if you have multiple accounts and mail servers configured.

  • Send mails when I watch thread...is not workin!??

    Could anyone tell me why I do not get email for threads that I watch (both "watch" options are checked as well as "send mail when I watch")?
    THX!

    Hi,
    I've just started to receive emails again.
    I went to my settings and changed the frequency to daily, saved the changes and then set it back to immediate. Then I got my emails. It's either that or someone, at the same time, resolved the issue - either way, I'm getting emails now!
    Regards
    Andy

Maybe you are looking for

  • Windows error msg:  "Can not write to drive G: Joe's iPod"

    Halfway thru the download process (1780 songs) from itunes to my ipod I get a windows error msg: "Can not write to file G: Joe's ipod. All the data has been lost. Check for an error on your computer or network." Getting the error msg: " Can not write

  • High Availability and load balancing

    Hi, I have 6513 catalyst with redundant sup720 and msfc. All the servers are connected to this switch and there is no vlan configuration. Here is the hardware config of the box. Mod Slot Ports Module-Type Model Sub Stat 1 1 48 10/100/1000BaseT Ethern

  • To administrator

    Dear Administrator I have a problem regarding Module FS-CD. Can you please tell me where should I post my thread? Thanks SIM Edited by: SIM on May 18, 2009 5:10 PM

  • Web Service URL length limits, LV2013 vs LV2012

    (* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *) (* Please reply in this forum.  I have marked the other thread to put replies here. *) Has anyone noticed a reduction to the limit on URL length for Web Se

  • Is ADFBC - JSF is working with Oracle XE?

    Hi , i found in the XE license doc that Java Server Pages = NO what that means? Thanks