cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP RESTful Programming Model or ABAP Programming Model

former_member640435
Discoverer
3,094

Hi,

I'm an abap developer, working on S/4HANA 1809 (on premise).
I will have to do some FIORI development.

I read some documents, blogs, posts, about the RESTful Programming Model.
Apparently this model is only available since S/4HANA 1909 (on premise).
Then I have to use the ABAP Programming Model in my project, right ?

I will Buy a book about this subject in SAP Press, but I have a doubt in 2 books :
- ABAP RESTful Programming Model
- ABAP Programming Model for SAP Fiori

In my situation I think the best is "ABAP Programming Model for SAP Fiori".
But if someone can confirm that ?
I guess the RESTful Programming with Service Binding and Service Definition and ... are not available for me.

Regards,
Youri

Accepted Solutions (1)

Accepted Solutions (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Hi Youri,

first of all I have to disagree to the statement of Mahesh Kumar Palavalli about draft support that "it won't be coming to restful.programming model any time soon."

Draft support is planned to become available for the ABAP RESTful programming model but this will however not be downported to 1909 but only become available on premise with an upcoming version of SAP S/4HANA. The managed use case is planned to become available for on premise systems for SAP S/4HANA 2009.

Which programming model to use depends on the use case.

We distinguish between "managed" and "unmanaged" scenarios.

The ABAP RESTful programming model that has been delivered with 1909 only supports the "unmanaged" use case that is used if you have to use classic API's such as BAPI's to persist your data.

The managed use case which is available with the ABAP RESTful Programming model in 1911 in SAP Cloud Platform ABAP environment (you can try this out in our trial) will be available with 2009 also on premise.

For scenarios based on the SAP ABAP Fiori Programming Model we will provide a migration above to the managed scenario in the ABAP RESTful programming model. Hence any development here is safe since you will be able to reuse it at a later point in time in the ABAP RESTful Programming Model.

See also the replay of my SAP Community call

https://www.youtube.com/watch?v=SkfXkamR5nY

the slides can be downloaded here

https://www.youtube.com/redirect?redir_token=w5Ttar-KHSHOVK930bldNt12Nmt8MTU3NDU4ODMwNkAxNTc0NTAxOTA...

Best Regards,

Andre

maheshpalavalli
Active Contributor

Thanks for correcting me Andre.. my statement on not anytime soon means not by this year ( I probably exaggerated a bit there 😄 ), I know the draft is part of planned future upgrades (with no date in one roadmap slide) and one slide with 2020 product directly mentioning of draft support, which is why for OP it's not best to go with RAP as they are still in 1809.

former_member640435
Discoverer
0 Likes

Thanks for your help, It's much clearer now 😉

Answers (1)

Answers (1)

maheshpalavalli
Active Contributor

You are right it's available from 1909 on Prem, but even in 1909, it doesn't have a lot of features and if you want to work on a proper transactional based CDs view which needs the draft support, it won't be coming to restful.programming model any time soon..

So for now the best choice is to go with abap programming model for fiori.

About the book, I saw somewhere restful programming model book has abap programming model content included as well, you probably have to confirm by yourself on that..

For me the best source of Truth is sap help, it has very detailed (very very 😄 ) examples about abap programming model for fiori even for RAP.. just give it a try if you haven't yet.

https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/1809.000/en-US/971e03cd952a47458e57f87f...

Newer version of help about that model is also available for new sps.

Thanks,

Mahesh