cancel
Showing results for 
Search instead for 
Did you mean: 

"Notes" field mandatory when an opportunity is set as lost in SAP Cloud for Customer (C4C)?

0 Kudos

Hi All,

How can I write code to make the "Notes" field mandatory when an opportunity is set as lost in SAP Cloud for Customer (C4C)? What steps do I need to follow to achieve this using the SDK and ABSL?

Kindly provide your idea,

Regards,
Tanuja T.

0 Kudos

Hello Tanuja, may I ask why you solely assigned "SAP Cloud SDK"? What made you choose this tag? Our team monitors the tag and we ask moderators to remove any misusage in SAP Community Questions/Answers.

Please find this question with a "better" collection of assigned tags. Hopefully the colleagues can help further.

Accepted Solutions (0)

Answers (1)

Answers (1)

MJVEERHUIS
Active Participant
0 Kudos

Hello Tunuja,

Did you consider to define a rule based on the opportunity life cycle status (lost = 5), that you can assign to the field of the notes in the opportunity header to indicate when the field is mandatory, via adaption? Rules can be very powerful.

https://blogs.sap.com/2022/06/15/rules-and-validations-in-sap-c4c/

Kr.

MJ