SAP Cloud Applications Studio FAQ

Get to know some frequently asked questions for the SAP Cloud Applications Studio, from Lifecycle Management phases, the ABSL programming language, Business Configuration settings to the Mass Data Run and much more.

FAQ for Lifecyle Management

What are the SAP Cloud Applications Studio deployment and landscape basics?

The SAP Cloud Applications Studio is a client application installed on the developer’s computer and connects using a secure SSL connection to the SAP Cloud for Customer System. A deployment describes the life-cycle step which copies (deploys) a solution using the SAP Cloud Applications Studio from one tenant to another.

Please refer to the below blog for further details:

https://blogs.sap.com/2015/08/27/sap-cloud-applications-studio-deployment-landscape-basics/

How do you download the Cloud Applications Studio from the Launchpad?

1.Go to the SAP Software Download Center at https://support.sap.com/swdc.

2. Click Installations & Upgrades Access downloads.

3. The system opens the Software Downloads window.In the Search field, enter Studio XXXX where XXXX stands for the studio release version. The system gives you a list of the available studio versions.

4. Click the required SAP CLOUD APP STUDIO product version. The system takes you to your company’s download catalog.

5. Click the Downloads tab, select your solution, and click the arrow icon. Choose the required solution and click Download Basket from the list of available actions.

How do you connect the Cloud Application Studio to a tenant?

You should have the latest Cloud Application Studio installed on your laptop/PC. After this you must configure your user and connection details.

Please refer to the below blog for further details:

https://blogs.sap.com/2014/04/09/cloud-applications-studio-short-best-practice-videos/

How do you enable the Consistency Check feature in Background Mode within the Cloud Application Studio?

Consistency Check is a feature wherein developers can check the consistency in the background. This does not freeze the Cloud Applications Studio and you can process with further development activities in your add-on.

Please refer to the below blog for further details:

https://blogs.sap.com/2016/05/27/1605-new-feature-check-consistency-in-background/

How do you enable the Split Assembly feature in Cloud Application Studio?

Split Assembly is a feature which allows the developer to have an extra option to execute Activate, Assembly and Download steps as independent steps. This split feature can run asynchronous in the backend, therefore the execution time for Activate, Assemble and Download shall be reduced significantly.

Please refer to the below blog for further details:

https://blogs.sap.com/2015/11/02/whats-new-in-the-studio-1511-release/

How does Auto Distribution work for an Add-on?

If you are uploading an updated version of an add-on in a tenant and this add-on also resides in other tenants within the same system landscape, then this add-on will be automatically updated in the other tenants as well. This functionality helps to re triggers the automatic upload and activation of the add-on in tenants where deployment had been unsuccessful

Please refer to the below blog for further details:

https://blogs.sap.com/2017/05/22/auto-distribution-in-cloud-application-studio/

How do you check the failed logs for an Add-on?

  1. Open the Cloud Applications Studio
  2. Open the corresponding Add-On
  3. Go to the Implementation Manager section
  4. Go to the Tenant status tab
  5. In the Information Area section, you will be able to see the logs.

What is the Code Correction feature in the pre-production tenants?

Production Bug Feature enables you to make changes to ABSL files and fix bugs directly in the pre- production/production system. Please refer to the below blog for further details:

https://blogs.sap.com/2016/04/07/production-bug-feature-for-deployed-solutions-in-production-tenant-and-the-associated-errors/

What is delta activation and how it is done?

Delta activation allows activation of certain content types like .bo or .xbo to be skipped if no changes were detected to allow faster assembly times of add-on.

Please refer to the below blog for further details: https://blogs.sap.com/2019/07/15/delta-activation-of-pdi-solutions-in-source-tenant/

What is Deletion of delivered objects in an add-on?

To overcome this constraint and support deletion, the feature of allowing deletion of delivered objects (DODO) is introduced. Kindly refer below blog for below details

https://blogs.sap.com/2019/02/18/deletion-of-delivered-objects-in-a-pdi-solution/

FAQ for Scripting topic

When should I use the dump analysis tool in the Cloud Application Studio?

You can use the Dump Analysis tool window to list the runtime errors that have occurred in the tenant to which you have logged on.

If the Dump Analysis tool window is not visible in the studio, you can access it by clicking View->Dump Analysis .

What is the use of the debugging functionality in the Cloud Applications Studio?

You can use debugging to observe the runtime behavior of your solution and to locate logic errors. For more information related to debugging you may refer to the help documentation available in SDK.

What are the different content types supported in the Run Performance Check ?

The Run Performance Check can be used on the following content types :

  • Business Object(.bo)

To find improvements in your solution, use the Run Performance Check option.

To execute the Run Performance Check at solution level, right click the solution and click Run Performance Check.

For more information related to this option you may refer to the following link https://blogs.sap.com/2018/02/06/sap-cloud-application-studio-performance-check/

What is Mass Enable Functionality?

You can specify whether a script file is to be executed for multiple instances of business object nodes, which is referred to as mass enabling.

If you work with mass-enabled script files, consider the following:

  1. To mass enable a script file, you select the Mass Enable checkbox in the Create Script Files dialog box.
  2. If you want to modify a mass-enabled script file so that it can only be executed for single instances of business object nodes, you need to delete the script file first and then re-create it.

Why is my script file not getting called?

This might happen because, in your business logic:

  1. You have not changed the instance of the node for which you are expecting the script to be called.
  2. If it is a standard button (action) that is affected then ensure that the action the partner is using corresponds to the correct action on that standard button
  3. Check if the file is activated.
  4. If it is a custom field, and it is not being updated / if it is a custom button, ensure the field / button is on the same node that the script file is on.

