BTE 2310 -Archiving Correspondence F.27
Hi,
We want to archiv dunning and customer statement, for that we are using BTE 1040 and 2310.
Dunning is working fine and table TOA01 is getting updated. However for F.27 customer statement, it is not. We have maintained entry in FIBF and OAC3. Is that something i am missing out.
Further,data stored in TOA01, is it possible to view it. i want to send this data to external system but before sending business wants to see the doc they are sending.
Thanks in advance for support.
Regards,
At
Hi Brian,
I have same requirement,
Will you please give me some idea how you solved the problem
Thanks in advance
Similar Messages
-
BTE 2310 Correspondence e mail
Hi,
I have implemented BTE 2310 in order to e mail various types of correspondence from AR and used the sample code . The import parameters of the function module indicate the use of tables KNA1 and KNB1. However these are not populated when I have gone into de bug. The only variables that seem to be populated are the document number company code and fiscal year. I have written some code to get the necessary details but I am concerned regarding the system performance. The print program used in RFKORDP2.
Has anyone else used these tables successfully with this BTE are these tables populated?
Cheers,
Steve
Edited by: Stephen Sloan on Nov 17, 2009 12:36 PMThanks for the reply! The MAIL_BODY_TEXT field would make sense... but I don't have that in the FINAA structure. Apparently that's added in a later version, the fields I have at my disposal are:
NACHA
TDSCHEDULE
TDTELELAND
TDTELENUM
INTAD
NAMEP
ABTEI
FORMC
FORNR
TEXTF
TDFAXUSER
INTUSER
Reading the text using READ_TEXT works as expected, so it's correctly stored in the system.
Good to know the MAIL-fields are added at some point, but does that mean that right now I can't change the content of the mail? I'll check whether this can be implemented in a Support Package... would be nice -
Is there any way to archive correspondence customer statements in SAP
Hi,
1) Is there a way to archive customer statements for correspondence that SAP has provided? If not, do you know of any way that companies use to archive customer statements?
2) Business Address Services -- Does it fall under the realm of functional or technical teams? The reason I ask is there are some customers that need to get their statements by mail and some by fax and some with both by fax and mail. I found out that this can be done by BAS. But it all looks too technical to me.
3) Can customer statements only be generated using SAP script or are you sure you can use SMARTFORMS?
Your replies are stongly appreciated and points will be rewarded.
Thanks,
Lakshman.Hi Laksman,
Welcome to SDN !!!
Well for your answer.
1) to my knowledge most of the company save customer statement externally, either through paper or as pdf files.but you can generate customer statement as describe by SURE above.
2) Well Business address services fall under functional even through it seems too technical. But you need help to techinical team to execute the same. as in the end configuration needs to be done for output types to decide if its printed or send through Fax. etc.
3) Smartforms can also be used but SAP script is the most commonly used.
Hope this helps.
Please assign points as way to say thanks
3) -
Doubt On Fm FI_OPT_ARCHIVE_CORRESPONDENCE on Additional correspondence types
I had copied the function module FI_OPT_ARCHIVE_CORRESPONDENCE to a custom function module and that is placed in the BTE 2310 and this function module has contains the correspondence types SAP01 (payment notificiation) and SAP08 (account statement) and i am planning to add new one i.e SAPP01 and what will be the Document type.
And SAP01 and SAP08 has the document type FIOPAYCONF,FIOACCSTAT
My question is could you please let me know where i can see the document type for the additional correspondence types where i need to pass ARCHIVE_INDEX in the function module .I had copied the function module FI_OPT_ARCHIVE_CORRESPONDENCE to a custom function module and that is placed in the BTE 2310 and this function module has contains the correspondence types SAP01 (payment notificiation) and SAP08 (account statement) and i am planning to add new one i.e SAPP01 and what will be the Document type.
And SAP01 and SAP08 has the document type FIOPAYCONF,FIOACCSTAT
My question is could you please let me know where i can see the document type for the additional correspondence types where i need to pass ARCHIVE_INDEX in the function module . -
Reference number in correspondence email
Hi!
How is it possible to include the document reference number in the introductory text of an email correspondence?
I have enabled the email function for correspondence using EXIT_RFKORIEX_001 (ZXFKOU01). I have also referred to SAP Note 1360070 - E-mail function for correspondence for a number of extended functions.
For the introductory text however, it is created as a FIKO text in SO10 and entered in the field C_FINAA-MAIL_BODY_TEXT. So I'm not sure how I can include the reference number in the text.
Can anyone advise on this please? Thanks in advance!
CholenHi,
You can control (via user exit or BTE 2310), which FIKO text will be read by standard logic (the text name has to be passed in FINAA-NAMEP or FINAA-MAIL_BODY_TEXT - see subroutine CHECK_MAIL_TEXT in RFKORI90) so you could define texts, including appropriate footer, per company code.
Inserting variable values is trickier, because, unless you are willing to do implicit enhancement in subroutine SEND_MAIL_WITH_ATTACHM of RFKORI90, there seems to be no place to do it other than the same user exit or BTE 2310... If you can solve the challenge of passing the data you need (reference number etc.), I guess you could try to read the text in the exit, do the variable replacement and then update it (no commit though!), but that opens up the whole question of concurrent processing, and is not "nice" from the performance point of view...
If I had to do it, I'd define a FIKO text per company code and do the variable replacement via an implicit enhancement at the beginning of SEND_MAIL_WITH_ATTACHM of RFKORI90...
cheers and good luck
Jānis -
Customer statements - Email & print at the same time - Is this possible?
Hi all,
We generate customer statements at regular intervals and send them to the customers, through mail, fax and email.
We have a print program which generates the customer statement. For some customers we want the statements to be printed as well as sent by e-mail simultaneously.
Can anyone please let me know which field, can we use to tell the system to look at if it has to only print / email / email & print.
We thought of using Bank statement field in the correspondence tab (KNB1-XAUSZ).
We created 4 values,
A - print
B - Email
C - print & email
D - Fax
However when we use 'C' the print program only sends the email, without printing.
Can anyone please let me know if I am using the wrong field? Is there any other field that can be used for our requirement.
Thanks in advance.
KrishnaHi,
I know it is an old thread. Just to add to what Eduardo explained here, Answer for your question is, yes it is possible to control it through the selection- screen. No need for a new Z-program for this. Even if you check the OSS note 549119, it is only talking about controlling it through master data if you check the mentioned include LXFKOF01(whether Email id maintained or not)
What we have done is, we have controlled the same through correspondence types. We copied the existing ones into new ones starting with E*. For example: SAP01 to EAP01 to denote that these are all for emails. And we check the correspondence type in BTE 2310 which is available in parameter I_BKORM-EVENT. Based on that, you either set FINAA-NACHA = 'I' (Email) or FINAA-NACHA = '1' (Print) or even you can include fax as well.(FINAA-NACHA = '2').
If you have some hard coded stuff in your forms, what you can do is, you can reset the correspondence type back to SAP01 from EAP01 by using field symbols , by changing '(RFKORD10_PDF)BKORM-EVENT'. Make sure you use correct print program in place of RFKORD10_PDF.
So when you run F.27 or F.62 with SAP01, it will mass print and when your run the same with EAP01, it will mass email.
With regards,
Gokul -
Hi all,
I would like to email an invoice or Customer statement directly from SAP to Customer addres.....
We print the customer statment through F.27....
What are the steps that i have to do to configure it?
Cheers.....Hi,
Business transaction event (BTE) 2310 is availabe for Correspondence by
email or fax. Customizing and activation of the BTE in transaction FIBF.
BTE 2310 is applicable for all kinds of correspondence types including
Periodic Account Statements (transaction F.27).
For further information about business transaction events, pls. see the document and transaction in the IMG (Implementation Guide) following this path:
-> Financial Accounting
-> Financial Accounting Global Settings
-> Business Transaction Events.
Kindly see the documentation of function module SAMPLE_PROCESS_00002310.
To do so, use transaction SE37 -> Display -> Function Module Documentation.
In this solution the system will automatically e-mail or fax correspondences to all vendors and customers selected in the selection screen of transaction f.27.
Relevant SAP Note 549119 FAQ: Correspondence.
I hope it helps.
Regards,
Monika -
Hi,
I have done coding where I have to convert a Remittance advice into PDF and mail it to Vendors. The only problem is that I am not able to retrieve the spool id using Structure :
itcpp-tdspoolid and hlp_pdfspoolid...
One more thing is I am using BTE 2310 and 2040 for sending the mail but I want the spool output also...
What is the ideal way to go about this...
RaghavHere is a sample code which may help you:
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT 'abap@receiver,
p_sender LIKE somlreci1-receiver
DEFAULT 'abap@sender',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
* Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
* Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
* FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
* perform send_email using p_email2.
ENDFORM.
* FORM send_email *
* --> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
* Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
* CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
* If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
* Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
* Fill the document data.
w_doc_data-doc_size = 1.
* Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
* Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
* Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
* Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
* Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_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.
* Populate zerror return code
ld_error = sy-subrc.
* Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. -
How do you update field LFB1-INTAD?
I have a requirement to update the field LFB1_INTAD, with email addresses, but cannot see it as a part of any BAPI. The nearest BAPI I can see is BAPI_ADDRESSORG_CHANGE, but do not think it fulfills my need. Is there anyway, whether through a BAPI, a function or otherwise that I can update the field? If so, how would I do this?
Hi Shammi,
Pls chk this link.
http://scn.sap.com/thread/1160178
http://scn.sap.com/thread/1305052
Ddownload the vendor master data and uploading the same using a FM VENDOR_GET_ADDR1_KEY and BAPI BAPI_ADDRESSORG_SAVEREPLICA or BAPI_ADDRESSORG_CHANGE
Also please check OSS Note- 549119 point 5 to fix the problem
SAP NOTE - 549119 ( Point-5)
To send or to archive forms using one of the methods mentioned
above, business transaction event (BTE) 2310 is available (for Rel
ease 40B and lower, the system uses a user exit TC SMOD/CMOD instead of
the BTE). Customizing and activation of the BTE in transaction
FIBF
Sample source code for the archiving: Function module
FI_OPT_ARCHIVE_CORRESPONDENCE
Sample source code for faxing or e-mailing: Function module
SAMPLE_PROCESS_00002310 with the source code from the include LXFKOF01
Balance confirmations for e-mails, faxes or optically archiving is
possible as of Release 46C by using the BTE 2410. Sample source co
de: FI_OPT_ARCHIVE_BALANCE_CONFIRM
Register both modules without country and without application indicator.
Otherwise, the module is not called.
Please let us know do you still face any issues else marked as answered.
Thanks & Regards,
Lakshmi S -
Customer statement email.
Hi All,
I have requirement need to send customer statement as email. I am running it from f.27 and attached correspondense.
I would like send an email of customer statement. Any user exit to do the same? Can any one did the same please let me know?
its very urgent.. reward points for right solution..
thxI am trying to run a transaction f.27 (customer statement) to be able to run a customer statement run that can be emailed to the customer (email address in the customer master).
I used the same step as above - BTE - 2310 and attached this to the new funtional module
The steps I have followed allready are
1. Copied a fucntional module
2. Assigned the functional module
3. Got abap programmer to activate sap connect.
It partially worked as it gave me the output on my screen which was a statement log and this was able to be emailed to the email address in the customer master.
Do you think it is due to the report not functioning properly in the first place as it is only showing the log when I run the report itself?
Many thanks for your help on this.
Sanjay -
Customer Statements F.27 by email
Hi all: I want to send custom statements by email using F.27
Do I use BTE 2310? I have already mapped it in FIBF using the sample code in include LXFKOF01
I have put a breakpoint in the BTE however its not stopping.
what else am i missing?
please help
thanks
BrianHi Brian,
I have same requirement,
Will you please give me some idea how you solved the problem
Thanks in advance -
Hi,
I have done coding where I have to convert a Remittance advice into PDF and mail it to Vendors. The only problem is that I am not able to retrieve the spool id using Structure :
itcpp-tdspoolid and hlp_pdfspoolid...
One more thing is I am using BTE 2310 and 2040 for sending the mail but I want the spool output also...
What is the ideal way to go about this...
RaghavU can get Spool Request no from TSP01 Table
Fields
RQIDENT = Spool Request no.
RQOWNER = User Who created
RQCLIENT = Client.
check for other fields through u can get ur spool request no.
or
Try for System variable SY-SPONO which will give u spool number of List print.
Regards
Bala Krishna -
Hi everyone,
where can I generate balances of customer or vendor statements that are mailed out them.
thanks
genieHi,
we use Business Transaction Event (BTE) 2310 and 2410. They need to be activated and some coding needs to be done. Starting point may be note: 549119
In the coding you can redirect the output from printer to fax/email (change output medium). An email-address needs to be determined as well, either from KNA1 / LFA1 or rather the B-Segment since A-Segment is usually used as Sales ord Purchasing Contacts and B-Segment is the accounting contacts.
As far as I know there is not other way like in Purchasing or Sales which can use message determination (without doing all the coding stuff).
Greetings,
Hartmut -
Archive Link for outgoing FI documents (correspondence)
Is there anyone that has already implemented the Archiving of FI correspondence using BTE (business transaction events)?
I don't understand if I have to use just archiving function (for instance FI_OPT_ARCHIVE_CORRESPONDENCE) or I need also to activate the specific function of Event (for instance SAMPLE_PROCESS_00002310).
Could you help me please?
Thank in advance
Salvatore TestaHi Salvatore,
I have the same requirement, i have did the same way to create a custom function module and assigned as follows:-
1) Go to FIBF.
2) Settings>Product> of a Customer: Create an entry with Product/Text and Activate
3) Settings>Process Modules> of a Customer: Select Process 00002310, enter your Function Module (here is your logic to pick up email address and change output to email (finaa-nacha = 'I'. and finaa-nacha = '2'.).
But still not able to send the mail and fax the custom code is as follows:
FUNCTION zsample_process_00002310.
""Local Interface:
*" IMPORTING
*" VALUE(I_BKORM) LIKE BKORM STRUCTURE BKORM
*" VALUE(I_KOART) LIKE BKORM-KOART
*" VALUE(I_KNA1) LIKE KNA1 STRUCTURE KNA1 OPTIONAL
*" VALUE(I_KNB1) LIKE KNB1 STRUCTURE KNB1 OPTIONAL
*" VALUE(I_LFA1) LIKE LFA1 STRUCTURE LFA1 OPTIONAL
*" VALUE(I_LFB1) LIKE LFB1 STRUCTURE LFB1 OPTIONAL
*" TABLES
*" T_FIMSG STRUCTURE FIMSG
*" CHANGING
*" VALUE(C_FINAA) LIKE FINAA STRUCTURE FINAA
*" VALUE(C_ITCPO) LIKE ITCPO STRUCTURE ITCPO
*" VALUE(C_ARCHIVE_INDEX) LIKE TOA_DARA STRUCTURE TOA_DARA
*" DEFAULT SPACE
*" VALUE(C_ARCHIVE_PARAMS) LIKE ARC_PARAMS STRUCTURE ARC_PARAMS
*" DEFAULT SPACE
Data Declarations
CONSTANTS : lc_pdf TYPE textf VALUE 'PDF',
lc_email TYPE fi_nacha VALUE 'I',
lc_fax TYPE fi_nacha VALUE '2',
lc_imm TYPE skschedule VALUE 'IMM',
lc_form TYPE formc VALUE 'Z140_CUS_STAT_01',
lc_d TYPE bkorm-koart VALUE 'D'.
Consider only the Customer Account type
IF i_koart = lc_d.
Popoulate the Email address
IF i_knb1-intad IS NOT INITIAL.
c_finaa-nacha = lc_email. " Email communication method
c_finaa-intad = i_knb1-intad.
c_finaa-textf = lc_pdf.
ENDIF.
IF i_knb1-intad IS NOT INITIAL.
c_finaa-nacha = lc_fax. " Fax Communicaion method
c_finaa-tdschedule = lc_imm. " Send immediately
c_finaa-tdteleland = i_kna1-land1.
c_finaa-tdtelenum = i_knb1-tlfxs.
c_finaa-tdfaxuser = space.
c_finaa-namep = i_knb1-zsabe.
c_finaa-formc = lc_form.
c_finaa-fornr = lc_form.
ENDIF.
ENDIF.
ENDFUNCTION.
Can you please elaborate, how did you solved your problem?
Thanks in advance
Dhirendra -
Archiving student correspondence (PIQST00)
We encounter some problems when we use the "repeat print" function of the correspondence tab in transaction PIQST00. The data isn't always correct because the system doesn't archive the created correspondence.
To solve this problem we want to archive the correspondence. We where thinking about using Archive link but can't find the appropriate customizing settings. Does anyone have some experience with configuring archive link for archiving the correspondence?
Regards,
RalphPlease go through the following text, which might be helpful.
Archiving frees up space and improves performance of the system. You can archive the following Campus Management data:
· Student master data (student business partners, contract objects, contract accounts, and related persons)
· Study data
· Activity documents
· Lower-level appraisals
· Fee calculation documents
Integration
The FI-CA component contains archiving functions for FI-CA documents and FI-CA correspondence.
Prerequisites
You have activated the required archive infostructure. You make this setting in Customizing for Campus Management under Basic Settings ® Tools ® Data Archiving.
Activities
You can access the archiving functions from the SAP Menu by choosing Campus Management ® Tools ® Data Archiving.
You must set an archiving flag for the following data before you can archive it:
· Study data
· Student master data
· Lower-level appraisals
Hope it helps.
Regards
Vinod Kumar
Maybe you are looking for
-
Adobe Reader 11.0.03 - Edit preferences - Internet settings
Where in Adobe Reader under "Edit - Preferences - Internet settings" do I find "Display PDF in browser"?
-
Is An External DVD Burner Needed To Reduce Burn Time?
I burned a DVD consisting of 400 photos with added music from iTunes but took nearly 2 hours. In the book "iLife '06" Michael Rubin suggests an Apple SuperDrive or compatible third-party DVD burner for burning DVD's as the minimum system requirements
-
i m using repot engin to disply report its running in windows well in my local machine but whn i deployeed it to test server (AIX) it gave me this error server is websphere E SRVE0026E: [Servlet Error]-[Can't connect to X11 window server using ':0.0'
-
Cannot display a video that i purchased on itunes
i need to know the reason why if i purchased a video on itunes i can display the video on my laptop but not anymore on my iphone4s , please if someone knows the reason please let me know how i can fix it
-
Downloading Adobe Acrobat X Pro
My secretary recently purchased Adobe Acrobat X Pro for mac for me and sent me the serial number. I got one serial number for two purchases of it so that I can put it on two computers. However, it looks like only version XI is sold now. For our acadm