Skip to Content

So far, we created a custom business object “Bonus Plan” with a simple data structure and application UI. This business object is there to save employee specific rules for bonus entitlement.

Task: Enhance the Custom Business Object’s application with business logic

Example: Bonus plan gets an ID automatically and is checked for consistent data.


 

This blog based tutorial was replaced by the following sap.com tutorial

Custom Business Object – Logic (Bonus Plan)

Please start this or choose another from

SAP S/4HANA Extensibility Tutorial

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

  1. Mohamed Gharbi

    Hi Ulrike,

    Thanks for this serie of Blogs!

    When I go to Custom Business Object and go to Fields  and Logic I cannot find any section with “Determination Logic”. 

    Am I missing anything?

    Thanks

    (0) 
    1. Ulrike Liebherr Post author

       

      Hi Mohamed,

      for logic implementations it’s essential that the custom business object is in status “Published” and a possible draft version (for a change after last publish) was already published again as well.

      As you do not get the Determination and Validation section at all, I assume you missed to publish the very first version of your custom business object.

      Regards

      Ulrike

      (0) 
  2. Mohamed Gharbi

    Hi Ulrike,

    Thanks for you reply!

    The Custom Business Object was already published! I guess you are referring to this:

    Any other tip?

     

    Thank you!

    (0) 
    1. Ulrike Liebherr Post author

      Hi Mohamed,

      you have to check “Determination and Validation” (below “Name in Plural”). To be able to do this, you have to “Edit Draft” before. Afterwards you have to publish again and then you will finally be able to do implementations.
      I am very sorry, that this essential step seems to have gone lost in the blog.

      I will update it next.

      Regards

      Ulrike

      (0) 
  3. Arun Nair

    Hi Ulrike,

    I keep getting the error “Class YY9_DAMK_B4C9A49833AF1930BEA8A could not be saved” when I try to save the Implementation. Could you please let me know when does this error occur?

    Is it related to the user authorization? OR any other syntax error? I can although see that the class mentioned in the error message is already created at the backend.

    Regards

    Arun.

    (0) 
    1. Ulrike Liebherr Post author

       

      Hi Arun,

      please excuse the late reply, I was sick last week.

      Sorry, but I cannot provide support on the shown topics, please open a ticket to BC-SRV-APS-EXT-BO in case your issue still persists. As the message is quite generic I fear it can have many reasons. I would exclude a syntax error as this should be marked in the editor already.

      Good luck!

      Regards

      Ulrike

      (0) 

Leave a Reply