SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

AMI Connection Status Change and Forward Error Handling

philippe_tsalos
Participant
0 Kudos
951

Hi experts,

I have a question related to the asynchronous service SmartMeterUtilitiesConnectionStatusChangeRequestERPCreateConfirmation_In.

In case of error on the service provider side (e.g. disconnection document locked by a user) this service creates a case in FEH. I would like to know if a similar case in FEH can be created for a customer-specific check (e.g. missing data in the Confirmation message)?

I've already tried with BAdI ISU_SE_CONNSTSREQSMCRTRCO_ASYN but it doesn't seem to work. When an exception is raised in this BAdI the process stops and do not create a case in FEH. I have the same behaviour with BAdI ISU_AMI_DISCONNECT (method IF_EX_ISU_AMI_DISCONNECTION~STATUS_CHANGE_CO_IN).

Do you have any idea how to proceed? and where (which BAdI or enhancement spot)?

Thank for you help!

Regards,
Philippe

1 ACCEPTED SOLUTION

philippe_tsalos
Participant
0 Kudos
534

For the record I created an incident at SAP and they have corrected the issue in SAP note 2397615.

Regards,
Philippe

View solution in original post

6 REPLIES 6

daniel_mccollum
Active Contributor
0 Kudos
534

start with this blog & its subsequent entry. They may help inform from the general Error and Conflict Handler use case.

0 Kudos
534

Hello Daniel,

Thanks for this very helpful blog but unfortunately it only deals with custom proxy whereas I'm dealing with a standard proxy SmartMeterUtilitiesConnectionStatusChangeRequestERPCreateConfirmation_In. Therefore I cannot apply the solution described since it requires to change the associated standard proxy-class (adding interface IF_ECH_ACTION).

Additionally the standard proxy I'm dealing with already uses FEH/ECH in case of exception foreseen in standard SAP code. The issue I have is that it doesn't use FEH/ECH in case of exception raised in the two above mentioned BAdI's where I want to perform some customer specific checks.

If you know (or have any resource) about that I would be glad to read it.

Regards,
Philippe

daniel_mccollum
Active Contributor
0 Kudos
534

have a look in Badi ISU_SE_CONNSTSREQSMCRTRCO_ASYN in ISU_SPOT_SE_CONNSTSREQ

0 Kudos
534

As mentioned in my initial post: I've already tried with BAdI ISU_SE_CONNSTSREQSMCRTRCO_ASYN but it doesn't seem to work. When an exception is raised in this BAdI the whole process stops and does not create a case in FEH.

Any other idea?

0 Kudos
534

Good point, I'll dig around in my notes. Its been awhile since I've played around in this functionality.

philippe_tsalos
Participant
0 Kudos
535

For the record I created an incident at SAP and they have corrected the issue in SAP note 2397615.

Regards,
Philippe