abapGit/docs/other-background-mode.md
g-back 4c9a9b0ad9
Update Docs (#3816)
* Update images (v1_99_0)

* Change image to screenshot of latest version

* Add some clarificaitons, use new terminology

* Add page for background mode

* add mention of zabapgit_full

* Add entry for background in db utils

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-09-01 16:20:09 +02:00

39 lines
1.4 KiB
Markdown

---
title: Background Mode
category: other
order: 80
---
abapGit can pull or push in background mode. This setting has to be activated on the repository-level.
### Activating Background Mode
* Navigate to a repository and select "Advanced" -> "Background Mode"
![](img/background_setting.png)
* Here you can define the action that will be executed in background mode, by default the setting is "Do Nothing".
![](img/background_2.png)
* To activate an automatic pull for a repository, select "Automatic pull". After saving, a background icon will appear next to the branch name
![](img/background_3.png)
* You can run the action immediately by clicking on "Run background logic". Note: this will execute the background logic for **ALL** repositories with background mode enabled.
### Overview
* To get an overview of all repositories that have background mode enabled, navigate from the Repository List to "Settings" -> "Database Utility"
![](img/background_5.png)
* The relevant repositories will have the type "BACKGROUND".
![](img/background_4.png)
### Defining a Job
* To periodically run the background logic, you can define a job with transaction `SM36`.
* Create a step for program `ZABAPGIT` (or `ZABAPGIT_STANDALONE`, depending on which version of abapGit you are using). This will execute all defined background activities.
* You can check the log of the job with transaction `SM37`