RAP Dynamic Messages Truncated? Check SAPB_BEHV(100)

A custom RAP action may display only part of a dynamic success or error message when the text is passed through SAPB_BEHV(100) as a single free-text parameter.

The relevant limit is the message text

SAP KBA 3736272, for S/4HANA Cloud Public Edition, identifies a 50-character limit in this single-parameter usage. A longer identifier can expose the problem, but the identifier length alone is not the general limit.

Use a purpose-built message

Create a custom message class with specific message IDs and appropriate placeholders. Update the RAP logic to raise those messages instead of squeezing the full dynamic sentence into the single free-text parameter.

Plan the text and placeholder layout for the actual values the application handles. Do not assume that a custom message class makes every individual placeholder unlimited.

Test boundary values

Repeat the action using short and long identifiers and verify the complete displayed text for both success and error paths. Include cases where the total message would exceed the former 50-character limit.

SAP Note

SAP Note 3736272

You May Also Like

Leave a Reply?