The following table explains the structure of implementation of a function:
Coding Lines |
Description |
---|---|
method IF_EX_RSAR_CONNECTOR~GET . |
|
data: l_function type SFBEOPRND. |
Structure with the description of the function |
case i_key. |
Importing parameter: Key with the function category |
when 'CUSTOM'. |
The BAdI implementation is always accessed with the 'CUSTOM'key. |
* description of function C_TECH_NAME 1 |
|
clear l_function. |
|
l_function-tech_name = 'C_TECH_NAME1'. |
Appears later in the Technical Name column and must be unique. |
l_function-descriptn = 'description 1'. |
Appears later in the Description column. |
l_function-class = 'CL_CUSTOM_FUNCTIONS'. |
Name of the class in which the function is implemented. |
l_function-method = 'CUSTOMER_FUNCTION1'. |
Name of the method in which the function is implemented. |
APPEND l_function TO c_operands. |
Changing parameter: Table with descriptions of the function |
* ... further descriptions |
|
endcase. |
|
endmethod. |