Mail text in order confirmation output

Hi, SD gurus:
In our SAP system, order confirmation output is currently sent to customer via email with PDF attachement, works perfectly.  Email has proper title (order number), order confirmation PDF attachment, but without any content in the mail body.
User has requested to including a following text in the mail content body - "For terms and conditions, please visit our website.....".
I did following: In IMG config -> maintain output type, under output types, folder "maintain title and text", i maintained the above text.  However when the order confirmation is sent, it still only has the mail subject, and PDF attachment, the text that i maintained is not appeariing in the mail content body.
Please advise whether i missed anything?
Many thanks,
Hailan.

Hi, Sai:
Thanks for your reply.  I will try this function module.  But before that, is there a way to achieve this through standard config?  I thought there is a way to do it in config.  Would you know whether what i did was wrong? 
i went to IMG -> xxxxxx -> maintain output type -> go to the order confirmation output type, and then double click "mail title and tex",  then click green arrow back, and has the screen to maintain the language, text and document title, i add text "fof terms and conditions, please visit xxx" in the text field.  I though this text field is where the mail body text comes from.    Is there anything i did wrong?
Many thanks again!
Hailan.

Similar Messages

  • No condition maintained for Order Confirmation output type but still active

    Hi,
    I have NOT maintained any Condition record for Order confirmation Output(BAFX) but still it is generated and Fax instruction is being sent to the Sold to Party. Also i found that NO condition record for Order confirmation output(BA00) is also maintained but still Order confirmation is still being triggered.
    Actually i want that NO Fax instruction is to be sent for Order confirmation for some of the customers.
    Kindly advise.
    Thanks,

    Hi vk@sap,
               Check in the output analysis how the output was determined, so that you can know why they're still determined.
    Thanks,
    Mariano.

  • BA00 - Sales Order Confirmation Output

    Hi, can anyone advise why the std 'BA00' sales order confirmation output is not proposed automatically when i changed the item category of one of the sales order line to 'TAB' 'Individual PO'?  It was there initially when the item category is 'TAN'.
    Thanks
    PP

    Dear.
    I found the confirmation status(header, item) is appeared when the item category from TAB is used.
    The confirmation status is set to 'Not yet confirmed' when automatic purchase requisiton has been created. After creating PO based on the purchase requisition the confirmation status is changed to 'All items confirmed', then the output determination will be activated.
    SAP IMG control  data for 'Maintain Output Determination Procedure', requirement 2(order confirmation) is used. Belows are source code for requirement 2.
    The variable KOMKBV1-COSTA is set 'A' when PR is created, so the ouptput determination procedure can't be executed. After PO is created the value is set to 'C', ouptput determination procedure is executed.
    Hope this will hlep.
       FORM KOBED_002.
    * If the sales document is complete, then the output should be created.
      SY-SUBRC = 0.
      IF KOMKBV1-UVALL NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF KOMKBV1-COSTA NE SPACE AND
         KOMKBV1-COSTA NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF NOT KOMKBV1-LIFSK IS INITIAL.
        IF KOMKBV1-LIFSK NE TVLS-LIFSP.
          SELECT SINGLE * FROM TVLS WHERE LIFSP = KOMKBV1-LIFSK.
        ENDIF.
        IF SY-SUBRC = 0 AND
           TVLS-SPEDR NE SPACE.
          SY-SUBRC = 4.
          EXIT.
        ENDIF.
      ENDIF.
    * Kein Druck, wenn Kreditsperre sitzt
    * No output if the credit block is set.
      IF   KOMKBV1-CMGST CA 'BC'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
    ENDFORM.

  • Order confirmation output error.

    Hi All,
    There is an output type which prints the Order confirmation. A new functionality was added to this. If a material has warranty it prints at the end. This can happen for more than one material and this text is taken from SO10. Whenever a print out of this order confirmation is taken there is an attachement created automatically(pdf).
    this attachement  shows wrong warranty i e output sometimes.Other times it correct. however the preview is correct. How do i correct this.
    Regards,
    Amit

    somewhere in the code the <b>CLEAR</b> statement is missing... due to this sometimes the previous one is taken and printed instead of actual one.

  • Outbound Order Confirmation - Output control for incomplete sales orders

    Hi EDI Folks,
    I have a simple question. I want to send EDI 855 for only the completed sales orders.
    Whenever inbound sales order is processed and if the order is incomplete. I don't want to send the order confirmation for the order at that point of time. When that order is made complete, then only i want to send the order confirmation (EDI 855).
    How can we do it??
    What is the output determination requirement for this??
    Right now i am using requirement '02' which proposes EDI output for both complete and incomplete sales orders.
    Please respond to the above quesition.
    Thanks and waiting for your reply,
    Creasy Matt

    MxG,
    For both plant and pricing condition functional config was already done. If any of these two fields are missing, the status of sales order will be incomplete.For incomplete orders also, the EDI output is being proposed.
    Now just tell me, in which SAP program, do i have to put the break point?
    Where exactly ??
    Thanks and kind regards,
    Creasy Matt

  • To create varaibles in Mail Forms for Order Confirmation

    Hi All,
    I am having an requirement to send an email for order confirmation with some customer dependent data and some product data to be sent along in the mail, This has to be done through action.
    I want to use mail forms for this but in this I am not able to create variables in the mail form through which i can pass th value to the variables in the mail form.
    Please suggest what to do for variable creation in mail form.........
    Is there any standard oder confirmation template available as it is available for campaign??????
    Thanks and Reagrds
    Mayank

    Hi Mayank,
    I am not sure but u can try below standard smartforms :
    CRM_SERVICE_CONF_EXT
    CRM_ORDER_SERVICE
    Regards,
    Dipesh.

  • Mass printing of order confirmation - output BA00

    Hi, can anyone advise if there's a std transaction code that can perform mass printing of order confirmation from SO with output 'BA00'?
    Thanks
    PP

    Hi there,
    I dont think there isany T-code for mass printing multiple O/p types.
    Rather you can run RSNAST00 in SE38. Give the BA00 in Message type, sales order num in Obj Key. Give the default printer to which you want to print the docs.
    Rather, you can ask your ABAPer to develop a custom transaction calling the RSNAST00 when executed. You can also define the selection inpits like sals orders, message type, Sales org, printer, etc.
    Once the user clicks on execute, system will call RSNAST00 in the background.
    1 question: Whay do you want to mas print the BA00? It wil trigger immediately after saving the sales order provided condition records are maintained right?
    Regards,
    Sivanand.

  • Order confirmation output is triggering twice

    Hi Gurus,
    I am facing the issue with order confirmation.After saving the sales order system has giving two outputs for order. I have checked the ExtrasOutputItem the output type for order confirmation has displayed two times.I have checked NACE settings for the output type there it has not checked for Multiple messages.But still I am facing this issue.Please let me know how to rectify this error.
    Regards,
    Hari Challa.

    Hi ,
    Check how output is triggered manual or by scheduled job. Alos check settings in output determination procedure and check if any requirement is set.
    Order confirmation can trigger when ever you make any changes in sales order and save so that the customer can get latest order confirmation.
    Trust these inputs can help.
    vivek

  • Sap script-standard text in order confirmation

    Hi Experts,
    Can anybody solve my problem.I f my problem is solved they will definetely be rewarded with points.
    The standard text will be stored as Name = ORDCONF_TEXT_(sales org)_(distributionchannel)_(division)
    Text ID = ZSD
    Examples: ORDCONF_TEXT_4000_01_01 ,
    ORDCONF_TEXT_4000_01_80 , ORDCONF_TEXT_1000_01_01
    The print program /form will need to pick up the
    appropriate standard text based on the Sales Area
    (combination of Sales Org / Distribution Center /
    Division) of the sales order [VBAK-VKORG /
    VTWEG / SPART], provided a standard text has been
    created for that Sales Area. Itu2019s not required
    that every sales area have a standard text, so if one
    is not found, this step should be skipped and
    the rest of the print program executed.
    The new text should print after 2 blank lines after
    the Printable Notes text (which is after the
    line items and the Total Net Price prints).
    The font should be the same size as the Printable
    Notes, but bolded rather than italicized
    The text should print in the same columns as the
    Printable Notes currently print in (Material
    Description / Scheduled Ship Date / Quantity)
    So the logic i have used is this below code:
    I used a subroutine in the layout of the main window becoz i need to print it in the main window below after 2 blank lines of line items.
    PERFORM GET_OBJECT IN PROGRAM ZSDRP001_ORD_CONF_IRE
    USING &VBDKA-VBELN&
    CHANGING &ORDCONF_TEXT&
    ENDFORM
    INCLUDE &ORDCONF_TEXT& OBJECT TEXT ID ZSD PARAGRAPH A1
    I called this subroutine in the print program:
    FORM GET_OBJECT TABLES INPUT_TAB STRUCTURE ITCSY
                           OUTPUT_TAB STRUCTURE ITCSY.
    DATA : TMP_VBELN LIKE vbdka-VBELN,
           TMP_VKORG LIKE  VBAK-VKORG,
           TMP_VTWEG LIKE VBAK-VTWEG,
           TMP_SPART LIKE VBAK-SPART,
           TMP_TXNAM1(40) TYPE C VALUE 'ORDCONF_TEXT_',
           TMP_TXNAM2(100) TYPE C.
    DATA: v_text LIKE tline-tdline.
    DATA : P_V_TEXT LIKE tline-tdline.
    CLEAR : TMP_TXNAM1, TMP_TXNAM2, TMP_VBELN, TMP_VKORG, TMP_VTWEG, TMP_SPART.
    READ TABLE INPUT_TAB WITH KEY NAME = 'vbdka-VBELN'.
    IF SY-SUBRC = 0.
      tmp_vbeln = input_tab-value.
      ENDIF.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT         = TMP_VBELN
       IMPORTING
         OUTPUT        = TMP_VBELN
      CLEAR VBAK.
      SELECT SINGLE VKORG VTWEG SPART
        INTO (TMP_VKORG, TMP_VTWEG, TMP_SPART)
        FROM VBAK
        WHERE VBELN EQ TMP_VBELN.
       IF NOT  TMP_VKORG IS INITIAL AND
         NOT   TMP_VTWEG IS INITIAL AND
         NOT TMP_SPART IS INITIAL.
    CONCATENATE TMP_TXNAM1 TMP_VKORG tmp_vtweg tmp_spart into TMP_TXNAM2 SEPARATED BY '_'.
       CONCATENATE TMP_VKORG TMP_VTWEG TMP_SPART into TMP_TXNAM SEPARATED BY '_'.
         endif.
         CONDENSE TMP_TXNAM2 NO-GAPS.
       PERFORM read_order_text  USING TMP_TXNAM2 CHANGING v_text.
    READ TABLE output_tab WITH KEY NAME = 'ORDCONF_TEXT'.
         IF SY-SUBRC = 0.
         output_tab-value = P_V_TEXT.
         MODIFY output_tab index sy-tabix.
         endif.
         endform.
    *&      Form  READ_ORDER_TEXT
          text
         -->P_TMP_TXNAM2  text
         <--P_V_TEXT  text
    FORM READ_ORDER_TEXT  USING    P_TMP_TXNAM2
                          CHANGING P_V_TEXT LIKE tline-tdline.
        DATA: ztdid  LIKE     thead-tdid,
            zlang  LIKE     thead-tdspras,
            zobj   LIKE     thead-tdobject,
            zname  LIKE     thead-tdname.
      DATA: tlines TYPE STANDARD TABLE OF tline WITH HEADER LINE,
            thead  LIKE thead.
      CLEAR P_V_TEXT.
      ztdid = 'ZSD'.
      zlang = 'E'.
      zobj  = 'TEXT'.
      zname  = P_TMP_TXNAM2.
      CLEAR   tlines.
      REFRESH tlines.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          object                  = zobj
          name                    = zname
          id                      = ztdid
          language                = zlang
        IMPORTING
          header                  = thead
        TABLES
          lines                   = tlines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      LOOP AT tlines WHERE NOT tdline IS INITIAL.
        MOVE tlines-tdline TO P_V_TEXT.
      ENDLOOP.
    ENDFORM.                    " READ_ORDER_TEXT
    But still its not getting printed .Plz tell me where i am going wrong.
    Thanks,
    Sirishaa
    Moderator message - Cross thread locked
    Edited by: Rob Burbank on Nov 10, 2009 9:51 AM

    You do not need to use the subroutine READ_ORDER_TEXT to get another text name because you already have it: TMP_TXNAM2 .
    Pass this value back to your SAPscript, and it is okay.
    Or you can even check the text object is empty or not, if no text is found, print 2 empty lines:
    still use your subroutine to read the text, if no line is found, set TMP_TXNAM2  to empty, otherwise, no change,
    In SAPscript, check the value is empty or not, then print 2 empty line or the text object...

  • Order confirmation output

    Hello Gurus,
    Is there a way to block the output type BA00 for an incomplete order. I want the output to be issued only when the order is complete.
    Regards,
    Pavan P.

    Hi
    SPRO> Go to Basic Functions >Output>Output detemn for Sales > Maintain Output detnm procedures
    Select your output procedure , fo to control tab
    CHoose your Output type BA00 enter 2 as requirement in the requirement colunm
    2 means
    FORM KOBED_002.
    If the sales document is complete, then the output should be created.*
      SY-SUBRC = 0.
      IF KOMKBV1-UVALL NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF KOMKBV1-COSTA NE SPACE AND
         KOMKBV1-COSTA NE 'C'.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
      IF NOT KOMKBV1-LIFSK IS INITIAL.
        IF KOMKBV1-LIFSK NE TVLS-LIFSP.
          SELECT SINGLE * FROM TVLS WHERE LIFSP = KOMKBV1-LIFSK.
        ENDIF.
        IF SY-SUBRC = 0 AND
           TVLS-SPEDR NE SPACE.
          SY-SUBRC = 4.
          EXIT.
        ENDIF.
      ENDIF.
    Regards
    KRSNA

  • Initiate BA00 (Order Confirmation) output manually using an ABAP program

    Hi experts,
    Does anyone have the experience of initiating BA00 print from an ABAP program? Similar to what happens when choosing "Issue Output To" from the "Sales Document" menu in VA01-VA03.
    Best regards,
    Magnus

    Hi,
    Check SAP Standard program RSNAST00.
    Regards
    Vinod

  • Purchase Order Mail Text

    Hi,
    I am trying to configure purchase order mail text for my customized output type. I have written the mail title & text in my output type but still when I am sending the mail to the vendor the system is picking up the PO number as the default subject & not even displaying the mail text which I have written. Please suggest me what I am missing in my configuration.
    Thanks.

    Hi,
    I tried the settings told by you but it did not solve the issue.
    My question is how can I display the mail title & text that I have configured in NACE for my output type whenever I send any PO through mail to the vendors.
    Please suggest.
    Thanks

  • Email and Fax smartform for Sales Order Confirmation

    Dear friends,
    I have a reqirement to mail and fax Order Confirmation ( Smartform ) to the ship to party.
    In NACE, I have created a Output type ZAU1 in which I have considered 5 External send and assigned the driver program and routine. Also I have selected " send immediatly ". I am unable to debug the driver program. I have put breakpoint in the routine ENTRY as well. Please put some light on this.
    with regards,
    Sathar

    This is for standard t-code 'VA02'. In VA02 goto extras->header->texts->edit
    i have put ZAU1... also selected the communication strategy..
    when i save... no process log appears aslo its giving error status...
    Regards
    Sathar

  • Email Sales Order Confirmation to "Created By" -

    Hi Experts
    I have a requirement where we need to email the Order confirmation output to the person who has created the sales order.
    So lets say i am creating a sales order and my user id is 9999. (SY-UNAME).
    Now as we have implemented HR module and our PERNR and user name are same.
    So in other words my PERNR will also be 9999 and email is maintained in HR record and well as user record.
    How can i achieve this functionality and Email order confirmation printout to "Created By".
    We dont want to send order confirmation to SP or SH but just created by.
    Thanks in advance.

    HI Shiva,
    I did exactly as you said but it send the email to the email ID maintained in Ship-to-party customer.
    I think "Recipient" field is just used for cover page (Incase you are printing cover page), i dont think SAP uses it for sending the form output.
    I think SAP sends output based on the partner function, so if i specify SH, SAP will send it to SH.
    I tried using "Created By" partner type too and all email setting are maintained for the creator and printer is properly setup but it doesn't allow me to use this partner function.
    I tried using both "$1" and "§§" but both of them doesn't work.
    I have also tried using Employee responsible partner type "ER" but even that doesn't work.
    Will appreciate if you can provide a solution for this.
    Thanks in advance.

  • Order Confirmation

    Hi All
    In a MTO process, all items got confirmation in PO but no Order Confirmation to customer was triggered. Reason might be Confirmation status "partially confirmed" in the status tab of the header of the sales order.
    But I also checked that all items got confirm in the SO , still 1 item is showing as open in the item status tab of the sales order.
    Can anybody please guide me what can be the reason of not triggering the order confirmation output to customer.
    Regards
    SAM

    Naveen,
    Another alternative is to copy the standard action class for the order confirmation and create your own method that will do exactly what you want to do.  The drawback of this approach is of course your action will be partially executed for each business partner, however you do have the flexibility to do everything you want in a custom action.
    If you look at class:
    CL_DOC_PROCESSING_CRM_ORDER.  I recommend copying this class to a Z-form and then creating a copy of the method CRM_ORDER_EXEC_SMART_FORM.  You should then be able to insert your logic in the first part of the method that looks at the partner functions in the sales order and then determines if any of them meet your criteria. 
    Good luck,
    Stephen

Maybe you are looking for

  • Since upgrading to itunes 11.1.4.62 my iPad and Ipod will not sync

    Since upgrading to iTunes 11.1.4.62 my iPad and iPod are no longer recognized by iTunes when plugged into my Windows 8.1 PC? I have re-downloaded itunes and re-intalled/repaired the program but still will recognize the two. This has never been an iss

  • New ipod touch won't charge/sync on the computer or using a wall charger?

    My new ipod touch was working and i synced it on itunes and downloaded some apps and then it suddenly could not recognise it and stopped syncing. it came up with error 0xe8000001 and said the iphone cannot be found, eventhough it's an itouch not ipho

  • Why movies take so long to download

    We have an Apple TV that never allow us to enjoy a movie right away when we rent or buy.  It always shows a message saying that it will take 20 hours to be ready to watch.  This is very frustrating!  I'm sure somebody has either experienced this prob

  • How to set the condition for dynamic Xquery in OSB11g

    Hi to all, I have a requirement like three different requests all are converted in to standard format.For this scenario I use dyamic X-query transformation.For Example RequestA,RequestB and RequesrC what ever request it should be converted into one s

  • Lost music after 2.0

    I still have my music in itunes but can not sync them to 1st gen iphone after 2.0 up grade. Thanks Greg