Want to add text to mail body of  BACS Remittance Advice

Hi Experts,
Blelow is the requirement.
User is sending the remittance advice to vendors, user wants to include a u2018fixedu2019 text also in that mail.
User is sending remittance advice to vendor in PDF format which is attached in a mail, I need to add some text to mail body.
But not able to find how mail body is filled up.
Main program RFFOGB_T u2013 Payment program
Includes RFFORI06 u2013 Remittance advice
Can you please suggest how I will be able to add the text to the mail ?
Regards,
Subhashree.

Hi E_Hinojosa ,
Its helped a lot.
But one doubt,what is process exit and how to search the same from a program or include.
The required code(which is there in note) is there in include 06 but which process exit I will use for the BACS remittance and how to fill the value of finaa-mail_body_text in process exit.
Please give me a clear idea.
Thanks,
Subhashree.

Similar Messages

  • Add text in mail for payment notification RFFOAVIS_FPAYM

    Hi All,
    We are sending payment notification to vendors via RFF0AVIS_FPAYM program. We are using SAP script form for this.
    We want to add text in mail body. I have checked note 1033893. I have created text with name z* in SO10 and assigned in process exit for 00002040. But text is not appearing in mail.
    Am i missing some settings ?
    Please give suggestions.
    Thanks in advance.
    Regards,
    Chintan

    Hello,
    Point 1
    Please check up the function module attached to proces 00002040 in FIBF.
    Make the changes in the function module.
    Please refer:
    SAP NOTE 1033893, 836169.
    Also see Note 521587.
    Regards,
    Ravi

  • I'm working in Pages 4.1. I want to add text to a header but for it to appear only on that page in stead of duplicating itself on all pages of the document. How can this be done?

    I'm working in Pages 4.1. I want to add text to a header but for it to appear only on that page in stead of duplicating itself on all pages of the document. Can this be done?

    See this thread: https://discussions.apple.com/thread/3728197?start=0&tstart=0

  • Hw to write text in mail body in UTL SMTP in oracle

    hi all
    i m using oracle demo mail package to send csv file as attachment to different users its successfull and i can also able to attach text file to it
    but i m unable to write any text in mail body .
    e.g.
    mail body can be--
    hi
    This is test mail.
    Regds
    Sender.
    can anyone suggest some way?

    u can try this code
    this code takes the file from database and attach with mail and also send the body with it
    it works fine.
    CREATE OR REPLACE
    procedure pdf_mail(
    p_sender varchar2, -- sender, example: 'Me '
    p_recipients varchar2, -- recipients, example: 'Someone '
    p_subject varchar2, -- subject
    p_text long, -- text
    p_case_id number,
    p_email_log_id number
    -- p_filename varchar2, -- name of pdf file
    p_blob   blob     pdf file
    ) is
    conn utl_smtp.connection;
    i number;
    len number;
    p_message_part varchar2(32767);
    cursor c1 is
    select file_name,document_pic
    from clm_case_attachments ca,email_log_detail em
    where
    case_id = p_case_id
    and ca.CASE_ATTACHMENT_ID = em.ATTACHMENT_ID
    and em.ACTIVE = 'Y'
    and em.EMAIL_LOG_ID = p_email_log_id;
    BEGIN
    conn := demo_mail.begin_mail(
    sender => p_sender,
    recipients => p_recipients,
    subject => p_subject,
    mime_type => demo_mail.MULTIPART_MIME_TYPE);
    demo_mail.attach_text(
    conn => conn,
    data => p_text,
    mime_type => 'text/html');
    for lp in c1 loop
    demo_mail.begin_attachment(
    conn => conn,
    mime_type => 'application/pdf',
    inline => TRUE,
    filename => lp.file_name,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(lp.document_pic);
    WHILE (i < len) LOOP
    IF(i + demo_mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.Substr(lp.document_pic, demo_mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.Substr(lp.document_pic, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + demo_mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    demo_mail.end_attachment(conn => conn);
    end loop;
    demo_mail.end_mail( conn => conn );
    END;
    /

  • Send mail using cl_bcs. need text in mail body

    Hi friends,
    please provide me some solution to send mail with out attachment and the message should only be in mail body.
    Code :
    TRY.
    *     -------- create persistent send request ------------------------
            send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
            CLEAR lv_const.
            CONCATENATE 'Dear' gs_cust-name1 ',' INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            CLEAR lv_const.
            CONCATENATE 'at' gs_cust-new_date 'planned delivery for you with following items:'
                        INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            CLEAR : gs_mat,
                    lv_const.
            CLEAR l_quan.
            LOOP AT gt_mat INTO gs_mat WHERE new_date = gs_cust-new_date.
              l_quan = gs_mat-zmeng.
              CONCATENATE gs_mat-matnr gs_mat-maktx l_quan INTO lv_const SEPARATED BY space.
              APPEND lv_const TO text.
              CLEAR :
                      lv_const.
            ENDLOOP.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Please contact with us if you confirm whether above products are' TO text.
            CLEAR lv_const.
            CONCATENATE 'required on' gs_cust-new_date 'with specified quantity.'
                        INTO lv_const SEPARATED BY space .
            APPEND lv_const TO text.
            APPEND 'You can contact with us via e-mail:xxxxxx or via' TO text.
            APPEND 'phone +xxxxxxxxxxxxxx' TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Best regards' TO text.
            APPEND 'Linde Central Logistic Team' TO text.
            lo_document = cl_document_bcs=>create_document(
                            i_type    = 'RAW'
                            i_text    = text
    *                        i_length  = '12'
                            i_subject = 'test mail' ).
    *     add document to send request
            CALL METHOD send_request->set_document( lo_document ).
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipient - please replace e-mail address !!!
            recipient = cl_cam_address_bcs=>create_internet_address(
                                              'address' ).
    *     add recipient with its respective attributes to send request
            CALL METHOD send_request->add_recipient
              EXPORTING
                i_recipient = recipient
                i_express   = 'X'.
    *     ---------- send document ---------------------------------------
              CALL METHOD send_request->send(
                EXPORTING
                  i_with_error_screen = 'X'
                RECEIVING
                  result              = sent_to_all ).
              COMMIT WORK.
    *  Send Immediately
              send_request->set_send_immediately( i_send_immediately = 'X' ).
          CATCH cx_bcs INTO bcs_exception.
            WRITE: text-001.
            WRITE: text-002, bcs_exception->error_type.
            EXIT.
        ENDTRY.
    Please provide me the solution if i am missing any thing.
    Thanks,
    Kat

    thank you for looking into this thread,
    i have configured the in scot.
    currently sending all RAW type as TXT. this has resolved my issues.

  • How to put mail body while sending Payment Advice Note by mail

    Hi,
    I am sending payment advice form through mail using the BTE 2040.
    Everything is fine and mail is coming properly but mail does not have any body line. It just contains the PDF as an attachment.
    I want to put mail body in that. I have just copied the Script, I have not copied the driver program.
    E.g
    Hello,
    Please find the payment advice note as an attachment.
    Kindly advice how to put mail body in that mail, is there any BTE through which we can put the mail body?
    Kindly help.
    Regards
    Sachin Yadav

    Hi,
    I am sending payment advice form through mail using the BTE 2040.
    Everything is fine and mail is coming properly but mail does not have any body line. It just contains the PDF as an attachment.
    I want to put mail body in that. I have just copied the Script, I have not copied the driver program.
    E.g
    Hello,
    Please find the payment advice note as an attachment.
    Kindly advice how to put mail body in that mail, is there any BTE through which we can put the mail body?
    Kindly help.
    Regards
    Sachin Yadav

  • Mail Notification with Custom Subject, Mail Body and PDF File Name

    I have successful configured the Action Profile to send SmartForm Mail as PDF. But i would like to modify the Subject, PDF File Name & add text to mail body when a mail is sent to the user.
    The Subject of the Mail is the same as the PDF file name. How to maintain a pre-defined file name for the PDF file.

    I was able to find a commercial product that works very well. MaxBulk Mailer from Max Programming allows you to import a list of recipients, merge with personalized message and designate an attachment (just image types and PDFs, not all types work) and send.

  • Can we add text body to email for reports 9i

    I am e- mailing reports in pdf format. I am able to add subject, from and to address etc. All these are working. Report is going out as a pdf attachment. Is there a way to add text in the body of the letter. Your reply is appreciated.Using Oracle 9i,9.0.2 version
    Thanks

    If you add "text-transform: uppercase;" to .announcement-list h2 on line 158 in ModuleStylesheets.css.
    Quick question. Why are you using a h2 tag for the date? Not very SEO friendly.

  • How do I add an email body text for remittance advices / payment advices?

    Hello,
    I am trying to send an email body text with the pdf remittance advice to my vendors.
    Background:
    We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payments. Finally we activated the BTE 00002040, through transaction FIBF, to use a custom copy of the function module SAMPLE_PROCESS_00002040.
    Our payment run sends emails with pdf-file attachments to our vendors correctly.
    <b>The Issue:</b>
    I can not find a way to add text to the body of the email with the attached remittance advice.
    Has anyone advise on how to populate the email body with text?
    Thank you and best regards
    Karsten Arold

    Hello Subhashree,
    I have not implemented the functionality, but I found rerference to SAP Note 1033893 in another forum post.
    Email text to Payment Advice in BTE2040
    Allan

  • Want to add Custom text after Product Branding Image for application

    Hi
    Can we add any text after Product Branding Image for application
    By default it will show the responsibility function name
    My requirement is after company logo I want to add Text at the top of application
    with center align
    Need suggestions
    Regards
    Krishna

    Hi Anoop
    If I done what u suggested then the function responsibilty name will also come
    and the application will be disturbed
    Is their a way to edit the text at the top
    Regards
    Krishna

  • FSCM correspondance mail has to be configured to have mail body

    Hi Experts,
    We have configured correspondace in FSCM to send out mail/FAX/print smartforms. Now, these smart-forms when sent as e-mail, go as attachment to mail. We have a requirement wherein we want to add some text in mail body.
    After debug we found that internally it is calling FM SO_OBJECT_SEND to send mail but, not passing any tables parameters to it.
    Request you to please provide us some pointers in case you have already worked on this. Also, let us know some workarounds in case you are aware/think of.
    Any input will be highly appreciable.
    Thanks,
    Gouri.

    Odgenite,
    Please first complete your profile, if you don't know how please click Profile Update for instructions.
    The first thing to do is restart in Recovery Mode, open Disk Utility and run Repair Permissions 2x. If you don't know how to start in Recovery Mode then hold down the Option key when you hear the startup tone and you will see what partitions to start from. Choose Recovery, then open Disk Utility. After running Repair Permissions 2x restart normally and re test. If this does not work then open in Recovery Mode again this time reinstall OS X, this will leave your data alone however it is ALWAYS wise to backup your data prior to doing any update or upgrade.

  • Mail body

    Hallo
    I am using method create_from_text. I want that the mailbody filled with the text in table i_tab.
    But it creates txt file in attachtement. In this file appears my mailbody text.
    can some body tell me my mistake. what should I do that i_tab text in mail body appears.
    here is my code
    TRY.
          CALL METHOD cl_document_bcs=>create_from_text
            EXPORTING
              i_text         = i_tab
              i_documenttype = 'RAW'
              i_subject      = l_btr
              i_importance   = '0'
              i_sensitivity  = 'P'
            RECEIVING
              result         = l_result.
        CATCH cx_document_bcs .
      ENDTRY.
    regards
    rana
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Sep 1, 2009 9:26 AM

    "This might help you
    DATA:list_object TYPE TABLE OF abaplist.
    DATA:listasci(128) TYPE c OCCURS 0.
    DATA:   BEGIN OF int_tline1 OCCURS 100.
            INCLUDE STRUCTURE tline.
    DATA:   END OF int_tline1.
    DATA:it_text TYPE soli_tab.
    DATA: wa_text LIKE LINE OF it_text.
    DATA:wa_ascii LIKE LINE OF listasci.
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sent_to_all        TYPE os_boolean.
    SUBMIT yprogram2 EXPORTING LIST TO MEMORY AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_object.
    CALL FUNCTION 'LIST_TO_ASCI'
      TABLES
        listasci           = listasci
        listobject         = list_object
      EXCEPTIONS
        empty_list         = 1
        list_index_invalid = 2
        OTHERS             = 3.
    LOOP AT listasci INTO wa_ascii.
      wa_text-line = wa_ascii.
      APPEND  wa_text-line TO it_text.
    ENDLOOP.
    TRY.
      send_request = cl_bcs=>create_persistent( ).
      document = cl_document_bcs=>create_document(
                                i_type = 'RAW'
                                i_text = it_text        "<-----mail content
                                i_subject = 'Test mail' ).
      send_request->set_document( document ).
      recipient  = cl_cam_address_bcs=>create_internet_address( )."Include email inside the brackets
      send_request->add_recipient( i_recipient = recipient ).
      send_request->set_send_immediately( 'X' ).
      send_request->send( EXPORTING i_with_error_screen = 'X' ).
      COMMIT WORK.
    ENDTRY.

  • Sending email - problems with text in email body

    Hello all,
    for sending emails I use the FM from Thomas Jung (<a href="http:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface).
    Everything works fine, except that the text I attach in documents-content_text doesn't appear as a normal text in the email body but within an .EXT-attachment. Should this be a TXT attachment?
    E.g. when I send the text 'Hello World' the email arrives with an attachment 'Hello World.EXT'.
    Did anyone have the same problem? What's wrong?
    Thanks for your help.
    Regards
    Joschi

    Try this it works fine for me,
    METHOD email_result_as_pdf.
        DATA: lo_document_bcs    TYPE REF TO cl_document_bcs VALUE IS INITIAL,
              lo_send_request    TYPE REF TO cl_bcs VALUE IS INITIAL,
              lo_sender          TYPE REF TO if_sender_bcs VALUE IS INITIAL,
              lo_recipient       TYPE REF TO if_recipient_bcs VALUE IS INITIAL,
              lo_cx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL,
              lo_cx_send_req_bcs TYPE REF TO cx_send_req_bcs VALUE IS INITIAL,
              lo_cx_address_bcs  TYPE REF TO cx_address_bcs VALUE IS INITIAL.
        DATA: li_message_body     TYPE bcsy_text VALUE IS INITIAL,
              li_att_content_text TYPE soli_tab,
              lw_att_content_text TYPE soli.
        DATA: lv_result         TYPE string,
              lv_send           TYPE adr6-smtp_addr
                                     VALUE '[email protected]',
              lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    * Create Object
        lo_send_request = cl_bcs=>create_persistent( ).
    * Add Contents to Mail Body
        APPEND 'Dear Sir,<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Please find the Report contents enclosed.<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Thank You,<BR>' TO li_message_body.
    * Create a Document
        TRY.
            CALL METHOD cl_document_bcs=>create_document
              EXPORTING
                i_type    = 'HTM'
                i_text    = li_message_body
                i_subject = 'New ALV Sample Report'
              RECEIVING
                result    = lo_document_bcs.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Populate the data to the Document Table
        LOOP AT i_sbook INTO w_sbook.
          CONCATENATE
            w_sbook-carrid
            w_sbook-connid
            w_sbook-fldate
            w_sbook-bookid
            w_sbook-customid
            w_sbook-custtype
            w_sbook-smoker
            w_sbook-wunit
            w_sbook-invoice
            w_sbook-class
            w_sbook-forcurkey
            w_sbook-loccurkey
            w_sbook-order_date
            w_sbook-counter
            w_sbook-agencynum
            w_sbook-cancelled
            w_sbook-reserved
            w_sbook-passname
            w_sbook-passform
            w_sbook-passbirth
            INTO lw_att_content_text-line
            SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
          CONCATENATE cl_abap_char_utilities=>cr_lf lw_att_content_text-line
                      INTO lw_att_content_text-line.
          APPEND lw_att_content_text TO li_att_content_text.
        ENDLOOP.
    ** Add the attachment to the document
        TRY.
            CALL METHOD lo_document_bcs->add_attachment
              EXPORTING
                i_attachment_type    = 'RAW'
                i_attachment_subject = 'New ALV Sample Report'
                i_att_content_text   = li_att_content_text.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set the document to the Send Request
        TRY.
            CALL METHOD lo_send_request->set_document
              EXPORTING
                i_document = lo_document_bcs.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Sender
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_sender.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Sender to Mail
        TRY.
            CALL METHOD lo_send_request->set_sender
              EXPORTING
                i_sender = lo_sender.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Receipient
        lv_send = '[email protected]'.
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_recipient.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Receipient to Mail
        TRY.
            CALL METHOD lo_send_request->add_recipient
              EXPORTING
                i_recipient = lo_recipient
                i_express   = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set Send Immediately
        TRY.
            CALL METHOD lo_send_request->set_send_immediately
              EXPORTING
                i_send_immediately = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Send Mail
        TRY.
            CALL METHOD lo_send_request->send
              EXPORTING
                i_with_error_screen = 'X'
              RECEIVING
                result              = lv_sent_to_all.
            COMMIT WORK.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Inform User
        IF lv_sent_to_all EQ 'X'.
          COMMIT WORK AND WAIT.
          MESSAGE 'Mail Sent Successfully' TYPE 'I'.
        ELSE.
          MESSAGE 'Error Sending Mail to External Id' TYPE 'E'.
        ENDIF.
      ENDMETHOD.                    "email_result_as_pdf
    Regards
    Kathirvel

  • How to add text in print module in LR4?

    want to add text twice in print module, seems only option is identity plate and it cant be duplicated, any suggestions?

    yea i hear ya, but like i made a custom photo strip and another one right next to it so there are two vertical photo strips that after being printed will be cut down the middle.  i want to have text (or identity tag) at the bottom of each photo strip (again, will be printing two on one page).  Best thing i have come up with so far is dinking around with text in word (duplicate text so it would show up twice) but its kinda an issue with spacing and everything.  Sucks you cant just add a box anywhere on there and input what you want (unless there is a way and just cant figure it out).  Again, in "custom package"

  • In aperture, how can I add text on my picture

    In aperture, I want to add text ,or a messages to  a picture, How can I do this?

    What you seem to be referring to is Watermarking your photos. I offer a series of free PDF's on this issue including how to create watermarks in Pixelmator and add them to Aperture so you can export your images with a protective watermark.
    Daniel J. Cox
    www.naturalexposures.com
    picksme wrote:
    In aperture, I want to add text ,or a messages to  a picture, How can I do this?

Maybe you are looking for

  • Error when creating BufferedImage with IndexColorModel from a byte array.

    Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer. The color model I have is: int [] cmap = new int [numColors]

  • Payment terms in Rebates

    Hi Can any body tell what is the use of the Payment tems in Rebates partial settlement screen? I have a requirement, to pay the customers Cash discount (quantity base) based on the payment terms. Ex. If customer buys 100 Qty @ Rs 100 his total invoic

  • Lenovo G580 20157 32 bit or 64 bit?

    Hello everybody! I just bought a Lenovo G580 vith no operating system on it. The problem is that since i don't know if my Lenovo is 32 bit or 64 bit , i don't know if the operating system i'm going to buy should be a 32 bit or a 64 bit. Here are some

  • CR displays unicode fonts as squares

    Hi I am deploying a report with chinese chars and its using unicode fonts. However the report does not display it corectly and it shows the lables as squares. Development tool. VS2005 +CR and deployed on Win2008 IIS7 Thanks for any help. Regds Jay

  • Accessing non-Java components from Struts

    I want to access a PHP forum package through my Struts classes. Can someone pls help?