Order confirmation through email when it's created in VA01/changed in VA02

Hi all,
    I have a requirement whenever order created in VA01 or changed in VA02 for example order amount or shipment date, then order acknowledgement should go automatically to customers email id to update the customer. Right now we have layoutset for printout and Fax with output type PLOR.
   Can someone help me with how to automate email when order created or cahnged.
Thanks in advance.

Hi Kartik,
    Thanks for your reply. Right now we have std output type printing order with transmission medium 'Printout', do i need to create another custom output type with transmission medium as External send?
   And also in print program we are already converting to PDF to display on web with using RVADOPFO customized include with code,
ITCPO-TDGETOTF  = 'X'.
IF US_SCREEN NE SPACE.
  ITCPO-TDPREVIEW = 'X'.
  ITCPO-TDNOPRINT = 'X'.
ENDIF.
Call function to open the form.
CALL FUNCTION 'OPEN_FORM'
     EXPORTING
          FORM           = TNAPR-FONAM
          LANGUAGE       = NAST-SPRAS
          OPTIONS        = ITCPO
          ARCHIVE_INDEX  = TOA_DARA
          ARCHIVE_PARAMS = ARC_PARAMS
        device         = 'OTF_MEM'
          DEVICE         = 'PRINTER'
          DIALOG         = ' '
     EXCEPTIONS
          OTHERS         = 1.
IF SY-SUBRC NE 0.
  RETCODE = SY-SUBRC.
   perform protocol_update.
ENDIF.
Can you please tell me where exactly i need to call this FM -> SO_NEW_DOCUMENT_SEND_API1.
Regards

