Semantics |
Returns the name of the current entry point, such as the name of the current transaction, the URL of the currently processed HTTP request, or the name of the submitted report.
Two different granularities of request entry points are to be considered. The first one is the request-based request entry point, which identifies…
The second is the roll-area (internal session) - based request entry point, which identifies…
For the resulting names, the following rules apply:
|
Return value |
Has ABAP type C with the length of the name of the current entry point.
|
Argument |
The argument may contain the values 'Q' or 'R', with the following meaning :
'Q' : determines the request name of the request-based request 'R' : determines the request name of the roll-area-based request
If a value other than 'Q' or 'R' is specified, the default value 'R' is taken. If no argument is supplied, the default value 'R' is taken as well. If an argument type other than ABAP type C with length = 1 is specified, the string '<INVALID_SYMBOL>' is returned by the function.
For better code readability, usage of the built-in constants CtxRoll (value 'R' ) and CtxReq (value 'Q' ) is recommended:
req_type( CtxRoll ) or req_type( CtxReq )
Note that these constants are defined in the scope of the
parameter list of built-in functions that are used in
dynamic logpoints only. This means they are not valid inside
standard ABAP code, nor can they be used as normal variables
in the condition, in the key definition, or in the field
values of dynamic logpoints (outside the parameter list of
built-in functions).
|