Sort includes (#5352)

In some systems, function modules RS_GET_ALL_INCLUDES returns an include *T00. Where *T00 include is not returned, abapGit adds to the internal table. This results in different sorting order in different systems. Sort to keep the same order.
This commit is contained in:
yellappam 2022-02-15 18:37:58 +13:00 committed by GitHub
parent c1dcebd8aa
commit 1246e2718f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,6 +626,7 @@ CLASS zcl_abapgit_object_fugr IMPLEMENTATION.
APPEND lv_maintviewname TO rt_includes.
ENDIF.
SORT rt_includes.
IF lines( rt_includes ) > 0.
" check which includes have their own tadir entry
" these includes might reside in a different package or might be shared between multiple function groups