on 02-27-2014 7:42 AM
Hi
I've been reading the SAP help on IDOC exception handling as I want all EDI IDOC errors in SAP ECC to be sent to a "user" as an email. (I know this is not exacly an SAP PI question but thought I ask).
Any step by step guides out there ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks - not sure if he has left out things or assumed that emailing was already set up. not sure why he was creating a custom task. I should be able to use the standard task TS00008068. I'm not doing anything special here.
I notice that even though I have my userid against the partner profiles, I do not get the status "51" (application document not posted) errors. (I can only see my original error about not having a partner profile - so at least something is in my sap workflow inbox). Transaction SWEL says that IDOCAPPL INPUTERROROCCURRED 27.02.2014 16:40:51 @AI@ No receiver entered.
I think if I can get that into my sap workflow inbox I could configure SCOT to sent it out to email.
Hi
You can try the same by writing a function module.
The function module will reads the error message from ECC and then sends the email by calling another function module
the sample function module for email sending will look like this
CALL FUNCTION 'ZTEST_SEND_EMAIL'
EXPORTING
extcheck = ''
subject_long = subject
priority = '5'
bin_attachment_name = 'Failed error message'
bin_attachment_type = 'BIN'
TABLES
it_content = it_content
it_bin_attachment = it_attachx
it_recipients = it_recips.
The recipient needs to be crated using TCODE SO23.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello John,
You can find troubleshooting content at (PI) IDoc Adapter (AAE) - Technology Troubleshooting Guide - SCN Wiki
Regards,
Ankit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonny,
Refer below blog it might help you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.