cancel
Showing results for 
Search instead for 
Did you mean: 

How to override the System generated message with a custom message on a custom created BO SAP C4C?

former_member574139
Discoverer
0 Kudos

Hi Experts,

We have a custom Business object developed in our custom Solution (YVF384JTY) where we have the access rights assigned to it.
For example we have assigned the access context rule : 1015 and code as 1 with read access as "Unrestricted" and write access as "Restricted".
So when the user logs in with Sales User credentials with the above restrictions, and opens any quote, and clicks on action-> Copy/Edit/link to opportunity, system Generated RBAM Error Occurs for the user, since the user has no write privelage to the object.

To avoid this message we have tried to change the message context by the following ways:
1) Through HTML5-> Administrator -> Language Adaptation mode
We have created a language adaptation for our Custm BO with name : Y0063 => we tried to generate the messages where we could find the source text and assign some target text for that message, but we are unable to find that message to overwrite it.

2) Through UIDesigner:
a)We have opened the TI component of our custom BO : CustomSalesQuoteBO.TI.uicomponent.
b) Controller -> Messages -> System Messages -> Add
c) We have added the code as
"RBAM and message text as "You are not authorised to make changes".
"NO_AUTH" and message test as "YOu are not authorised to make changes"

even doing the 2nd option we are still getting the system generated error only.

Can you pls help in resolving this issue.

Accepted Solutions (0)

Answers (0)