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.
Similar Messages
-
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 -
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. -
Change sender email address for payment advice
Hi,
I used FIBF to activate BTE 2040 to allow me email Payment Advice. This is working well and takes the 'Sender' email address from the user master data. I don't want to use the user master data so does anyone know how/where to change the sender email in the code?
I have copied SAMPLE_PROCESS_00002040 and can implement 2050 if needed but that seems to only modify the text of the mail - not the sender email?
Thanks.accounting Clerks need to be setup
-
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 before payment run(at the time of proposal)
Hi Friends,
how can customize the payment advise note at the time of proposal.
it means
1.after given parameters(company code,payment method, next date save).
2.then addtional log radio button .
3.Print out/data medium tab i create Variant parametrs included and save.
4.then i can click schudule run button.
5. here i want for payment advice use t code SP01
please give the guidence for customization it is very good help to me and appriciate.Hi
Run report RFFOAVIS_FPAYM, and run it with this flag
I hope this helps you
Regards
Eduardo -
Multiple copies for Payment advice using standard program RFFOAVIS_FPAYM
Hi Experts,
I have one requirement, need to print the payment advice form twice (one for account section and other for vedor). According to the existing process it uses standard SAP print program RFFOAVIS_FPAYM OR RFFOUS_C (for cheque payment) to print the output.
When I tried to print the output by giving number of copies, it prints test pages but not the actual output. The actual payment advice note with proper values getting printed only once. I actually need to print this actual payment advice note twice.
Do you experts know how to achive this? is there any configuration available to get this requirement? OR how can i do this without chaning Standard SAP program?
Thanks in advace for your help..
Regards,
PrashantHi,
2 times printing can be done using Sap script.however, it would call for changes to your driver prog...
in function call CALL FUNCTION 'OPEN_FORM'....u need to add g_ITCPO-TDCOPIES = '2' and pass g_itcpo to OPTIONS structure of the FM.With this you can ahve 2 copied of ur output. I just test printed it.
So in your case as yours is a standard program, you could probably create a copy of the Standard program and add the above logic in your program.
hope this help
Cheers,
Varna -
Form for payment advice in English
Dear Gurus,
I am trying to assign form for payment advice in FBZP. (in paying company code)
I am using F110_US_AVIS
Here after assigning the form, it is printing only in German language (original language)
I have done the drop down and tried to select the english version but it is not selecting the englis version.
(we have imported the payment advice in english from client 000 and saved in my current client)
Due to this the payment advice is not printing in English nor is E mail going in English.
Pl suggest how I can get the form in English
Regards,
RishikeshHi,
Already discussed. Please refer the link:
printing payment advice note in local language other than english
Thanks
SMuvva -
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 -
Split spool for payment advice
Hi expert,
I would like to send payment advices to vendors via FAX.
I run the payment program, which triggers a background job and produces 1 spool with payment advices for all the selected vendors.
The faxes cannot be sent. They are blocked because there are many different fax numbers in the spool.
How can I create 1 spool per vendor?
Do you have any experience?
Thank you for your feedback.
Kind regards,
LindaHello,
As stated above, if you give 99 lines, it will create a separate payment advice after 99 lines.
Restricted to : you can give the number of line limit.
Payment advice note upwards of ... lines (Check this radio button)
The number of lines on the payment medium where note to payee information for the business partner can be stored is restricted. In the event that more lines are required, a payment advice note is displayed on the payment medium and a separate payment advice note created.
In that case, irrespective of number of vendors, a new payment advice gets generated after 99 lines. I mean if a vendor is having 120 line items, then for 99 one payment advice and 21 lines another payment advice gets generated. I have not tested this. You may please be required to test this.
Regards,
Ravi -
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 -
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 -
Payment advice note created-F110
Hi All,
I ran F110 prograqm for ACH payment, I see everything is good and I able to create the ACH file.In SP01 when I try to find payment advice, I have only payment summary, accompanying sheet and error log,In Error log it says payment advice note created for the document.But I am not able to see the payment advice.It was working fine earlier.My print variant is for duely selected in F110 print tab.What could be the reason, I dont find the payment advice anywhere?Any help.
Regards
ShaunHi
In Variant under Print Control if you select Print Payment Advice Notes CheckBox and Print Immediately CheckBox then only payment advices will be generated and you can see in the Spool
Regards
Venkat -
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.
Maybe you are looking for
-
Ive just created a simple program, using AWT GUI. I created two versions, each one using the "Border Layout" but done one extending a Panel and the other extending a Frame. I placed a TextArea in the south part of a panel, and then added the panel to
-
Zoom in and zoom out a image in a java applet
hello, i don't find any example of code of a java applet that zoom in and zoom out an image in jpeg format... can you help me? thanks
-
Hi all. Not been on here in ages so please be gentle! Just a question with itunes. Im using lion and everything is updated. If i have a folder with music files in it and a playlist file, if I drag the playlist file into itunes it will appear under th
-
Hi I am set up replication previously on 8i and 9i databases. I am trying to setup replication on 10g. Earlier I used to manually set up replication using APIs rather than using the Oracle replication manager. Is it a good idea to setup replication u
-
Two questions about defining class, pls help me
Hi, guys. I'm green hand and here are two questions puzzled me several days. We know such example as below is a case of cyclic inheritance class Base extends Base{ But I can't figure out why below is a case of cyclic inheritance too class Base{