issue #4032, downport (#4033)

This commit is contained in:
Lars Hvam 2020-10-16 08:36:23 +02:00 committed by GitHub
parent 6666b40c04
commit 958c894d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,10 +85,12 @@ CLASS zcl_abapgit_object_pdts IMPLEMENTATION.
DATA li_child_iterator TYPE REF TO if_ixml_node_iterator. DATA li_child_iterator TYPE REF TO if_ixml_node_iterator.
DATA li_attributes TYPE REF TO if_ixml_named_node_map. DATA li_attributes TYPE REF TO if_ixml_named_node_map.
DATA lv_name TYPE string. DATA lv_name TYPE string.
DATA li_container TYPE REF TO if_swf_cnt_container.
"Todo: get_user_container strips out system elements, but to_xml adds them back in (hardcoded internally) "Todo: get_user_container strips out system elements, but to_xml adds them back in (hardcoded internally)
" Dirty hack further down to remove them from XML until we get this to work properly " Dirty hack further down to remove them from XML until we get this to work properly
ii_task->get_user_container( )->to_xml( li_container = ii_task->get_user_container( ).
li_container->to_xml(
EXPORTING EXPORTING
include_null_values = abap_true include_null_values = abap_true
include_initial_values = abap_true include_initial_values = abap_true