Last active
April 12, 2026 09:20
-
-
Save larshp/fc7c4c205116a74a801fa3c850e6b7b3 to your computer and use it in GitHub Desktop.
Version code inspector variant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| METHOD zif_abapgit_exit~serialize_postprocess. | |
| CONSTANTS lc_variant TYPE sci_chkv VALUE 'FOOBAR'. | |
| CONSTANTS lc_package LIKE iv_package VALUE 'ZFOOBAR'. | |
| IF iv_package = lc_package. | |
| * requires https://github.com/larshp/upDOWNci | |
| DATA(lv_xml) = zcl_updownci=>build_xml( | |
| iv_user = '' | |
| iv_name = lc_variant ). | |
| DATA(lv_xstr) = zcl_abapgit_convert=>string_to_xstring_utf8( lv_xml ). | |
| INSERT VALUE #( | |
| file = VALUE #( | |
| path = '/src/' | |
| filename = to_lower( lc_variant ) && '.xml' | |
| sha1 = zcl_abapgit_hash=>sha1_blob( lv_xstr ) | |
| data = lv_xstr ) | |
| item = VALUE #( ) ) INTO TABLE ct_files. | |
| ENDIF. | |
| ENDMETHOD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment