2020 Dec 10 5:16 AM
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)

2020 Dec 10 2:20 PM
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
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
2020 Dec 10 6:02 AM
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
2020 Dec 10 6:19 AM
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.

2020 Dec 10 8:12 AM
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
2020 Dec 10 9:46 AM
Hi Rohit,
Did you paste a screenshot. I do not see any.
Thank you
Sarish
2020 Dec 10 2:20 PM
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
2020 Dec 11 2:20 AM
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
2020 Dec 11 4:18 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |