on ‎2019 Aug 27 6:36 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.