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
- Logon to frontend UI
- Go to the Custom Mass Data RUN Work Center View
- Open execution log of any runs
- 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
SAP Knowledge Base Article - Public