Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Something like hook activities - plans for future for GUI interaction


Hook acitvities as part of the SAP ME 5.2 SDK are quite useful.

As tested they can be used on events as PRE-START, POST-START, PRE-COMPLETE and POST-COMPLETE.

They are called as part of processing of the main actrivity (START or COMPLETE).

When they fail - that means a java exception is raised - also the overall transaction fails (START or COMPLETE).

As they are started internally on the server no GUI interaction can be started as result of the hook activity.

The jave class has NO session context - from the architectural point of view this is understandable.

In contrary to that there are GUI activities, that can be started with a button click.

They are started independantly of other activities.

As they have the session context - technically these are servlets or java server pages - a GUI can be initiated.

Are the plans for future to have have a solution for a requirement like the following:

1. When clicking on START, an activity is called that calls a customisation.

2. When this customisation returns an error the entire process is aborted or rolled back.

3. Otherwise the process flow continues - in that case the START activity is performed.

Somehow this a mixture of what is now available with hook activities and standalone GUI-activities.

Or is there a workaround even available with the current version of SAP ME?


Erich Lind

Former Member
Not what you were looking for? View more on this topic or Ask a question