cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom business object not available for creation of custom fields

Ashish_Talekar
Participant
0 Kudos
954

Hello Experts

We have created a CBO for Width "YY1_WIDTHMASTER2" but when we are trying to create a custom field as an association to the above CBO, the CBO is not visible in the dropdown list for selection.

The CBO is published and we have also maintained one record in it.

Regards,

Ashish Talekar

Accepted Solutions (1)

Accepted Solutions (1)

DennisLeslie
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ashish,

Can you check to confirm that the custom business object has 1) the field Can Be Associated enabled 2) It has been published.

If not, please do this and then try creating the custom field with type "association to business object"

Thanks

Dennis

Ashish_Talekar
Participant

Hello Dennis,

Thank you for your reply.

The issue has been identified. The problem was regarding "Key Fields", two key field were maintained for the CBO that's the reason it was not visible in custom field association although the CBO was marked for association and published.

Thank you

Ashish

Answers (1)

Answers (1)

Karsten_Schaser
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please note that you can actually associate Custom BOs having multiple keys using the field type Code List based on CDS View. For more information see option 3 within the following blog: https://blogs.sap.com/2023/07/11/key-user-custom-fields-when-to-use-what-type-of-code-list/