
METHOD define.
*----------------------------------------------------------------------
* Title:
* A. Also make the function import(Fetch User Configurations) parameters as optional
*---------------------------------------------------------------------
* A. Also make the function import(Fetch User Configurations) parameters as optional
*----------------------------------------------------------------------
" Data Declarations
DATA:
lo_entity_type TYPE REF TO /iwbep/if_mgw_odata_entity_typ,
lo_property TYPE REF TO /iwbep/if_mgw_odata_property,
lo_action TYPE REF TO /iwbep/if_mgw_odata_action.
" Start of Code
CALL METHOD super->define( ).
" Mark the parameters as optional in case of 'FetchUserConfigurations' function import
lo_action = model->get_action( iv_action_name = ‘FetchUserConfigurations’ ).
lo_property = lo_action->get_input_parameter( iv_name = ‘EmployeeUser’ ).
lo_property->set_nullable( iv_nullable = abap_true ).
" End of Code
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 51 | |
| 37 | |
| 33 | |
| 33 | |
| 32 | |
| 31 | |
| 29 | |
| 27 |