FAQ for Business Configuration

What happens when a solution gets disabled?

All the scoping decisions and fine-tuning data is lost, and the solution is no longer available for scoping. You will also receive a warning message when you click the disable button in the Implementation Manager.

I have used a Business Configuration Object (BCO) datatype for an extension field, but it shows the code value in the drop down instead of the text value on the UI. Why is it so?

Code value comes up in the drop down if the field’s field type is defined as an Attribute instead of Description in the BCO file. Always create a Description field in the BCO if you want to see text value in the drop downs.

Why can’t I see the fine-tuning activity?

To see custom fine-tuning activity in the project activity list, you must fulfil the following prerequisites:

  1. In the Business Adaptation Catalog (BAC) file, ensure you have selected the ‘Visible in Scoping’ checkbox.
  2. You have marked the Business Configuration Sets assigned to the Business Options as fine-tuning relevant (add and delete in fine-tuning).
  3. You have already created the Business Configuration Views. We recommend that you create the BC View in the same version in which the Business Configuration Object was created.

Why does a dropdown show up in fine-tuning UI even though the field was created as atext?

This happens when you update the metadata after opening the BC View in UI Designer. Metadata update changes the CCTS type of the BC Set field from “text” to “Code” resulting in the issue. Therefore, you must not update a metadata after opening the BC View in UI Designer.

FAQ for Webservice

Why does the Web service not create data and give server error?

This might happen if the Communication Arrangement (URL, path, port) is not configured properly. Try reactivating it, checking for activation errors, and testing the service again. You can also see if Check Service and Check Connection actions are successful in the Communication Arrangement.

Why does the Web Service activation fail with error “Failed to activate items of type Web Service View name already exists; specify a different name”?

This error is raised when you do not enter the BO view name in one of the Web Services. Entering a BO view name is usually not mandatory but is required when you create two Web Services on the same BO.

Why do I receive error “Key for Common node missing in Request Message” for ‘Update’ Web Service operation?

BO node without an alternative key cannot be updated, it can only be created. You can instead write ABSL logic in an AfterModify or BeforeSave event on the Root node to update fields on subsequent nodes. The ABSL logic will be executed when a Web Service request payload is received by the system for the BO.

Why do I receive soap:Fault “RABAX occurred on server side” in Web Service response payload?

This error indicates there was an exception raised during the processing of the Web Service request payload by the SAP System. You should check the Dump Analysis tool in the SAP Cloud Application Studio to determine if ABSL logic is at fault. If you cannot find a resolution, please open an incident with SAP Product Support.

Why can’t I download the Web Service WSDL for an “In Development” Solution in the SAP Cloud Applications Studio?

You must deploy Business Configuration first for it to work.

1. Open the SAP Cloud Applications Studio.

2. Open Solution in My Solutions tab.

3. Right-click on Solution in Solution Explorer.

4. Select Deploy Business Configuration and choose the second option in the pop-up.

FAQ for Mass Data Run

Why does the status of an application log instance show “In Process” even though there is no mass data run job running?

When a job execution fails with a dump, the mass data run framework does not get the control back from the application. Therefore, the status is not updated.

To find the correct status of the application log instance, please follow the below steps:

1. Select the mass data run instance.

2. Click on “View Jobs.”

3. Select “Run Jobs” from the “Schedule Jobs” drop down.

4. The status of the job tells you the correct status.

To avoid situations like these, make sure you handle the logic of the action linked to the mass data runs.

You can also achieve this by handling the “Avoid Dumps” suggestions from the “Performance Tips.”

What can you do to improve mass data run performance?

Performance of a job heavily depends on the action logic. Make sure the code of the action is optimized. Use the “Performance Tips” feature available on the context menu of ABSL file to achieve the same.

To improve the performance of a mass data run object you could do the following:

• Check if parallel processing is enabled.

• Check performance tips on the corresponding action script of the mass data run.

• Check if you can refine the selection criteria to retrieve a smaller set of data for your mass data run

Where do you find the application logs for scheduled mass data runs?

You can navigate with the below steps to find the job logs for scheduled mass data run.

1. Go to Administrator Work Center

2. Go to the Background Jobs view

3. For Background Jobs, select All Scheduled Jobs.

4. Check View Job Log and then Application Log.

What is the retention time of the mass data run logs?

The retention time of the application logs are as follows: Short (1 Day), Medium (1 Week), or Long (1 Month). If the retention time is expired, the application log is deleted during the next execution of the mass, hence we do not see the error logs after retention time. You can set the retention time while create the mass data run.

How do I make the best use of the parallel processing” feature?

Parallel processing works the best in below cases

  1. The mass data run selection parameters would retrieve vast number of records to process.
  2. Remember the action logic does not matter for parallel processing to work. If you query 1 million records in the action logic, but the mass data run selection parameters retrieve only 10, then parallel processing will not work. It is only the number of instances retrieved via MDRO selection parameters that count.
  3. Do not enable parallel processing for MDROs where there is a chance of 2 or more instances changing the same object (standard or custom). This creates locking issues which will result in a job failure.

Can a scheduled job run more than 10 hours?

When parallel processing is enabled, each package times out after 10 hours and the system will only process 6 packages at a time. This means that if there are 12 packages, the mass data run can run for 20 hours as each package has 50 instances so the above scenario could happen if there are a total of 600 instances selected by the mass data run.