SAP Knowledge Base Article - Public

3090518 - How to translate localized field in LMS custom reports?

Symptom

Customer wants to develop a custom report which contains localized fields like Item title but can only export the Label IDs.

How to export the label values of localized field in custom report?

Environment

SAP SuccessFactors Learning

Resolution

There is guidance on below link.

https://wiki.scn.sap.com/wiki/display/SAPSF/Using+Plateau+Report+Designer#UsingPlateauReportDesigner-TranslateLocalizedFields

 

Translate Localized Fields

  1. Double click the localized field that you added to the report
  2. Click fx to open Expression Builder
  3. Paste the following code: reportContext.getMessage(dataSetRow["CPNT_DESC"], reportContext.getLocale())
  4. Change CPNT_DESC to the localized field column name
  5. Click OK twice to save your changes
  6. Preview the report
    Note: Localized fields are blank in the Report Designer Preview. They will populate when run in SF Learning.

See Also

2379690 - Custom Report Development and Support - SAP SuccessFactors Learning

Keywords

PRD report. Plateau Report Designer , KBA , LOD-SF-LMS-PRD , VJDBC Setup or Connection Issues , How To

Product

SAP SuccessFactors Learning all versions