2

How to Transport Condition Configurations in SAP S/4HANA Cloud

 1 year ago
source link: https://blogs.sap.com/2023/04/07/how-to-transport-condition-configurations-in-sap-s-4hana-cloud/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
April 7, 2023 4 minute read

How to Transport Condition Configurations in SAP S/4HANA Cloud

There are two types of configurations related to conditions. One is client specific, such as Condition Type, we call it customizing item. The other one is cross-client, such as Access Sequence, Condition Table, etc., we call it extension item. The relations/dependencies among these configurations are illustrated below.

Condition_configurations_categories_and_relations.jpg

A Condition Type might reference to an Access Sequence. An Access Sequence is referencing to one or more Condition Tables. A Condition Table is referencing to one or more Field Catalogs. While transporting these configurations, to avoid data inconsistency in P-system, the referenced item needs to be transported first, or together with the referencing item.

However, different tools/apps are used for transporting different types of configurations. If the items are of different types, they can not be transported together. For example, Condition Type (customizing item) and Access Sequence (extension item) could not be transported together. In this case, we need to transport the Access Sequence to P-system first separately.

But what tools/apps are used for transporting different types of configurations? That is depending on the system landscape and configuration environment of your SAP S/4HANA Cloud installation. For your quick reference, this has been summarized in the tables below.

Export Operation

Export_apps_v2.jpg

Import Operation

Import_apps_v2.jpg
Legend.jpg

Below are some useful links for reference.

System Landscapes in SAP S/4HANA Cloud: https://help.sap.com/docs/SAP_S4HANA_CLOUD/a630d57fc5004c6383e7a81efee7a8bb/aa60b129af7b4ce8ae052618c8315d29.html

3SL and Transport Management: https://help.sap.com/docs/SAP_S4HANA_CLOUD/a630d57fc5004c6383e7a81efee7a8bb/e022623ec1fc4d61abb398e411670200.html

Q to P Transport Process: https://help.sap.com/docs/SAP_S4HANA_CLOUD/b17ac6f2e3e34629a5b205a5b2c8ea11/f2032855a2014d6f98d5faeef5bdc151.html

Export Software Collection: https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/6896de5f70c54753ac028f444eafa16f.html

Import Collection: https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/cf87e503ddfd4a60a402a44453c90c04.html

Q1: Our SAP S/4HANA Cloud installation is based on 2-System Landscape. While attempting to release the business change project(BCP) in Q-system, it gets blocked by external checks. The error message indicates to transport the access sequence ZZZZ for condition type YYYY (see screenshot below). What should I do?

03.a_BCP_external_check_error-1.jpg

A: Perform below two steps to transport the referenced access sequence ZZZZ to P-system first. These two steps need to be performed by key user Administrator.

  1. In Q-system, add the access sequence ZZZZ into a software collection and export the software collection using app ‘Export Software Collection’.
  2. In P-system, import the software collection using app ‘Import Collection’.

After that, you can try to release the BCP again.

Similarly, if the error message indicates to transport the extension item (like condition table, field catalog, etc.) to P-system first, or the extension item not exist in P-system, you can do the same to transport the referenced extension item to P-system first.

Q2: I have created a new Access Sequnce (e.g. ZMR6), how to add it to a software collection?

A: Assuming that you have created the software collection, follow below steps to add the target Access Sequence ZMR6 to the software collection.

  1. Login to the customizing tenant (either Q-system in 2SL or D-system in 3SL) as key user Administrator.
  2. Launch app ‘Export Software Collection’.
  3. Select the software collection to which you want to add the Access Sequence.
  4. Under tab ‘Content’, click button ‘Add Items’.
    Add_AS_to_SW_Collection_01.jpg
  5. Select Type ‘Access Sequence of Condition Technique (CT_ACC_SEQ)’, and click button ‘Go’.
    Add_AS_to_SW_Collection_02.jpg
  6. Select the target Access Sequence ZMR6, then click button ‘OK’.
    Add_AS_to_SW_Collection_03.jpg
    Note that, Access Sequence technical name ZMR6 has been prefixed with ‘YY1_AV ‘ here, together they form the identifier of this Access Sequence. ‘YY1_’ is the namespace for extension items created in customizing tenant, ‘A’ means it’s for usage Sales, ‘V’ means it’s for application Pricing.

After above steps, you will see the extension item ‘YY1_AV ZMR6’ got successfully added to the software collection.

Add_AS_to_SW_Collection_04.jpg

Similarly, if you want to add a Condition Table or Field Catalog to a software collection, just select the Type as ‘Condition Table of Condition Technique (CT_CND_TBL)’ or ‘Field Catalog Entry of Condition Technique (CT_FCAT)’ accordingly in step 5 above.

Conclusion

In this blog, we have summarized the transportation tools/apps used in SAP S/4HANA Cloud with specific focus on configurations related to conditions. We have also addressed the solutions to the common problems user may have while transporting these configurations.

Feel free to leave a comment below if you have any question and feedback.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK