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
Similar Messages
-
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
auroHi Arvind,
Check out the following link
Re: f110 payment advice
Assign points if useful
Regards
Genie -
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. -
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
ShaunAnyone please guide on this .
Regards
Shaun -
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 -
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
MadhuThank 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 -
Hi, can anyone explain to me the functionality of this transaction FDTA? I particularly want to know if there is any customization for this and if not than where can i assign a form? Thanks.
Also i need to send a payment advice note in PDF format by email to all Vendors/Customers. I have read about the BTE's that can be used but my problem is that i dont want to assign a program in all the payment methods for this.
Is it possible to use a standard program in the F110 for this?
Any inputs appreciated.Hi, can anyone explain to me the functionality of this transaction FDTA? I particularly want to know if there is any customization for this and if not than where can i assign a form? Thanks.
Also i need to send a payment advice note in PDF format by email to all Vendors/Customers. I have read about the BTE's that can be used but my problem is that i dont want to assign a program in all the payment methods for this.
Is it possible to use a standard program in the F110 for this?
Any inputs appreciated. -
when trying to send a link off firefox via email the system looks for a g mail account that I do not have nor want to have. I've told the settings to use my outlook account but it keeps looking for g mail. how do i correct?
http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox
-
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 YadavHi,
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 -
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,
DavidNo, 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. -
Summry report for payment advice notes
Hi, All,
I have set up email payment advice notes. So if vendors have email addresses maintained, the process will sent out emaisl. Otherwise, it will print out. But after the process I only got the summary report for those printed ones. Those emailed out are not counted in. Is there any body know how to get summary report for emailed ones? Or how I can put printed and emailed ones together in the report? Thanks.
MeiyingHi Yang ,
im trying to figure out how to send Payment advice as email from F110.
can u tell me how you do this
Thanks
dave -
Want to send a text in BOLD via email
Hi all,
I want to send a text in BOLD via email,
Right now i ma using the Function Module: SO_NEW_DOCUMENT_ATT_SEND_API1 for sending attachments via mail.
But i do not know how i can send some text in BOLD.
<b>****NOTE: I want the text in BOLD is in the BODY of the mail</b>
I checked the Import and tables parameters inthat FM.But there is no option in those parameters.
So, can any one plz help me to solve this issue.
Thanks&Regards,
Srikanth T
Message was edited by:
srikanth T
Message was edited by:
srikanth TConvert them into smartform or SAP Script from report then convert into pdf format and then send an email ...
See the example code :
report zemail.
data: itcpo like itcpo,
tab_lines like sy-tabix.
Variables for EMAIL functionality
data: maildata like sodocchgi1.
data: mailpack like sopcklsti1 occurs 2 with header line.
data: mailhead like solisti1 occurs 1 with header line.
data: mailbin like solisti1 occurs 10 with header line.
data: mailtxt like solisti1 occurs 10 with header line.
data: mailrec like somlrec90 occurs 0 with header line.
data: solisti1 like solisti1 occurs 0 with header line.
perform send_form_via_email.
FORM SEND_FORM_VIA_EMAIL *
form send_form_via_email.
clear: maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
refresh: mailtxt, mailbin, mailpack, mailhead, mailrec.
Creation of the document to be sent File Name
maildata-obj_name = 'TEST'.
Mail Subject
maildata-obj_descr = 'Subject'.
Mail Contents
mailtxt-line = 'Here is your file'.
append mailtxt.
Prepare Packing List
perform prepare_packing_list.
Set recipient - email address here!!!
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
Sending the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = maildata
put_in_outbox = ' '
tables
packing_list = mailpack
object_header = mailhead
contents_bin = mailbin
contents_txt = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
if sy-subrc = 0.
submit rsconn01 with mode = 'INT' and return.
endif.
endform.
Form PREPARE_PACKING_LIST
form prepare_packing_list.
clear: mailpack, mailbin, mailhead.
refresh: mailpack, mailbin, mailhead.
describe table mailtxt lines tab_lines.
read table mailtxt index tab_lines.
maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
Creation of the entry for the compressed document
clear mailpack-transf_bin.
mailpack-head_start = 1.
mailpack-head_num = 0.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'RAW'.
append mailpack.
mailhead = 'TEST.TXT'.
append mailhead.
File 1
mailbin = 'This is file 1'.
append mailbin.
describe table mailbin lines tab_lines.
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'TXT'.
mailpack-obj_name = 'TEST1'.
mailpack-obj_descr = 'Subject'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
*File 2
mailbin = 'This is file 2'.
append mailbin.
data: start type i.
data: end type i.
start = tab_lines + 1.
describe table mailbin lines end.
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = start.
mailpack-body_num = end.
mailpack-doc_type = 'TXT'.
mailpack-obj_name = 'TEST2'.
mailpack-obj_descr = 'Subject'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
endform.
With PDF Attachment:CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_TEST'
IMPORTING
fm_name = v_fname.
CALL FUNCTION v_fname
EXPORTING
control_parameters = x_ctrl_p
IMPORTING
job_output_info = x_output_data.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 134
IMPORTING
bin_filesize = v_size
TABLES
otf = x_output_data-otfdata
lines = it_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_dst = 255
TABLES
content_in = it_lines
content_out = it_soli
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
OTHERS = 4.
CALL FUNCTION 'FUNC_CONVERT_DATA_ODC01'
EXPORTING
iv_byte_mode = 'X'
TABLES
it_data = it_lines
et_data = it_table.
*-----To caluculate total number of lines of internal table
DESCRIBE TABLE it_table LINES v_lines.
*-----Create Message Body and Title and Description
it_mess = 'successfully converted smartform from otf format to pdf' .
APPEND it_mess.
wa_doc_data-obj_name = 'smartform'.
wa_doc_data-expiry_dat = sy-datum + 10.
wa_doc_data-obj_descr = 'smartform'.
wa_doc_data-sensitivty = 'F'.
wa_doc_data-doc_size = v_lines * 255.
APPEND it_pcklist.
*-----PDF Attachment
it_pcklist-transf_bin = 'X'.
it_pcklist-head_start = 1.
it_pcklist-head_num = 0.
it_pcklist-body_start = 1.
it_pcklist-doc_size = v_lines_bin * 255 .
it_pcklist-body_num = v_lines.
it_pcklist-doc_type = 'PDF'.
it_pcklist-obj_name = 'smartform'.
it_pcklist-obj_descr = 'smart_desc'.
it_pcklist-obj_langu = 'E'.
it_pcklist-doc_size = v_lines * 255.
APPEND it_pcklist.
*-----Giving the receiver email-id
CLEAR it_receivers.
it_receivers-receiver = [email protected]'.
it_receivers-rec_type = 'U'.
APPEND it_receivers.
*-----Calling the function module to sending email
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_data
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_pcklist
contents_txt = it_mess
contents_hex = it_table
receivers = it_receivers
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. -
Hello All,
Can anyone please tell me how to change the Salutation in payment advice note APP.
Thank you,
NivasHi Nivas,
Please check the following:
In FBZP, click on "Paying company codes", double click on the company code, Click on the sender details and there you have
Letter header
Footer
Signature text
Sender
Here select the one that you want to change and click on "Display texts" at the bottom. Hope that will resolve your issue.
regards
Venkatesh
Assign points if useful -
Changing generic selection parameters for Payment advice notes
Hi,
I want to add few more generic selection parameters for Automatic Payment advice notes generation on the seletion screen(f110 - rffoavis_fpaym). Please let me know the config settings for doing this.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. -
what are the configuration settings to be made so that Payment advice notes are diplayed in Local languages.
when we try to print using f110 transactionFollow the below path to configure the FORM:
Financial Accounting (New) Accounts Receivable and Accounts Payable Business Transactions Outgoing Payments Automatic Outgoing Payments Payment Method/Bank Selection for Payment Program Set Up Paying Company Codes for Payment Transactions
Now create a Variant for the Print program of the Payment advice and use the above variant and print program while running the F110 transaction. Try by selecting the checkbox 'Texts in receipents language' while creating the variant to see the form in Receipent languages.
Regards,
Kiran Bobbala
Maybe you are looking for
-
How can I get a search bar added when trying to archieve emails in my IPhone's email app?
My IPhone email app is connected to my Outlook email system in which I have many archieved folders, when I want to place an email in my archieved folders on my IPhone I have to scroll a long list of archieved folders to find the right one, how can I
-
Do I need an adapter or converter to charge i-phone 3G in Paris
Do I need an adapter or converter to charge i-phone 3G in Paris?
-
N96 V20 Update: Connection Lost during OTA update ...
Ok, I decided to update my N96 thru OTA this time. I chose "Check for New Updates" from the phone's menu but while checking if there was a new update, the phone told me "the connection was lost!" with the WLAN modem. I am now little concerned about u
-
This causes my photos to not show up in my events. I have to click "Show Event" myself. How do I set it to automatically put the photos into events? Also, once I DO get the pictures into events, then appear at the top, so I have to drag it all the wa
-
I have several unrelated issues. 1) My computer recently started failing to startup. It flashes an image of a globe, and then an image of a finder folder alternated with a questionmark, and then, if I'm lucky, proceeds to normal start up. What is goi