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
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 -
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 -
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 -
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. -
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 -
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 -
View of Cheque format n Payment advice Note
HI,
Is there any t.code to see the payment advice note and Cheque format in APP Configuration . Other than OBVU from where actually the forms are selected in APP Config. For Payment method for Company Code Transaction.
Becoz Abaper is asking where exactly in which T.code he can see the Format of the forms.
Regards,
JaganHi Jagan,
In order to see the format of the forms we can use the T.Code OBVU. click on the payment method you want to select pertaining to a company code. As in your case will be check payment (C) for your company code.
Now click on details (Ctrl + Shift + F2) .
Click on form data.
This will display the form for the check payment.
Position the cursor on form name and click on display. This will give you the form for check payment.
When you click on payment method in country you will get the name of Payment program.
Thanks and regards,
Priyajit -
Number range for payment advice note for Incoming payment
Hi
Where do we maintain the number ranges for internal generation of payment advice note?
Regards
Sanil K BhandariHi experts;
I would like to generate the number range externally (because we don't work with the payment advice).
precisely;
In FEBA TCODE I don't want that a payement advice number appear in the screen, I want the field empty for a manually clearing of ledger post.
regards. -
PRINT SORT OF PAYMENT ADVICE NOTE
Hi everybody,
i have a problem with payment advice note print sort.
I define in variant for program ZRFFOAVIS_FPAYM that print sort will be by vendor number.
I also define in fbzp this variant for payment method.
finally,the payment advice note not sort as i want.
where also i need to fefine these?
I get a messege that saying the following:
You should be aware that the classic payment medium programs (RFFO*)
sort only
according to paying company code, payment method, and house bank for output of relevant form
closing sections. This restriction does not apply when payment media are created using payment medium
formats, and their associated payment advice notes are printed with the print program RFFOAVIS_FPAYM.
there is an option that for some payment program no possible to Intervene and the sort is by some defult?
What does these mean?
thanks,
shlomiIt might be spooled. Please look for t-code SP01 and enter the user ID of the user who did the printout in F110, and select the correct line and print
Other option will be to activate print immediately for the option "Print payment advice notes" and enter the printer "LOCL" and under Output control activate "Always output advice notes"
Thanks
Ron
Edited by: Ron on Mar 12, 2010 1:36 PM
Maybe you are looking for
-
Allow external traffic to access internal computers
We have an ASA 5505 running version 8.4. We are having problems allowing external traffic to access computers behind the firewall. Our current config is: ASA Version 8.4(3) hostname ciscoasa domain-name default.domain.invalid names interface Ethernet
-
Hi. The iPhone 3G has 4.2.1 which iCloud doesn't support. It means my Contacts on the iPhone 3G can't be synced to my iMac because Mountain Lion gets the updated Contacts from iCloud. If I'll buy the iPhone 5 (assuming it great beyond expectations. A
-
External hard drive unplugged and no longer recognized by my computer
The other day my external hard drive fell from my poorly made wobbly desk and was unplugged without being ejected. When I plugged it back in it didn't reappear on my desktop so I went into desk utilities where I could see it, I tried to verify it and
-
Dead screen, transfering documents via firewire - need help
Greetings, So I've got a 1 Ghz iMac (floating pivot screen.) - my primary mission critical workstation. My screen died today. Grrrr. No time to muck about, I went out and purchased a mac mini (1.5 Ghz single intel core), I want to transfer all data f
-
Declining a meeting invitation
I have raised this with several of RIM's partners and see that it keeps appearing in each OS update. When a user declines an eVite on Blackberry mail, his name is permanently removed from the host's list of invitees, and the user no longer receives a