Similar Messages

  • Sales Order Confirmation through Email

    Dear Friends,
    Can i ask you to give me a quick idea on what need to be done to establish the functionality to send the order confirmation through emails.
    Thanks in advance.
    Ravi

    Once you made sure that the output type definition is all set with all relevant data and ABAP work, go to the condition record of the same output. Maintain the mediums as 5 -- Extrenal Send and Date / Time as 4- send immediately when saving the order. Then go to the details of the record and maintain the relevant communication strategy. Save the record. This should trigger the mail automatically when you save the order.
    If you also want to print with the same output type, then you need to go back to order VA02 , repeat output and change the medium to 1.
    If you want to automatically print and also mail on single save / then you need to tweak the output program to trigger print and mail both at the same instance. This is possible by the output program. Then you need to keep the medium as 1.
    Hope this helps.
    Sai

  • Trying to create a Sales Order Confirmation through IDoc

    Hi,
    I am trying to create Sales Order Confirmation through ALE with message control.
    My recieving system is XI server.
    Can u please send me the steps to what to be done to trigger IDoc automatically.
    The condition types and access sequence created is for Output type customer but i am sending it to XI Server.
    please help me.
    Thank you in advance,
    Gangolu.

    Hi Gangolu,
    Have a look at url. Hope this provides some inputs.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    Thanks
    Lakshman

  • V/30: Include NAME1 in Document Title for Order Confirmation per Email

    We have configured a sales order output condition for forwarding order confirmation per email. Within the document title (Mail Title & Texts) there is reference to e.g.  &VBAK-VBELN& etc. Is it possible to add NAME1 within the title?

    Case resolved - can use KUAGV-NAME1

  • I filled out my own form saved it and sent through email, when I opened it what I filled out was not there, why would this be

    I filled out my own form saved it and sent through email, when I opened it what I filled out was not there, why would this be?

    What software did you use to fill-in the form (Preview, perhaps) and what software did you use to open it after you emailed it?

  • I didn't put a rescue email when i first created my account

    i didn't put a rescue email when i first created my apple account and i've forgot my security answers , how could i reset them
    thanks

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105514)

  • Reversal of Production Order Confirmation through IDOCS

    Hello all,
                  The time for each operation in a  production order is logged in KabaBEnzing tool called Autotime. This is sent to SAP through IDOCS and the order confirmation is created. There is a scenario where the supervisor could have entered the wrong time against an operation. Is it possible to reverse the confirmation through IDOCs. If yes, please let me know what should be the approach? Also, I heard that SAP does not accept negative time to do the reversal. How true is this?
    All helpful answers will be rewarded.
    Thanks,
    Kalyan

    Hello,
    I saw your message and we are doing the same thing.  Did you find any answers to your questions.   We are using Kaba for our shop system and now we would like to sent negative numbers back to sap because of supervisor adjustments.  I have not found any way to set Sap to allow it.  What conclusions have you came up with the situation.
    Thanks again,
    Jeff

  • Order confirmation and email confirmation not have same information?!?

    I just place an order online, I don't know why the order confirmation email does not have the same information as the original order confirmation.  
    After I hit the button to place the order, the order confirmation page clearly showed:
    -  the installation appt on July 23, 2015 8:00 AM - 9:00 AM in green color
    -  the order summary include "$350 Visa prepaid card" in green color
    -  the estimate bill is 154.92
    But in the email confirmation, it provided  total different thing:
    - no where on the email order confirmation  said about $350 Visa prepaid card.
    - the installation appt somehow change to July 28, 2015 8:00AM - 5:00 PM (<- move to 5 days later with an 8 hours window to expect people to take whole day off  from work to get installation?)
    - the estimate bill become 241.22 (<- move up 86.3)
    Does the email confirmation have the wrong information or Is it normal that Verizon automatically make change to the order after it submitted? Bill increase, date install change and no more prepaid card?

    Note the bill estimate on the email may have certain extra charges, hopefully all correct.  You will need to check when you get actual bill.  Things like install fee (if not waived) and partial month charges.  I don't remember if other taxes and fees are also included on one but not the other. YOU ARE NOT TALKING TO VERIZON ON THESE FORUMES.  The forums are mostly peer to peer.

  • Sales Order confirmation through standard IDoc in Background

    Hi all,
    I want to send Order confirmation throough standard or existing IDoc.
    Can  you please help me the steps to configure the IDoc
    and also the standard program to fill the IDoc with the data and send as background job.
    It is also the case for
    Invoice
    and Shipping
    Can you please send me the steps to  configure and standard program to fill the IDoc with data.
    Hope you would respond me ASAP.
    Thanks and Regards,
    Shalem.

    Hi,
    After the sales order has been created, an ORDRSP IDoc is automatically created using message control.  This IDoc is sent from the vendor system to the retail system, which means that the outbound IDoc can usually be found in the vendor system and the inbound IDoc in the retail system.
    SAP menu -> Tools -> Business Communication -> IDoc Basis -> WE02 –> Display IDoc.
    Before this you need to complete NACE configuration Part.
    If you want to send the IDocs automatically while creating sales order, you can configure it using message control. The process code will be SD10, which is for sales order confirmation (called as EDI 855).
    Use NACE transaction to create output/message type with program as RSNASTED and form routine as EDI_PROCESSING and configure the condition record for your partner (profile). Also configure the same in your partner profile.
    <i>Hope This Info Helps YOU.</i>
    Regards,
    Raghav

  • Production order confirmation through BAPI

    hi all,
    i have an issue regarding the order confirmation 'BAPI_PRODORDCONF_CREATE_TT'. the order is getting confirmed but the confirmed yield is not geeting updated . ihave passed the order number , operation , Activity Currently to be Confirmed, and unit of measure. can anyone please suggest on this . urgent. do i need to pass the quantity if yes where and which parameter and which quantity to pass to the function module.

    Hi , I have the same problem. When I am running BAPI_PRODORDCONF_CREATE_TT , after successful execution it gives msg that ORDER Confirmation saved. But when i check that in CO14, its not showing the update.

  • Process order confirmation through PI sheet -reg

    Hi,
    Please tell how to confirm the operation/order through PI sheet.
    I have created the process order with PH_CON as process instruction catagory. after I sent the message thr. CO53 and in CO58 entered the actvity timining and then saved.
    But i am not getting any status in the order,
    Please tell me is there any mistake inthe process.
    Regards
    Karthik

    Hi,
    Process Massage will generate only after Completing the PI sheet.So after maintaining the PI sheet you have to press Complete button then only system will generate Process Massage regarding completion of PI sheet.
    But if you leave the PI sheet only with Save then it means still there are some entries are left or may be change.So in this case system will not generate process massage.
    Now first complete the PI sheet then check in CO54 with correct date , time and plant selection.Send it from here and then check in process order.
    Regards,
    Dhaval

  • Order confirmation through EDI

    Hi,
    I need to confirm a sale order by triggering an output type when a sale order is created by an inbound order.
    The output type i created triggers if i create a sale order manually but its not working when a sale order is automatically created from a inbound order.
    Kindly help me.

    Have you checked the authorisation of the user that is used when the Sales Order is created automatically.
    Thanks

  • How to get sales order number when it is created in VA01

    hai experts,
    i have a requirement , when i create a sales order using transaction VA01 and save the transaction number , after saving i want to catch the sales order number and use in some other fucntion moudle, how can i do that  , should i use the events or any other methods to do the same
    regards
    m.a

    You can call you Z function module either from the workflow or from a BADI' where you can access the newly created sales order the BADi name is BADI_SD_V46H0001 and the method that you need to check is
    EXIT_SAPLV46H_003     Customer Function when Creating/Changing Header
    You can even call the FM from workflow too, but aganin for tht you need to create a ZBOR, if at all you are using a standard Business object and you hvae to create a new task and include that new task in the workflow by creating a new background Activity step. which I personally feel that you eed to put some more effort to fix the issue.
    Instead it is simple and sweet to call that function module from the Method which mentioned. where you can acess the sales document number tooo check int he method parameters.

  • Order confirmation through BAPI

    Dear Gurus,
    I am having a scenarion for heat treatment proces. In a single HT cycle there is a possibility of clubbing the multiple orders. For example I am having 2 orders... one for material A and another for material B. In these two orders operation 30 (in order A) and operation 40 (in order B) are HT operations. I am creating a group order. In this group order I will select the original order number and operation number (i.e. A-30 and B-40). And in this Z transaction I will mention the total activity consumption... this activity consumption will be segregated based on the weight of each order.
    After segregation of activities... I want to trigger the individual operation confirmation. This I am planning with the help of BAPI. I found BAP "". But during the testing (by giving order number, operation number and activity values)... I am receiving message saying that confirmation of order XXXXX saved. But I didn't find this confirmation data in Table. Please let me know ... what could be the reason.
    If you need any further clarification, please let me know.
    Regards,
    Surya.

    Hi Surya,
    Try the BAPI not from Se37, but from a test program. Also call the BAPI_TRANSACTION_COMMIT so that changes are saved permamnatly.

  • Sales Order Ack through email

    Hi Experts:
    We need to send a mail to the customer for the Sales Order Acknowledgment. We have the Print Program and SAP Script for FAX/Print output.
    We are extending this to send email also. But we would like to know what are all the parameters we need to pass for the following fields to OPEN_FORM:
    MAIL_SENDER - Type SWOTOOBJID
    MAIL_RECEIPIENT - Type SWOTOOBJID
    MAIL_APPL_OBJECT - Type SWOTOOBJID
    We would like to know what are the Tables and Field names to find the values to pass into this parameters
    Thanks,
    Kumar

    VALUE(DEVICE) TYPE  C DEFAULT 'MAIL'
    The parameters MAIL_SENDER and MAIL_RECIPIENT to pass the sender and the recipient of the document. To fill these parameters, you have to create the respective BOR objects of object type RECIPIENT and fill their attributes.
    The parameter MAIL_APPL_OBJ, which you use to link the application object with the sent document. You have to create a BOR object for this parameter too.
    Even though the parameters MAIL_SENDER, MAIL_RECIPIENT, and MAIL_APPL_OBJ are primarily designed for sending e-mails, they also provide a general connection to the BCI. This means that you can use these parameters to address all the communication methods that the BCI supports.
    To set the recipient type of the RECIPIENT object, use the TypeId attribute.

