https://github.com/abappm/abap-diff3
Highlight the difference two or three string-tables (diff3)
https://github.com/abappm/abap-diff3
abap diff diff3 text
Last synced: 3 months ago
JSON representation
Highlight the difference two or three string-tables (diff3)
- Host: GitHub
- URL: https://github.com/abappm/abap-diff3
- Owner: abapPM
- License: mit
- Created: 2021-10-06T22:24:07.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-30T13:47:22.000Z (9 months ago)
- Last Synced: 2025-05-07T06:06:21.294Z (9 months ago)
- Topics: abap, diff, diff3, text
- Language: ABAP
- Homepage: https://abappm.com
- Size: 122 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

[](LICENSE)
[](https://github.com/abapPM/.github/blob/main/CODE_OF_CONDUCT.md)
[](https://api.reuse.software/info/github.com/abapPM/ABAP-Diff3)
# ABAP Diff3
Library to highlight the content difference between two or three string-tables (diff3).
NO WARRANTIES, [MIT License](LICENSE)
[ABAP-Diff3-Tests](https://github.com/abapPM/ABAP-Diff3-Tests) contains various test cases
## Diff3 Utils
This is a library to find differences between two string tables, generate and apply patches, and perform 3-way merging between an original and two changed string tables. It contains similar functionality to the [GNU Diffutils](https://www.gnu.org/software/diffutils/manual/diffutils.html) tools.
## Prerequisites
SAP Basis 7.4 or higher
A downport to SAP Basis 7.02 part of abapGit and available separately [here](https://github.com/abapGit/diff3_mirror).
## Installation
You can install ABAP Diff3 using [abapGit](https://github.com/abapGit/abapGit) either creating a new online repository for `https://github.com/abapPM/ABAP-Diff3` or downloading the repository [ZIP file](https://github.com/abapPM/ABAP-Diff3/archive/main.zip) and creating a new offline repository.
Recommended SAP package: `$DIFF3`.
## Usage
The [test classes](https://github.com/abapPM/ABAP-Diff3/blob/main/src/zcl_diff3.clas.testclasses.abap) contain examples for all interface methods.
## Contributions
All contributions are welcome! Read our [Contribution Guidelines](CONTRIBUTING.md), fork this repo, and create a pull request.
## Attribution
The implementation is a port of node-diff3 (https://github.com/bhousel/node-diff3, MIT license).
## About
Made with ❤ in Canada
Copyright 2025 apm.to Inc.
Follow [@marcf.be](https://bsky.app/profile/marcf.be) on Blueksy and [@marcfbe](https://linkedin.com/in/marcfbe) or LinkedIn