Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple Key fields in Custom Business Objects

mailsarish
Explorer
0 Likes
3,440

Hello All,

I am trying to create a Custom Business Object with multiple key fields. I am not able to publish the custom business object and am facing the below error.

I am trying to do this in SAP S/4HANA 1809 (Extended Edition). If the answer is no, I would like to understand if I could have multiple key fields in Custom Business Objects in the latest version (SAP S/4HANA 2020 - Extended Edition)

1 ACCEPTED SOLUTION
Read only

I044433
Product and Topic Expert
Product and Topic Expert
0 Likes
3,046

Apologies. Seems like it did not attach. See this one.

Kindly mark the question answered, if it is resolved.

Feel free to come back.

Regards

Rohit

7 REPLIES 7
Read only

I044433
Product and Topic Expert
Product and Topic Expert
0 Likes
3,046

Hi sarish.numbialil2 ,

From this screenshot, it looks like you have not yet selected any key for the node <<ACCOUNTMANAGER>>. The error message depicts that.

Have you selected any key field yet?

Thanks

Rohit

Read only

mailsarish
Explorer
0 Likes
3,046

Hi Rohit,

I can publish the CBO if there is one key field. When I tried to select multiple fields as key, I face the below error. The screenshot below for reference.

Read only

I044433
Product and Topic Expert
Product and Topic Expert
0 Likes
3,046

Hi sarish.numbialil2 ,

Just uncheck the following option under <<General Information>>. The CBO would be activated.

Mark the question as closed if it is resolved.

Regards

Rohit

Read only

mailsarish
Explorer
0 Likes
3,046

Hi Rohit,

Did you paste a screenshot. I do not see any.

Thank you

Sarish

Read only

I044433
Product and Topic Expert
Product and Topic Expert
0 Likes
3,047

Apologies. Seems like it did not attach. See this one.

Kindly mark the question answered, if it is resolved.

Feel free to come back.

Regards

Rohit

Read only

mailsarish
Explorer
3,046

Thank you Rohit. I can publish the CBO.

I have a question: I was planning to use a field in the CBO for f4 help of a Custom field. Would it be possible if I uncheck this option.

Thank you

Sarish

Read only

I044433
Product and Topic Expert
Product and Topic Expert
0 Likes
3,046

Hi Sarish,

Kindly mark the question as answered, so that it benefits others as well :).

Coming back to your second question, answer is - you need to select this option in case you want to use <<association to business object>>.

Regards

Rohit