Maybe you are looking for

  • Fields Missing in Transaction

    In transaction ME23N(Display PO) I cant see the WBS element field when I select the Services tab. In transaction ML81N, I am also missing a few fields (1 of them is also the WBS element tab). This was not always the case. I used to be able to see the

  • Is there a way to add files to a package without repackaging in a new folder?

    So I'm working on this promotional binder for a company. I'm working section by section including photos and whatnot. Anyways, I got to a certain point with one section and packaged everything so I could start anew the following day. My question is t

  • Yahoo mail login says Firefox won't accept cookies but my option is too accept cookies - so what's wrong?

    My wife and I can't log into our Yahoo e-mail accounts (or, I guess, our Yahoo account). Whenever we try, we get the message: "The browser you're using refuses to sign in (cookies rejected)". However, my cookies setting in Firefox is: 1) accept cooki

  • Making custom non-standard components aware of custom look and feels.

    Hello all. Maybe the subject of this post could also be the opposite: "Making custom look and feels aware of non-standard custom components". I'm not sure. If I code a new custom component (extending JComponent, or extending the UI delegate of a stan

  • FDM and ERP Integrator Module

    I am trying to select the correct ledger from the Oracle E-Business Suite. Within the ERP Integrator area in EPMA, I am trying to select the ledger, when I select the entity for integration. Select Source Accounting Entity for Integration screen retu