Infocube with services
to fill virtual infocube i wrote function module
when i view virtual infocube in BEX all data is displayed in linear form, not hierarchically.
what to do to display data hierarchically.
Hi Hem,
In BW online documentation some details are available regarding the Option "Convert Restriction".
Please see below:
This options is for converting/simplifying selection conditions. These conversions only change the transfer table in the user-defined function module. The result of the query is not changed since the restrictions that are not processed by the function module are checked at a later time in the OLAP Processor.
Options:
No restrictions: If this option is selected, no restrictions are passed to the InfoCube.
Only global restrictions: If this option is selected, only global restrictions (FEMS = 0) are passed to the function module. Other restrictions (FEMS > 0) which can be created for example by restrictions on columns in queries are deleted.
Simplify selections: This option is not available at the moment.
Expand hierarchy restrictions: If this option is selected, restrictions on hierarchy nodes are converted into the corresponding restrictions on the characteristic value.
Pack RFC: This option packs the parameter tables in BAPI format before calling the function module and unpacks the data table that is returned from the function module after the call. Since this option only makes sense in connection with a Remote Function Call, you must define a logical system that is used to determine the target system for the Remote Function Call when you select this option.
I think the points are clear.Let me know if you want me to discribe some point in detail.
Regards,
-Ashish Goel
Similar Messages
-
Regarding Virtual InfoCube with Services
Hi All,
I have a general doubt regarding two Standard InfoCubes
We have two InfoCubes FIGL_C01, FIGL_C01, based on which we have two Virtual InfoCubes with services. FIGL_VC1, FIGL_VC2.
What is the necessity for maintaining these InfoProviders as we are already having the base InfoCubes on which we can derive the queries.
What is the basic use of Virutal InfoCube with Services.
Regards.Hi,
SAP help says:
<i>At query runtime, the service of the virtual InfoCubes uses the data from the basic InfoCubes to determine the balance-dependent location of the financial statement items (contra items), in the financial statement version and presents the result in the query. From the technical point of view, the service determines the item indicator in the key for the financial statement items depending on the balance in the respective node in the financial statement structure.</i>
To know further infomation about why we need to find the Item indicator in finance statement refer:
http://help.sap.com/saphelp_nw04/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/frameset.htm
Note 673564 describes exactly why the virtual Infocubes 0FIGL_VC1 and 0FIGL_VC2 were developed. (because BW cannot handle the FI fin. statement hierarchies)
With rgds,
Anil Kumar Sharma .P -
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 -
View Hebrew characters via a virtual InfoCube with services?
Hi there!
Is it possible to view Hebrew characters via a virtual InfoCube with services from an external database?
Requirement
Data which is physically stored in an external database needs to be shown in a SAP BW report to the end users. The movement of data must be avoided.
Concept
We use a virtual InfoCube with services in connection with UDC in order to retrieve data from an external database.
System Architecture
We use BW 3.5 and Web AS 6.40 J2EE on the SAP side. The external database is a Teradata database. All systems communicate in Unicode UTF-8.
Problem
The access of the data using SAP queries in this architecture works fine with regular Latin characters and numeric values. When we try to transfer a field into an InfoObject of the virtual InfoCube, which contains Hebrew characters in the external database, we are getting the following error message:
Messages:
Value '' (hex. '') of characteristic contains invalid characters
System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
Can anybody explain this?
Thank you and best regards
Klaus-PeterHi Klaus-Peter,
Execute transaction code <b>RSKC</b>. In the "<b>Permitted Extra Characters</b>" field, input all your Hebrew characters and save your entries by executing the "<b>Execute</b>" icon.
Then go back and re-run your upload program. You shouldn't have any invalid characters again, provided you have added them all.
I hope the above helps.
Do not forget to award the points please.
Thanks and Regards,
Jacob -
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 infocube with Function module
hi!
i wrote function module that fill virtual cube with data.
i can view loaded data. but data in Bex is not displayed hierarchically.
what to do?
interface of function module:
import parameters:
I_INFOPROV type RSINFOPROV
I_TH_SFC type RSDRI_TH_SFC
I_TH_SFK type RSDRI_TH_SFK
I_T_RANGE type RSDRI_T_RANGE
I_TX_RANGETAB type RSDRI_TX_RANGETAB
I_FIRST_CALL type RS_BOOL
I_PACKAGEZISE type I
export parameters:
E_T_DATA type STANDARD TABLE
E_END_OF_DATA type RS_BOOL
E_T_MSG type RS_T_MSG
may be any parameters are missing.
or anything in BEx must be configured.Hi 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 -
what is 'with services infocube' and its purpose,when do we use it?
Mallik
It's called as Virtual Info cube with services. This cube is based on oser defined funcction Module and doesn't hold any data. Basically we use this type of cube to display non BW Data Sources Data in BW. Please check this link for more details
http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
Hope this helps
Thnaks
Sat -
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 -
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 -
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 -
ORADC problem on Windows 2000 with Service pack 1 and service pack 2
Hi,
I have a VB application running on NT4.0 workstations. It uses
ORADC control to talk to ORACLE 7.3 When I load it on Windows
2000 with service pack 1 or service pack 2, I encounter some
problems.
The ORADC control is used in most of the VB forms and the
Refresh method of the ORADC conrol is used to refresh the APEX
TRUE DBGRID PRO control. When this action is executed, I receive
a run time error
"Method Refresh of object '_DORADC' failed Err#: -2147417848
It works fine when no service pack is applied on Win2K.
Can anyone tell me what's going on?
Thankssatheesh_p wrote:
Thanks for your reply.
When I checked the system requirements. I couldn't find information on windows 2003 service pack 2
link http://www.adobe.com/products/coldfusion/systemreqs/.
Whether your OS is windows 2003 with service pack 2?
Are you sure coldfusion 8 will work on windows 2003 with service pack 2?
Regards,
Satheesh.
Well it was there, if you understand the naming properly:
ColdFusion 8 system requirements
Windows
Intel® Pentium® II or AMD Athlon processor
Microsoft®
Windows® 2000 Professional with Service Pack 3; Windows 2000 Server,
Advanced Server, or Datacenter Server with Service Pack 3; Windows
Server® 2003 Web, Standard, or Enterprise Edition with Service Pack 1
and R2; Windows Server® 2008; Windows XP Professional or Home Edition;
or Windows Vista®
R2 is the "offical" Microsoft name for service pack 2. -
Firefox connects to google-analytics for some sites,when i click on links in websites or emails and then gets stuck, and I can never get onto the site. Or opens a new bower behind the one i'm usind that's blank i don't even know it's there untill i close the one i'm using. How do I prevent Firefox from connecting to google-analytics? Or opening a blank bowser behind the one i'm using. I use XP with service pak 3 in English
== This happened ==
A few times a week
== a couple months agoI got the same issue.
I go on a website and all the sudden another window pops up with "results.google-analytics.com" or "search.google-analytics.com". It has often ads for other sites for example. black single dating site
how can I can I stop that from happening again?
I didn't download or do anything, just visit websites, that I visit on a regular basis.
OS: Windows XP
Firefox Version: 3.6.6 -
Administrate virtual info cube with services
hi, all,
if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
best regards
nevenhi..
according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
Vishvesh -
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
Maybe you are looking for
-
Changing color of a field after changing the data using OOPS ALV.
Hi Experts, I have displayed three fields (price, no. of products and total amount) in my ALV grid using OOPS. Then am changing the data in either price or no. of products fields. When I click ENTER key the value in total amount changes corresponding
-
Error while creating internal order
Hi, I have defined an Order type for budgeting purpose, so that statistical internal orders be created under that order type. This is required for budget controlling. Now I am not able to create internal order in Ko01. I am getting the below error me
-
Adobe Interactive Form Display
hii experts I have developed a simple application of displaying a PDF but when i deply i get the error log as below: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployable
-
I deleted Ipod app by mistake, I just got iPad and didn't know I needed iPod to play music, as I have a droid I didn't think I needed it! I could not find it in App store! What can I do?
-
Wi-Fi function available - However unable to detect any Wireless Networks
Hi All, Yet another thread about Wi-Fi issues with the iPhone. --- Underlying problem I am experiencing. --- iPhone Wi-Fi function is available. When I try connecting to Wireless Networks I receive a message detecting available network and it will no