cancel
Showing results for 
Search instead for 
Did you mean: 

How to loop over custom business object and set a column to specific value

PietzschmannRob
Participant
0 Kudos
232

Hello community,

i have a custom business object that contains a column (e.g. coldates) with many different dates.

I need to find the next three days from today on.

If I have found the appropriate row, the column (colNext) should be assigned the value 1.

I tried to create action logic for the CBO, but there I could only access one row of the CBO. It is necessary to trigger the logic without a change of the custom business object.

How can I create custom logic to solve this issue?

Kind regards

Accepted Solutions (0)

Answers (1)

Answers (1)

isathore
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Robert,

I must admit, I don't know. However, some documentation and online resources might help.

See the CBO documentation Adding Logic to Custom Business Objects | SAP Help Portal.

Maybe following resources can help too:

Implementing Business Logic (sap.com)

Implement Business Rules Logic in Custom Business Object | SAP Tutorials

API operations for Custom Business Objects in S/4HANA Cloud | SAP Blogs

Otherwise, you can in last resort, create a ticket to BC-SRV-APS-EXT-BO .

Best Regards, Isabelle