cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Opportunity Product to Customrt

0 Kudos

Hello Guys,

Is it possible to copy the opportunity's product to the customer in order to allow me to display all the products bought by this customer?

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member226
Employee
Employee
0 Kudos

Hi,

There are 2 ways to do this:

1. Using Analytics:

You can build a report based on standard data source "Opportunity Header and Item - CODOPPU" and create a view which shows only products and other relevant details.Save this view with account ID as selection parameter.

Embed this report to your Accounts UI in a new tab or overview screen and bind customer ID to report selection parameter.

https://blogs.sap.com/2015/08/12/how-to-create-an-embedded-report-any-data-source-and-pass-values/

2. Using PDI or Cloud Application Studio

By Standard, Customer Business Object do not have Product as Association or Node. But if needed you can very well develop this functionality using Cloud Application Studio based on a Custom BO.

This BO should contain, Customer ID(As KEY), a node Item[0,n] with Product ID as well as association to Material BO.

Now on every Opportunity being saved you can write your BO instance withCustomer and Product Details. And finally you can then create a new EC to fetch the details of this BO per customer.

Thanks
Saurabh