Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
mohit_bansal3
Active Participant
One of the most common Business requirement  in various SAP Projects is real time integration with commonly  used Business Context data with Third Party Systems such as:

  • Product Master

  • Sales Order

  • Business Partner etc..


And common requirement in almost every integration scenario is posting / reading of data in above Business context along with few CUSTOM fields.

While working in S/4HANA Projects, Always first design approach came in mind why not to use:

"Standard S/4HANA API with In-App Extensibility”  " Every time It really worked like a Charm"

“Complete technical Solution were ready for testing in just couple days, Many thanks to S/4HANA with  In-App Extensibility and of course API Hub “ 😊

Bye Bye, Complex development and Let’s utilize power of S/4HANA with In-App extensibility and speed up our development  with standard API and integrate with any third party system😊

Business Requirement

Business wants to create Product, Sales Order data  in SAP S/4HANA  system and call will be made from third party system.

An example perspective, Product creation Standard S/4HANA with below custom Fields 


 

Development Architecture and Technical Solution

High Level Development Flow


Here is the typical Development Steps

  • Identity the Business Context i.e., Material Master, Customer, Sales Order

  • Check for Standard API in API Hub

  • Extend Standard API with Fiori Extensibility Cockpit

  • Added Custom fields via Custom Fields and Logic App

  • API ready to consume by CPI with custom fields

  • Fields are added in API CDS & BAPI and ready for consumption 😊


Let's build step by step complete technical solution 

 

Step1 : Identify the "Right Business Context and Right API"


As, We want to extend the Product then Business Context is Product and API is A_Product

  • Visit the API HUB, select product S/4HANA and find the API

  • Check the relevant API and find the respective end points for document posting, for example product creation

  • Register the API in S/4HANA  /  Gateway System



 

Step 2 :  API Extension using the S/4HANA Extensibility cockpit


S/4HANA Extensibility Cockpit


Step3: Create Custom fields via "Custom Field and Logic"


'


Steps 4: Expose the custom fields for API( CDS A_Product) and BAPI for Product create.


Custom Fields are exposed for API and BAPI


 

Push “Publish” in the bottom-right of the screen.


 

 

 

Step5:

Cool. We are done.....Let's do the testing with POSTMAN  and create Product and custom fields are available

 


I have also quickly created the Fiori App consuming the "EXTENDED API END Point"  A_Product , just to show case how easy to create Fiori Elements based on the top of extended API..


Again Bye bye, Complex  technical development and Let’s utilize power of S/4HANA with In-App Extensibility  and speed up our development  with standard API and integrate with any third party system😊

 

Regards,

Mohit Bansal

 

 
3 Comments
Labels in this area