Using PaaS API of Sales Condition Record

Objective

After completing this lesson, you will be able to Understand the function of PaaS API for Sales Condition Record.

PaaS API of Sales Condition Record

Business Example

As a developer, I'm able to consume PaaS API of Sales Condition Record to get and operate corresponding condition records by condition type, pricing attributes and condition record number in embedded steampunk of S/4HANA Public Cloud.

Key Features

  • The PaaS API of Sales Condition Record supports READ action and allows user to get condition record belong to multiple condition types:
    • Search Condition Record by Primary Key (Condition Record Number)
    • Search Condition Record by Multiple Condition Types
    • Search Condition Record by Pricing Attributes only
    • Search Condition Record by Condition Type and Pricing Attributes
  • The PaaS API of Sales Condition Record supports CREATE action and allows user to create condition record.
  • The PaaS API of Sales Condition Record supports UPDATE action and allows user to update condition record.
  • The PaaS API of Sales Condition Record supports DELETE action and allows user to delete condition record.

The screenshot shows an example of a PaaS API of Sales Condition Record.

The screenshot shows an example of a PaaS API of Sales Condition Record - Create.

The screenshot shows an example of a PaaS API of Sales Condition Record - Read.

The screenshot shows an example of a PaaS API of Sales Condition Record - Update.

The screenshot shows an example of a PaaS API of Sales Condition Record - Delete.

PaaS API cannot be executed directly, so the prepared example is only for showing the functionality purpose. The prepared HTTP service us built based on the PaaS API.

The screenshot shows an example of a Search Condition Record by Product.

The screenshot shows an example program to call CREATE method of PaaS API to generate a new condition record for condition type PCP0.

We are able to verify the condition record in Manage Prices - Sales app.

The approach of calling UPDATE and DELETE action is similar with CREATE action, so we will not provide the example.

Log in to track your progress & complete quizzes