This is a test message to test the length of the message box.
Login
ABAP Cloud SWC Transport
Created by Software-Heroes

ABAP Cloud - Transport of the Software Component

365

What about the transport of software components in the ABAP Cloud? Do you also need the on-premise component in the test and production system?



In this article we will look at the question of whether we also need the software component in the subsequent system and how we can provide it. Finally, we will look at scenarios where it really makes sense.

 

Introduction

Software components, or SWC for short, are a central part of development with ABAP Cloud. They give you the opportunity to structure your packages cleanly and to differentiate them from one another. This should ensure a clean architecture. You should ask yourself whether you only want to use one SWC for TIER-1 or whether you would rather use more components for a clear demarcation. You can find further information in these articles:

 

Transport

If you create a software component using the report RSMAINTAIN_SWCOMPONENTS, you will not be required to submit a transport request after creation. In principle, we would now assume that we only need the SWC in the development system. That's why in the past we only created these on these systems to make them available to colleagues.

In principle, you can also assign a software component to a transport. To do this, select the component to be transported and choose transport recording (truck) from the menu.

 

After selecting the transport, an entry is written in it. The VERS object is then brought to the next systems with the other objects.

 

Usage

Now there are certain Core Data Services or classes that check whether we pass them an object that is of the ABAP Cloud type and/or uses a software component of the ABAP Cloud type. An example is the Core Data Service DDCDS_CUSTOMER_DOMAIN_VALUE. This has an INNER JOIN on ARS_OBJECTS_ALL_SW_COMP_SCP, plus the documentation from the view:

 

The view actively checks whether the transferred object is assigned to a SWC, and therefore requires the configuration of the software component in the system. This was just an example of where the SWC is still used everywhere in the system to ensure the consistency of ABAP Cloud.

 

Error

At the moment, however, there is a bug that means that after importing the software component into the target system, it is created as "Standard ABAP". This means that the component must first be converted to ABAP Cloud. This then applies to all subsequent systems.

There is note 3401565 which you can import. This provides the report ABAP_LANGU_SWCMP_SYNC, which you can use to synchronize the component in order to restore the correct status in the system. SAP is already working on correcting the problem so that this step is no longer necessary.

 

Conclusion

In principle, a software component, i.e. the content, works even without transporting the SWC. However, some features and tests require the entry, so we recommend always transporting the entry.


Included topics:
ABAP CloudABAPSWCSoftware Component
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.


ABAP Cloud - CRV Update & TIER-3

Category - ABAP

How can you find the right API for your scenario in ABAP Cloud and what do you actually do with TIER-3 in your development? More information here.

02/25/2025

ABAP Cloud - Read XML

Category - ABAP

How can you read and process XML data relatively easily in ABAP Cloud? Let's look at an example and go through it step by step.

02/21/2025

ABAP Cloud - Clean Core (Scenarios)

Category - ABAP

In this article, let's take another look at the Clean Core architecture with ABAP Cloud, where it is used and where you can build your applications.

01/10/2025

ABAP Cloud - Programming Model

Category - ABAP

Which programming model is used with ABAP Cloud and what can we learn from its predecessor? More details in the article.

01/03/2025

ABAP Cloud - ADT Trees (Overview)

Category - ABAP

What help and overviews are available in the ABAP Development Tools to simplify your life with ABAP Cloud?

12/17/2024