cancel
Showing results for 
Search instead for 
Did you mean: 

how the rror message from ECC sent back to the requester

Former Member
0 Kudos

Hi

I have an reqruirement the requestcome from the user (web service) and response will sent back from ECC through PI.

whenevr an exception occurs in ECC , the same message should forward back to user, please tell me how can i implement this,

do i need to define separate filed in the structure or do i need to use any fault message ?

please explain step wise.

regards

neeru

Accepted Solutions (0)

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

consider using faults

Async

Sync

Former Member
0 Kudos

Yes , its an soap --> proxy scenario , user want to see error message on same result screen ( no need of sending alert message to inbox) , please let me know can we handle the error message in same reponse structure .

regards

neeru

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

>>> please let me know can we handle the error message in same reponse structure.

Use faultMesssagetypes and handle the exceptions in server proxy.

Regards,

Priyanka

Former Member
0 Kudos

Hi,

your scenario is soap to ECC. in case of receiver you have use proxy ,

You can do this by calling fuction modle SALERT_CREATE or SALERT_CREATE_LOCAL in case of error / exception. You need to pass Alert category to function module.

You need to call this functionmmodule from ABAP proxy code Exception section.

Refer this blog

How to raise alerts from ABAP Proxy

regards,

ganesh.