Skip to Content
Technical Articles
Author's profile photo Andre Fischer

New version of the RAP Generator available

I have just published a new version of my openSource project called the RAP Generator.

The main new features are that I have added an option that allows you to delete the objects that have been generated using the RAP Generator. This option becomes handy when you have generated your objects in a package that contains already several other ABAP repository objects since it can become cumbersome to search the generated objects and delete the same.

Another new feature is that I have added an additional entity in my RAP business object for the RAP Generator that hosts messages and error messages of the generation frameworks being used.

 

You can download the RAP Generator for GitHub using the following link:

https://github.com/SAP-samples/cloud-abap-rap/

Not so visitble for the end user is that I managed to make my life easier when it comes to add new features since I have to support two code lines for on-premise and the SAP BTP ABAP Environment in SAP BTP.

Since I was able to move the code that wraps the basic functionality of the XCO-libraries in just two small classes I perform the development using just one code line.

I plan to publish a small video that shows the basic usage of my tool soon.

Kind regards,
Andre

 

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Kai Sicker
      Kai Sicker

      Many thanks!

      Looking forward to the video.

      Author's profile photo Jorg Thuijls
      Jorg Thuijls

      Looks promising, will give it a crack

      Author's profile photo Ian Roper
      Ian Roper

      Thanks Andre.

      This is really cool - however when I try to upgrade to the latest on S4 2021 I receive syntax errors in

      ZDMO_BP_R_RAPGENERATORBO

      For example in the mandatory_fields_check routine ADT is complaining about:

      permission_request-%field-(component_permission_request-name) = if_abap_behv=>mk-on.

      Have you seen this in your tests on S4 2021?

      Thanks,

      Ian

      Author's profile photo Benjamin Weisheit
      Benjamin Weisheit

      Hi Ian, hi Andre Fischer,

      i am also really curious to try out the tool, but I have the same error message as Ian. Have you already found a solution for this?

      Also, there are lines in the 2021 Branch that only work in a 2022 system (e.g. in ZDMO_CL_RAP_GEN_ENV_ON_PREM).

      Class%20ZDMO_CL_RAP_GEN_ENV_ON_PREM%20with%20statements%20valid%20from%202022

      Class ZDMO_CL_RAP_GEN_ENV_ON_PREM from the 2021 branch with statements valid not before 2022

       

      Best regards,
      Ben