How to create Virtual InfoProvider with Services - Virtual Characteristic
Hi all,
I need to create a virtual infoprovider that also fills a virtual characteristic in order to display custom characteristics and calculated values based on user selection.
Basicaly what I want to do is send a variable in a virtual characteristic equal to the values I want to fill in the characteristic. So for instance if my base cube contains the infoobjects Brand, Product Line, Region and Country I want a have a new infoobject that has no data, but fills itself with the vales of the infoobject I specify at query time on the virtual cube.
The reason for this is I am trying to create a WAD using the delta chart (waterfall graph) that will show the difference between the plan and actual totals for a specific characteristic in Profitibility analysis.
I have a document that explains the situation. Send me your mail address and I will send you the document.
Kind Regards
We found a way to build the structure for this.
Regards
Similar Messages
-
Difference between General remote cube and virtual infoprovide with service
Hi guys,
I could not understand the difference between general remote cube and virtual infoprovider technically. And I could not find the document about how to set general remote cube.
I only find the following sources.
http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c0234239f75733e10000000a155106/frameset.htm
"In comparison to other VirtualProviders, this VirtualProvider is more generic. It offers more flexibility, but also requires a higher implementation effort.".
I am welcome your lecture. Especially I would like to know how to set general remote cube..
Kind regards,
MasaakiHi,
You better take a look on the link:
http://help.sap.com/saphelp_nw04/helpdata/en/8d/2b4e3cb7f4d83ee10000000a114084/frameset.htm
Remote cube uses BAPI
SAP remote cube uses the BW Service API functions of SAP system
In Virtual cube with services, The data source is a user-defined function module.
with rgds,
Anil Kumar Sharma .P -
Virtual infoprovider with services - Navigational attributes
Hi all,
I have a basic cube in BI system- X , and created a virtual cube in another BI system Y with services to read data from basic cube of BI system X . In BI system Y we built a report on virtual cube. This report (on virtual cube in BI system Y) is using a characteristics say Product group ( which is a navigational attributes of prodect in BI system X).
DataFlow is as under:
Basic cube in BI system X:
Product
Year
Amount
and Product group is switched on as navigational attributes in this basic cube.
Virtual cube in BI system Y:
Product group
Year
Amount
Report in BI system Y:
Product group in rows
Amount in column
This report is not working.
If I do the the following changes as follows then it works:
1.Use Product instead of product group in report
2. Switch off navigational attributes in basic cube.
We are in BW 3.5 and navigational attributes option is ticked on for virtual cube.
In summary, If I do not use navigational attributes in report and switch off navigational attributes from basic cube then report shows data.
Could you please help me to figure out the issue.
Thanks,
HarryThanks Naga,
Yes, I tried adding product in virtual cube as well but it did not work. Secondly, we do not want to add product in virtual cube because of data aggregation.
Most strange thing is that, once we switch on any navigational attributes on basic cube, function module stop working (paasing any data to virtual cube report). report says no appropriate data found. We are using sap standard function module "RSDRI_INFOPROV_READ_RFC". I debegged this code and no data in internal tables.
If we switch off all navigational attributes from basic/source cube this function module provide data to internal tables in code.
Why function module is behaving like that.
You guys experience/support/any clue will be appreciated highly.
Thanks,
Harry -
Virtual InfoProvider with Function module, how to u0094bypassu0094 OLAP memory
Hi
I have created a Virtual Infoprovider with services as described in the How to Implement a VirtualProvider with Services (SAP NetWeaver 2004s). It works and I have even been able to make some special calculations within the code. But how do I make sure that the OLAP engine always fetches data from the source table eg when drilling or filtering in the front-end? I have disabled the query cache but I also need to disable the OLAP engines own cache / memory how do I do that? I need the functionality as the implemented calculations depend on the overall report result and they must be calculated before aggregation.
Hope that you can help
KristianHi Deepu
As I wrote, I have allready set the cache Mode to "0 Cache is Inactive". But this is the the general data cache i.e. reuse of data among users this is not deep enough. I need to make sure that each and every query step goes to the DB for new data.
WKR
Kristian -
Report issue on Virtual cube with services
Hi,
I'm following a how-to document to report on a virtual cube using a custom function module and everything seems to be OK except it is dumping at the following line which is included in the How To document "How Tou2026Implement a virtual InfoProvider with Services".
Both <l_s_data> and E_T_DATA are of same data types as discussed in the how-to document.
append <l_s_data> to E_T_DATA
These are the declarations which are same as HowTo document
E_T_DATA TYPE STANDARD TABLE
FIELD-SYMBOLS: <l_s_data> TYPE ANY.
Did any one face this issue. Greatly appreciate any insight into this issue. We are on BW 3.0B.
the dump i'm getting is ...
Data objects in a Unicode program are not convertible.
Error analysis
The statement "MOVE src TO dst" requires the operands "dst" and "src" to be comvertible.
Since this statement occurs in a Unicode program, the special convertibility rules for Unicode programs apply.
Thanks,
Hari Immadi
http://immadi.com
SEM BW AnalystHi,
In the debugging this is what I found out.. Any further insight?
Virtual cube has only 1 characteristic Z_CRNUM & only 1 keyfigure Z_SR
Report has only Z_CRNUM & Z_SR
<L_S_DATA> has following record & value
component type length contents
K____504 P 9 1.000
S____504 C 18 16EA4D-R
K____504 is the technical name of Z_SR in virtual provider.
S____504 is the technical name of Z_CRNUM in virtual provider.
E_T_DATA (type standard table) has following structure with a total of 5 fields.
S____504 K____504 &KEYEND 1ROWCOUNT Z_SR
Regards
Hari Immadi
http://immadi.com
SEM BW Analyst -
I am playing with creating Virtual cube with services from the document How to Implement a virtual infoprovider with services
I created the Funtion module in R/3 system but got stuck at step 7. I have never worked with FM. What are the things your write in the import tab and export tab for that particular exampleHi,
Maintain the same parameter names and values associated in step 7&8 as shown in the figure.
Import :- you specify all the variables or parameters used in function module. the values for these parameters are passed from external programme and in this example BW must send InfoProvider name, . .etc parameters given in the picture.
Export are the parameters exported from this function module to the external programme in this case Data and other parameters are returned to BW.
Hope this helps.
Thanks,
Mohan -
How to load data from a virtual cube with services
Hello all,
we have set up a virtual cube with service and create a BEx report to get the data from an external database. That works fine. The question is now:
Is it some how possible to "load" the data from this virtual cube with service (I know that there are not really data...) into an other InfoCube?
If that is possible, can you please give my some guidance how to set up this scenario.
Thanks in advance
JürgenHi:
I don't have system before me, so try this.
I know it works for Remote Cube.
Right Click on the Cube and Select Generate Export Data Source.
If you can do this successfully, then go to Source Systems tab and select the BW. Here, Right CLick on select Replicate DataSources.
Next, go to InfoSOurces, click on Refresh. Copy the name of Virtual Cube and add 8 as a prefix and search for the infosource.
If you can see it, that means, you can load data from this cube to anywhere you want, just like you do to ODS.
ELSE.
Try and see if you can create an InfoSpoke in Virtual Cube. Tran - RSBO.
Here, you can load to a database table and then, from this table, you can create datasource, etc.
ELSE.
Create query and save it as CSV file and load it anywhere you want. This is more difficult.
Good luck
Ram Chamarthy -
How to Virtual cube with services works
Hi,
How to Virtual cube with services works.
can anyone provide me a realtime scenerio.
if possible provide some code.
Thanks,
cheta.For which functinality you are trying to create VC with services.
This is mostly used in SEM BCS.
You have to create cube similar path like normal cube, but select in the properties virtual cube, services.
There is a standard FM which connects the Virtual cube to the required cube in BCS. ( this is done by BCS data basis generation function) and we have to do nothing for FM.
In BCS we use virtual cube only for reporting purpose, since standard BCS cube cannot be used for reporting. hence what we do is create another virtucal cube very smiliar to BCS cube.
Then both the Virtual cube and BCS cube are connected by standard FM. -
Virtual infocube with services - division of suppliers in categories
Hello,
Ive a problem and the idea to solve it with a virtual infocube with services. But unfortunately I dont know if its really possible to solve it like this.
The scenario is:
Ive suppliers, turnovers, goods (which have been delivered) and different quality deficiencies. In dependence of the turnover with each supplier, they will be ranked. For the position in the ranking they get points. From this start points one have to subtract points for the different quality deficiencies. In dependence of this end-sum, the suppliers will be divided into categories. And this division should be shown in the query.
But the suppliers can vary in each run of the query in dependence of the selection in the query. And the turnover of each supplier which depends on the selected goods can vary, too. So the division into the different categories depends on the selection and is dynamic. One doesnt know this before. And so it isnt possible to save the category of each supplier in an infoprovider.
Now I want to know, if its possible to solve this with a virtual infocube with services.
I hope theres somebody who can help me. Thank you.
SusanneHello Susanne,
first of all, yes, it can be solved with VirtualProviders. But I wouldn't expect it to have a good performance. It depends on the number of data records we are talking about.
When you create a VirtualProvider you should make sure that the RFC Packing switch is flagged on. You can then get the selections in the tables-parameter selection with the structure bapi6200sl. Now you need to read the raw data for your selection. Either use the function module RSDRI_INFOPROV_READ or write the data into an ODS to simplify the selection.
Based on the raw data you need to do you calculation and write the data back to the table data.
For details of the implementation of the VirtualProvider and the function module you can check the SDN. These topics are also covered in my book ABAP Development in SAP BW - User Exits and BAdIs that was lately translated into English. You can find both the German and English version under <a href="http://www.sap-hefte.de/katalog/hefte/titel/gp/titelID-1256">www.sap-hefte.de</a> or <a href="http://www.sappress.com/product.cfm?account=&product=H1948">www.sappress.com</a>
Best regards -
Virtual InfoCube with Services - function module parameters documentation ?
Hello,
I have been trying to use a Virtual Infocube with Services.
I have seen most of the posts in SDN, and read the documentation in http://help.sap.com/saphelp_nw04/helpdata/en/8d/2b4e3cb7f4d83ee10000000a114084/frameset.htm
I did not manage to find a precise description of the import
parameters of the Variant 2.
In particular, what is the meaning of the
i_tx_rangetab TYPE rsdri_tx_rangetab parameter. I read in the code of RS_BCT_FIGL_DATA_GET that it has to do with query columns. In the tests I did this table is alway empty.
Also, i_th_sfc gives you the list of characteristics used in the query. But it does not inform you on wether these are in the 'rows' 'free characteristics' or 'filter'. Is there a way of knowing that?
Claudio CiardelliHi Claudio,
I never implemented Virtual InfoCube with services with a FM, but I know there is a couple of How To Documents about named:
- How to Reporting from External Data via Virtual InfoProvider
-How to Implement a Virtual InfoCube with Services
both with some code samples: did you read it?
Hope it helps
GFV -
Error after transport of Virtual Cube with Services
Hi All,
would any body can suggest me how we can change the source system assignment in QA or Production client for virtual Cube with Services.
A virtual cube is created with Services using the settings for RFC and using the logical source system. however after transporting the same to the QA system the Logical Source System has not changed and thus it is giving error " Error occured while determining target system for the logical system" would any body can suggest me how i can change the logical source system assignment in QA system for Virtual Cube with services.
Points would be rewarded appropriately.
Cheers
NoorHi Noor,
Check this link, it may help you.
Re: Transport issue - Source system does not exist
Regards,
Vijay G. -
Query ID in Virtual Cube with services-Function module
Hi,
I am using virtual cube with services linked to a function module.
The function module has fixed parameters(such as infoprovider name). None of these parameters consists of query information such as query ID OR queryname .
Do any one know how to determine query which was executed this function module?
Best Regards,
AnilHi Claudio,
I never implemented Virtual InfoCube with services with a FM, but I know there is a couple of How To Documents about named:
- How to Reporting from External Data via Virtual InfoProvider
-How to Implement a Virtual InfoCube with Services
both with some code samples: did you read it?
Hope it helps
GFV -
Virtual provider with services
Hi experts,
we have the same query on virtual cube(with services) and BW loacal cube.Both local cube and virtual cube contains the same data. But both are showing different query results.
that is virtual provider query is not displaying all the values in master data table.
for example we have 10 brands under one company code, the virtual cube query is only showing 5 among them. I would like to see all the values without any restrictions, so can you please guide me.
when i checked from tcode /listcube it is displaying all the values without any restriction.
Thanks for your time.Hi Anupama,
My question is if u have same data in the both cubes ( virtal&Basic) u can create querry on u r basic cube only. But this not answer.
R u using same conditions on both cubes. Means In querry designer.
When u r using the virtual cube(with services) it is generally create on function module, this module properly maintainning the complete master data or not? Check it.
Hope this will help
HARI GUPTA -
What is the use of Data packet dim with Virtual cube with services
Hi Friends,
Could anybody tell me what is the use of Packet dimension in Virtual cube with services , It cannot contain data persistently ,Just fetch at runtime,Then there is no Physical load happening,Then why it should be automatically created for this??
Message was edited by: Pradeep choudhariHi Maik,
Unit dimension will not be created automatically until and unless you have keyfigure referning units..
But my question is : Why should we have data pack dimension , which is useless in this case of Virtual cube with services.It should not be created automatically!! What do you say?? -
Virtual Cube with Services - Debugging
I want to debug the function module assigned to a Virtual Cube with services. Using transaction RSRT, I can access the FM using debugger when the query is initially called, by selecting Debug options/Default Breakpoints/VirtualCube. I want to debug subsequent navigation steps on the query. How do I access the debugger for subsequent navigation steps?
Hi Maverick,
You can extract the attributes of the characterstic but u need to configure depending on the function module you are using to read the data from basic infocubes.
I suppose in your FM u are using RSDRI_INFOPROV_READ*(check in your FM to find this) in to get the data from basic infocube. If it is the case then u need to configure interface parameter I_TH_SFC and I_T_RANGE to get the attributes. Hope it helps and if need more let me know the same. If you are using the other function modules you can follow the same logic.
Regards,
Ramana
Message was edited by: Ramana
Maybe you are looking for
-
Why is my iPod Touch 4G switching the charging symbol?
My iPod touch 4g is about a year and 4 months old on the fourteenth of June. My original apple charger was breaking and it couldn't change the iPod normally because it kept flashing back and forth on the charging symbol. One minute it would saying ch
-
Transaction MRHR and MIRO - Vendor Invoice
Good morning, we have completed the upgrade to 4.7 SAP version (from 4.6c) two weeks ago. To register the vendor invoice for simple Withholding tax in 4.6c we used MRHR, But in 4.7 this transaction is no longer usable and we are obliged to us
-
How to call a darwin command from c-code?
Is there a way to call a Darwin command (in my case unzip ) from a bundle written in c language? Thanks
-
What is the easiest way of listing all the ObjectSIDs in the FIM MA?
We have somewhere a duplicate objectSID. A new AD account was created and has been imported into the MV... I have a MV entry with an objectSID from the Ad account. When I try to export this MV entry to FIMMA it fails. The event viewer and request vie
-
My 5th generation ipod touch won't let me preview music in the itunes store
I can download music just fine; but I can't preview the music BEFORE I buy. Does anybody know why this? I have downloaded ios 7. Thank you!