TOBJ - fix xslt serialization dump (#5247)

This commit is contained in:
Frederik Hudák 2022-01-04 17:06:54 +01:00 committed by GitHub
parent b67c06dc2d
commit faab3bb0b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,6 +319,12 @@ CLASS ZCL_ABAPGIT_OBJECT_TOBJ IMPLEMENTATION.
ls_tobj = read_extra( ls_objh-objectname ). ls_tobj = read_extra( ls_objh-objectname ).
IF ls_tobj-tvdir-detail = ``.
" to prevent xslt serialization error,
" force clear if numc field is empty
CLEAR ls_tobj-tvdir-detail.
ENDIF.
io_xml->add( iv_name = 'TOBJ' io_xml->add( iv_name = 'TOBJ'
ig_data = ls_tobj ). ig_data = ls_tobj ).