SAP Knowledge Base Article - Public

2812736 - The Text from a Custom Query cannot be found in Language Adaptation

Symptom

You created a query in a specific view. In Language Adaptation, you collect the texts for this particular view. However, you do not find the name of the custom query.

Environment

SAP Cloud for Customer

Reproducing the Issue

The following steps are only an example. The same happens in other workcenters/views.

  1. Go to the Customers work center.
  2. Go to the Accounts view.
  3. Open an Account.
  4. Go to the Sales Orders view.
  5. Click the Advance Search button (fenel icon).
  6. Maintain some values in the filter.
  7. Click Save Query As.
  8. Maintain a name for this query.
  9. Click Save.

    SaveQueryAs.png

  10. Go to the Administration work center.
  11. Go to the General Settings view.
  12. Click on Language Adaptation.
  13. Click New.
  14. Maintain an ID, a source language and a target language.
  15. Click Save and Open.
  16. In the Text Pool tab, select the workcenter/view where you would like to collect the texts.
  17. Click "Collect Text"
    LanguageAdaptation.png

  18. Search the name of the query in the UI Text window and in the Code Code window.

    RESULT: You cannot find the name of your query there.

Cause

Two possible causes:

1) You have created an end user personalized query and not a key user query. This query is only visible for your user.

Language Adaptation is a key user tool and only key user queries can be adapted/translated with it.

2) You are trying to translate an embedded component (for instance, the Sales Order facet inside an Account).

At the moment it is not possible to translate Embedded components.

Resolution

For reason 1), the Key user should create a query in Adaptation Mode (instead of Personalization Mode).

We need to follow the same steps as before but being in Adaptation mode. This will make the query visible for all users.

  1. Log in with a Key User user.
  2. Click Start Adaptation.
  3. Go to the relevant work center/view.
  4. Click on the Advance Search button (fenel icon).
  5. Maintain some values in the filter.
  6. Click Save Query As.
  7. Maintain a name for this query.
  8. Click Save.
  9. End the Adaptation mode.

  10. Go to the Administration work center.
  11. Go to the General Setings view.
  12. Click on Language Adaptation.
  13. Open the Language Adaptation that you previously created.
  14. Click Collect Texts again.
    RESULT: Now you will be able find the custom query.

For reason 2), our developers are planning to offer the possibility to translate embedded components in the future. You can also request this new requirement in the SAP Cloud for Customer influence site:  https://influence.sap.com. The more votes a request has, the more chances there are to be have it implemented soon.

See Also

2593767 - Cannot Hide a Custom Query in Page Layout

Keywords

custom query, custom queries, language adaptation, translate, UI Texts, query, adaptation, personalise, , KBA , AP-RC-TXA , C4C Text Adaptation , Problem

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions