method INIT_GLOBALS

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
method INIT_GLOBALS .
* get message manager
data lo_api_controller type ref to if_wd_controller.
data lo_message_manager type ref to if_wd_message_manager.
lo_api_controller ?= wd_This->Wd_Get_Api( ).
wd_this->GV_BTD_TYPE = /ain/cl_c=>DOC_TYPE_OUTBOUND_EXT.
wd_this->GV_ACTION_TYPE = 'RTNR'.
CALL METHOD lo_api_controller->GET_MESSAGE_MANAGER
RECEIVING
MESSAGE_MANAGER = WD_THIS->MSG_MGR
.
TOGGLE_ALL_UI( ZCL_WD_ASSISTANCE=>GC_STAGE_BEFORE_SCAN ).
ZCL_GUI_UTILS=>SETUP_INPUT_BY_APP_PARAM( IR_CONTROLLER = wd_this->WD_GET_API( ) IR_INPUT_EL = WD_CONTEXT->GET_CHILD_NODE( NAME = wd_this->WDCTX_INPUT )->GET_ELEMENT( ) iv_location = WD_ASSIST->gv_location ).
endmethod.