Hi All
Hopefully someone can just let me know if this is possible or not. If not possible then hopefully this requirement will be noticed for a future release.
Requirement:
We need the ability to embed our custom data source report into the Account TI screen and pass account number to the report so we can display customer sales data.
Background Info:
I have created a report we wish to embed in the Accounts TI screen. Report was defined as follows.
I have extended the COD_Account_TI and created an embedded component called Report_EC in the charts tab.
I have used extensibility explorer and passed AccountID to my Report_EC as follows:
OK now that my component is successfully embedded, I need to attempt to call the Analytics components.
ATTEMPT #1 - Using ANA_ICP.EC
1. I have embedded the ANA_ICP.EC component inside the Report_EC:
2. I entered all the report details as follows:
Result 1: Report starts loading but never opens as below... (Loading Forever)
I then removed the references to Variant and View ID.
Result 2: Report loads with default variant, however I can't pass an account number to the report?
ATTEMPT #2 - Using ANA_ICP_Embedded.EC
- I have created an ANA_ICP_Embedded.EC component inside the Report_EC:
- I created an outport on my Report_EC and configured as follows:
3. Data Model structure was added 'StructureForNavToSalesCycleReport'.
When I check the standard ACCOUNT_TI page, the following values are defined for the sales cycle report navigation:
4. I tried to replace __ROOT with Report_ID below and __TARGET with Report View ID below.
5. I clicked on the bind button in designer view from Report_EC and created a navigation link as follows:
6. I configured my Inport AccountID and bound to my data structure 'StructureForNavToSalesCycleReport' field (AccountID_ANA). Now I don't really expect this to work but I just followed the standard SAP configuration.
Note that I configured "Onfire" to eventhandler EV_ToSalesReport
7. EV_ToSalesReport has the following configuration:
Result: Report will not open
Question:
Is there any way I can achieve the requirement using the SDK tools available. None of this is documented and I am just trying to mimic the standard solution. What should be passed to __ROOT and __TARGET for this to work with a custom report/data source?
I changed the __ROOT and __TARGET (In data model) to the standard sales cycle report values and the embed works... as below:
This makes me think that everything I have done is correct except the data values passed.. however something happens behind the scenes I think.. maybe a SAP employee can help how I might pass to custom?