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
Similar Messages
-
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.
MeiyingHi,
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 -
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. -
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 -
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 -
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,
GeetaHi,
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 -
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 -
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 -
Send payment advice by email. SAMPLE_PROCESS_00002040 / 50
Dear all,
we using the BT FM SAMPLE_PROCESS_00002040 for sending emails in PDF form to email addresses of the vendor. We are able to create the entry in SOST and send it by email.
Now we have two additional requirements:
1. We want to use the email address on Correspondence Tab LFB1-INTAD - Clrk's internet instead of the email adress of the general date (SZA1_D0100-SMTP_ADDR) because the e-mail address in the general data is already used for logistic correspondence.
2. We want to create the email and additionally the printout. Can we realize this in the coppy of SAMPLE_PROCESS_00002040 or SAMPLE_PROCESS_00002050 and how?
I would appreciate all possible ideas and suggestions please
cheers
DetlefThis is for the email sending in the 2040 BTE function:
* 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.
BTE 2050 controls the output format, but since you can only specify one output medium, I'm not sure you can get it to print the spool immediately and still email the PDF. You might try setting the 'print immediately' indicator in the BTE, but I don't think it will work (though I haven't tried it or checked the code). If it doesn't, the email'd spools wil still be available so you can use a post-processing step to print them out. -
Payment advice note to vendors thru e mail
Guys,
After executing F110, system generates the payment advices.I updated the master reocrd of vendor with a test email id , system is sending payment advices to this mail id,as its our internal server mail id.But when I update vendor record with some other external mail address, the system displays the msg.below.and cannot send thru mail.Please suggest.
XS826 Cannot process message, no route from to
F0387 Advice note for pymt 5000 2000000405 will be printed; dispatch via e-mail not poss.
Regards
ShaunHi shaun,
Payment advice is transfer to the external sytem. It means we need conectivity between 2 systems. I need to configure EDI settings. You need to contact the ABAPer and Basis consultant for your configuration.
Regards
Odaiah Pelley -
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. -
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. -
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.
Maybe you are looking for
-
ITunes wont connect to the itunes store.
Every time I try to connect to the itunes store it says the network connection is timed out and to make sure my network settings are correct then try again. Anyone know how to change your network settings or resolve this problem? thanks
-
Federation using weblogic as an IDP and OIF as a SP(service Provider)
Hi, I am facing some problem during SAML creation. I am using weblogic as an Identity Provider and Oracle Identity federation (OIF) as a service Provider. The federation will be IDP(weblogic) initiated. I have configured both sides , published metada
-
Adobe illustrator installation errors.
I've been trying to install Illustrator CS5 trial for about a week now and this always comes up. I've been reading the other disscussions about this problem but none of them have helped. If anyone can help me that would be greatly appreciated. ------
-
Evaluation version of Sun One Directory Server 5.2
Dear sirs, We downloaded the Sun One Directory Server 5.2 from the following site: http://wwws.sun.com/software/download/products/3ee79e69.html After studying the License Agreement I actually wonder how long this evaluation software stays operational
-
How should i delete partition without getting rid of specific files?
sorry if the question isnt clear. ill try to explain. i have a 500gb toshiba external hard drive i connect usb to my macbook pro and i basically was going ti use it as a second back up start up for my mac. i have never gotten any help from a apple pe