on 03-25-2019 7:49 AM
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
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):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
Hi,
This is I think standard class event, you can't change without access key.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.