Skip to Content
Product Information

ABAP RESTful Application Programming Model (RAP) – FAQ

Frequently Asked Questions

This document answers the most frequently asked questions around the ABAP RESTful Application Programming Model (RAP) which offers a standardized programming model to efficiently build enterprise OData-based SAP Fiori UI services and Web APIs optimized for SAP HANA in the cloud as well as on-premise.

General

When should I use RAP?

RAP supports the efficient development of enterprise OData-based SAP Fiori UI services and Web APIs intrinsically optimized for SAP HANA on SAP Cloud Platform ABAP environment as well as on SAP S/4HANA, regardless of whether you want to start from scratch (greenfield implementations) or reuse existing business logic (brownfield implementations).

Where is RAP available ?

RAP is available in the cloud on SAP Cloud Platform ABAP Environment and on-premise on SAP S/4HANA starting with edition 1909.

Which E2E scenarios are supported?

Following end-to-end scenarios can be developed with RAP:

  • SAP Fiori UI services
  • Web APIs
  • Service Consumption (only available in the cloud)

Advantages of RAP in comparison to previous programming models?

In comparison to the ABAP Programming Model for SAP Fiori or the code-based implementation with SEGW, RAP provides a programming model …

  • … as a strategic long-term solution for ABAP development
  • … for the efficient development of SAP Fiori apps and Web APIs, both from scratch (greenfield implementations) and through the integration of legacy code (brownfield implementations)
  • … offering an end-to-end development experience with
    • Standardized architecture and development flow
    • Native testability, documentability and supportability
    • Best practices & development guides
    • High development efficiency
  • … supporting the product qualities
    • User experience: SAP Fiori and SAP HANA
    • Cloud: Scalability out-of-the-box extensibility & verticalization
    • Flexibility: Breakouts for non-standardized implementations

You can find more information in the blog Evolution of the ABAP Programming Model.

Is BOPF part of RAP?

No, the Business Object Process Framework (BOPF) is not part of RAP.

How do I get started with RAP?

The openSAP course “Building Apps with the ABAP RESTful Application Programming Model (RAP)” is a good starting point.

Various getting started materials – such as documentation, videos and tutorials – are provided in the blog Getting Started with ABAP RESTful Application Programming Model.

The local installation of the ABAP Development Tools (ADT) for Eclipse and the access to an appropriate ABAP system (e.g. SAP Cloud Platform ABAP environment trial) are required to carry out hands-on exercises.

Is RAP used in standard SAP software?

Yes.

For example, RAP is heavily used in the SAP S/4HANA development for building new applications (innovations) and renewing existing ones (renovations).

What is on the RAP roadmap?

You can find information about the actual RAP roadmap in the interactive SAP Cloud Platform ABAP Environment roadmap in the SAP Road Map Explorer.

Where do I find the latest features for RAP?

New RAP features are delivered on a quarterly basis on SAP Cloud Platform ABAP Environment and on a yearly basis on-premise on SAP S/4HANA.

Information about the latest delivered features can be found in the official release notes on the SAP Help Portal or in the Help of the ABAP Development Tools (ADT) for Eclipse.

How do I build an SAP Fiori app with RAP?

You have to first build your RAP UI service with the ABAP Developments Tools (ADT) for Eclipse, then develop the application with the SAP Business Application Studio on top of it.

ADT offers the integrated development environment with Eclipse native editors for all the standard development tasks. ADT also offers an integrated SAP Fiori elements app preview.

How do I test my code?

Various software testing techniques can be used to test your RAP service on the ABAP Platform. For example, the test double frameworks – e.g. CDS Test Double Framework and ABAP SQL Test Double Framework –, ABAP Test classes, Test Seams for legacy code and OData Client Proxy.

You can find more information on available ABAP testing techniques in the documentation on the SAP Help portal – under Ensuring Quality of ABAP CodeEnsuring Quality with ABAP Unit – and in the ABAP Testability and Analysis Community on sap.com.

How do I write own documentation for my RAP artefacts?

ABAP Doc is used to provide the documentation for code elements in the ABAP source code.

