Tracking of rejected emails or faxes in SAP
Dunning and Statements delivery by e-mail or fax might fail due to several reasons. is there is a way we can track the rejected emails or faxes in SAP and trigger a third party printer(service provider for the client)
thanks in advance!!
thanks
Similar Messages
-
How to send fax thru sap system
Hi all,
I need to send a fax thru sap system. In the given parameter I need to give email address & fax number. The result is the content I shud receive as both email & fax.
As far as email is concerned no problem. But I am not receiving the content fax. I am getting the following error as email. Pls find below the error message.
Your message did not reach some or all of the intended recipients.
Subject: 000000002008
Sent: 4/5/2007 11:47 AM
The following recipient(s) could not be reached:
FAX3D2B918041396976@75 on 4/6/2007 2:31 AM
The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address.The MTS-ID of the original message is:ADR32000000006890
< sap.corp #5.1.1 SMTP; 553 <FAX=+918041396976@75>... only FQDN names will be accepted>
The fax number I typed is +918041396976 but the system itself is adding @75 behind it. I am not getting the fax message.
Can anyone help me in this regard.
Thanks in advance.
Vijay.Hi Vijay,
The fax nio. parameter can be handled thru the program. I mean remove those extra characters... and try this code below for ref (its from sap-img.com)
The following program shows you how to send a fax from within ABAP/4. The report is delivered
in the standard system and is used in Transaction SCOM for the function "Send test fax".
Only the method via the call of SAPscript with DEVICE='TELEFAX', described below, ensures the
generation of a correct transmission request, independent of the R/3 release and of the used
fax server solution and its configuration.
The regular printing (for example, with NEW-PAGE PRINT ON...) on an output device created in
the spool administration of the device class 'Telefax' does generally not work!
REPORT RSKSENDF MESSAGE-ID SK.
Test report to send a test fax
sends a fax to the number <TO_CNTRY>-<TO_NMBER>
containing an automatically generated message text.
TABLES: USR03.
PARAMETERS: TO_CNTRY LIKE T005-LAND1 OBLIGATORY,
TO_NMBER LIKE TSP01-RQTELENUM OBLIGATORY,
FROM_USR(30) TYPE C DEFAULT SY-UNAME,
TO_RECIP(30) TYPE C DEFAULT SY-UNAME.
SAPscript content ITAB
DATA: BEGIN OF TEST_DOC OCCURS 10.
INCLUDE STRUCTURE TLINE.
DATA: END OF TEST_DOC.
SAPscript header struct
DATA BEGIN OF HEADER.
INCLUDE STRUCTURE THEAD.
DATA END OF HEADER.
INITIALIZATION.
get county from user addres in usr03
system->user profile->user address
check if not empty
SELECT SINGLE * FROM USR03 WHERE BNAME = SY-UNAME.
IF SY-SUBRC = 0 AND USR03-LAND1 <> SPACE.
TO_CNTRY = USR03-LAND1.
ENDIF.
START-OF-SELECTION.
PERFORM FILL_UP_TEST_DOC.
PERFORM SHOW_TEST_DOC.
AT PF08.
PERFORM SEND_FAX TABLES TEST_DOC USING TO_CNTRY
TO_NMBER.
AT SELECTION-SCREEN ON TO_NMBER.
PERFORM CHECK_NUMBER USING TO_CNTRY TO_NMBER.
*& Form CHECK_NUMBER
FORM CHECK_NUMBER USING
COUNTRY
NUMBER.
DATA: SERVICE LIKE TSKPA-SERVICE VALUE 'TELEFAX',
LEN LIKE SY-FDPOS.
FIELD-SYMBOLS <P>.
windows GUI push the ? from mandatory input instead
of overwriting it
LEN = STRLEN( TO_NMBER ).
IF LEN > 1.
SUBTRACT 1 FROM LEN.
ASSIGN TO_NMBER+LEN(1) TO <P>.
IF <P> = '?'.
<P> = SPACE.
ENDIF.
ENDIF.
official check FM
CALL FUNCTION 'TELECOMMUNICATION_NUMBER_CHECK'
EXPORTING
COUNTRY = COUNTRY
NUMBER = NUMBER
SERVICE = SERVICE.
on old 21?/22? release you may have to handle the
exception
because the Function uses RAISE instead of
MESSAGE... RAISING....
ENDFORM. " CHECK_NUMBER
*& Form FILL_UP_TEST_DOC
fills test text in itab TEST_DOC *
real life example needs to get real life data *
FORM FILL_UP_TEST_DOC.
DATA: DATUM(12) TYPE C,
UZEIT(10) TYPE C.
SAPscript initialization
of course, you may want to set a few parameter
(FORM,LAYOUT,....)
CALL FUNCTION 'INIT_TEXT'
EXPORTING
ID = 'ST '
LANGUAGE = SY-LANGU
NAME = 'FOO-BAR'
OBJECT = 'TEXT'
IMPORTING
HEADER = HEADER
TABLES
LINES = TEST_DOC
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC <> 0.
MESSAGE A400 WITH 'INIT_TEXT'.
ENDIF.
PERFORM ADD_EMPTY_LINE.
WRITE: SY-DATUM TO DATUM.
WRITE: SY-UZEIT TO UZEIT.
PERFORM ADD_LINES USING 'This is test Telefax'(001)
DATUM UZEIT.
PERFORM ADD_EMPTY_LINE.
PERFORM ADD_LINES USING 'From: &'(002) FROM_USR SPACE.
PERFORM ADD_LINES USING 'To: &'(003) TO_RECIP SPACE.
PERFORM ADD_LINES USING 'Fax number: & &'(004)
TO_CNTRY TO_NMBER.
PERFORM ADD_EMPTY_LINE.
PERFORM ADD_LINES USING
'This is a test fax send by Report RSKSENDF'(005)
SPACE SPACE.
PERFORM ADD_LINES USING 'on SAP system & '(006)
SY-SYSID SPACE.
PERFORM ADD_EMPTY_LINE.
PERFORM ADD_LINES USING
'the quick brown fox jumps over the lazy dog.'(101)
SPACE SAPCE.
PERFORM ADD_LINES USING
'THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.'(102)
SPACE SAPCE.
PERFORM ADD_EMPTY_LINE.
PERFORM ADD_LINES USING 'End of test'(007) SPACE
SPACE.
ENDFORM. " FILL_UP_TEST_DOC
*& Form ADD_LINES
printf a line an appends it in test_doc *
--> cformat format.
--> p1 param1
--> p2 param2
FORM ADD_LINES USING CFORMAT P1 P2.
TEST_DOC-TDFORMAT = '/'.
TEST_DOC-TDLINE = CFORMAT.
IF TEST_DOC-TDLINE CA '&'.
REPLACE '&' WITH P1 INTO TEST_DOC-TDLINE.
IF TEST_DOC-TDLINE CA '&'.
REPLACE '&' WITH P2 INTO TEST_DOC-TDLINE.
ENDIF.
ENDIF.
APPEND TEST_DOC.
ENDFORM. " ADD_LINES
*& Form ADD_EMPTY_LINE
appends an empty line to test_doc *
FORM ADD_EMPTY_LINE.
TEST_DOC-TDFORMAT = '/'.
CLEAR TEST_DOC-TDLINE.
APPEND TEST_DOC.
ENDFORM. " ADD_EMPTY_LINE
*& Form SHOW_TEST_DOC
lists the test doc for aproval *
*>>>> this is for fun only because PRINT_TEXT also
offers a preview *
FORM SHOW_TEST_DOC.
FORMAT COLOR COL_BACKGROUND INTENSIFIED OFF.
WRITE: / 'Test fax would look like this:'(020).
ULINE.
SKIP.
LOOP AT TEST_DOC.
IF TEST_DOC-TDLINE <> SPACE.
WRITE:/ TEST_DOC-TDLINE.
ELSE.
SKIP.
ENDIF.
ENDLOOP.
SKIP.
ULINE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE: 'Press PF8 to send it'(021).
ENDFORM. " SHOW_TEST_DOC
*& Form SEND_FAX
send fax by calling SAPscript *
Note: Instead of using PRINT_TEXT you may also *
call OPEN_FORM / WRITE_FORM_LINES / CLOSE_FORM, *
this allows you to use a similar program structure *
as with NEW-PAGE PRINT ON / WRITE / NEW-PAGE PRINT
OFF *
FORM SEND_FAX
TABLES DOC2FAX STRUCTURE TEST_DOC
USING COUNTRY
NUMBER.
DATA: SID(5) TYPE N.
DATA BEGIN OF POPT.
INCLUDE STRUCTURE ITCPO.
DATA END OF POPT.
DATA BEGIN OF PRES.
INCLUDE STRUCTURE ITCPP.
DATA END OF PRES.
CLEAR POPT.
POPT-TDCOPIES = 1. " one copy
POPT-TDDEST = " done internaly by script,
POPT-TDPRINTER = " do not fill !!!
POPT-TDNEWID = 'X'. " do not reuse old spool request
POPT-TDDATASET = 'TEST'(022). " fill as you want
POPT-TDSUFFIX1 = 'FAX'(023). " fill as you want
POPT-TDSUFFIX2 = SY-UNAME. " fill as you want
POPT-TDIMMED = 'X'. " send now
POPT-TDLIFETIME = 8. " keep 8 days in spool
POPT-TDTELENUM = NUMBER. " number without country code
POPT-TDTELELAND = COUNTRY. " country of recipient
POPT-TDCOVER = 'test fax'(024).
POPT-TDCOVTITLE = 'test fax'(024).
POPT-TDIEXIT = 'X'.
CALL FUNCTION 'PRINT_TEXT'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX = ' '
ARCHIVE_PARAMS = ' '
DEVICE = 'TELEFAX' "<<< here we say: fax it !
DIALOG = 'X'
HEADER = HEADER
OPTIONS = POPT
IMPORTING
RESULT = PRES
TABLES
LINES = DOC2FAX
EXCEPTIONS
OTHERS = 01.
do not bother with exception in sample code
CANCELED = 01
DEVICE = 02
FORM = 03
OPTIONS = 04
UNCLOSED = 05
UNKNOWN = 06
FORMAT = 07
TEXTFORMAT = 08
EXTERNAL = 09.
IF SY-SUBRC = 0.
arriving here means we could send:
SID = PRES-TDSPOOLID.
IF SID > '00000'.
MESSAGE S433 WITH SID.
ENDIF.
LEAVE .
ELSE.
do not bother with exception in sample code
MESSAGE A400 WITH 'PRIN_TEXT'.
ENDIF.
ENDFORM. " SEND_FAX -
Changed Purchase order triggering Email and Fax to vendor
Hello,
Ecc6.0 srm3.0.
a changed purchase order triggering email to vendor, although in the table BBPD_PO_METAOUT all the fields are unchecked and we donu2019t have customization in the table BBPD_COMP_FIELDS,
Please suggest, we donu2019t want email of fax to be triggered when we amend the purchase order,
Thanks for reply.
jairajWhen we change vendor text, It is SAP std that mail will triger to vendor
-
Payment Advise By Email or FAX
Can any one tell me how to send Payment Advise by email or Fax.
My req is, first i have find out the payment advise pgm or t-code and then how to send that by email.
Pls give t-code and where i can find the option to send email.
Thanks in advance.
KumarCheckout
http://www.le.ac.uk/mis/docs/sapdocs/ug/UG3-5%20Rem%20Advice.doc
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-acct/remittances-for-cheques-667467#
Pl..award the points
Thanks
Saquib -
Hi,
Does anyone have any idea about how a adobe form(tcode-SFP) can be sent through email and fax?
I have created an interest form and have to send it accross to the customer maintained in the customer master when i run transaction code FINT.
Help will be highly appreciated.
Regards,
Rasika
Moderator Message: There is a seperate forum for Adobe Interactive Forms. Please post your question there.
Edited by: kishan P on Nov 2, 2010 11:26 AMHi,
Thanks for reply
The link u mentioned utilises Objects.. but can we send internet mail using this?
As we cannot change RECIPIENT TYPE in this case in the object.
I used this format in the program but the attachment is going to EXpress inbox. and goes to my SAP Inbox instead of Email .
So what changes we need to do for this.
Alternatively, can we use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for this purpose?
Edited by: Rohit Pareek on Feb 3, 2009 3:36 PM -
I want to email or fax Remittance advice
I want to email or fax Remittance advice after payment run. Does anyone know how to configured this ?
Hi,
look and search for:
-payment advise
-Open FI (FIBF) - process 2040
http://help.sap.com/saphelp_47x200/helpdata/en/e7/653749d2d211d29e430000e839cd96/frameset.htm
A. -
Want to email and fax Remittance Advice
I want to email or fax Remittance advice after payment run. Does anyone know how to configured this ?
Hi,
Check the link below:
http://sap-img.com/abap/sending-fax-from-abap.htm
It contains the sample code as to How can you send a fax from within ABAP/4 programs.
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Service order confirmation email and fax
Hi all,
I am looking for how to send emails or faxes when a service order is confirmed? Can anyone please help me do that?
I understand that SMTP service should be enabled & SAP Connect should be configured but how to trigger the email on Service order confirmation?
For Sending Fax do we need to have Fax software or we can use SMTP to send Fax? For using SMTP-Fax scenario what will be required?
thanks,
LSPHi,
Set up an Action to trigger upon save that is linked to the relevant SMARTFORM. Make sure it is configured as e-mail.
Cheers
Colin. -
Hi ,
how can we send a form output as email and fax ? How to do the config for this? Can you explain the process to be done?
Rama.Hi,
See following code :
REPORT zmail_att NO STANDARD PAGE HEADING LINE-SIZE 200.
DATA : BEGIN OF ITAB OCCURS 0,
PERNR LIKE PA0001-PERNR,
ENAME LIKE PA0001-ENAME,
END OF ITAB.
DATA: message_content LIKE soli OCCURS 10 WITH HEADER LINE,
receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
listobject LIKE abaplist OCCURS 10,
compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
w_object_hd_change LIKE sood1,
compressed_size LIKE sy-index.
START-OF-SELECTION.
SELECT PERNR ENAME
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM PA0001
WHERE PERNR < 50.
LOOP AT ITAB.
WRITE :/02 SY-VLINE , ITAB-PERNR, 15 SY-VLINE , ITAB-ENAME, 50
SY-VLINE.
ENDLOOP.
Receivers
receiver_list-recextnam = 'XXXXX@X...'. --> EMAIL ADDRESS
RECEIVER_list-RECESC = 'E'. "<-
RECEIVER_list-SNDART = 'INT'."<-
RECEIVER_list-SNDPRI = '1'."<-
APPEND receiver_list.
General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
Mail subject
w_object_hd_change-objdes = 'Message subject'.
Mail body
APPEND 'Message content' TO message_content.
Attachment
CALL FUNCTION 'SAVE_LIST'
EXPORTING
list_index = '0'
TABLES
listobject = listobject.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
compressed_size = compressed_size
TABLES
in = listobject
out = compressed_attachment.
DESCRIBE TABLE compressed_attachment.
CLEAR packing_list.
packing_list-transf_bin = 'X'.
packing_list-head_start = 0.
packing_list-head_num = 0.
packing_list-body_start = 1.
packing_list-body_num = sy-tfill.
packing_list-objtp = 'ALI'.
packing_list-objnam = 'Object name'.
packing_list-objdes = 'Attachment description'.
packing_list-objlen = compressed_size.
APPEND packing_list.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
TABLES
objcont = message_content
receivers = receiver_list
packing_list = packing_list
att_cont = compressed_attachment.
Reward points if helpful.
Regards.
Srikanta Gope -
Error message when trying to scan to email or fax
when I try to scan to email or fax i get this message:
"secure connection to SMTP server could not be established..."
I didn't have this problem when I first got the laserjet pro 200 m276.
any thoughts on how to remedy>Hi MACSRC1,
I see by your post that you are getting the error "secure connection to SMTP server could not be established" when trying to scan to email or fax. I can help you with this.
I have provided a document to check your scan settings. You might have to run the wizard again.
How to Scan: From the Control Panel (Including Scan to Email, to a PDF, and to a Network Folder).
Click on Scan to email.
This document is for Cannot Send or Receive Faxes to go through to resolve the fax issue.
What email provider and email program are you using?
What operating system are you using?
Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
How to Find the Windows Edition and Version on Your Computer.
If you need further assistance, just let me know.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
How to reject emails using address email's sender
Hi,
I'm wondering if it's possible to reject emails using address email's sender.
Thanks,sorry, I thought it was one of the built in options. you can do it with an apple script rule then.
paste the following into a blank Applescript Editor window . Applescript Editor is located in /Applications/Utilities
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
using terms from application "Mail"
on perform mail action with messages selectedMsgs
repeat with msg in selectedMsgs
tell application "Mail"
bounce msg
end tell
end repeat
end perform mail action with messages
end using terms from</pre>
save the script somewhere and set your Mail rule to run this script on messages from that sender. -
To send an email from outlook to SAP user in SAP
Hi,
Is it possible to send an email from outlook to SAP user in SAP?
Regards,
MizanHi Mizan......
Yes off course it is possible.
Generally how we put the CC to our ionternal users like you have to put their email address while sending mail through SAP viq outlook.
The mail will go from SAP but via. outlook and user will receive the mail in Outlook Integration and not inside B1.......
If you want it in B1 then instead of sending mail you can send the same by choosing option Int......
Regards,
Rahul -
How do I get a music track of an email to Ipad
How can I get a music track from an email on my IPad into my Music file on my ipad
Hi Friend,
Emails with music file attached are not allow to be save in Musics, unless you download an app that you can save the attached file in, like OPlayer for ex.
Hope it helps -
Using workflow to email and fax output documents
The requirement is that everytime an output is triggered for a document, the document should be emailed and/or faxed to certain contacts that are maintained on the customer master. Currently you can only email or fax to one contact at a time but we would like to do it for multiple contacts.
Can this be achieved using workflow? I am relatively novice in workflow but would like to implement it if possible.
The solution we have right now, which works by the way:
Add a function module in every driver program to extract the contact information and populate a database table
Run a batch job ever 5 mins that reads the database table and emails/fax using the contact information.
Am looking for some ideas for a more efficient way of doing it. Thank you.yes you can sedn the mail to multiple recipients by using ythe workflows and even you can attach the Document to the mail as a ATTACHMENT
by using differnet Fm that are available just go to se 37 and SAP_WAPI click f4 you will find all the FM that are required.
Important: You have to use a step ACTIVITY and make it as background step because there is no need of any sort of interaction with the user while determining the Agents and after getting the result i mean the reposible users store them ina internal table of type SWHACTOR and
in the mail step use EXPRESSION and assign these determined agents
For this you have to bind the Task conatiner elements and workflow conatiner elements ok -
Receive email attchmnt, store in SAP & link to PO
Hi Experts,
We have a requirement to convert PO to PDF and send it as an e-mail attachment which is possible .
But the requirement is to add digital signature to the PO and send it as E-mail attachment.
Also once vendor confirms and signs the same document and scans it and send it through e-mail as attachment. This document should be stored in Sap and linked to PO.
I am working on ECC 6.0.
Any pointers to receive an email attachment, store in SAP & link to PO would be great.
Thanks,
Best regards,
Prashantfor receiving emails in your ABAP system check this weblog.
[Receiving E-Mail and processing it with ABAP - Version 610 and Higher|/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher]
after receving the email contents then you can use FM BDS_BUSINESSDOCUMENT_CREA_TAB to attach it to PO
Regards
Raja
Maybe you are looking for
-
Connection to server via smb not working
hi, i have an old G4 iBook 10.3.9 that i'm using for school. to connect to our school server for course material, we were given smb log-in instructions from our it dept. when i put in the ip address, i get a prompt for the id and password, but i cann
-
Optimal settings for MPEG Streamclip convering mpgs to quicktime format
Hello Folks, a newbie to this video converting world. I've got loads of mpgs from the past, which I'm trying to convert to Quicktime(mov) format for use on my apple tv and also to publish to DVDs. I tried the following: - Compression - Apple Intermed
-
Here are some usability issues. I assume that Oracle people look at this list periodically. Control Center: It'd be really nice if right clicking on an item in the deployment or execution tabs of the Control Center Jobs pane would select the item BEF
-
Using Automator... iTunes inports
I was wondering if it is possible to automate CD's to inport into a new playlist in iTunes, using the automator, so it creates a new playlist an inports all the music in one go without me having to do any work, just wondering. or is that not what the
-
Hi all, I created a formula variable type amount (so I can select my currency EUR), the user enters a value in the popup screen... but when I display this value, the currency is not displayed... I tested this also on another system, and I have the sa