来源资料待手动核验
A
项目简介
TVARVC Helper
abaptvarvcdotabapdeveloper-tools
兼容性
ABAP community catalog信息不足
TVARVC Helper
A TVARVC helper class that makes easy and unique the process of selecting configuration data from database.
STVARV;TVARVC Helper.DATA go_tvarvc TYPE REF TO zif_core_tvarvc.
DATA gx_tvarvc TYPE REF TO zcx_core_tvarvc.
CONSTANTS gc_tvarvc_entry TYPE string VALUE 'Z_TEST_TVARVC_SELECT_OPTIONS'.
CREATE OBJECT go_tvarvc TYPE zcl_core_tvarvc.
TRY.
gt_tvarvc = go_tvarvc->read_select_options( gc_tvarvc_entry ).
CATCH zcx_core_tvarvc INTO gx_tvarvc.
gx_tvarvc->raise_message( ).
ENDTRY.
Main class is ZCL_CORE_TVARVC.
Find methods of TVARVC Helper below aside of its documentation.
Read a single parameter. Value is returned into a flat structure type of rsparam_tt.
Example: Z_TEST_TVARVC_PARAMETER.
See source code here.
Read a single parameter with values splitted by a separator. Values are returned into a internal table type of rsparam_tt.
Example: Z_TEST_TVARVC_SELECT_OPTIONS.
See source code here.
Read a select options values. Values are returned into a internal table type of rsparam_tt.
Example: Z_TEST_TVARVC_SELECT_OPTIONS_T.
See source code here.