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
>>> 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.
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.
No comments:
Post a Comment