-
实施方法 GET_DYNAMIC_FIELD_OBJECT
- 参数
- 代码
DATA: lt_source TYPE TABLE OF string. DATA: lv_name TYPE sy-repid VALUE 'ZTEMP_GET_DYNAMIC_OBJECT', lv_form(30) TYPE c VALUE 'FRM_GENERATE_OBJECT', lv_message(240) TYPE c, lv_line TYPE i, lv_word(72) TYPE c. FIELD-SYMBOLS: <fs_dynamic_object> TYPE any. APPEND 'REPORT' && ` ` && lv_name && '.' TO lt_source. APPEND 'FORM' && ` ` && lv_form && ` ` && 'USING ref_fs TYPE any.' TO lt_source. APPEND 'DATA: lo_pointer TYPE REF TO data.' TO lt_source. "定义一个指针对象 APPEND 'CREATE DATA lo_pointer TYPE' && ` ` && iv_ref_field && '.&#
- 参数