Skip to content

Commit

Permalink
longtexts: workaround strange object names dump (abapGit#7077)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp authored Nov 15, 2024
1 parent 8f793b7 commit aa2e082
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/objects/texts/zcl_abapgit_longtexts.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,21 @@ CLASS zcl_abapgit_longtexts IMPLEMENTATION.
ENDIF.

ELSEIF iv_longtext_id IS NOT INITIAL.
IF iv_main_lang_only = abap_true.
SELECT * FROM dokil
INTO TABLE lt_dokil
WHERE id = iv_longtext_id
AND object LIKE lv_object ESCAPE '#'
AND masterlang = abap_true
ORDER BY PRIMARY KEY.
ELSE.
SELECT * FROM dokil
INTO TABLE lt_dokil
WHERE id = iv_longtext_id
AND object LIKE lv_object ESCAPE '#'
ORDER BY PRIMARY KEY.
IF lv_object NA '#'.
IF iv_main_lang_only = abap_true.
SELECT * FROM dokil
INTO TABLE lt_dokil
WHERE id = iv_longtext_id
AND object LIKE lv_object ESCAPE '#'
AND masterlang = abap_true
ORDER BY PRIMARY KEY.
ELSE.
SELECT * FROM dokil
INTO TABLE lt_dokil
WHERE id = iv_longtext_id
AND object LIKE lv_object ESCAPE '#'
ORDER BY PRIMARY KEY.
ENDIF.
ENDIF.
ELSE.

Expand Down

0 comments on commit aa2e082

Please sign in to comment.