Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrdjan committed Feb 6, 2021
1 parent 53dbaf7 commit e004b45
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
10 changes: 5 additions & 5 deletions abap-api-tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ Command line tool for pattern based applications with ABAP/HANA systems.
npm install -g abap-api-tools
```

SAP NWRFC SDK dll or so libs are required for ABAP systems connectivity and shall be locally installed on your notebook. Check [where to download](https://launchpad.support.sap.com/#/notes/2573790) and [how to install](https://github.com/SAP/node-rfc/blob/master/doc/installation.md#sap-nwrfc-sdk-installation).
With [SAP NWRFC SDK](https://support.sap.com/en/product/connectors/nwrfcsdk.html) dll or so libs locally installed on your notebook, CLI tool can connect to ABAP systems. Check [where to download](https://launchpad.support.sap.com/#/notes/2573790) and [how to install](https://github.com/SAP/node-rfc/blob/master/doc/installation.md#sap-nwrfc-sdk-installation).

Without SAP NWRFC SDK, the `make` command and custom ui configurations can be used with [ABAP annotations sample](https://github.com/SAP/fundamental-tools/tree/sample).
Without [SAP NWRFC SDK](https://support.sap.com/en/product/connectors/nwrfcsdk.html), the `make` command and custom ui configurations can be used with [ABAP annotations sample](https://github.com/SAP/fundamental-tools/tree/sample).

SAP employees and developers in SAP internal network can also use [abap-api-tools docker image](https://github.com/SAP/fundamental-tools/blob/main/docker/abap-node.Dockerfile), with full functionality. The `abap` command shall be invoked with `docker exec abap-node` prefix:
You can also use the [docker image](https://github.com/SAP/fundamental-tools/blob/main/docker/abap-node.Dockerfile), without installing NodeJS or `abap-api-tools` on your notebook:

```shell
docker exec abap-node abap
docker exec cli abap
```

## Usage

Create project folder and maintain ABAP system(s) destinations in `sapnwrfc.ini` file, like:
Create project folder and maintain ABAP system(s) destinations in `sapnwrfc.ini` file, for example:

`sapnwrfc.ini`

Expand Down
4 changes: 2 additions & 2 deletions abap-api-tools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion abap-api-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "abap-api-tools",
"description": "ABAP api tools",
"version": "1.6.1",
"version": "1.6.2",
"homepage": "https://github.com/sap/fundamental-tools",
"author": "SAP",
"license": "Apache-2.0",
Expand Down
10 changes: 6 additions & 4 deletions docker/abap-node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
# Build:
#
# Copy the "nwrfcsdk" folder from https://github.wdf.sap.corp/ng-apps/nwrfcsdk to Dockerfile folder
#
# docker build --rm --no-cache -t abap-node -f abap-node.Dockerfile .
#
# Map your working folder to docker volume: /Users/bsrdjan/myapp -> /abap-api-tools:
# docker run --name abap-node -it -v /Users/bsrdjan/myapp:/abap-api-tools --env ABAP_API_TOOLS_WORKING_FOLDER=/abap-api-tools abap-node
#
# Start: docker start abap-node
# Usage: docker exec abap-node abap
# Stop: docker stop abap-node
# docker run --name cli -it -v /Users/bsrdjan/myapp:/abap-api-tools --env ABAP_API_TOOLS_WORKING_FOLDER=/abap-api-tools abap-node
#
# Start: docker start cli
# Usage: docker exec cli abap
# Stop: docker stop cli

FROM node:15

Expand Down

0 comments on commit e004b45

Please sign in to comment.