mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
ENHO SMIM: fix dumps
This commit is contained in:
parent
3370eecc72
commit
a6f623a4a1
|
@ -409,12 +409,31 @@ CLASS lcl_object_enho IMPLEMENTATION.
|
||||||
lv_shorttext TYPE string,
|
lv_shorttext TYPE string,
|
||||||
lt_impl TYPE enh_badi_impl_data_it.
|
lt_impl TYPE enh_badi_impl_data_it.
|
||||||
|
|
||||||
|
FIELD-SYMBOLS: <ls_impl> LIKE LINE OF lt_impl,
|
||||||
|
<ls_values> LIKE LINE OF <ls_impl>-filter_values,
|
||||||
|
<ls_filter> LIKE LINE OF <ls_impl>-filters.
|
||||||
|
|
||||||
|
|
||||||
lo_badi_impl ?= ii_enh_tool.
|
lo_badi_impl ?= ii_enh_tool.
|
||||||
|
|
||||||
lv_shorttext = lo_badi_impl->if_enh_object_docu~get_shorttext( ).
|
lv_shorttext = lo_badi_impl->if_enh_object_docu~get_shorttext( ).
|
||||||
lv_spot_name = lo_badi_impl->get_spot_name( ).
|
lv_spot_name = lo_badi_impl->get_spot_name( ).
|
||||||
lt_impl = lo_badi_impl->get_implementations( ).
|
lt_impl = lo_badi_impl->get_implementations( ).
|
||||||
|
|
||||||
|
LOOP AT lt_impl ASSIGNING <ls_impl>.
|
||||||
|
* make sure the XML serialization does not dump, field type = N
|
||||||
|
LOOP AT <ls_impl>-filter_values ASSIGNING <ls_values>.
|
||||||
|
IF <ls_values>-filter_numeric_value1 CA space.
|
||||||
|
CLEAR <ls_values>-filter_numeric_value1.
|
||||||
|
ENDIF.
|
||||||
|
ENDLOOP.
|
||||||
|
LOOP AT <ls_impl>-filters ASSIGNING <ls_filter>.
|
||||||
|
IF <ls_filter>-filter_numeric_value1 CA space.
|
||||||
|
CLEAR <ls_filter>-filter_numeric_value1.
|
||||||
|
ENDIF.
|
||||||
|
ENDLOOP.
|
||||||
|
ENDLOOP.
|
||||||
|
|
||||||
io_xml->add( iv_name = 'TOOL'
|
io_xml->add( iv_name = 'TOOL'
|
||||||
ig_data = iv_tool ).
|
ig_data = iv_tool ).
|
||||||
io_xml->add( ig_data = lv_shorttext
|
io_xml->add( ig_data = lv_shorttext
|
||||||
|
|
|
@ -191,7 +191,7 @@ CLASS lcl_object_smim IMPLEMENTATION.
|
||||||
not_found = 3
|
not_found = 3
|
||||||
permission_failure = 4
|
permission_failure = 4
|
||||||
OTHERS = 5 ).
|
OTHERS = 5 ).
|
||||||
IF sy-subrc <> 0 AND sy-subrc <> 3.
|
IF sy-subrc <> 0 AND sy-subrc <> 2 AND sy-subrc <> 3.
|
||||||
lcx_exception=>raise( 'error from mime api->get:' && sy-msgv1 ).
|
lcx_exception=>raise( 'error from mime api->get:' && sy-msgv1 ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user