Extended Notifications - Recipient Address
Hi,
I am creating a subscription in SWNCONFIG (Extended Nofications) that should go to a particular e-mail address. When I set an e-mail adress with INT Internet Mail nothing is sent via report swn_selsen. The subscription works fine when setting a user and RML Internal SAP User, Furthermore, it also works with a * and CUS Receiver Determination Through Handler. Any ideas what the problem could be?
Here is an example of my subscription settings:
Scenario
WORKFLOW
Category
MYCATEGORY
Subscription
MYSUBSCRIPTION
Description
Administrator Inbox
Delivery Schedule
MYDELIVERYSCHEDULE
Deactivated
Delivery Type
EMAIL_HTML
Granularity
1 One Message Per Notification
Recipient Address
myname @ company . com
Recipient Type
INT Internet Mail
Handler
Thanks.
Hi,
I solved the problem by creating my own subscription handler. It is a copy of CL_SWN_SUBSCRIPTION and reads a distribution list with an e-mail address.
Cheers.
Similar Messages
-
Restrict recipient in Extended Notification
Hi Gurus,
We have configured extended notifications and its working fine. We recently done roll out for some other countries as well and dont want the exteneded notificatins for few countries.
Can I use the class CL_HRASR00_WF_NOTIFICATION_EX and method IS_RECIPIENT to do this? Please help.
Thanks,
VijayHi,
This is fairly well documented in the online help
http://help.sap.com/erp2005_ehp_05/helpdata/EN/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm
So please check this source first and if things are still unclear feel free to post a followup message.
Kind regards, Rob Dielemans -
Email of receiver of an Extended Notification email.
Dear all.
I have been looking around the documentation and cannot find any details on this.
I am in doubt how the Extended Notifications determines the email of the receiver of a workitem. Does it take it from the user's data ( the email address you can see in transaction SU01) or does it find it in HR data (Infotype 105)?
Any help is very much appreciated.
LandeHere is the Order
· Central user management i.e. SU01
· Address that is specified in SAPoffice as the address for automatic forwarding
· HR user management (including organizational management) i.e. infotype 0105 subtype 0010
Here is the link:
under Tab Page Recipient:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/ee/a80b404b2b1e07e10000000a1550b0/frameset.htm -
Invalid recipient address - while sending mails
Hi Experts,
I am trying to send a PDF form as a mail attachment from my SAP R/3 server (version ECC 6.0)
Using the following code:
PARAMETER : p_addr TYPE adr6-smtp_addr DEFAULT 'ashish.shah xyz.com'.
*"Look up the generated function for the Book Flight Form
DATA : l_name TYPE funcname.
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = 'Z_CUST_BOOK_FLIGHT_FORM'
IMPORTING
e_funcname = l_name
EXCEPTIONS
OTHERS = 0.
CATCH cx_fp_api_repository. "#EC NO_HANDLER
CATCH cx_fp_api_usage. "#EC NO_HANDLER
CATCH cx_fp_api_internal. "#EC NO_HANDLER
ENDTRY.
DATA : l_outputparams TYPE sfpoutputparams.
*"Start form processing
l_outputparams-getpdf = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = l_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 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.
*" Call the generated function for the Book Flight Form
DATA : fp_docparams TYPE sfpdocparams,
reservedonly TYPE bapisbodat-reserved,
booking_data TYPE bapisbonew,
fp_result TYPE fpformoutput.
fp_docparams-fillable = 'X'.
fp_docparams-langu = sy-langu.
CALL FUNCTION l_name
EXPORTING
/1bcdwb/docparams = fp_docparams
reserved = reservedonly
booking_data = booking_data
IMPORTING
/1bcdwb/formoutput = fp_result
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
DATA : pdf TYPE fpformoutput-pdf.
pdf = fp_result-pdf.
*"End the form Processing session
CALL FUNCTION 'FP_JOB_CLOSE'
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 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.
*"Create and send the email
DATA : bcs_exception TYPE REF TO cx_bcs.
TRY.
*"Add text to the email body
DATA : l_subject TYPE so_obj_des,
l_mailtext TYPE bcsy_text,
l_mailtext_row TYPE soli.
l_subject = 'Trip Creation Form'.
CONCATENATE 'Please fill out the form and return it to:'
'ashish.shah xyz.com'
INTO l_mailtext_row.
APPEND l_mailtext_row TO l_mailtext.
*"Create the email document
DATA : document TYPE REF TO cl_document_bcs,
num_rows TYPE i,
textlength TYPE so_obj_len.
DESCRIBE TABLE l_mailtext LINES num_rows.
num_rows = num_rows * 255.
MOVE num_rows TO textlength.
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = l_mailtext
i_length = textlength
i_subject = l_subject ).
*"Add ataachment
DATA : attdoctype TYPE soodk-objtp,
atttitle TYPE sood-objdes,
attsize TYPE sood-objlen,
pdftab TYPE solix_tab.
attdoctype = 'pdf'.
atttitle = 'CreateFlight'.
attsize = XSTRLEN( pdf ).
pdftab = cl_document_bcs=>xstring_to_solix(
ip_xstring = pdf ).
document->add_attachment( EXPORTING i_attachment_type = attdoctype
i_attachment_subject = atttitle
i_attachment_size = attsize
i_attachment_language = sy-langu
i_att_content_hex = pdftab ).
*"Create persistent send request
DATA : send_request TYPE REF TO cl_bcs.
send_request = cl_bcs=>create_persistent( ).
*"Add document to send request
send_request->set_document( document ).
*"Get sender object
DATA : sender TYPE REF TO cl_sapuser_bcs.
sender = cl_sapuser_bcs=>create( 'A146861' ) .
*"Add sender
CALL METHOD send_request->set_sender
EXPORTING
i_sender = sender.
*"Create recipient
DATA : recipient TYPE REF TO if_recipient_bcs.
recipient = cl_cam_address_bcs=>create_internet_address(
p_addr ).
*"Add recipient with its respective attributes to send request
send_request->add_recipient( EXPORTING i_recipient = recipient ).
*"Set send immediately
send_request->set_send_immediately( 'X' ).
*"Send document
send_request->send( ).
COMMIT WORK.
WRITE: 'Email coantaining the Interactive form was sent'.
CATCH cx_bcs INTO bcs_exception.
DATA : ex_msg TYPE string.
ex_msg = bcs_exception->get_text( ).
WRITE: 'Caught exception.', ex_msg.
ENDTRY.
I get a Mail sending failure notification in my SAP Businesss work place, with the title "Cannot be sent: Trip Creation Form " With status as :
Status for Recipient ashish.shah xyz.com:
No delivery to ashish.shah xyz.com, invalid recipient address
I have entered the correct Email IDs, but still getting this error.
Can you guys help?
Regards,
Ashish ShahHi Ravi,
I have @ in all the email IDs in my code , but i have removed it from this post.
It seems SDN has implemented some new check - where in it checks for Email IDs in the post and gives error when any email ID is encountered.
Can you now spot anything else , which could be the cause for the status as Invalid receipient?
Regards,
Ashish Shah -
Extended Notifications for SAP Business Workflow
Hi expert,
i need your help!!
i have configured the "Extended Notifications for SAP Business Workflow" with the tnx SWNADMIN and this was successful. I can write emails, but i can read this only on SAP GUI with the tnx SOST. I don't receive email on my email-address.
can you say me, where is the problem?
Thank you in advance
marcelHi Marcel
Rope in your Basis Guy!
Basically, your Extended notif part is working fine..... emails reaching SOST is proof. Going out of SAP may need basis config.
What do you see, a yellow triangle or a red light in SOST?
Regards,
Modak -
Extended notifications & placing a link to the mail
Hi,
We have extended notifications running in our system with basically the following relevant settings:
-one message contains multiple items
-HTML message
I have configured the text of the mail to meet our requirements and it works just fine, and now I would like to enhance the text even more. I would like to include a link to the UWL to the text. So for example the text would be:
You have new work items in <u>universal worklist.</u> (where the phrase 'universal worklist' would be a link and by pressing it you could access the UWL).
How to do this? I tried to make this by using "a href" tag, but then the result was that the the mail text just included the whole "a ref" thing - it didn't create a link from it.Sorry, I only found this one (btw very good) blog regarding extended notifications:
/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
...and it doesn't really answer my question.
It is clear for me about how to create a link for executing each individual item, but this is not required. I just wonder that how can I add a link to the custom dialog text that I have maintained with SE61.
Or is there some other way to handle this? I would also be happy to some other solution. (The only thing that I would not be happy is that I would need to include the whole long URL address of the UWL to the mail in order that users could easily access UWL through the mail.) -
Extended notifications from multiple systems
We're using Extended notifications now to send reminder e-mails about unfinished tasks. The problem now is that we have multiple (3) systems and we would like to set up Extended notifications to send one combined e-mail that has all the tasks from all the three systems. Is this possible with Extended notifications or do we have to cope with sending one e-mail per system?
Hi Evan,
I had the same requirement. My conclusion was that achieving this would mean modifying the standard extended notification mechanism to run in one of your three systems and retrieve workitems from all three systems via RFC calls. Surely quite a big change, with high complexity and high risk.
I finally implemented another (relatively easy solution). The only prerequisite is to have UWL.
1. Write a function module (rfc-enabled) that grabs all dialog and deadline workitems in a certain timeframe (passed as a parameter to the FM), with optional filter on task and agent. It returns a table with all the selected workitems + description + agent + agent's email address (if several agents for a workitem then the workitem appears several times in the table).
Implement that FM in all our SAP prod systems where you have workflows.
2. Write a report in one of the systems, which makes a call to that FM in all the other systems to retrieve the workitem and then sends an email to each agent. The report writes the time at which it runs in a db table. So next time you run it it knows when the email was sent last and thus knows which timeframe to select workitems on.
The report sends one email to each agent with the list of workitems and a link to the UWL.
If you do not have UWL then that might get much more complicated because you'll need to insert links in the email body to allow execution of the workitem from the mail directly. Not easy... In that case I would rather start from the standard extended notification mechanism and enhance it.
Mmmh, maybe I should write a blog about this report of mine. Anyone interested? Worth the effort?
Cheers,
Patrick -
Extended Notification Workflow Problem
Hi,
I have configured Extended Notification by using SWNCONFIG transcation code for 3 scenorios. For the first 2 scenorios, it is working fine. ie. Users getting an e-mail to the outlook with 'Execute Work item' link.
My problem is for the 3rd scenorio, configuration is not working for this. SWN_SELSEN report is not picking up the notification. I configured the 3rd scenorio same as the first 2 scenorios. I tried all the different ways. Still it is not working. i.e SWN_SELSEN is not at all picking up the 3rd notification.
Please let me know if any one facing the same problem.Hi PR,
Please find the steps below,
1. Created new Category
2. Assigned message templates to new Category
3. Created new subscription:
Delivery Sch: Every 15 minutes
Delivery type: EMAIL_HTML
Granularity: One message per Notification
R Address: *
R type: Internal SAP user
4. Filter Basic:
Copied standard ALL_DELTA & ALL_FULL filters and named it as Z*.
Assinged main filter ALL_DELTA to ZALL_DELTA and ALL_FULL to ZALL_FULL.
In the ZALL_DELTA, the parameters are ALL_DELTA: 'X' and TASK: My task number.
For ZALL_FULL, i have assinged only TASK number.
5. Created Schedule Selection and Delivery Selection within 15minutes interval.
Everything i created for the same as scenorio 1 & 2. -
Extended Notification Config in ECC
Hi
I want to configure Extended Notifications in the ECC 6.0. I have created a category. But when I create a subscription for that, in the Subscription Basic data, it asks for recepient address. i dont want to specify any specific user or email address. I want it to be applicable for all users by default.
How can I set up the above step in Subscription basic data?
Regards
WazHi
It cannot be left empty. Its a mandatory field. However I have found a solution and that is put a * in the field and that will work for all users.
Thanks & Regards
Waz -
Extended notification languages
G'Day folks,
I'm using Extended Notifications in a multi-language environment on NW 7.0 SP11, and it appears to just get horribly confused when more than one language is involved.
We want to send one notification per workitem, containing the workitem text, in the recipient language.
I've set the following (and tried all kinds of combinations):
Job language for SWN_SELSEN: English
Work item language: English from WF-BATCH (or previous user language)
User logon language: French
User communication language: French
HR master record language: French
User "Workitems in logon language" switched on
Result:
Extended notification header/footer: English
Workitem text: French
Decision links: French
Work item/UWL links: English
What is even more bizarre is that I've set this all up from scratch on a TestDrive system (SP12) and gotten the opposite results with a German user:
Extended notification header/footer: German
Workitem text: German subject, English body
Decision links: not tested
Work item/UWL links: English
I've spent two days experimenting with various combinaitons of these to get a complete notification all in the same language. The only way is if everything is in another language - i.e. the WI is created by a French user, sent to a French user, SWN_SELSEN runs as a French user. Obviously this is not a solution.
Anyone had to deal with this before?
Cheers,
Mike
Cross-posted on SDN and WUGMike,
Dont know about this issue but some times I am also facing this kindaa situation, though not in extended notification transaction but in class builder transaction.
When I check any class having implemented any method, say it shows method description in german but when I check the same method descriptions in interface definition it is in english.
I think now I am used to live with it, perhaps there is an OSS note for this but couldnt searched till now (probably stuck with more urgent work)
I am in ECC 6.0 release 7.0 SP 11.
Did you tried to check any OSS note for this?
Cheers
Jai -
Email template, no recipient address
Hi all,
I'm trying to send an account creation notification, but keep getting this error:
Failure sending email: com.waveset.exception.ServiceNotResponding: ==> javax.mail.SendFailedException: No recipient addresses
But if i redirect the same message to a txt file (as set in Waveset.Properties), the email created does have the correct toAddress specified.
Any suggestions?
Message was edited by:
tine_de_mik
Message was edited by:
tine_de_miksending email is a pretty straight forward thing in SIM.Write the SMTP host address and toaddress.Thats it .You are all set.Why dont you write a workflow to just send email and see whether you get the same error.
-
Customize message for extended notification
Hi All,
I am using extended notification for some workflows to send notification to the user's email when there are some work items pending in their UWL. I want to customize these messages based on task type. Lets say for example one message for TS1000000034 and another message for TS100000005.
Let me re-iterate my requirement: How to customize messages in extended notification ?
Any help is highly appreciated.
Thanks.
Edited by: Bijay Kumar on Oct 6, 2008 6:26 PMHi ,
If you looking for a task based extended notification.
I would suggest you use a background program which is scheduled to look for the specific task number in a list of user inbox in a timed fashion.
When found send an email to the address with content depending on the task type.
I am not sure how hard or easy is the configuration for the same and also introducing task based content in the extended notifications.
Let me know
Thanks ,
Charan. -
SSO and Extended notifications
Hi Friends,
We are using extended notifications to send work item as attachment(SAP GUI shortcut) to outlook and it is working fine. But the shortcut attachments are not working in case the user has an "SSO" enabled for him, it is asking for a logon password . We are using SNC product for SSO. Please let me know if it is possible to have SSO for SAP shortcuts so that the user can open the work item attachment without entering the password
Regards
sapientHello Sapient,
If you want to be able to logon directly via the shortcut without entering user/password then you need to use SSO. It seems there is some issue with the user SSO. Do all users have this issue or just some?
I would also check the users SAPGUI release and patch level. Can you compare it to a user who does not have this issue. mAybe apply the latest SAPGUI patch and test again.
Maybe note 1257108 can point you in the right direction.
Regards,
Eddie -
Issue with SWN_SELSEN report in Extended Notification - Re
All,
I am working on ECC 6.0 and am using Extended Notif for Outlook mail generation. It's been working fine except that recently we have noticed that when a user goes to his witem thru' outlook mail and does nothing and comes out, then the witem is in IN PROCESS state. Next time when SWN_SELSEN is run, this is picking up this IN PROCESS witems and generating another Outlook mail.
Is this the std. behavior or any control is there where we can control which witems are to be picked up.
Anybody had this issue and any solutions or ideas will be a great help for me. Thanks in advance..
Regards,
venuHello,
How do you have your Extended Notifications set up now - that it just tells a user once that they have a workitem and never again?
What is the status before they access it, READY?
regards
Rick Bakker
Hanabi Technology -
Extended Notifications Knowledge Based Article
All,
I just wanted to let you know that Eddie Morris of SAP has published a KBA on Extended Notifications.
You will need to have a log on for service.sap.com, but by all means, check out
https://service.sap.com/sap/support/notes/1646056
Cheers,
Sue@ Man Eddie... you made me sad.... hmmmmmm.. I prepared this document and about to post, since SCN is not accepting any articles from nov7th of this month.I thought of uploading it later( Kidding)...... But thanks a lot.
@Susan
Thank you very Much for sharing the link.
Regards
Pavan
Maybe you are looking for
-
Printing problem with Adobe Reader 10.1.9
I received a PDF document that I opened in Adobe Reader. The document contains a pop-up note (which contains a scanned image of a signature). When I print the document, the pop-up note signature is not printed. How can I print the document with th
-
How do I install PS CC and Lightroom CC on my Macbook Pro? I already have the subscription on my iMac. The links only take me to trial versions.
-
Hello Experts, i have one issue...this is regarding PO,we have issue like ,we have PO,purchase orders that automatically released when the product was received but now we have had to manually go in and release these items,Unfortunately we have no vis
-
What is the formula for a cell equal to itself plus another cell?
I trying to create a worksheet where I enter a new number into a cell at different times and have a running total in another cell.
-
Excel addin with Retrieve and save/Update buttons
Hi , we wanted to fetch data from sharepoint list and the data will be displayed once user clicks on retrieve button on excel addin ribbon . we have to show a WPF/Winform control where in user can perform filtering and fetch data again. user can manu