cancel
Showing results for 
Search instead for 
Did you mean: 

Embedded component records are not displaying

anand_kumar56
Explorer

Hi All,

Good Day,

Am new to C4C technical, I tried to add the custom business object - CreditCardInfo as a Embedded Component to Customer BO[Standard BO]. I have binded correctly and the embedded component is available in the Customer BO.

I have used Advanced list pane to add the credit card details such as Credit card no, Name, Expiry and Default etc..

Once the data is filled and hit the save button, the record is saved in the Custom Business object. 🙂

Problem is when I close and reopen the account where I added the credit card details, the credit card data is not displayed in the embedded component.

Am not able to figure out what I missed, Could anyone can assist by giving ideas on this.

Please find the screenshots for your reference

Custom business object - CreditCardInfo

Design:

Binding:

Event - Read Condition

Empty Condition

Configure - Create Instance

Assign the data from Source to Target

After doing the above steps, the Credit card Custom BO is successfully displayed in Embedded Component.

Here I add some dummy value and hit the save, the record successfully saved and updated in the BO.

After saving, I just closed the UI and Reoped the account 1001019, the data is not found. 😞

But record is available in BO.

Regards,

Anand

Accepted Solutions (1)

Accepted Solutions (1)

Hi Ananad,

before doing so, please make sure you have maintained correct binding within DataModel (I am assuming you wished for the accountID to be your alternative Key for this custom BO?)

Please bind this element to your custom BO within DataModel tab.

Regards

Lucyna

anand_kumar56
Explorer
0 Kudos

Hi Lucyna,

Thanks For your feedback. I doubled the whole solution and as you found, I have missed the binding part.

It helps a lot and learnt from the mistake.

Thanks.

Answers (3)

Answers (3)

0 Kudos

Hello Anand,

In Event handler Configure - Create Instance, please can you try by adding an additional operation, select Window Operation -->Action Type-->Save .

Thanks & Regards

Gaurav Prasad

anand_kumar56
Explorer
0 Kudos

Hi Gaurav,

Thanks fo your input.

I checked your suggestions. There is no issues in saving the record to Bo. The problem is to retrieve the records related to embedded component once we reopen the account.

Regards

Anandakumar

anand_kumar56
Explorer
0 Kudos

Hi Lucyna,

Thanks for your inputs.

I checked in BO and also found records in the business object.

QueryByElements.Execute(); -> Returned records. All bindings are done perfectly.

No luck still 😞

Regards,

Anand

0 Kudos

Dear Anand,

I would advise you to open an incident with SAP as we need to check if object which you are saving is actually being saved in our database.

Regards

Lucyna