LOAD_LAYOUT SAP Method Loads a Layout
Below is documentation, parameters and attributes of ABAP Method LOAD_LAYOUT within SAP class IF_ISH_GUI_APPLICATION. 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_APPLICATION 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 LOAD_LAYOUT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method LOAD_LAYOUT
.Name | Type | Data Type | Description | Default Value |
I_LAYOUT_NAME | Importing | TYPE N1GUI_LAYOUT_NAME | Layout Name | |
I_USERNAME | Importing | TYPE USERNAME | User Name | |
RR_LAYOUT | Returning | TYPE REF TO CL_ISH_GUI_LAYOUT | IS-H: GUI - Settings for an Interface Element |
Exceptions of Method LOAD_LAYOUT
CX_ISH_STATIC_HANDLER - IS-H: Superclass for Static ExceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_ISH_GUI_APPLICATION.
DATA: lv_I_LAYOUT_NAME TYPE N1GUI_LAYOUT_NAME,
lv_I_USERNAME TYPE USERNAME,
lv_RR_LAYOUT TYPE CL_ISH_GUI_LAYOUT,
lv_other TYPE c.
CALL METHOD lo_class=>LOAD_LAYOUT(
EXPORTING
I_LAYOUT_NAME = lv_I_LAYOUT_NAME
I_USERNAME = lv_I_USERNAME
RECEIVING
RR_LAYOUT = lv_RR_LAYOUT )
"Alternate coding for Method Call with returning parameter
lv_RR_LAYOUT = lo_class=>LOAD_LAYOUT(
EXPORTING
I_LAYOUT_NAME = lv_I_LAYOUT_NAME
I_USERNAME = lv_I_USERNAME ).
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