mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
Avoid use of the RS package in BASIS systems (#1874)
* objects: use a different constant for 'R3TR' The constant rs_c_pgmid_r3tr comes from the package RS which is not available in pure BASIS systems. The constant seok_pgmid_r3tr comes from the package SEOK and abapGit is already using another constants from this package - seok_access_*. Related to #1826 * objects: replace rs_c_true with abap_true The constant rs_c_true comes from the package RS which is no available in pure BASIS systems. I believe that the constant rs_c_true was used by mistake. The constant was assigned to a variable which is of the type abap_bool and the variable is initialized with abap_false. Related to #1826
This commit is contained in:
parent
2fa5ba0dcf
commit
6a01862cd6
|
@ -117,7 +117,7 @@ CLASS ZCL_ABAPGIT_OBJECTS_GENERIC IMPLEMENTATION.
|
|||
FIELD-SYMBOLS <ls_object_method> LIKE LINE OF mt_object_method.
|
||||
|
||||
|
||||
ls_cts_object_entry-pgmid = rs_c_pgmid_r3tr.
|
||||
ls_cts_object_entry-pgmid = seok_pgmid_r3tr.
|
||||
ls_cts_object_entry-object = ms_item-obj_type.
|
||||
ls_cts_object_entry-obj_name = ms_item-obj_name.
|
||||
INSERT ls_cts_object_entry INTO TABLE lt_cts_object_entry.
|
||||
|
@ -160,7 +160,7 @@ CLASS ZCL_ABAPGIT_OBJECTS_GENERIC IMPLEMENTATION.
|
|||
IF sy-subrc = 0.
|
||||
lv_client = sy-mandt.
|
||||
|
||||
ls_cts_object_entry-pgmid = rs_c_pgmid_r3tr.
|
||||
ls_cts_object_entry-pgmid = seok_pgmid_r3tr.
|
||||
ls_cts_object_entry-object = ms_item-obj_type.
|
||||
ls_cts_object_entry-obj_name = ms_item-obj_name.
|
||||
INSERT ls_cts_object_entry INTO TABLE lt_cts_object_entry.
|
||||
|
@ -545,9 +545,9 @@ CLASS ZCL_ABAPGIT_OBJECTS_GENERIC IMPLEMENTATION.
|
|||
CONTINUE.
|
||||
ENDIF.
|
||||
IF ls_objkey-value = '*'.
|
||||
lv_is_asterix = rs_c_true.
|
||||
lv_is_asterix = abap_true.
|
||||
ENDIF.
|
||||
IF lv_is_asterix = rs_c_true.
|
||||
IF lv_is_asterix = abap_true.
|
||||
CONTINUE.
|
||||
ENDIF.
|
||||
IF NOT lv_where_statement IS INITIAL.
|
||||
|
|
Loading…
Reference in New Issue
Block a user