We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... RESULT result_tab ...
Used to store results of the following operations in an internal table (result_tab):
The internal table (result_tab) must be typed with a specific BDEF derived type depending on the operation performed. The use of RESULT is mandatory for all operations except for the modify operation executing an action.
The internal tables comprise nested structures that contain special components. See the details on the components in the documentation for Components of Derived Types.
The following table provides an overview on those operations offering a result, what their BDEF derived type is and which components are relevant for the internal tables:
|Context||Types||Components of Structures in Internal Table result_tab|
|READ operations||TABLE FOR READ RESULT bdef[\_assoc]||%data \lbr %key \lbr %pky \lbr %tky|
|READ operations executing functions (READ ... EXECUTE)||TABLE FOR FUNCTION RESULT bdef~function||%key \lbr %param \lbr %pky \lbr %tky|
|MODIFY operations executing an action (MODIFY ... EXECUTE)||TABLE FOR ACTION RESULT bdef~action||%cid_ref \lbr %key \lbr %param \lbr %pky \lbr %tky|
|BDEF derived type for feature controls||TABLE FOR [INSTANCE] FEATURES RESULT bdef[~group]||%action \lbr %assoc \lbr %delete \lbr %field \lbr %key \lbr %update|
|BDEF derived type for authorization checks||TABLE FOR [INSTANCE] AUTHORIZATION RESULT bdef[~group]||%action \lbr %assoc \lbr %delete \lbr %key \lbr %update|