All Projects → SAP-samples → byd-api-samples

SAP-samples / byd-api-samples

Licence: Apache-2.0 license
A set of Postman collections that enables users to consume SAP Business ByDesign web services.

Projects that are alternatives of or similar to byd-api-samples

smb-summit-hackathon
Build Blocks for the SAP SMB Summit Hackathons.
Stars: ✭ 23 (-53.06%)
Mutual labels:  sample, sap-business-bydesign
cloud-abap-rap
This repository contains several examples how to develop with the ABAP RESTful Application Programming Model (RAP) in SAP BTP, ABAP environment.
Stars: ✭ 98 (+100%)
Mutual labels:  sample
hcp-portal-service-samples
Code samples of site and page templates, applications, widgets, shell plugins and more, intended to be used as references for development of custom content for SAP HANA Cloud Platform portal service sites.
Stars: ✭ 29 (-40.82%)
Mutual labels:  sample
NewmanPostman VSTS Task
A task for Azure DevOps Pipelines to run newman tests.
Stars: ✭ 31 (-36.73%)
Mutual labels:  postman
postman-exporter
Postman exporter for Prometheus
Stars: ✭ 13 (-73.47%)
Mutual labels:  postman
teched2021-developer-keynote
SAP TechEd 2021 Developer Keynote: Improving Developers' Lives.
Stars: ✭ 23 (-53.06%)
Mutual labels:  sample
AsyncVoid
Project related to the site's posts about async void.
Stars: ✭ 32 (-34.69%)
Mutual labels:  sample
cloud-sample-spaceflight-java
Build Java applications with the application programming model on SAP Cloud Platform.
Stars: ✭ 49 (+0%)
Mutual labels:  sample
3dsMax-Python-HowTos
3ds Max python samples
Stars: ✭ 86 (+75.51%)
Mutual labels:  sample
axon
Autogenerate Integration Tests
Stars: ✭ 49 (+0%)
Mutual labels:  postman
vapi
vAPI is Vulnerable Adversely Programmed Interface which is Self-Hostable API that mimics OWASP API Top 10 scenarios through Exercises.
Stars: ✭ 674 (+1275.51%)
Mutual labels:  postman
php-finder refactoring-kata
🐘🔍Incomprehensible Finder Refactoring Kata port for PHP
Stars: ✭ 22 (-55.1%)
Mutual labels:  sample
azure-sdk-for-python-keyvault-secrets-get-set-managedid
How to set and get secrets from Azure Key Vault with Azure Managed Identities and Python
Stars: ✭ 13 (-73.47%)
Mutual labels:  sample
sample-react-ts-app
Sample TypeScript + React companion app to my talks
Stars: ✭ 17 (-65.31%)
Mutual labels:  sample
cloud-platform-iot-starterkit
This repository provides information and code for working with SAP Cloud Platform Internet of Things. It enables users to get an end-to-end IoT solution with either real hardware or simulators up and running fast and start their own extensions and usage based on this.
Stars: ✭ 276 (+463.27%)
Mutual labels:  sample
go-echo-boilerplate
The fastest way to build a restful API with golang and echo framework. Includes common required features for modern web applications. A boilerplate project with golang and Echo.
Stars: ✭ 53 (+8.16%)
Mutual labels:  postman
play-scala-streaming-example
Example Play application showing Comet and Server Sent Events in Scala
Stars: ✭ 42 (-14.29%)
Mutual labels:  sample
GStreamer-Python
Fetch RTSP Stream using GStreamer in Python and get image in Numpy
Stars: ✭ 81 (+65.31%)
Mutual labels:  sample
flutter-animations
medium.com/flutter-jp/implicit-animation-b9d4b7358c28
Stars: ✭ 37 (-24.49%)
Mutual labels:  sample
ConductOfCode
Code examples for the blog
Stars: ✭ 15 (-69.39%)
Mutual labels:  sample

SAP Business ByDesign - API Samples

REUSE status

Description

This repository provides Postman collections with example SAP Business ByDesign web service requests and can be used to get insights how to integrate and extend SAP Business ByDesign.

SAP Business ByDesign is a cloud ERP solution for small and mid-market companies. SAP Business ByDesign (ByD) is designed as open business process platform and provides a comprehensive portfolio of APIs and integration capabilities. You find an overview of all ByD APIs in the SAP Community blog post SAP Business ByDesign - API Overview. The Postman collections of this repository illustrate hands-on how to access master data, business documents and analytical data in context of ByD business processes with a focus on ByD OData APIs. Check my blog post SAP Business ByDesign – OData API Examples for comments and questions regarding this repository.

The repository is structured in API sample packages. Each package contains Postman collections, a Postman environment and ByD Custom OData Services required to run the OData requests of the Postman collections. You find the sample ByD Custom OData Services in folder "Custom OData Services" and the Postman collections and environments in folder "Postman". Postman collections and environments that belong together have the same name. The ByD Custom OData Services are used by multiple Postman collections; you find a list of required ByD Custom OData Services in the description of each Postman collection.

This repository contains the following API sample packages:

  • Analytics: Access ByD built-in analytics incl. KPIs, reports and data sources
  • Master Data: Access ByD master data objects using APIs
    • Organizational Structure
    • Material
    • Service Product
    • Sales Price
    • Business Partner
    • Customer
    • Supplier
    • Employee and Position
    • Code lists
  • Reference Scenarios: Run ByD business processes using APIs to get insights how to create, change and read involved business documents and how to create business document relationships to achieve a meaningful document flow
    • Lead to opportunity to quote
    • Order to cash for services
    • Procure to pay for services
    • Field service and repair
    • Procure to stock
    • Sell from stock
    • Drop shipment
    • Make to stock
    • Clear due items using bank statements
  • Projects: Create, change and read cost collecting projects and customer projects
    • Cost collection project with task hierarchy
    • Cost collecting project with project team and work
    • Customer project with planning data
    • Sell project-based services (sales order > project > project time recordings)
  • Sales and Commerce Scenarios: Run ByD sales and commerce processes using APIs to get insights how to create, change and read involved business documents and how to create business document relationships to achieve a meaningful document flow.
    • Sell from stock with external payment
    • Create customer invoices with external payment
    • Customer return to stock
    • Pre-confirm payments using clearing house statements
    • Confirm payments using bank statements
    • Create sales orders using a nested create, batch and node-by-node
    • Create sales orders with attachments
    • Create sales orders with externally provided prices, discounts and surcharges
  • Internal Logistics: Run internal logistical processes using APIs
    • Goods movement
  • New Business: Run processes to generate new business such as leads, opportunities and quotes
    • Create Sales Quote with net price components

Please check the description of the respective Postman collection for more information.

Requirements

Users must be familiar with SAP Business ByDesign, and with Postman.

Users must have an SAP Business ByDesign license. This is a paid product, no trial version is available at this time.

Download and Installation

  1. Install Postman API Development Environment
  2. Download the example ByD Custom OData Services, Postman collections and Postman environments from GitHub as zip-file

Configuration

All sample Postman collections are tailored to run on SAP Business ByDesign Partner Demo Tenants (reference systems) with preconfigured and loaded sample data provided by SAP.
Nevertheless you can use the Postman collections and sample Custom OData Services in other ByD systems as well, if you adopt Postman environment variables and Postman requests according the business configuration and master data of your ByD system.

Steps to setup and run the API sample requests:

  1. SAP Business ByDesign: Open ByD work center view "Application and User Management - OData Services" and upload the Custom OData Services from folder "Custom OData Services".
  2. Postman: Open the desktop app Postman and import the Postman collections and Postman environments from folder "Postman". As result you should have a number of collections and environments uploaded to Postman. The environments contain test data and system access information. The collections contain multiple folders and sub-folders, each with a sequence of web service requests and scripts that run before and after the web service request. Each environment belongs to a collection (you can easily identify the collections and environments that belong together by their names).
  3. SAP Business ByDesign: Check the ByD business configuration and configure ByD web services. You find instructions how to configure ByD in the description of each Postman collection.
  4. Postman: Open the Postman environment and maintain the variables
    • TenantHostname (for example my123456.sapbydesign.com)
    • User and Password (enter a business user with access to all work center views listed in the description of the Postman collection)
    • CommunicationUser and CommunicationUserPW (enter the communication user used for the communication arrangements created as described in the description of the Postman collection)
  5. Postman: Open the Postman Runner. The runner is used to automatically run a sequence of OData requests.
  6. Postman Runner:
    1. Select the collection and the folder of your choice
    2. Select the environment that belongs to the collection
    3. Select the check boxes “Keep variable values” and “Run collection without using stored cookies”
    4. Click on “Run …”
      • Make sure you always choose collections and environments that belong together – otherwise it does not work!
      • The run protocol provides you with test results and document IDs that you can use to find the corresponding objects in the ByD UI
  7. Postman: Alternatively to the Postman Runner you can run the OData requests manually as well:
    1. Open the Postman collection folder of your choice
    2. Select the Postman environment (Make sure you always choose collections and environments that belong together)
    3. Select the request and click “Send”
    4. Select the next request and click “Send”
    5. … (always keep the order of the OData requests and do not skip any OData request)

How to obtain support

This repository is provided "as-is"; no support is available.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].