FI - Payment Advice SAPScript to email

The standard SAP program RFFOUS_T runs a SAPScript to create the Payment Advice form. Is there a way to get to to PDF and email it to the vendors? Right now it just prints out then they mail it.
Thanks,
David

No, that's not how you do it.  The functionality is built in to the payment advice generation program. 
David, you need to implement process BTE's 2040 and 2050 (transaction FIBF).  This will allow you to email your payment advices to vendors as PDF attachments.  2040 controls the switch to method 'INT' and the setting of the address (see below) and 2050 controls the format (such as the title).
2040 Example
* This function module is used for BTE 00002040 to send payment
* advice notifications via e-mail for EFTs.
  TYPE-POOLS SZADR.
  DATA: LS_ADDR1_COMPLETE TYPE SZADR_ADDR1_COMPLETE,
        LS_ADSMTP_LINE    TYPE SZADR_ADSMTP_LINE.
* Default - Print payment advice
* Default layout in config is Z_CHK_ADVICE_LZ for checks
  C_FINAA-NACHA = '1'.
* Check for vendor payment and wire transaction
  CHECK: I_REGUH-LIFNR NE SPACE,
         I_REGUH-RZAWE EQ 'T'.
* Switch to the EFT advice
  C_FINAA-FORNR = 'Z_EFT_ADVICE'.
* Check that address number is available
  CHECK I_REGUH-ZADNR NE SPACE.
* Read complete address of vendor/customer
  CALL FUNCTION 'ADDR_GET_COMPLETE'
       EXPORTING
            ADDRNUMBER     = I_REGUH-ZADNR
       IMPORTING
            ADDR1_COMPLETE = LS_ADDR1_COMPLETE
       EXCEPTIONS
            OTHERS         = 4.
  CHECK SY-SUBRC EQ 0.
* Check that e-mail address is available
  LOOP AT LS_ADDR1_COMPLETE-ADSMTP_TAB INTO LS_ADSMTP_LINE
       WHERE ADSMTP-SMTP_ADDR NE SPACE
         AND ADSMTP-REMARK    EQ 'EFT'.
    EXIT.
  ENDLOOP.
  CHECK SY-SUBRC EQ 0.
* Choose message type 'I'nternet and fill email address
  C_FINAA-NACHA = 'I'.
  C_FINAA-INTAD =  LS_ADSMTP_LINE-ADSMTP-SMTP_ADDR.

