@pxmsoft/cap-adt
v0.11.0
Published
CAP plugin for integration with SAP ABAP ADT (ABAP Development Tools)
Readme
CAP ADT Plugin
A SAP Cloud Application Programming Model (CAP) plugin for integrating with SAP ABAP ADT (ABAP Development Tools) servers.
This plugin is based on the abap-adt-api package.
Installation
npm install @pxmsoft/cap-adtConfiguration
Add to your CAP project's package.json:
{
"cds": {
"requires": {
"cap-adt": {
"kind": "credstore",
"enabled": true,
"server": {
"url": "http://your-sap-system:8000",
"username": "your-username",
"password": "your-password"
}
}
}
}
}Or use environment variables:
ADT_URL- SAP system URLADT_USERNAME- UsernameADT_PASSWORD- PasswordADT_CLIENT- Optional client numberADT_LANGUAGE- Optional language
Usage
The plugin automatically initializes when loaded by CAP. Access the ADT client programmatically:
import { ADTPlugin } from "@pxmsoft/cap-adt";
const client = ADTPlugin.getClient();
const nodes = await client.getNodeContents("DEVC/K", "$TMP");BTP Requirements
SAP BTP Credential Store
{
"authentication": {
"type": "basic"
}
}License
Apache-2.0
