RETRIEVE_ACTION_CODE_VALUES SAP Method Read allowed code values (action)
Below is documentation, parameters and attributes of ABAP Method RETRIEVE_ACTION_CODE_VALUES within SAP class /BOBF/IF_FRW_SERVICE_MGR. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/IF_FRW_SERVICE_MGR into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method RETRIEVE_ACTION_CODE_VALUES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RETRIEVE_ACTION_CODE_VALUES
.| Name | Type | Data Type | Description | Default Value |
| IS_CONTEXT_PARAMETERS | Importing | TYPE ANY | ||
| IT_CONTEXT_ATTRIBUTES | Importing | TYPE /BOBF/T_FRW_NAME | Table of Strings | |
| IT_KEY | Importing | TYPE /BOBF/T_FRW_KEY | Action keys | |
| IV_ACT_KEY | Importing | TYPE /BOBF/ACT_KEY | Action | |
| IV_ATTRIBUTE_NAME | Importing | TYPE STRING | ||
| ET_CODE_VALUES | Returning | TYPE /BOBF/T_FRW_CODE_VALUES | Code Values |
Exceptions of Method RETRIEVE_ACTION_CODE_VALUES
/BOBF/CX_FRW - BOPF Exception ClassExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_FRW_SERVICE_MGR.
DATA: lv_ET_CODE_VALUES TYPE /BOBF/T_FRW_CODE_VALUES,
lv_IS_CONTEXT_PARAMETERS TYPE ANY,
lv_IT_CONTEXT_ATTRIBUTES TYPE /BOBF/T_FRW_NAME,
lv_IT_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_ACT_KEY TYPE /BOBF/ACT_KEY,
lv_IV_ATTRIBUTE_NAME TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>RETRIEVE_ACTION_CODE_VALUES(
EXPORTING
IS_CONTEXT_PARAMETERS = lv_IS_CONTEXT_PARAMETERS
IT_CONTEXT_ATTRIBUTES = lv_IT_CONTEXT_ATTRIBUTES
IT_KEY = lv_IT_KEY
IV_ACT_KEY = lv_IV_ACT_KEY
IV_ATTRIBUTE_NAME = lv_IV_ATTRIBUTE_NAME
RECEIVING
ET_CODE_VALUES = lv_ET_CODE_VALUES )
"Alternate coding for Method Call with returning parameter
lv_ET_CODE_VALUES = lo_class=>RETRIEVE_ACTION_CODE_VALUES(
EXPORTING
IS_CONTEXT_PARAMETERS = lv_IS_CONTEXT_PARAMETERS
IT_CONTEXT_ATTRIBUTES = lv_IT_CONTEXT_ATTRIBUTES
IT_KEY = lv_IT_KEY
IV_ACT_KEY = lv_IV_ACT_KEY
IV_ATTRIBUTE_NAME = lv_IV_ATTRIBUTE_NAME ).
Links to Related Class(s)
/BOBF/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects