cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handling Need to validate the value in Response (Syn Scenario)

Former Member
0 Kudos

Hi Experts,

I have Synchronous scenario in response I am getting the value response code =00 in Response if any other value comes other than 00 I have raise exception we should get alert email . how can we achieve this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Abhay,

You can check in your message for response code and when it fails.

You can call rfc SALERT_CREATE and raise alert and send email.

For more info plz refer link:

Regards

naveen

Former Member
0 Kudos

Hi ,

Thanks for your reply . Can I check the condition in UDF and through the exception . and just configure the email alerts for that particular interface and receiver email id's .

Answers (2)

Answers (2)

RaghuVamseedhar
Active Contributor
0 Kudos

Abhay,

In response message mapping, write a UDF to trigger email when response code is 00.

Please refer this doc for details.

Former Member
0 Kudos

Hi,

Are you panning to map the response message back to ECC in form of IDoc/proxy ?

Are you specifically looking to trigger the email using Alerts (do you want to fails the message in PI) ?

If this is not the case you can map the response back to a Mail adapter and trigger email to the recipients.

One of the approach could be as: In receiver Determination you can give the condition as                 response code \ne 0. Then you determine the receiver component/business system which triggers the mail.

Also select "Ignore" in bottom. This would mean that in case response code = 0. No receiver will be determined and the message flow will be stopped in PI and hence no mail will be triggered.

Thanks,

Sudhansu