SAP Knowledge Base Article - Public

3799347 - Custom MDR Application Log Displays '&' Instead of the Actual Message Text

Symptom

Custom messages raised by the ABSL Action are displayed correctly when the action is executed manually, but when the same action is executed via MDR, the MDR Application Log displays '&' instead of the actual message text.

It happens to any message (error, warning, success, info) despite the fact that MDRO detail level equals to "All Details". 

Environment

  • SAP Cloud Application Studio 
  • SAP Cloud For Customer 
  • SAP Business ByDesign

Reproducing the Issue

  1. Logon to frontend UI
  2. Go to the Custom Mass Data RUN Work Center View
  3. Open execution log of any runs
  4. Go to 'Results' tab, expand messages. Yousee that '&' is displayed instead of actual message text.

Cause

The message placeholder in the MSG_General message definition in your .bo file is defined as an unnumbered & instead of a numbered &1.

As confirmed in SAP Help Portal documentation, although it is syntactically permitted to omit the number from a message placeholder, the framework will not recognize an unnumbered & as a substitution parameter and will instead display it literally as & rather than replacing it with the intended value.

Resolution

Fix Required

In your .bo file, locate the MSG_General message definition and change the placeholder from "&" to "&1"

 

Keywords

PDI, MDR, Custom, Mass Data Run, Message, &, Application Log, Details, Raises, MSG_General , KBA , AP-RC-BDS-MDR , ByDesign Studio Mass Data Run , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions