SK SKYVVA Documentation

How to query limit records and all records from SAP Business Bydesign?

Introduction

This tutorial will learn How to  query limit records by using $skip and $top  and query all records of the Business partners Collection in SAP Business ByDesign using operation GET in SAP business Bydesign Adapter. This adapter is useful for user who want to get records from sap business ByDesign to create in salesforce.

Pre-required

How to query limit records using $skip and $top?

Step1: Create Integration

Step 2: Create Connection destination of sap business Bydesign

Fill Host URL, Username, Password, URL path of sap business ByDesign, Company Database which is collection of sap business ByDesign that user want to use. In this case we will learn how to query Business partner.

Step 3: Generate Message type business partner.

To Generate Message type, we need to have Metadata Provider and Repository. Go to Repository  and click Import SAP Metadata.

We can using Search function to find Business Partner then click the BusinessPartnerCollection and click Create Message Type button.

Step4: Create Request Response Interfaces.

To linked response interface and request interface , we need go to Request Interface detail and scroll down to find field response interface and put the response interface with that field.

 Step 5 : Create SAP Business Bydesign Adapter.

Go to Sap control board and click adapter tap->click new for create New Adapter.

In this case, we will learn how to get records with limit 2 records from sap business bydesign .

Select the request Interface and click Manual process button

How to query all records?

We can get all records from sap business ByDesign by tick the flag pagination. In the flag pagination meaning that we will get all data from sap business ByDesign for skip 0 meaning that we will get records from 1 and Top 20 meaning that we will get response 20 records in one response. We can using the same interfaces and adapter.

It will get all records from sap business by design and in one response it get 20 records.

Open this article in the interactive viewer →