Git client for ABAP
Go to file
CCapa 13f84140f4 Sapscript : sequence of Windows in tdlines files (#2191)
* Sapscript : sequence of Windows in tdlines files

Hello Lars,

You can find a code modification in the method _read_form of class zcl_abapgit_object_form related to the issue #2188
I have added a logic to sort by windows name the contains of the internal table ET_LINES . It allows to have always thre same sequence of  windows code in the file (xxxxxxxxxxgit.form.tdlines). Then file comparison will work with all export.

Regards
Christophe

* Sapscript : sequence of Windows in tdlines files

Hello Lars,

I have moved the code to a new private method _sort_tdlines_by_windows
But I don't add 'ASSERT sy-subrc = 0.'. 
The reason is that during my tests I found some windows in the form without elements inside (windows is not used anymore but it sill exists. The devlopper ddin't remove it). In this case the result of the ASSERT is a dump.
Using the loop from SY-TABIX there is no risk. If no entry exists in the internal table then the loop is not executed.

if needed I can add the following condition before doing the loop :
       IF line_exists( lt_lines[ tdformat = lv_elt_windows
                                tdline = ls_form_windows-tdwindow ] ).
Christophe

* Sapscript : sequence of Windows in tdlines files

I have done the adjustments for the CLEAR and to be  compatible with 702

Christophe

* Sapscript : sequence of Windows in tdlines files

Whitespace at end of line removed
2018-12-08 13:26:09 +01:00
docs Docs: Authorizations (#2186) 2018-12-06 08:12:58 +01:00
src Sapscript : sequence of Windows in tdlines files (#2191) 2018-12-08 13:26:09 +01:00
.abapgit.xml ignore abaplint.json 2018-08-08 15:02:20 +02:00
.gitignore gitignore and package.json improvements 2018-12-03 10:08:55 +01:00
.travis.yml use node 10 2018-10-03 04:54:21 +02:00
abaplint.json update to latest abaplint (#2172) 2018-12-02 09:06:31 +01:00
changelog.txt 1.80.0 (#2136) 2018-11-23 12:48:53 +01:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2017-10-16 17:31:46 -02:00
CONTRIBUTING.md docs: move on development 2018-06-13 15:05:23 +00:00
LICENSE Create LICENSE 2014-07-08 15:07:58 +02:00
package.json gitignore and package.json improvements 2018-12-03 10:08:55 +01:00
README.md Update screenshot (#1719) 2018-07-29 14:17:22 +02:00
travis.sh move builds, #1136 2018-01-14 13:24:39 +00:00

Build Status abaplint Slack

abapGit

Git client for ABAP

Works with: GitHub, GitLab, Assembla, Bitbucket, abapGitServer, SCP, AWS, TFS and more

ABAP Version: 702 or higher

Latest build: zabapgit.abap

Design Goals

  • Easy installation
  • Easy upgrade
  • Small system footprint
  • Code readable in git repository

Documentation/Guides

http://docs.abapgit.org

Projects using abapGit

See dotabap.org

FAQ

For questions/comments/bugs/feature requests/wishes please create an issue

abapgit