Remittance email in ECC 6.0
Hi Experts,
Using Remittance email (Report ZFFOGB_T) in Ecc 6.0 we cannot send email. Allthough same program works fine in 4.6 C .
Does anyone know where can be the problem.
Thanks and Regards
Neha Kapoor
hiii.
In ECC 6.0 you have to define Section Code only & the business place can be defined in spro-tax on sale & purchase-basic setting-south korea-business place-define business place.
hope this will help u.
Regards,
Aakash
Similar Messages
-
Problem sending .pdf with email in ECC 6.0
hi there,
we are upgrading from r/3 4.6.c to ECC 6.0.
i have the following problem: in many z-ababs we convert spool-files to pdf-files and send them with function SO_NEW_DOCUMENT_ATT_SEND_API1 via email.
well, this is working okay, BUT: the ending '.pdf' is missing in the filename:
in R/3 4.6.c it looks like the following:
zfl_reporting.pdf
Now it looks like this:
zfl_reporting
So the file is not recognized as pdf-file. You have to add a .pdf manually to open it.
We can't do this as we send the pdf-files thousands of times to our customers.
Any ideas ?
reg, Martinhi
Posted below is the sample code..
find the bolded ones...
REPORT ZMAIL_PDF NO STANDARD PAGE HEADING.
Data for mailing purpose
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
Spool table
TABLES : TSP01.
Data required for creating spool
DATA: MSTR_PRINT_PARMS LIKE PRI_PARAMS VALUE 'LP01',
MC_VALID(1),
MI_BYTECOUNT TYPE I,
MI_LENGTH TYPE I,
MI_RQIDENT LIKE TSP01-RQIDENT,
REP LIKE PRI_PARAMS-PLIST.
Internal table for capturing data into PDF format
DATA: MTAB_PDF LIKE TLINE OCCURS 0 WITH HEADER LINE.
File name
DATA : MC_FILENAME LIKE RLGRAP-FILENAME.
SELECTION SCREEN
PARAMETERS : P_REPID LIKE SY-REPID,
P_LINSZ LIKE SY-LINSZ DEFAULT 132,
P_PAART LIKE SY-PAART DEFAULT 'X_65_132'.
START-OF-SELECTION.
<b> CONCATENATE 'C:\'
P_REPID
'.PDF'
INTO MC_FILENAME.</b>
MOVE SY-REPID TO REP.
Get print parameters
PERFORM GET_PRINT_PARAMS.
Send output of the required program to Spool
SUBMIT (P_REPID) TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS MSTR_PRINT_PARMS
VIA SELECTION-SCREEN AND RETURN.
Get the the spool number that is just created
PERFORM GET_SPOOL_NUMBER USING SY-REPID SY-UNAME
CHANGING MI_RQIDENT.
Convert Spool to PDF & download the same
PERFORM SPOOL_2_PDF.
Upload downloaded PDF file for mailing
PERFORM UPLOAD_PDF_FILE.
Send mail with PDF attachment
PERFORM SEND_MAIL.
FORM get_spool_number *
Get the most recent spool created by user/report *
form get_spool_number using f_repid
f_uname
changing f_rqident.
data:
lc_rq2name like tsp01-rq2name.
concatenate f_repid
f_uname
into lc_rq2name separated by '_'.
select * from tsp01 where rq2name = sy-repid
order by rqcretime descending.
f_rqident = tsp01-rqident.
exit.
endselect.
if sy-subrc ne 0.
clear f_rqident.
endif.
endform." get_spool_number
*& Form send_mail
text
--> p1 text
<-- p2 text
form send_mail.
Creation of the document to be sent
DOC_CHNG-OBJ_NAME = 'TEST'.
DOC_CHNG-OBJ_DESCR = 'TEST MAIL WITH PDF ATTACHMENT'. "mail subject
OBJTXT = 'Test mail with PDF attachment'.
APPEND OBJTXT.
CLEAR OBJTXT.
APPEND OBJTXT.
APPEND OBJTXT.
OBJTXT = 'Please double click the attachment to verify'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'Sample PDF attachement'. "
APPEND OBJHEAD.
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
<b> OBJPACK-DOC_TYPE = 'PDF'.</b>
OBJPACK-OBJ_NAME = 'TEST'.
OBJPACK-OBJ_DESCR = 'Test.PDF'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
For sending mail to Internet Address
RECLIST-RECEIVER = '[email protected].
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = '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.
CASE SY-SUBRC.
WHEN 0.
WRITE :/ 'MAIL SENT....'.
WHEN 1.
WRITE :/ 'TOO MANY RECEIVERS'.
WHEN 2.
WRITE :/ 'DOCUMENT NOT SENT'.
WHEN 4.
WRITE :/ 'NO SEND AUTHORIZATION'.
WHEN OTHERS.
WRITE :/ 'ERROR OCCURED WHILE SENDING MAIL'.
ENDCASE.
endform. " send_mail
*& Form GET_PRINT_PARAMS
FORM GET_PRINT_PARAMS.
call function 'GET_PRINT_PARAMETERS'
exporting destination = 'LP01'
copies = 1
list_name = rep
list_text = 'LIST ..... TO SAP-SPOOL'
immediately = 'X'
release = 'X'
new_list_id = 'X'
expiration = 1
line_size = 132
line_count = 65
layout = 'X_PAPER'
sap_cover_page = 'X'
cover_page = 'X'
receiver = sy-uname
department = 'System'
no_dialog = 'X'
importing out_parameters = mstr_print_parms
valid = mc_valid.
ENDFORM. " GET_PRINT_PARAMS
*& Form SPOOL_2_PDF
FORM SPOOL_2_PDF.
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = mi_rqident
no_dialog = space
dst_device = mstr_print_parms-pdest
importing
pdf_bytecount = mi_bytecount
tables
pdf = mtab_pdf
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.
call function 'WS_DOWNLOAD'
exporting
bin_filesize = mi_bytecount
<b> filename = mc_filename</b>
filetype = 'BIN'
tables
data_tab = mtab_pdf
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ENDFORM. " SPOOL_2_PDF
*& Form UPLOAD_PDF_FILE
FORM UPLOAD_PDF_FILE.
call function 'WS_UPLOAD'
exporting
<b> filename = mc_filename</b>
filetype = 'BIN'
tables
data_tab = OBJBIN
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ENDFORM. " UPLOAD_PDF_FILE
**reward if helpful
regards,
madhumitha -
Remittance challan in ECC 6.0
Dear All,
In ECC 6.0, there is a problom in printing Rimittance challan, when i am trying to create Business place, it takes me to create Section code, eventhough i created business place in Cross-apllication comphonent, but still there is a problom in printing remittance challan.. Pls let me know the way...
Regards,
Suresh Patipati.hiii.
In ECC 6.0 you have to define Section Code only & the business place can be defined in spro-tax on sale & purchase-basic setting-south korea-business place-define business place.
hope this will help u.
Regards,
Aakash -
SCOT - Send email in ECC 6.0
Hi,
We were using a program to send emails to external vendors in 4.6C. This is done using the function module SO_NEW_DOCUMENT_SEND_API1. We changed the SCOT config in ECC 6.0 to use mailhost/port instead of RFC fn.module.
Now we are not able to send email using the program.
Please let me know how to solve this issue.
Thanks
KumarFunction module SO_NEW_DOCUMENT_ATT_SEND_API1 has a parameter CONTENTS_BIN = OBJBIN which was assigned data type as SOLIX. This was not compatible with the data type SOLISTI1 used for Function Module SO_CONVERT_CONTENTS_BIN that is called inside this FM. So the data type was changed from SOLIX to SOLISTI1.
We had the same problem and this was the possible remediation we have done.
Please check if this can help you. -
SCOT: Sending emails through ECC
Hi All
I have read the link
(http://help.sap.com/saphelp_tm60/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm)
to configure SCOT. I have 3 doubt plzz clarify.
Doubt No. 1:
In that link its mentioned that I have to add 2 profile parameter in the transaction RZ10 namely *icm/server_port_<> and *is/SMTP/virt_host_<>
My question is Can I put any value which i like in place of * like can I add either icm/server_port_2 OR icm/server_port_3 OR icm/server_port_4 in icm parameter AND ALSO
Can I put any value which i like in place of * in is/SMTP/virt parameter like can I add either is/SMTP/virt_host_0 OR is/SMTP/virt_host_1 OR is/SMTP/virt_host_2 .
Doubt No. 2:
What port value I have to put in the profile parameter icm/server_port_2 in RZ10. Can I put any port value ? and automatically that port will work? say suppose I addded this profile parameter in RZ10
icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180 so automatically 25000 port will work ? or will it give error?
Doubt No. 3:
When I go to SMICM transaction and go to services , I get the following:
No. Log Service name/port Host name Keep Alive Proc TimeOut Active
1 HTTP 8000 epv.sopm.com 30 60 Yes
2 SMTP 0 epv.sopm.com 30 60 Yes
3 HTTPS 8001 epv.sopm.com 30 180 Yes
This means that HTTP port is 8000, HTTPS port is 8001. My question is why in SMTP its showing 0, why no port is shown?
I have not added any profile parameter like icm/server_port_2 = PROT=SMTP,PORT=25000,TIMEOUT=180 for SMTP in RZ10 as of now.
Is this the reason for this ?1.
is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;
This parameter defines a virtual mail host for receiving mails. If all incoming mails (including status notifications) are to be received and processed by one single client of the SAP system, this parameter is not required. In this instance, is/SMTP/virt_host_0 = :; is used by default. If multiple clients are to be used as recipients, a virtual host has to be created for each of these clients. <host> describes the name of the host to which the incoming mails are addressed. You can enter * here if the mails are to be sent independently of the host being addressed. <port> describes the number of the port to which the incoming mails are addressed.
Do you plan to use incoming mail to SAP?
If so set this parameter for each client
If you plan to receive email for one client then you dont need to set this parameter.
Yes. You can specify any name.
The parameters must have the following syntax:
is/HTTP/virt_host_n = <Host_1>:<Service_11>, .. <Service_1n>
<Host_2>:<Service_21>, .. <Service_2m>
<Host_x> and <Service_yz> may contain the wildcards '*' and
'*' can be used to represent any substring, '?' any
character.
2. You can enter any free port available.Generally higher the port number should be free(25000 should be a free port)
3. SMTP port will be asigned port 0 if you dont specify the parameter for SMTP.
Yes. Thats the reason for it.
But it still works. -
Send smartform as pdf attachment through Email on ECC 5.0
I have been trying hard to do this, but am not able to send attachment. Below are the problems -
1. If sometimes the mail goes, the attachment is empty.
2. if i use COMMIT_WORK = 'X' in FM SO_NEW_DOCUMENT_ATT_SEND_API1 , it throws a dump - ' Invalid COMMIT WORK in an update function module.'
3. If i comment COMMIT_WORK = 'X', it gets executed successfully but, in the program i get a dump 'UC_OBJECTS_NOT_CHAR' exception.
Can someone suggest, what settings are required in SAP to send smartforms as PDF attachments. Also, please suggest how can i remove the dump. If anyone can give me a working program, it will be very very helpful.
here is the code,
REPORT zrsmfmail.
TYPE-POOLS: addi.
Tables defination.
TABLES : vbpa,vbak,nast, stxl, stxh.
Data Decleration .
DATA: lf_fm_name TYPE rs38l_fnam,
l_lines TYPE i.
DATA: output_options TYPE ssfcompop.
DATA: fcodem TYPE sy-ucomm.
DATA: i_id LIKE thead-tdid VALUE 'V002',
i_object LIKE thead-tdobject VALUE 'VBBK' ,
i_tdname LIKE thead-tdname ,
i_lang LIKE thead-tdspras VALUE 'E' .
Internal Table declration.
DATA: int_vbak LIKE vbak OCCURS 0 WITH HEADER LINE,
int_vbap LIKE vbap OCCURS 0 WITH HEADER LINE.
DATA : itline1 LIKE tline OCCURS 0 WITH HEADER LINE .
DATA: retcode LIKE sy-subrc. "Returncode
DATA: repeat(1) TYPE c.
DATA: xscreen(1) TYPE c. "Output on printer or screen
Internal Table declarations
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
lt_att_content_hex LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
wa_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
wa_doc_chng TYPE sodocchgi1,
w_data TYPE sodocchgi1,
wa_buffer TYPE string,
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
DATA: BEGIN OF zlines2 OCCURS 0,
tline TYPE char255,
END OF zlines2,
size TYPE i,
zdata TYPE sodocchgi1.
*& Form entry
FORM entry USING return_code TYPE i
us_screen TYPE c.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing.
IF retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM. "ENTRY
*& Form PROCESSING
text
FORM processing.
SELECT *
INTO CORRESPONDING FIELDS OF TABLE int_vbak
FROM vbak
WHERE vbeln = nast-objky.
LOOP AT int_vbak .
i_tdname = int_vbak-vbeln .
SELECT SINGLE * FROM stxh WHERE tdobject = i_object
AND tdname = i_tdname
AND tdid = i_id
AND tdspras = i_lang.
IF sy-subrc = 0 .
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = i_id
language = i_lang
name = i_tdname
object = i_object
TABLES
lines = itline1.
IF sy-subrc NE 0 .
APPEND itline1 .
ENDIF .
ENDIF .
DESCRIBE TABLE int_vbak LINES l_lines.
l_lines = l_lines .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZORDER_QUOTE'
IMPORTING
fm_name = v_form_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
l_lines = l_lines
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
TABLES
int_vbak = int_vbak
int_vbap = int_vbap
itline1 = itline1
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = size
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
Fehlerhandling
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Change the PDF format from 132 to 255.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
transfer_bin = 'X'
TABLES
content_in = i_tline
content_out = zlines2
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
others = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Attachment
REFRESH:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR wa_objhead.
i_objtxt = 'TEST PDF ATTACHMENT'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
READ TABLE i_objtxt INDEX v_lines_txt.
wa_doc_chng-obj_name = 'SMARTFORM'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'SMARTFORM'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-no_change = 'X'.
wa_doc_chng-obj_langu = sy-langu.
wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
CLEAR i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
(pdf-Attachment)
i_objbin[] = zlines2[].
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
Länge des Attachment ermitteln
DESCRIBE TABLE i_objbin LINES v_lines_bin.
READ TABLE i_objbin INDEX v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'SMARTFORM'.
i_objpack-obj_descr = 'TEST'.
APPEND i_objpack.
CLEAR i_reclist.
i_reclist-receiver = 'abc at aa.com'.
i_reclist-rec_type = 'F'.
i_reclist-express = 'X'.
APPEND i_reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = WA_DOC_CHNG
PUT_IN_OUTBOX = 'X'
commit_work = 'X'
TABLES
PACKING_LIST = I_OBJPACK
CONTENTS_BIN = I_OBJBIN
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
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.
CASE sy-subrc.
WHEN 0.
WHEN 1. RAISE too_many_receivers.
WHEN 2. RAISE document_not_sent .
WHEN 3. RAISE document_type_not_exist.
WHEN 4. RAISE operation_no_authorization.
WHEN 5. RAISE parameter_error.
WHEN 7. RAISE enqueue_error .
WHEN OTHERS. RAISE x_error.
ENDCASE.
COMMIT WORK.
ENDLOOP.
ENDFORM. "entry
Please suggest ASAP, it has come to a critical stage now, a fruitful help will be a great saviour.
Thanks !Hi Guys,
You can even try this 'CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = bin_filesize
bin_file = xstring
TABLES
otf = it_otf_final
lines = it_pdfdata[]
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = xstring
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
binary_tab = it_pdf
Use Cl_BSC Class for easy way to send mail.
Either u can Distribution list Tcode so23.
This is the way i have implemted .. ! -
Email remittances to vendors/suppliers for voided cheques
Hi Masters,
I will highly apprecaite if someone can help me with the following issue :
The system is sending email remittances to EFT vendors for voided cheques. For example:
Cheque number 343028 was voided in the system sent an email to the vendor indicating that payment 343028 would soon be deposited in their account. The vendor also received an separate email indicating that the same amount would again be paid but the second email referenced the EFT payment number.
Can we change the EFT email process to only send remittances by email if the payment number is less than 300,000? Then it will never send an EFT remittance email for cheque payments or voided cheques since they are always numbered above 300,000
Is it possible to modify the workflow..... so that no remittance mail goes for check payments.Any reference or solution would help me alot.
Thanks in Advance
A<Can we change the EFT email process to only send remittances by email if the payment number is less than 300,000? >
In your question above, when you say "payment number less than 300,000", does the 300,000 refer to a check number?
Thanks,
Chiru -
Alternative for Function module 'F4_CHOOSE_MCID' in ECC 5.0?
Hi,
Can any one tell me the Alternative for Function module <b>'F4_CHOOSE_MCID'</b> in ECC 5.0?
Helpful answers will be rewarded.
Thanks
KiranHi,
Please use this FM UMC_NOTIF_SEND_EMAIL to send an email in ECC 5.0.
Regards,
Ferry Lianto -
Garnishment_Third party remittance
Hi guys,
Hope you all doing fine.
I am working third party remittance. I think SAP reads HR payee for third party from IT0194. So is there any special config that we need to maintain to post garnishment to third party.
Please let me know.
MayureshHi,
Arun: Thanks but I already have this document.
Saquib: I have already configured the payment program.
When I try to run PC00_M99_URME - Evaluate remittance (New) in ECC 6.0 I get message saying that No documents created. I am running this for person with Garnishment and I am selecting proper pay period and 4 as HR payee type.
Do i need to create number range and accumulators for garnishment?
Can you guys please help?
Mayuresh -
Alternative for SO_NEW_DOCUMENT_SEND_API1 in ECC 5.0?
Hi
Would like to know what is the alternative method to implement the logic to send email in ECC 5.0 . SO_NEW_DOCUMENT_SEND_API1 seems to be obsolete .
Primarily I would like to know the difference between the following 2 function module.
SO_OBJECT_SEND and SO_NEW_DOCUMENT_SEND_API1
Appreciate your help.
DavidHi,
Please use this FM UMC_NOTIF_SEND_EMAIL to send an email in ECC 5.0.
Regards,
Ferry Lianto -
Hello Team,
What all the places on the server where I can get the details about emailing information in the log file ? EBS is sending email to recipient but recipient is not able to get the email. We have a custom program which is sending remittance emails to suppliers. Many suppliers are sporadically reported non-recipient of the email.
I'd like to trace the outbound email so that we can find where is the problem.
Any help is greatly appreciated.
Thanks
AbhiAbhishek wrote:
Hello Team,
What all the places on the server where I can get the details about emailing information in the log file ? EBS is sending email to recipient but recipient is not able to get the email. We have a custom program which is sending remittance emails to suppliers. Many suppliers are sporadically reported non-recipient of the email.
I'd like to trace the outbound email so that we can find where is the problem.
Any help is greatly appreciated.
Thanks
AbhiPlease see old threads for the Workflow Docs you need to refer to (log files and troubleshooting).
https://forums.oracle.com/forums/search.jspa?threadID=&q=SMTP+AND+Troubleshooting&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Workflow+AND+Troubleshooting&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Workflow+AND+Log+AND+Files&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Hello,
We are working on unique requirement where we have to send Purchase order line item attachment to vendor whenever PO goes out to vendor via email from ECC system.
For this we have developed a custom standalone program which currently if executed pick up documents on the PO and send it to vendor via email separately.
Legal department did not approve the way we have designed to send the attachment to vendor in different email.
We have question will there be possible to assign custom program in NACE --> output types --> Processing routines for output for Email (i.e. external send)?
Please advise. Also is there any other options on sending attachments to vendor from ECC - MM?
Thank you.
Ritesh RaithathaHello N Thombare,
Thank you for your response. You are correct we have partially activated DMS as we are using SRM for creating PR's in ECC. Thus, attachments are flowing from SRM to ECC at PR and then PO level.
Our ABAPer have successfully created standalone program which takes input of PO number and send out attachments but now how to incorporate that with actual PO output program?
As you mentioned we have configuration in place for NACE with external send at NEU--> External Send --> Entry_NEU --> with ZMEDRUK Form.
Could you please tell me how you guys did that?
Just an FYI: Rewarded points to you for helpful answer.
Thanks
Ritesh -
Bursting Problem on EBS 11.5.10.2
Hi All,
I am trying to get the bursting working on EBS 11.5.10. What I am trying to achieve is to email invoice data to a supplier using the remittance email address held against the vendor site in EBS. I have looked at the Bursting 101 info on Gareth Roberts blog and have pretty much used the same logic. What I am getting is a single email sent to the first vendor with 1 attachment that has all the invoices in there.
My Control FIle is:
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:request select="/XXAPXRCTIR/LIST_G_INVOICES/G_INVOICES">
<xapi:delivery>
<xapi:email server="smtpserver.somehwere.com" port="25" from="[email protected]" reply-to ="">
<xapi:message id="${INVOICE_ID}" to="${REMITTANCE_EMAIL}" cc="" attachment="true" subject="Recipient Created Tax Invoice ${INVOICE_NUMBER}">
Please find attached the Recipient Created Tax Invoice for Invoice Number ${INVOICE_NUMBER}.
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="RCTI_${INVOICE_ID}" output-type="pdf" delivery="${INVOICE_ID}">
<xapi:template type="rtf" location="xdo://XBOL.XXAPRCTIR_EMAIL.en.00/?getSource=true" filter=".//G_INVOICES[REMITTANCE_EMAIL != '']"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>
And a sample of the XML data is:
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<XXAPRCTIR>
<LIST_G_INVOICES>
<G_INVOICES>
<VENDOR_COMPANY_NAME>A Business</VENDOR_COMPANY_NAME>
<VENDOR_ID>12438</VENDOR_ID>
<VENDOR_FORMATTED_ADDR>123 High St FERNTREE GULLY
VIC 3156 AU</VENDOR_FORMATTED_ADDR>
<VENDOR_ABN></VENDOR_ABN>
<REMITTANCE_EMAIL>email_address.com</REMITTANCE_EMAIL>
<INVOICE_ID>30578</INVOICE_ID>
<INVOICE_NUMBER>AI103407-FERNTREE GULLY-20080125</INVOICE_NUMBER>
<INVOICE_DATE>25-JAN-08</INVOICE_DATE>
<INVOICE_AMOUNT>3801.60</INVOICE_AMOUNT>
<INVOICE_CURRENCY_CODE>AUD</INVOICE_CURRENCY_CODE>
<TAX_NAME>10% GST</TAX_NAME>
<TAX_RATE>10</TAX_RATE>
<INVOICE_AMOUNT_MINUS_TAX>3456.00</INVOICE_AMOUNT_MINUS_TAX>
<TAX_AMOUNT>345.60</TAX_AMOUNT>
<LIST_G_INVOICE_LINES>
<G_INVOICE_LINES>
<PERSONNEL_NAME>Smith, Mr. Jim</PERSONNEL_NAME>
<EXPENDITURE_TYPE>9004 - Dir Contr Lab - Regular</EXPENDITURE_TYPE>
<WEEK_ENDING_DATE>25-JAN-2008</WEEK_ENDING_DATE>
<HOURS>40</HOURS>
<RATE>86.4</RATE>
<AMOUNT>3456.00</AMOUNT>
</G_INVOICE_LINES>
</LIST_G_INVOICE_LINES>
<CS_TOTAL_HRS>40</CS_TOTAL_HRS>
</G_INVOICES>
<G_INVOICES>
<VENDOR_COMPANY_NAME>Another Business</VENDOR_COMPANY_NAME>
<VENDOR_ID>11006</VENDOR_ID>
<VENDOR_FORMATTED_ADDR>456 Low Road
MT ELIZA
VIC 3930 AU</VENDOR_FORMATTED_ADDR>
<VENDOR_ABN></VENDOR_ABN>
<REMITTANCE_EMAIL></REMITTANCE_EMAIL>
<INVOICE_ID>30540</INVOICE_ID>
<INVOICE_NUMBER>AI102975-MT ELIZA-20080125</INVOICE_NUMBER>
<INVOICE_DATE>25-JAN-08</INVOICE_DATE>
<INVOICE_AMOUNT>935.09</INVOICE_AMOUNT>
<INVOICE_CURRENCY_CODE>AUD</INVOICE_CURRENCY_CODE>
<TAX_NAME>10% GST</TAX_NAME>
<TAX_RATE>10</TAX_RATE>
<INVOICE_AMOUNT_MINUS_TAX>850.08</INVOICE_AMOUNT_MINUS_TAX>
<TAX_AMOUNT>85.01</TAX_AMOUNT>
<LIST_G_INVOICE_LINES>
<G_INVOICE_LINES>
<PERSONNEL_NAME>West, Ms. Lucy</PERSONNEL_NAME>
<EXPENDITURE_TYPE>9004 - Dir Contr Lab - Regular</EXPENDITURE_TYPE>
<WEEK_ENDING_DATE>25-JAN-2008</WEEK_ENDING_DATE>
<HOURS>16</HOURS>
<RATE>53.13</RATE>
<AMOUNT>850.08</AMOUNT>
</G_INVOICE_LINES>
</LIST_G_INVOICE_LINES>
<CS_TOTAL_HRS>16</CS_TOTAL_HRS>
</G_INVOICES>
Any ideas would be greatly appreciatedThat would be right solved my own problem I did a typo in the Burst Control file XXAPXRCTIR should be XXAPRCTIR
-
Hi
I want tp send a notification email to user(creator) in crm 2007 version.
Is it posssible?
Exact scenario is we have customer replication from ecc to crm and crm to ecc
Some times both are editing same time and it is stucking in queue with error "processed by some other user" and it is causing in correct data in both system.
another case is some times they are not entering required fields so stucking in queue.
so in first case if it fails i want to send teh email to ECC user or CRM user a mail saying that ichange was failed to go to crm because of locking ..please do changes after 5 minutes.
Please suggest me here.Hi,
In CRM, You can directly go to txn : SMW00 and select "Error action for a specific BDoc Type" and execute.
On the next page, select the BDOC Message state as "O8".
You can provide with an email over here.
Please ensure with the basis team for the SCOT settings for mail triggering.
But the bottleneck with this approach is that the mail can be triggered to only one administrator and not directly to end users.
Good luck,
Aaru
Edited by: Aaru on Jul 8, 2010 8:12 AM -
How do I add an email body text for remittance advices / payment advices?
Hello,
I am trying to send an email body text with the pdf remittance advice to my vendors.
Background:
We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payments. Finally we activated the BTE 00002040, through transaction FIBF, to use a custom copy of the function module SAMPLE_PROCESS_00002040.
Our payment run sends emails with pdf-file attachments to our vendors correctly.
<b>The Issue:</b>
I can not find a way to add text to the body of the email with the attached remittance advice.
Has anyone advise on how to populate the email body with text?
Thank you and best regards
Karsten AroldHello Subhashree,
I have not implemented the functionality, but I found rerference to SAP Note 1033893 in another forum post.
Email text to Payment Advice in BTE2040
Allan
Maybe you are looking for
-
Unable to import the excel template into form in HFM
Has any one came across this issue that I am facing now? I have a form in HFM and I exported the form to Excel and the export works fine. but when I import the excel template into form, it was not successful. I have 250 rows in the template. I delete
-
Client Device printing.
I am trying to get printing setup so that I can print from my Unix Application Server to a printer on my windows desktop. On my Servers I am using CUPS for print services and I can see jobs moving from the Application Server to the SGD Host which I h
-
Why are some pics exporting(usually into Bridge) from LR with changes I didn't do?
I use Bridge to route my exports from LR3. Recently a random few of the files that appear just as I had edited them in LR gallery or develope modes, show up with some radical changes when viewed elsewhere following export. One had it's levels or ex
-
Ipv6 HSRP gloabl unicast address on cisco 3560 switch
Dear Team, We are using cisco 3560 switch. Now we are going to implement ipv6 in our network. But we are not disturbing to existing ipv4. my question is 1) Can we confiure the global unicast ipv6 address in ipv6 HSRP and 2) can cisco 3560 switch will
-
Urgent: Failed to get the object returned from the server
Hi there, I'm debugging someone's code which make use of RMI to implement the client/server. I found that when the client request the object from the server, the server return the object properly. But on the client side, it returned "java.io.EOFExcep