cancel
Showing results for 
Search instead for 
Did you mean: 

SAP C4C how to change standard system messages

Former Member

Accepted Solutions (1)

Accepted Solutions (1)

ankurgodre
Active Contributor
0 Kudos

Hello,

These are standard message like you said - I'm not sure if it the system will allow you to make any changes to these, however, you can still take help from your SDK developer to explore on this and may be raise an incident with SAP support to confirm if it's possible or not in the first place.

BR

Ankurt

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Baoxiang, Ankur,

Reg. the question in principle:

  • You cannot change standard messages in general, but ...
  • You can map messages in the UI Designer in the "Controller" tab under the tag "Messages
    This is only possible for own UIs (or Embedded Components)

Reg. the example above:

  • You have defined a validation BeforeSave
  • This validation is returning "False" and preventing the save, BUT it does not raise a message.
  • To tell the user that the save was rejected the system is raising this standard message

Solution: Raise your own message in the BeforeSave validation.

HTH,
. Horst

Former Member
0 Kudos

Hi Horst,

Your solution solved my problem successfully and deepened my understanding of the C4C SDK

Thanks very much, Horst and Ankur.

Baoxiang

Answers (2)

Answers (2)

AnkushPashine
Advisor
Advisor

Hello Baoxiang,

You can use the 'Message Severity Configuration' under Business Configuration .

1.Go to Business Configuration->Implementation Project ->Open Activity List ->Fine Tune for e.g. 'Sales Order'/'Quote'->click hyperlink 'Message Severity Configuration'.

=>Here we have option edit the severity and supress the standard SAP delivered message .

Kindly set this scn post as answered if this helps !

Thanks and Regards,

Ankush Pashine.

Former Member
0 Kudos

Hi Ankush,

Because I am a SDK developer, I want to change standard messages in SDK but not Fine Tune(your reply let me learn something else),but now it seems not to be allowed

Thanks for your reply.

Baoxiang

0 Kudos

Hello a.pashine,

By following the path you mentioned I wasn't able to find the option 'click hiperlink 'Message Severity Configuration'';
Could you confirm the path you describe is correct?

Thank you in advance.

former_member226
Employee
Employee
0 Kudos

Hi,

This is part of Standard Enhancement done for 1608. Basically if there is any code implemented in "Validation-OnSave" and no technical message has been raised on save reject then this message will give the idea to user saying that this is due to some particular solution. If you do not want to see such technical message then please raise a custom message inside ABSL Script and then as soon as technical message is raised then this Standard Message will not appear.

Please find the attached slide snapshot for more details.

Thanks

Saurabh

cusersi336320desktopsavemessage.png

Former Member

Hi Saurabh,

Thanks for your reply.

Yeah,if I raise a custom message and then this Standard Message didn't appear.

Baoxiang

anyeseul
Explorer
0 Kudos

I'm developing create a supplier invoice via CBO .

Please tell me how to prevent the standard Error Message and Information Message.

"Validation-OnSave" return false => not working....

ThiagoSarmento
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi anyeseul,

If your Validation-OnSave returns false, ideally you have to raise a message to let the user know why the save is rejected, example:

if (this.ParkingSpace.Count() > this.Number_of_ParkingSpaces) 
{
raise Message_Car_Park_Full.Create("E");
return false;
}
return true;

Please refer to:
https://help.sap.com/docs/SAP_CLOUD_APPLICATIONS_STUDIO/cbcebe3cfb1647a8b0322c18dbb0b481/74499c2473e...