Saturday, October 10, 2020

Thursday, October 8, 2020

Tuesday, October 6, 2020

SAP API Management - Quota Policy - Flow Variables

Scenario: You want to pass the quota available count and quota used count in response

SAP API Management - Fault Rules

 Scenario: You want to send custom message using fault rules in case of Quota error

Monday, October 5, 2020

SAP API Management - Quota Policy - Conditional Quota Count

 Scenario: You want to assign different quotas based on client application

SAP API Management - Quota Policy - Flexi Type

Scenario: You want to start the counter for the Quota policy when the 1st request is received.

SAP API Management - Quota Policy - Rolling Window Type

  Scenario: You want to activate quota policy using rolling window type. In this case, counter will not be reset after particular interval of time.

SAP API Management - Quota Policy - Calendar Type

 Scenario: You want to activate quota policy from a particular datetime.

Sunday, October 4, 2020

SAP API Management - Quota Policy - Message Weight

 Scenario: You want to limit API calls/time interval based on message weight. 

SAP API Management - Quota Policy - Unique Counters

 Scenario: You want to limit API calls based on time interval for each client application

SAP API Management - Spike Arrest Policy

  Scenario: Suppose your backend system can handle 2 request per minute.

OAS in SAP API Management

 Steps:

  1. Go to API portal -> Develop -> Create in API Designer

Saturday, October 3, 2020

OAS 3.0 Features

 In this blog, we will compare the differences between OAS 2.0 and OAS 3.0

Swagger and OAS

 What is OAS?

Open API Specification is a specification for how to create an API definition file. You can use one of two structured data formats: YAML or JSON.

Friday, October 2, 2020

Markdown Basics

 Markdown is a way to style on the web. The examples are given below.

Monday, September 28, 2020

SAP API Management - Response Cache

Scenario: Instead of hitting your backend server multiple times, you want to cache the response for the data which is not updated frequently. 

Sunday, September 27, 2020

Ariba CIG Basics

To start with CIG,  download and install CIG AddOn in SAP ERP or SAP S/4 HANA and enable CIG settings on Ariba Apps. Also, download and install Cloud Connector within customer firewall. Cloud connector will be used for inbound communication from CIG to S4 HANA/ ERP.

Friday, September 25, 2020

Saturday, September 12, 2020

SAP API Management - Quota Policy

 Scenario: You want to limit API calls based on time interval.

SAP API Management - Conditional Flow

Scenario: Client always wants response in XML format. Now, if client sends GET request to /json path, target system sends a JSON response. So, there should be a conversion rule to convert JSON to XML before sending response back to the client.

Create XSD using Eclipse

  Steps:

1. Create a new Project and a new folder under that project.

2. If you want, you can change the default namespace.

Friday, September 11, 2020

Create WSDL file using Eclipse

 Steps:

1. Create a new Project and a new folder under that project.

Thursday, September 10, 2020

SAP API Management - Assign Message Policy

 Scenario: While sending the request, Client sends the search parameter in the form of query but Back-end system excepts it as a header parameter

Tuesday, September 8, 2020

SAP API Management - XML to JSON conversion

 Scenario: Target system returns the response in XML format. But Client wants the response in JSON format.

SAP API Management - JSON to XML conversion

 Scenario: Target system returns the response in JSON format. But Client wants the response in XML format.

Sunday, April 12, 2020

SAP PI/PO - Use Regex expression in EDI Separator Channel

Scenario: Use two specific ISA IDs in same EDI Separator sender channel


Solution: Simply use OR operator i.e. | in channel