GET_VALID_FIELD_STATES SAP Method get valid field states
Below is documentation, parameters and attributes of ABAP Method GET_VALID_FIELD_STATES within SAP class CL_PROXY_SV. 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 CL_PROXY_SV 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 GET_VALID_FIELD_STATES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_VALID_FIELD_STATES
.| Name | Type | Data Type | Description | Default Value |
| ID | Importing | TYPE PRX_ID | Proxy Generation: Unique ID of a Proxy Object | |
| FIELD_STATES | Exporting | TYPE PRX_T_SV_FIELD_STATES | Field states | |
| LOG | Exporting | TYPE SPRX_LOG_T |
Exceptions of Method GET_VALID_FIELD_STATES
CX_PROXY_GEN_ERROR - Proxy Generation: ErrorExample ABAP coding
DATA: lo_class TYPE REF TO CL_PROXY_SV.
DATA: lv_FIELD_STATES TYPE PRX_T_SV_FIELD_STATES,
lv_ID TYPE PRX_ID,
lv_LOG TYPE SPRX_LOG_T,
lv_other TYPE c.
CALL METHOD lo_class=>GET_VALID_FIELD_STATES(
EXPORTING
ID = lv_ID
IMPORTING
FIELD_STATES = lv_FIELD_STATES
LOG = lv_LOG ).
Links to Related Class(s)
CL_PROXY...Full list of available SAP object classes
Search for further information about these or an SAP related objects