Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Json webservice

Former Member
0 Likes
1,439

Hello Guys hope you are having a good day i am new to abap and i want to create a rest json web service which is called externally by parameter: PR number and returns PR status.

Hello Guys hope you are having a good day i am new to abap and i want to create a rest json web service which is called externally by parameter: PR number and returns PR status.

4 REPLIES 4
Read only

Former Member
0 Likes
1,251

I mean a parameter is passed in the url coming to sap then return a json format

Read only

Sandra_Rossi
Active Contributor
1,251

So the ABAP system will be the server. Simply said, you have to create a global class which implements the class CL_REST_HTTP_HANDLER, and create an ICF service in transaction SICF, for which you add your class in the list of handlers. There are some blog posts and information in SCN.

Read only

RobertVit
Active Contributor
0 Likes
1,251

Hi,

if your system is ready for CDS view - i would go for this.

Is most easy one. Only create a view and service can be auto genereated

Kind regards
Robert
Read only

Former Member
0 Likes
1,251

Thank you Sandra 😄