Create Object SWU_WFML_INBOX

I would like to get the contents of the e-mail generated by RSWUWFML fixed.  I have gone into SE61 but am having some trouble. I have tried to change the dialog text that is specified by program RSWUWFML - which is SWU_WFML_INBOX and Add my Text there.

But I am not getting this text in My Mail.

Have you activated the text?

BTW, it is better to create your own text rather than modifying the default supplied by SAP.

PS: RSWUWFML2 is the latest version of the program. Depending on your SAP release, it may already be in the system or you can download it from SAP.

>>> I have created new one it is working fine.
 

E-Mail content PDF file issue

I am required to send an email from the workflow to the external email address. I am using send mail task for the purpose and passing the e mail id for the address strings container element. When I test workflow I find that mail is going to the external mail id in this case Outlook. But I see the message I find that the same is attached as a PDF file, I need to open the same for seeing the message. I remember in my previous assingments message used to appear directly and no PDF file used to be there.

My requirement is that no PDF file but a simple text message. Is there any change since 46C ? I am right now working on 47.

Certainly have issue with conversion rules

go to SPRO and then to Basis SAP connect settings then to Genereal settings and to conversion rules.

Because you are getting output as PDF your current settings will be OTF to PDF 1 and OTF to RAW 9.

Change the first one to 9 and OTF to RAW to 1.   Also just in case, you can add another one OTF to TXT as 1.
 

Send mail to USer if IDOC fails ( status 51)

We have a requirement where USER should receive an email if IDOC fails in SAP ( IDOC with staus 51).  Is there any program which we can schedule in background for certain message types which will send mails for the failed IDOCs?

Are there any standard workflows which we can configure for any message types?

>>> By default, when an Idoc errors, an error message is sent to the Idoc administartor. If you want to send the error messages to different users based on the contents of the IDoc, you will have to write your own agent determination rule and assign it to the appropriate standard task which gets triggered when an error occurs.

>>> Not exactly. To handle the application errors in idoc thru workflow, SAP has specific standard tasks available for message types.  Search for the tasks for your specific messagetypes, for example Message related Tasks <MESSAGE TYPE>_Error. Ex: Orders_Error...   You can assign the agent for each task separately.

>>> If you want to send the error messages to different users based on the contents of the IDoc, you will have to write your own agent determination rule. Ex: You want to notify different CS Reps depending on the Partner.

However, if it is the same group of people who would be notified for all errors for an Idoc type, you could do so by maintaining a simple org pstructure.

>>> Talking about 2 different requirements:

Case 1: You are right, custom role has to be developed to read the contents of Idoc. ex: purch org, po#, etc.,

Case 2. As you said in your example, if you want to notify different CS Reps depending on the Partner, no need to have any custom role develeoped, as I said in my previous reply, check for the message related tasks.

And assign the agent in partner profile at partner level or partner+message level if you want to notify the partner from who the message is sent. You can assign each different group of people to each partner.

See Also
Workflow of Purchase Requisition Release Strategy

Get help for your SAP WF problems 
Do you have a SAP WorkFlow Question?

SAP Work Flow Books
SAP WorkFlow Process and Interview Questions Reference Books

SAP WorkFlow Tips
SAP Business WorkFlow Tips and WF Discussion Forum

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.