mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Deserialize textpool for some objects (#5417)
* Deserialize textpool for some objects Fixes inserting the textpool for objects that are not handled by `RPY_PROGRAM_INSERT`. This applies for example to function groups and exit includes (`zx...`). * Fix deserialize_textpool Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
014d40db1c
commit
453c430723
|
@ -541,13 +541,6 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION.
|
||||||
STATE lv_state. "of the mail program -> insert empty textpool
|
STATE lv_state. "of the mail program -> insert empty textpool
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ELSE.
|
ELSE.
|
||||||
IF lines( it_tpool ) = 1 AND lv_language = mv_language.
|
|
||||||
READ TABLE it_tpool WITH KEY id = 'R' TRANSPORTING NO FIELDS.
|
|
||||||
IF sy-subrc = 0.
|
|
||||||
RETURN. "No action because description in main language is already there
|
|
||||||
ENDIF.
|
|
||||||
ENDIF.
|
|
||||||
|
|
||||||
INSERT TEXTPOOL iv_program
|
INSERT TEXTPOOL iv_program
|
||||||
FROM it_tpool
|
FROM it_tpool
|
||||||
LANGUAGE lv_language
|
LANGUAGE lv_language
|
||||||
|
|
Loading…
Reference in New Issue
Block a user