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.

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.

FAQ ( FAQ for UI designer Issues)

1. Why do I receive an exception when opening a UI component in the UI Designer?

A common reason for exceptions is because of multiple changes from different users on the same UI component. This can create duplicate Change Transactions (CTs) and result in inconsistencies. To avoid this please ensure to do below things:

  • Update Metadata when UI component is opened to load recent changes.
  • Save and activate the UI component once the changes are done from your end.

2. Error while solution deployment, activation failed due to a custom UI component

If such error occurs and there are red dots on any component under that particular solution in Cloud Studio then it means Solution has inactive contents. Activate all those components (with red dots on it) separately and then finally activate the solution.

3. Unable to delete Partner created UI in Cloud Studio due to reference from other UI components/PDI Anchor

When a screen is created by selecting navigation scenario in Cloud Studio, a set of UI components are created based on the selected navigation. All the UI components are referenced by one another. For deleting such UI components, you need to delete them from top to bottom level reference approach. This is because all the child level UI components will have a reference in it's parent UI component.

For example: OWL will have a reference in WCVIEW which in turn will be referred by Work Center (WCF). Try deleting in this order: WCF, WCVIEW, OWL, QC, QV, TI, TT

In case, WCF is referred by any PDI anchor then first this PDI anchor or the reference needs to be removed then follow above steps.

4. Add Extension Field to Section Group not available in Extensibility explorer.

Please check the anchor modelling for particular field group ,  Add Extension Field to Section Group will only be available for Extension Anchor.

Example scenario you can find in below Blog:

‘Add Extension Field to Section Group ‘ missing in the Extensibility Explorer of UI Designer SDK

5. Query missing in the frontend.

You should defined an anchor for the query defined in the UI Designer .

Example scenario you can find in below Blog:

Option missing to personalized query in the frontend

6. How to define basic search option using SADL query.

Please refer to the KBA 2338075 - How to define Basic search option using SADL query

7. Why does Visible / Enable property return “False” when set to “True” using Adjust Properties operation in the Extensibility Explorer?

In the generated AddCondition CT, the Visible and Enable properties are followed by the "and" operator.

Example: If one CT with Visible property is "FALSE" then the field's VISIBILITY will always remain FALSE irrespective of any number of CT on that field. You would need to delete the contradicting CT under Adjust Properties operation.

8. Why are there no operations available in the Extensibility Explorer for enhancing UI elements on a standard UI component?

There are no anchors provided by the SAP application team. These are required for partners to enhance a UI element. You can open an incident with valid business use case to release an anchor for certain UI elements such as button, button group, section group, list, tab and more.

9. Why is my custom button disabled/missing in the UI?

In the properties tab in the UI Designer, ensure the Enabled and Visible properties are set to true for the button. You can then further check if there are any conditions maintained by a key user in Adaptation Mode that are modifying the property

10. RBAM authorization error for partner created UI. (Not on partner extended UIs)

There could be multiple reasons for RBAM authorization, following are few among them :

First of all, update your Cloud Studio to latest version. Update option in Cloud Studio does not always work so it’s better to uninstall studio and then reinstall it again from Service Market place.

Now follow the steps:

  • Find the UI component where such RBAM issue is occurring.
  • Open the solution in studio.
  • Find the Partner BO on top of which this UI component was built.
  • Check for the UI components with extension .TT or .uiwocview  built on top of that BO. Open those UI components in UI designer.
  • Check under properties for ShortID of that UI component.
  • Complete ShortID text should be in upper case as per RBAM policy guidance.
  • If the ShortID has any character in lower case then you need to delete that UI component and recreate using Create screen wizard on top of the BO. This time it will create the UI component with ShortID completely in upper case.
  • If the original UI created was using the option - "Select Screen" to create screens individually then you should create the new screen using same way.
  • But, If the original UI created was using options other than "Select Screen" to create a set of screens with navigation then you should create the new screen using same way using that same navigation option but before that you need to delete all other UI components built along with that affected UI component on top of that Partner BO because this option creates all set of UI along with referencing each other components used for navigation.[ All those UI components having same short ID as the affected UI component needs to be deleted ]