Knowledge Transfer Documents allow the documentation of various ABAP objects types (e.g. behavior definitions, classes, interfaces, packages, data elements, functions groups, function modules, views, transformations, …). They are supported in the cloud on SAP Cloud Platform and on-premise starting with SAP S/4HANA edition 2020.

How do I do troubleshooting?

The well-known ABAP and CDS troubleshooting tools can be used for the purposes.

You can find more information on available troubleshooting tools in the documentation on the SAP Help portal.

How do I rapidly build a test or PoC app with RAP?

For developers who are already familiar with RAP, an SAP Community initiative driven by Andre Fischer provides a RAP Generator that can help to rapidly build test and PoC applications by generating the required artefacts (e.g. CDS entities, service binding and service definition).

Migration

Existing code available: How should I proceed ?

For brownfield implementation scenarios, where existing code fulfilling certain prerequisites (e.g. agnostic of protocols and  UI technologies) has to be reused, the so-called unmanaged BO runtime implementations is provided.

You can read more on how to develop unmanaged transactional apps in the documentation on the SAP Help portal.

I’m working on an older ABAP release: How can I be prepared for RAP?

If you are working on SAP S/4HANA releases lower than edition 1909, then check out the blog Be Prepared for the ABAP Programming Model for SAP Fiori to find recommendations in this regard.

The recommendations are also applicable to be prepared for the ABAP RESTful Application Programming Model (RAP) when working on older ABAP platform releases.

 

9 Comments
You must be Logged on to comment or reply to a post.
  • Hi – Thanks for the blog. Since one of the primary reasons to have a new model, is the term “intrinsically optimized for SAP HANA”, it would be best to have an in-depth technical explanation for that statement — so that the developers really understand and accept the learning curve for the new model…

  • My FAQ is why the name keeps changing. First of all it was RAP standing for “RESTful ABAP Programming Model” and then it was ARP for “ABAP RESTful Programming Model” and now it is RAP again for “ABAP RESTful Application Programming Model”

    What will it be called next week?

    • Maybe because, SAP likes to confuse us. Similar to On- and Any-Premise ;). I decide to stick to the RAP.

      There is probably a department at SAP, that is responsible for naming things, and they get payed by the amount of names they’ve created 🙂

      Jokes aside, probably the new name is a little bit more meaningful, but who knows.

      /
      🙂
  • Someone could enlight me regarding why using RAP on-Premise ?  I mean besides being able to later on truly migrate to an ABAP on Cloud instance if wanted.

    Is there any other advantages that I’m not seeing ? because I don’t see the point:

    • Is faster ?
    • Can I use the non-white listed functions ?

    Because so far I’m aware of the CONs but I didn’t find any PRO.

    Thanks

     

  • Hi Carine Tchoutouo Djomo

    Thanks for sharing the FAQ and I am happy that SAP came up with the OpenSAP course on ABAP RAP.

    Although, about this statement in the advantage section :

    …as a strategic long-term solution for ABAP development

    My question is : how do you define the “long-term”? 

    Is it supposed by the strategic solution for decades, without a new successor in near future?

    The way SAP is replacing its own products and platforms with something new every year, I fear RAP will soon be replaced by something new.

    Hope you could enlighten me.

    Regards,

    Bharat Bajaj

  • Hello Carine,

    thanks for this blog (and for the openSAP course on RAP – that is perfectly timed for me:-) ).

    When playing around based on the SAP Press book, I encountered these (basic) questions – can you help here ?

    1. I understood that CDS views are regularly associated with each other (e.g. a document header to a document item CDS view and also that document item back to the document header). Wouldn’t a transport (e.g. from DEV to QA system) fail because there is no valid order of activating these objects ?
    2. Using the ABAP cloud trial instance, I got errors on some annotations (@VDM_viewtype, @DefaultAggregation,@Semantics.imageurl). Is there a list of valid annotations by Netweaver/Cloud release ? Can you think of anything else I did wrong there ?

    Thanks you very much !

    Regards, Thomas.