This is a test message to test the length of the message box.
Login
BTP Business Configuration
Created by Software-Heroes

BTP - Business Configuration (without Transport)

324

How do you actually use the Business Configuration without the transport recording? In this article we clarify whether it is possible.



In the last article we looked at the use of the Business Configuration and noticed that a transport is always necessary to change the entries in the table. In this little tip we'll look at how we can deactivate the transport control, similar to the SM30.

 

Introduction

When it comes to customizing, it is important that it is distributed consistently across the system landscape, as it controls central processes in the system. It is therefore also important that changes are recorded in transports and transported across the system landscape. However, in in-house development there are always requirements to be able to maintain settings directly in production, which would not be possible at the moment.

 

Changes

Let's take a look at the changes to be made, what do we have to change to the business object so that we can work without transport. You should note that the type of table must always be set to C for Customizing if it is used in a business configuration.

 

Behavior implementation

The easiest way is to comment out the necessary calls. If you look at the behavior implementation (Local Type), you will find several helper classes for implementing each function.

 

The class with CTS is the connection to the transport administration. We have to comment out the following method contents:

  • Singleton - GET_INSTANCE_FEATURE
  • Entity - GET_GLOBAL_FEATURES
  • Entity - ValidateTransportRequest (Validation from RAP)

 

CDS Metadata

We still have to comment out the action in the metadata of the singleton, otherwise it will still be displayed in the UI.

 

Complete

Of course, you can also clean the object completely. To do this, the behavior definition had to be completely cleaned up and all traces of the transport connection had to be deleted in the implementation. If you are still unsure whether you will still need the settings later, you can comment them out first.

 

Result

The result of our adjustments now looks like this, the “Select Transport” button is no longer there, the entries in the table can be edited and saved.

 

You can find all the changes we made in the commit of the GitHub repository, where you can see the various changes again.

 

Conclusion

Not many adjustments to the object are necessary to disable transport recording. Theoretically, you can also use this to record transports in the development system, but allow adjustments to the master data in the subsequent systems. Similar hybrid scenarios have already existed in the SM30 environment in the past.


Included topics:
BTPABAP EnvironmentBusiness Configuration
Comments (0)



And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.


RAP - Custom Entity Value Help (Deep Dive)

Category - ABAP

With the Custom Entity you have the most freedom in RAP when developing ABAP Cloud applications, but what about potential errors?

07/12/2024

BTP - Business Configuration (Settings)

Category - ABAP

Let's take a look at the settings of the maintenance object in the ABAP environment and what effects they have on maintenance.

05/31/2024

RAP - Deep Action in OData v4

Category - ABAP

In this article we will look at actions with deep structures, how we can create them and pass data to an API endpoint.

05/24/2024

BTP - Business Configuration (Adaptation)

Category - ABAP

What do adjustments to the RAP business object actually look like in the context of the business configuration? More information in this article.

05/17/2024

BTP - Business Configuration (Usage)

Category - ABAP

Today it's about using the various apps and transporting the business configuration in the ABAP environment.

05/03/2024