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)

682

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.


BTP - Custom Data Browser

Category - ABAP

What alternatives to SE16 do you have in the ABAP environment to give your department easy access to data? In this article, we'll go into the details.

01/31/2025

RAP - Popup Default values

Category - ABAP

How can you provide the user with default values in the popup of an action in RAP? In this article we will extend our application.

01/21/2025

RAP - Popup Mandatory Fields

Category - ABAP

How can you actually define required fields for a popup in RAP? In this article we will go into the details in more detail.

01/14/2025

RAP - Deep Table Action

Category - ABAP

Is it currently possible to pass tables to actions in RAP? This article is intended to provide a better insight into the topic.

01/07/2025

RAP - Side Effects

Category - ABAP

How can you update parts of the Fiori UI without doing a complete refresh? With Side Effects, this is easily possible in ABAP and RAP.

12/27/2024