skip initial xml(#478) and fix newline(#42)

This commit is contained in:
larshp 2017-01-21 07:59:40 +00:00
parent 039fdad694
commit e73b7973c6
2 changed files with 6 additions and 2 deletions

View File

@ -373,6 +373,9 @@ CLASS lcl_objects_files IMPLEMENTATION.
CONCATENATE LINES OF it_abap INTO lv_source SEPARATED BY gc_newline.
* when editing files via eg. GitHub web interface it adds a newline at end of file
lv_source = lv_source && gc_newline.
ls_file-path = '/'.
ls_file-filename = filename( iv_extra = iv_extra
iv_ext = 'abap' ). "#EC NOTEXT

View File

@ -222,6 +222,7 @@ CLASS lcl_xml_output IMPLEMENTATION.
li_doc = cl_ixml=>create( )->create_document( ).
CALL TRANSFORMATION id
OPTIONS initial_components = 'suppress'
SOURCE (lt_stab)
RESULT XML li_doc.