SET_PROPERTY_READONLY SAP Method Set property to readonly
Below is documentation, parameters and attributes of ABAP Method SET_PROPERTY_READONLY within SAP class /SCTM/CL_SP. 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 /SCTM/CL_SP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method SET_PROPERTY_READONLY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_PROPERTY_READONLY
.| Name | Type | Data Type | Description | Default Value |
| IT_FIELDS_INPUT_READY | Importing | TYPE TY_T_PROPERTY_NAME | ||
| IT_FIELDS_READONLY | Importing | TYPE TY_T_PROPERTY_NAME | FieldName | |
| CT_PROPERTY | Changing | TYPE /SCTM/TT_UI_PROPERTY | Table of Attributes (Sorted) |
Exceptions of Method SET_PROPERTY_READONLY
This method does not have any exceptionsExample ABAP coding
DATA: lv_CT_PROPERTY TYPE /SCTM/TT_UI_PROPERTY,
lv_IT_FIELDS_INPUT_READY TYPE TY_T_PROPERTY_NAME,
lv_IT_FIELDS_READONLY TYPE TY_T_PROPERTY_NAME,
lv_other TYPE c.
CALL METHOD /SCTM/CL_SP=>SET_PROPERTY_READONLY(
EXPORTING
IT_FIELDS_INPUT_READY = lv_IT_FIELDS_INPUT_READY
IT_FIELDS_READONLY = lv_IT_FIELDS_READONLY
CHANGING
CT_PROPERTY = lv_CT_PROPERTY ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects