Guidelines
If the method has processing order ‘batch’ then the on execute hook is linked to the top-level component (the business object level). In that case the whole request must be used. In other cases, only attribute values from the current component and identifying attributes from the parent components (if any) can be used.
From an on execute hook for a standard method, it is possible to fall back to the default behavior (except for List and Show). This is done by setting output parameter io.default to true and returning the OK value (0).
When generating an LN implementation, protected methods and protected BIIs will not only get a protected interface in the generated ‘st’ library, but also will also have an XML-based interface in the generated ‘sb’ library. This way, you can forward a request XML from a public method’s on execute hook to a protected method of the same or another business object. See section Examples about sending and receiving a BOD for an example.