Similar Messages

  • Email payment advice for multiple emails

    Hi There,
    I have configured the BTE 00002040, every thing works perfectly to send the payment advice to a single email id from vendor master but out client wants a copy of the payment advice also to sent to their group email id, so with the help of our abaper we are trying to hard code the group email id and try to send the email to both vendor email id and group email id but is it nor working.
    Can any body tell me how to send the payment advice to multiple emails?
    Thank you in advance
    Madhu

    Thank you Hugo,
    We tried this but for some reason it is not working, i know some body else also suggested the same on SDN but no luck.
    It works fine for one emaild from vendor master but not when we put the group email id in the program as a hard code.
    pl let me know, if you have any other thoughts.
    Thanks
    Madhu

  • Sender in payment advice notes Via Email

    Hi, All,
    Is there any body know how to set up an specific sender in payment advice notes Via Email? Sounds like the e-mail-address of the sender always corresponds to the current user. Is there any way to set it as a pre defined email address? Thanks.
    Meiying

    Hi,
    If you want to have the same E-mail address given on the form, then I can advise.
    The one e-mail address can be put in the address detail field or the heather as a fix text,
    so the same will be displayed to them every time.
    We had the same problem and this was the easiest way to get it done.
    Maybe this helps to you.
    Good luck!
    Regards,
    Endre

  • PMW - Payment Advice - Sapscript Form

    Hi.
    I need help understanding and seting up payment advice for ACH and wire transfer using PMW.
    Can someone tell me where and how I need to set up/program to create payment advice after creating either ACH or
    wire transfer?  If possible, I want to use sapscript form (modified version of F110_IN_AVIS form) and email the form to the vendors.
    I can create payment advice using F110 w/ variant for checks using classic program, but can't figure out how to do that using PMW.
    Thanks in advance for your help.
    John

    Hi,
    You need to assign the form for Payment Advice in the FBZP t-code under Form data for Payment methods in Company Code. For PMW you use PMW Workbench and the Std. SAP program it uses for Payment Advice is RFFOAVIS_FPAYM. You need to set the print variant for this program to generate the Payment Advice and also this Variant has to be used in F110 printout/ data medium.
    Let me know if you need any more help.
    Thanks,
    Ashok

  • Vendor Payment Advice Note by Email

    Hi everyone,
    I configured vendor ACH payment advice thru email, and for that I activated function module BTE-00002040,its working fine and sends the ACH payment advice to vendors thru email as soon as we run F110 program for ACH, The  problem is that when we run F110 for checks,system also puts the check advices for transmission,It wouldn't generate the check advices in the spool request SP01,I checked the sap note for ECC6.0, and it deals with the introductory text only. Does anyone have any idea how to prevent the system to put the check advices for transmission.ACH advices are working fine but check advices got messed up when I activated this BTE 00002040 funtion module.Thanks
    Regards
    Shaun

    Anyone please guide  on this .
    Regards
    Shaun

  • To send Payment advice note as Email to vendor

    Hi
    I like to know how can we send the payment advice note created after F110 run to be send as email to the vendor?
    your help would be appreciated a lot
    regards
    auro

    Hi Arvind,
    Check out the following link
    Re: f110 payment advice
    Assign points if useful
    Regards
    Genie

  • Send Payment advice to multiple email ids

    Hi,
    We have requirement that payment advice need to be send to multiple vendor email ids.
    I have implemented SAP note Note 1033893, which says after applying the note the email can be sent to multiple email ids by seperating the email ids by space in field c_finaa-intad in BTE 2040.
    But when i am trying to send the email to multiple ids is not going , when i tried to send with one email id . its working fine.
    i am using RFFOAVIS_FPAYM to send the payment list.
    Please help if you know any solution..
    Thanks,
    Geeta

    Hi,
    Create the distribution list and maintain the email ids in that.
    T.code : SO23 - to create a distribution list.
    And fuctional consultant that whether they can assign this distriution list in SRO to get the all email ids or u may have to write code in user exit.
    Thanks.
    Balu

  • Payment advice notes by email (change in sender id) and body

    Hi experts ,
    I am trying to change the sender name and body of the mail that is send by mail.does this code work i called SO_NEW_DOCUMENT_ATT_SEND_API1 in Z_PAN_EMAIL_00002040.
    look in the code and also tell me me does this work out. can some one tell me what is the 'SAPoffice'  in this code. (ls_document_data-obj_name  = 'SAPoffice'.) in fill document data part.
    FUNCTION Z_PAN_EMAIL_00002040.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(I_REGUH) LIKE  REGUH STRUCTURE  REGUH
    *"  CHANGING
    *"     REFERENCE(C_FINAA) LIKE  FINAA STRUCTURE  FINAA
    data: zadrnr     like adr6-addrnumber,
          zsmtp_addr like adr6-smtp_addr,
          zremark    like adrt-remark,
          begin of zcon occurs 0,
              zadrnr     like adr6-addrnumber,
              zconnumber like adr6-consnumber,
              zsmtp_addr like adr6-smtp_addr,
          end of zcon.
          refresh zcon.
          select single adrnr into zadrnr from lfa1 where
                              lifnr = i_reguh-lifnr.
          if sy-subrc = 0.
             select addrnumber consnumber smtp_addr into table zcon
             from adr6 where addrnumber = zadrnr.
          endif.
             loop at zcon.
                  clear zremark.
                  select single REMARK INTO ZREMARK FROM ADRT
                                   where addrnumber = zcon-zadrnr
                                   and consnumber = zcon-zconnumber.
                  TRANSLATE zREMARK TO UPPER CASE.
                  if sy-subrc = 0 and zremark = 'REMIT'.
                     zsmtp_addr = zcon-zsmtp_addr.
                     exit.
                  endif.
             endloop.
             IF zsmtp_addr <> ' '.
       search zsmtp_addr for 'britishcouncil' .
       if sy-subrc <> 0.
      code modified to check if sy-subrc = 0.
               C_FINAA-NACHA = 'I'.
    CODE MODIFIED AS PER SAP NOTE  1033893 .
          C_FINAA-NAMEP = 'Testname'.
        internet address of partner company clerk has been changed by pradeep akula as per requirements.
          C_FINAA-INTAD = zsmtp_addr.
          C_FINAA-FORNR = 'Z_F110_IN_AVIS2'.
      this zzmail_sender_addrr and zzmail_body_text  did not work in testing.
         C_FINAA-ZZMAIL_BODY_TEXT = 'This is a test body text'.
         C_FINAA-ZZMAIL_BODY_TEXT = 'Payment Advice Notes attached, please do not discard this message .All vendors should please add their company name'.
       endif.
    ENDIF.
    code changes done by pradeep akula for Body of mail .
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    TYPES: t_solisti1 TYPE TABLE OF solisti1,
          t_sopcklsti1 TYPE TABLE OF sopcklsti1,
          t_somlreci1 TYPE TABLE OF somlreci1.
    DATA: lt_content       TYPE t_solisti1,
          lt_packing_list  TYPE t_sopcklsti1,
          lt_header        TYPE t_solisti1,
          ls_document_data TYPE sodocchgi1,
          l_subject        TYPE solisti1-line,
          l_content_lines  TYPE i,
          lt_receiver      TYPE t_somlreci1,
          l_address        TYPE adr6-smtp_addr,
          l_new_object_id  TYPE sofolenti1-object_id,
          l_sent_to_all    TYPE sy-binpt,
          l_msg_text       TYPE string,
          l_rc             TYPE sy-subrc,
          l_user           TYPE sy-uname.
    DATA:  l_crlf(2)             TYPE  c.
    DATA:  BEGIN OF crlf,
             x(1) TYPE x VALUE '0D',
             y(1) TYPE x VALUE '0A',
           END OF crlf.
      l_crlf = cl_abap_char_utilities=>cr_lf.
    receiver address
      DATA: ls_receiver TYPE somlreci1.
      ls_receiver-receiver = zsmtp_addr.
    receiver address type (internet address)
      ls_receiver-rec_type = 'U'.
    communication type (send via internet)
      ls_receiver-com_type = 'INT'.
      APPEND ls_receiver TO lt_receiver.
    SAP name: used for the shortcut to the inbox (optional)
    l_user = p_user.
    l_user = ' '.
    mail subject
    l_subject = p_subj.
    DATA: ls_content TYPE solisti1,
          ls_header  TYPE solisti1.
    fill the document data.
      READ TABLE lt_content INDEX l_content_lines INTO ls_content.
      ls_document_data-doc_size =
        ( l_content_lines - 1 ) * 255 + STRLEN( ls_content ).
      ls_document_data-obj_name  = 'SAPoffice'.
      ls_document_data-obj_descr =  'Test mail form payment advice its working'.
      ls_document_data-obj_prio = 5.
      ls_document_data-priority = 5.
    fill data of mail
      DATA: ls_packing_list TYPE sopcklsti1.
    update the packing list.
      ls_packing_list-transf_bin = ' '.
      ls_packing_list-body_start = 1.
      ls_packing_list-body_num = l_content_lines.
      ls_packing_list-doc_type = 'RAW'.
      APPEND ls_packing_list TO lt_packing_list.
      ls_header-line = 'Test header - Vish'.
      append ls_header to lt_header.
      ls_content-line =   'Test mail form payment advice what you want to print here'.
      append ls_content to lt_content.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_document_data
          commit_work                = 'X'
        IMPORTING
         sent_to_all                = l_sent_to_all
          new_object_id              = l_new_object_id
        TABLES
          packing_list               = lt_packing_list
          object_header              = lt_header
          contents_txt               = lt_content
          receivers                  = lt_receiver
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
      keep error message
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                INTO l_msg_text.
      ENDIF.
    endfunction.

    Hi Pradeep,
    you can change the sender, when you change the system-field SY-UNAME before calling FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    REPORT Z_TEST_SEND_MAIL.
    h_uname must be a SAP-UserId.
    sy-uname = h_uname.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
         PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    I tried it and it was successfull.

  • Payment advice note by email

    Hi Gurus,
    After f110 transcation is used .How to change the sender name in SOST  transaction to userdefined one . i want it as AP_CLERK instead of the name of person who generates it . i want the mail also to be as AP_CLERK (SENDER NAME) instead of the name of person who generates it. The mail body should not be blank should contain text defined by me.(ie my own text) .
    anyone who dealt with this issue earlier can slove this as they would have better idea on the approach.
    do i need to change the code in my z function module of sample_process_00002040 .
    what is the process?

    Hello,
    Yes you can change the code in your Z version of sample_process_00002040
    The structure c_finna included the internet address.
    You will need to set the transmission medium to I as below:
              c_finaa-nacha = 'I'.
              c_finaa-intad = l_smtp_addr(130).  
    Hope this helps a bit.
    Regards
    Greg Kern

  • Vendor payment advice through email

    Hi gurus
    i want to send vendor payment advice through email , i am using the form F110_IN_AVIS  for payment advice
    and from the report  RFFOAT_P i want to send the email , is any configuration needed to send the email , or just i have to give selection detials properly and it will work ,
    regards
    m.a

    Hi Afzal,
    For sending Payment advice by E-Mail, "You need to copy SAMPLE_PROCESS_00002040 and adjust it to write code as per your requirement. This BTE runs for each payment advice note to be sent and in the module, it is mentioned 1=print, 2 = Fax and I=mail, so you can set your priority, that if an E-Mail address is maintained in the vendor master, send mail or if no E-mail address is maintained send Fax, and if both are not possible shoot a Print.
    From Configuration side, you need to maintain the Z copy of SAMPLE_PROCESS_00002040 in FIBF transaction under the Process module of a customer without country or application indicator.    
    SAP Note 836169 - Consulting: Payment advice notes by email or fax.   
    Regards,
    SAPFICO

  • EDI Payment Advice by email

    Hello,
    I have setup the BTE 2040 as oss notes 836169. "Register it for the event 2040 in transaction FIBF, under the process modules of a customer without country or application indicator."
    Then I run payment program RFFOD__S to generate IDocs for EDI payment. I expect RFFOD__S to call the z function module in the FIBF config and send email, but it was never been called. The Idocs are created.
    What's missing for me? we are in version ECC60. I even tried to debug but for some reason the function module was not called ever.
    Please help.

    Hi G Krishna Kishore  
    can u give me more details on how u are using BTE to generate emails for Payment advice from F110.
    We would like to send our payment advices as an email to our vendors from F110
    Thanks
    Dave

  • Vendor Payment Advice - idoc PEXR2002

    Dear guru,
    My customer would like to receive a payment advice from the bank regarding the vendor payments done.
    It means that after processing the F110 and sent the payments to the bank, we will receive an acknowledgement idoc from the bank in order to inform us that all payments have been correctly processed.
    I have seen that the idoc PEXR2002 can be used as "payment advice" with message type REMADV for instance. But all the cases that i have seen concerned customer payment advices sent directly by them.
    Is anyone know if it is possible to use this idoc in order to retrieve the payment information for vendor and not customer?
    If yes, where can we retrieve those information in SAP? Besides the table AVIK/AVIP, can we check the payment advice integration somewhere else (reports, financial document)? because in our case we just want to retrieve the confirmation of payments but there wont be clearing between payment/vendor invoice because it will have been already done at F110 processing.
    I hope this is clear enough.
    Thanks a lot for you help
    Guillaume

    Hi Afzal,
    For sending Payment advice by E-Mail, "You need to copy SAMPLE_PROCESS_00002040 and adjust it to write code as per your requirement. This BTE runs for each payment advice note to be sent and in the module, it is mentioned 1=print, 2 = Fax and I=mail, so you can set your priority, that if an E-Mail address is maintained in the vendor master, send mail or if no E-mail address is maintained send Fax, and if both are not possible shoot a Print.
    From Configuration side, you need to maintain the Z copy of SAMPLE_PROCESS_00002040 in FIBF transaction under the Process module of a customer without country or application indicator.    
    SAP Note 836169 - Consulting: Payment advice notes by email or fax.   
    Regards,
    SAPFICO

  • Payment Advice customizing - F110

    Hello Together,
    We are developing a custom payment advice sapscript form for use with the standard (RFFO*) payment programs - through transaction F110. We have assigned the new form in FBZP (payment methods per company code - form for the payment medium), and are using the same variant for the payment program. However, when executing a payment run and printing the paymetn advice slip, a standard form is being printed (we suspect F110_DE_AVIS, although in the log there is no way of seeing which form is being used)
    Could you tell me if there are any additional customizing points where I should assign the new form for it to be printed?
    Thanks gurus,
    Stephen

    Hi Stephen,
    Please Check if you have done correctly the settings in this IMG path :
    SPRO > Financial Accounting (New) > Accounts Receivable and Accounts Payable > Business Transactions > Outgoing Payments > Automatic Outgoing Payments > Payment Media > Make Settings for Classic Payment Medium Programs
    Regards.

  • Bank reference  in payment advice after F110 program

    Dear Expert,
    We have created z program to get the payment details in bank format after running F110 in RTGS/NEFT format. Excel file will be sent to bank. Bank will update in their system.
    Bank will confirm the payment made through online to client with bank reference.
    I want to update bank reference in payment advice which will send by email to vendor.
    How to update bank reference after confirmation received by bank in payment advice ? and email after bank confirmation ( not after running F110)
    is there any work around to do so ?
    points will be rewarded.
    Thanks
    Sampat

    Hello Venkat,
    There are 2 methods ,where Banker directly send payment advice along with Bank ref after making the payment or you can do the bank reco everday end & update bank ref in any of the field in reconcialation document and map accordingly in payment advice
    Regards
    Mani

  • Error in Payment Advice F110_IN_AVIS

    Hi,
    I have copied F110_IN_AVIS to ZF110_IN_AVIS for payment advice SAPSCRIPT.
    I am using the print program RFFOM100 during automatic payments.
    I am getting the error : F0251-In form ZF110_IN_AVIS / window MAIN , the element 610-U (Text-U) is missing
    F0253-Output of the relevant forms is defective.
    and I need to print some fields by using the subroutines.
    If I am using subroutines,the spool is not getting populated.
    If anyone had already worked on this issue.
    Please advice.
    Regards
    ManoJ

    Hi,
    check the vendor master weather you assign the house bank or not? and also check the bank master for payment type doc's in FBZP. and check the bank gl weather its having related to cash flow check box ticked or not.
    hope its solve the issue.
    Soma

Maybe you are looking for

  • Where are RCU prefixes stored?

    I'm running RCU.BAT, attempting to drop some unused RCU schemas. When I reach the 'Select Component' page, I see a dropdown list containing the prefixes for the RCU schemas that I have created in the past. Many of the prefixes in that list are obsole

  • I have 10.5.8 what can I upgrade to on my MacBook Pro?

    I have 10.5.8 what can I upgrade my system to on my MacBook Pro? Thanks for your help. Lone Ranger

  • Partation of cube?

    hi friends, if i will partation of the cube E table will be partation, where can i find for the cube E and F tables, how  can i get the information E table is partation for the cube? rehards suneel.

  • Windows 7 Clients Not Working With Web-Auth

    I am using 5508 controllers, configured for WEB-AUTH passthrough, Windows XP clients work fine but Windows 7 clients are hit and miss getting redirected to the splash screen. The login page is customised showing T's & C's with two buttons Except or R

  • JavaME apps on iPhone?

    Does iPhone support J2ME apps, like other mobile platforms?