mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 13:03:01 +08:00
Switch to Branch with long Name results in shortdu
#631 this is a workaround, code could be better
This commit is contained in:
parent
42e618c89b
commit
611efe018b
|
@ -390,7 +390,13 @@ CLASS lcl_popups IMPLEMENTATION.
|
||||||
ELSE.
|
ELSE.
|
||||||
REPLACE FIRST OCCURRENCE OF lv_head_suffix IN <ls_sel>-varoption WITH ''.
|
REPLACE FIRST OCCURRENCE OF lv_head_suffix IN <ls_sel>-varoption WITH ''.
|
||||||
READ TABLE lt_branches WITH KEY display_name = <ls_sel>-varoption ASSIGNING <ls_branch>.
|
READ TABLE lt_branches WITH KEY display_name = <ls_sel>-varoption ASSIGNING <ls_branch>.
|
||||||
ASSERT sy-subrc = 0.
|
IF sy-subrc <> 0.
|
||||||
|
* branch name longer than 65 characters
|
||||||
|
LOOP AT lt_branches ASSIGNING <ls_branch> WHERE display_name CS <ls_sel>-varoption.
|
||||||
|
EXIT. " current loop
|
||||||
|
ENDLOOP.
|
||||||
|
ENDIF.
|
||||||
|
ASSERT <ls_branch> IS ASSIGNED.
|
||||||
rs_branch = lo_branches->find_by_name( <ls_branch>-name ).
|
rs_branch = lo_branches->find_by_name( <ls_branch>-name ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user