CB_SET_FIELD_CONTENT SAP Method Callback: Set Field Content
Below is documentation, parameters and attributes of ABAP Method CB_SET_FIELD_CONTENT within SAP class IF_ISH_GUI_CB_STRUCTURE_MODEL. 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 IF_ISH_GUI_CB_STRUCTURE_MODEL 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 CB_SET_FIELD_CONTENT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CB_SET_FIELD_CONTENT
.Name | Type | Data Type | Description | Default Value |
IR_MODEL | Importing | TYPE REF TO IF_ISH_GUI_STRUCTURE_MODEL | IS-H: GUI - Structure-Type Model | |
I_CONTENT | Importing | TYPE ANY | New Field Content | |
I_FIELDNAME | Importing | TYPE ISH_FIELDNAME | Field Name | |
R_CONTINUE | Returning | TYPE ABAP_BOOL | abap_true: Continue Processing |
Exceptions of Method CB_SET_FIELD_CONTENT
CX_ISH_STATIC_HANDLER - IS-H: Superclass for Static ExceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_ISH_GUI_CB_STRUCTURE_MODEL.
DATA: lv_IR_MODEL TYPE IF_ISH_GUI_STRUCTURE_MODEL,
lv_I_CONTENT TYPE ANY,
lv_I_FIELDNAME TYPE ISH_FIELDNAME,
lv_R_CONTINUE TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>CB_SET_FIELD_CONTENT(
EXPORTING
IR_MODEL = lv_IR_MODEL
I_CONTENT = lv_I_CONTENT
I_FIELDNAME = lv_I_FIELDNAME
RECEIVING
R_CONTINUE = lv_R_CONTINUE )
"Alternate coding for Method Call with returning parameter
lv_R_CONTINUE = lo_class=>CB_SET_FIELD_CONTENT(
EXPORTING
IR_MODEL = lv_IR_MODEL
I_CONTENT = lv_I_CONTENT
I_FIELDNAME = lv_I_FIELDNAME ).
Links to Related Class(s)
IF_ISH_G...Full list of available SAP object classes
Search for further information about these or an SAP related objects