cancel
Showing results for 
Search instead for 
Did you mean: 

Standard Class - Event Enhancement - Activation

NooruBohra
Participant

Hi All,

I have enhanced a class to add a new event, though the class and enhancement is activated properly I'm not able to use that event. I think the reason is "Active flag" in event properties is not checked. I tried but not able to find any solution to check that flag. Image is attached for reference.

I have the similar requirement as mentioned by paul.bakker2 in his discussion https://archive.sap.com/discussions/thread/3402021 . Any kind of help is appreciated.

Regards,
Nooruddin Bohra

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor

As the discussion says, enhancements are not supported by SAP Business Workflow. So you can't use them (i.e. why do you insist? ;-)).

Note that the "active" flag is never ticked on my 7.52 system for all components added via the enhancement framework.

But what is weird in your case is the "modeled" flag ticked !? (not ticked on my system). If you choose "Modeled", the object is not compiled, it cannot be used.

By the way, better prefix your event ZZ to avoid a conflict in the future if SAP create the same event.

I could create and use a (dummy) custom event successfully on my system, here is its definition in its final status (seems inactive but that's wrong, I can trigger and receive it):

NooruBohra
Participant
0 Kudos

Thank you Sandra for the explanation. I did the modeled flag ticked manually. I agree that SAP Business Workflow will not support the enhancements but just out of the curiosity I posted this question to understand the significance of that Active flag why it can't be checked?


Regards,
Nooruddin Bohra

Sandra_Rossi
Active Contributor

I don't know why it can't be checked, but anyway it's not needed to check it as I said, it works very well. Maybe it's because the activation is achieved "externally" through the enhancement. Maybe you can ask SAP to hide this field for components of enhancements.

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

This is I think standard class event, you can't change without access key.

Thanks