Skip to content

Ballerina SAP S/4HANA connectors related to sourcing and procurement

License

Notifications You must be signed in to change notification settings

ballerina-platform/module-ballerinax-sap.s4hana.procurement

Repository files navigation

Ballerina S/4HANA Sourcing & Procurement Connectors

Build codecov Trivy GraalVM Check GitHub Last Commit GitHub Issues

S/4HANA is a robust enterprise resource planning (ERP) solution, designed for large-scale enterprises by SAP SE.

This repository encompasses all Ballerina packages pertaining to the S/4HANA sourcing & procurement submodule. Notably:

  1. The ballerinax/sap.s4hana.api_inforecord_process_srv package offers APIs for seamless integration with the Purchasing Info Record API v1.0.0. This synchronous inbound service allows the creation, modification, and deletion of purchasing info records, complete with conditions. The service encompasses general data, purchasing organization data, and conditions.

Issues and projects

The Issues and Projects tabs are disabled for this repository as this is part of the Ballerina library. To report bugs, request new features, start new discussions, view project boards, etc., visit the Ballerina library parent repository.

This repository only contains the source code for the package.

Build from the source

Prerequisites

  1. Download and install Java SE Development Kit (JDK) version 17. You can download it from either of the following sources:

    Note: After installation, remember to set the JAVA_HOME environment variable to the directory where JDK was installed.

  2. Download and install Ballerina Swan Lake.

  3. Download and install Docker.

    Note: Ensure that the Docker daemon is running before executing any tests.

Build options

Execute the commands below to build from the source.

  1. To build all packages:

    ./gradlew clean build
  2. To run the tests in all packages:

    ./gradlew clean test
  3. To build the without the tests:

    ./gradlew clean build -x test
  4. To build only one specific package

    ./gradlew clean :procurement-ballerina:<api_name>:build
    API Name Connector
    api_inforecord_process_srv ballerinax/sap.s4hana.api_inforecord_process_srv
  5. To run tests against different environment:

    isTestOnLiveServer=true ./gradlew clean test 

    Note: isTestOnLiveServer is false by default, tests are run against mock server.

  6. To debug packages with a remote debugger:

    ./gradlew clean build -Pdebug=<port>
  7. To debug with the Ballerina language:

    ./gradlew clean build -PbalJavaDebug=<port>
  8. Publish the generated artifacts to the local Ballerina Central repository:

    ./gradlew clean build -PpublishToLocalCentral=true
  9. Publish the generated artifacts to the Ballerina Central repository:

    ./gradlew clean build -PpublishToCentral=true

Contribute to Ballerina

As an open-source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All the contributors are encouraged to read the Ballerina Code of Conduct.

Useful links

About

Ballerina SAP S/4HANA connectors related to sourcing and procurement

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published