Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
create sap sales order using rest api
Rating: 4.4 out of 5(166 ratings)
1,395 students
Created byZafar karnalkar
Last updated 8/2023
English

What you'll learn

  • Create sap abap rest api for sales order creation
  • with deep structure
  • GET and POST method
  • Testing with POSTMAN tool

Course content

2 sections13 lectures2h 48m total length
  • Business Requirement3:46

    Explore the business requirement for creating a SAP sales order via REST API, detailing a deep structure with internal tables, gate and post methods, and testing with Postman.

  • Create Deep structure12:19
  • Create Resource Provider and Handler class11:14
  • GET Method Implementation30:03
  • Test GET method from POSTMAN12:48
  • Implement POST Method37:06
  • Test POST method from POSTMAN10:15

Requirements

  • basic abap knowledge

Description

This course is design for the ABAP consultant, with basic abap knowledge,

Student can learn in this course, How to create a rest api for the sales order with deep structure ,

with GET and POST method implementation, as a third party tool I have use POSTMAN tool for testing the web service.

Once it is created and tested successfully in SAP and POSTAMN , these web service we can use with any application which can consume this http , based web service   


Business Requirement: Develop a rest api, which is to be consume by non-sap system for the creation of Sales Order in to sap and which will return the created sales order number back to the calling system and in case any error occurs while creating the SO, return the error messages.

Both Get and Post Method required

Technical Design: As for the sales order creation, we required to capture the header details, line items, business partner involve and condition records, for this we need to create the Deep Structure.

Any structure that contain at least one Table Type (internal table) , reference type or string as a component is known as Deep structure.


Steps for Creation of Rest API

1: Create Deep structure

2: Create Resource Provider class

3: Create Request Handler Class

4: Create SICF service node

5: Implement of GET method in Resource Provider class

6: Test GET method from POSTMAN tool

7: Implement POST method use BAPI for creation of sales order BAPI_SALESORDER_CREATEFROMDAT2

8: Test POST method through POSTMAN


Who this course is for:

  • sap abap consultant