SAP Knowledge Base Article - Public

2641311 - Not Possible to See Entries on Translate Tool of Custom Fine Tune Activity, or Translate Button is not Working.

Symptom

You may encounter the following issues related to translation tool within custom Fine Tune Activity:

  1. You have a custom solution with custom fine-tune activities that are relevant to be edited during the implementation of your system. You maintain one or more entries on the fine-tune activity and you have a requirement to maintain one or more translations for the entries. You tried to use the translation tool by clicking on button Translate, but when the tool does not show any record to be translated even if you change the source and target language to every possible combination.
  2. You click on the button Translate, however Model Dialog where you configure source and target language does not open.

Environment

  • SAP Hybris Cloud for Customer.
  • SAP Business ByDesign.
  • SAP Cloud Application Studio.

Reproducing the Issue

To reproduce scenario no 1 please follow the below steps:

  1. Go to Work Center Business Configuration.
  2. Go to Work Center View Implementation Project.
  3. Click on button Open Activity List.
  4. Search for BAC_NAME (BAC_NAME stands for the name that you give for the BAC element created for the custom solution) and open it.
  5. Open the fine tune activity ACTIVITY_NAME (ACTIVITY_NAME stands for the activity name that you provided and created for the Business Configuration View).
  6. Click on button Add to add new entries on the table and click on button Save when done.
  7. Click on button Translate.
  8. Set Source Language to the main language used on the system and set Target Language to the language that you want to translate the entries.

No entries are listed or showed. You could not add any translation for your entries.

FineTune.png

 

To Reproduce the scenario number 2 please follow the below steps:

  1. Go to Work Center Business Configuration.
  2. Go to Work Center View Implementation Project.
  3. Click on button Open Activity List.
  4. Search for BAC_NAME and open it.
  5. Open the fine tune activity ACTIVITY_NAME.
  6. Click on button Add to add new entries on the table and click on button Save when done.
  7. Click on button Translate.

Action does not execute, and Model Dialog to configure your translation does not work.

Cause

Cause of scenario no 1 is as follows:

The Translate tool used on Custom Fine-Tune Activity only works if there is a Field with Field Type set as Description. Only the content of Description Field Type will be available for translation. You need to check on your Business Configuration Object if there is any Field with Field Type equal to Description. If not, Translate Tool will not show any entry to be translated.

Cause of scenario no 2 is as follows:

Since 1811 release, property "lazy load" which can be found on the BC view screen within UI designer is causing issues with Translate button of custom activity. One of the symptoms could be inability to open Translate Model Dialog on custom BC View screen. By default this property is set by PDI to true as seen in below screenshot. This issue is being addressed in feature releases but for now to change UI behaviour you need to manually adjust the property of this field to false.

lazyloadexplained.png

NOTE: Lazy Load is a property which determines how much data is loaded when screen is opened. Let's assume we have Opportunity with 3 facets. Two of them have lazy load set to false but one of them have this property set to true. This means that when you open specific Opportunity TI data will only load for Embedded Component where lazy load is set to true. Otherwise it will load when other facets are open. This is one of possible ways to enhance the performance of the UI.

Resolution

Depending on scenario no 1:

  1. Log on SDK.
  2. Open Solution YABC12345_ (YABC12345_ stands for your custom solution ID).
  3. Open Business Configuration Object file related to the custom fine tune activity with translate issue.
  4. Go to tab Fields.
  5. In the table, look on the column Field Type if there is any field set as Description.
  6. If not, add a field with Field Type equal to Description, or edit the Field Type of an existing field to Description.
  7. If yes, open an SAP incident requiring more analyzes on your issue.

Depending on scenario no 2:

  1. Open affected Bc View screen in the UI designer
  2. Navigate to tab Controller
  3. Open folder Model Dialogs and choose BusinessConfigurationGenericTranslate_MD
  4. Change the Behaviour of the property lazy load to false (this is also explained on the above screenshot)

Keywords

Fine Tune; Custom; BCO; BCC; BAC; Translate; Entry; Entries; Activity;lazy load, translate button not working , KBA , AP-RC-BDS-TRANSL , ByDesign Studio Translation , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions