0BWTC_C08 cube, virtual provider Query Problem
Hi Gurus,
Has anyone worked on 0BWTC_C08 cube. it is statistics virtual provider. i have installed it in BW and ran a query on it without any selections, 0TCTIFCUBE in rows and frequency in columns it is returning null data for all the cubes.
Hi amarri9:
Take a look a t the SAP Note 309955 - "BW statistics - Questions, answers and errors".
Regards,
Francisco Milán.
Similar Messages
-
Hi Friends,
I was created a new multiprovider which contains two InfoCubes, First infocube contains the Site & Material and second infocube contains only Material, so when i executed the query it is Showing the first cube Values in some rows, after ending the first query values, it is showing the second query values, i am unable to finding the solution.
Plz help me.
Regards,
Rams.
Message was edited by:
Rams RamsHi,
Check in the multiprovider option if you have selected the material number to match with both infoproviders, in order to do this :
1)Double click in MultiProvider
2)Next
3)Characteristic Tab, click in Identification Button.
4)Check if the material number is selected in both infoprovider
End
Regards
Asign point if useful -
Query on a virtual provider (nearlined) locks indexing
Hi,
We have a few queries that are on the virtual providers. These are nearlined (SAND) data. When a user execute this query, a lock is established in SM12 on the RSDDTREXDIRTABL table with the virtual provider name as the argument. Due to this lock, any SIDs that are part of the virtual provider are not able to index in BWA. Since the queries on the virtual providers are usually long running ones, the indexing waits and finally fails. We plan to increase the wait time settings in the RSDDTREXADMIN table.
Why does a virtual provider query locks the SID? Is it because, the queries simulate a realtime data load from the nearline storage and in the process simulate SID generation (eventhough these SIDs are existing in BW and not yet archived).
Anyone dealt with a similar issue? Any suggestions?
Thanks,
MuraliHello Murali,
I don't think this scenario has been tested much. Please open a customer message so SAP support can analyze the issue.
Regards,
Marc
SAP Customer Solution Adoption (CSA) -
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 -
Virtual provider cube ABAP Code to read the Characteristics
Hello Friends. We have a virtual provider cube that is connected to the basic real cube for the GL. We want to populate three Characteristics in the virtual provider which are Material Codes, Code1 Code2 Code3 which change very frequently, every alternate day in ECC.
I want to write the Code in Func Module of Virtual Prov Infocube
that read the Mapping DSO for the Values of Material Codes, Code1 Code2 Code3 and Populate it in the Virtual Cube at RUNTIME of the execution of the Query built on the virtual provider.
If you have implemented this functionality can you pls. provide the step by step details.
Thanks
SoniyaHi,
I have used ABAP for hierarchy but it is in BPS. I have used some of the CLASS given by SAP.
For your requirement, you can use the CLASS CL_RSR_HIERARCHY
Rgds,
Shailesh -
Virtual provider 0TCT_VC01 - ST03N Gives Dump
Hi,
Have installed BI7.0 Technical contents and have loaded query statistics data using process chain. Everything is working fine except for one scenario.
In one of SAP docs its specified that 0TCT_VC01 is used to take delta statistic records from database view RSDDSTAT_OLAP. When there are no new delta statistics available in this view (i.e, once all data are loaded into basic cube), a dump is seen in ST03N transaction when BI workload for the current day is selected. Dump says "SAPSQL_SQLS_INVALID_CURSOR"
Has anyone faced this issue?
Regards,
Vidhya.AHi Chetan,
Thanks for the reply!
Have already done all the steps specified like "activating the direct access". I am able to see the correct values in ST03.
The only problem happens in one scenario where,
Scenarion1 : Load the process chain TCT* to get all report statistics - this gets all delta records from database view and hence no delta record is available for the virtual cube to read and hence we get a dump in st03n transaction.
If a execute a report then new statistics data would be available in Database view and virtual provider can read those. In this case there wouldn't be any dump. My issue is with the first scenario only.
Hope the issue is clear.
Regards,
Vidhya.A -
Virtual Provider with function Module
Hi,
I have one Querry which is built on Virtual Provider.But due to huge amount of data , it goes to dump.The Query fetches only one single record , summation of all the key figures.
Currently Virtual Provider is built on DTP Based on DTP/3.x InfoSource.
If i create Virtual Provider on Function Module,which will calculate the sum of key figures , will it solve my problem.Or is there any other option.
I dont wnat to do any analysis on it , just for Reconcilation purpose
Regards,
AnitaThe query execution will be fast if your code to get the data is tight and the SQl is tuned - same as anythign else really
Step by step -
create a generic datasource on BW using FM
code the FM to get data from the cubes/ODS objects
replicate the datasoruce on the BW box on itself
create a virtual provider that uses the datasource
create a transformation between the datasource and the virtual cube
create a direct access DTP between the virtual cube and datasource
create a query
however - you may still have response time problems using the virtual cube
Can you use aggregates to get the response time down without using a virtual cube?
When you analyse the SQL and check the query execution path in RSRT - are the stats up to date?
If you could SQL against the tables better than the OLAP processor does - then you use a virtual cube
This should be a last resort - you ned to go through all the normal options first -
BI: Virtual Provider for ECC Report with same selection parameters
Dear all,
I have attached screen shot of ECC report selection screen with contain Material, Plant and Dates. As report is bit complex and I need to use just ITAB (internal table) of it for further use in BEx Query and for Dashboard purposes.
Problem: I need to call this report by creating Virtual Provider in BI so that I get data from ECC at runtime as it is shares report so I can't able to save any data in transparent table as report calculated opening balances at runtime.
It is possible for me by using function module i can get itab by submit return and then create Data Source for it ?
As i make copy of FM ZZRSAX_BIW_GET_SIMPLE i cannot use submit there due to OPEN CURSOR mechanism there.
Kindly anyone suggest how it is possible to call report with same selection parameters for creation of virtual provider.
Please mention if i miss any point in explaining problem.
Feel free to ask for any query.
Many thanks.
Hoping for positive and quick responses.please create 2 reports as given below.-
REPORT ZSZP_00007.
parameters a(5) .
parameters b(5) .
parameters c(5) .
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'A' or screen-name = 'B' .
get parameter id 'aaaaaaaaaaa' field a.
get parameter id 'bbbbbbbbbbb' field B.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
start-of-selection.
your logic
REPORT zszp_00005.
PARAMETERS a(5).
PARAMETERS b(5).
START-OF-SELECTION.
SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
your logic
SUBMIT zszp_00007 VIA SELECTION-SCREEN.
i hope this approach will solve your problem.
thanks
Swanand -
0Soursystem in a virtual provider
We have 0Customer compounded with 0Soursystem to obtain unique customer numbers.
I have taken a 3.x infosource which successfully populates a standard cube and used this as the source for a virtual provider.
The problem is that 0Soursystem shows as unassigned in the virtual provider.
I have tried changing the transfer rules to pass a constant value to the VP but 0Soursystem still is not populated.
Any suggestions would be appreciated.
Alex*"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
*"Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies" -
Virtual provider and Inverse routine
Hi guys,
I have a strange problem.
I've implemented a virtual provider over data source in ECC
and it works fine when I filter the query.
I get the filters in my inverse routine.
But when I try to restrict the data via restricted key figure,
I cannot get the restriction in my Inverse routine.
Any ideas?
Regards
ShlomiHi,
You create inversion routines for virtual provider in order to pass query selection criteria to the source system. This helps to improve your performance.
In case of restricted Key figures the restrictions will not be passed to the source system, but will be applied to the dataset fetched from the source system for selections given in query selection criteria. Hence you will not see the restrictions in transformations.
Note:
Inversion routines are used to pass only the selections provided in query.
- Geetanjali -
Creating OHD for Virtual Provider
Hi,
I want to read data from SAP BW using OHD and Third party tool.
I am using SAP BW 7.4
My question is can we create OHD for Virtual Provider in BW 7.4
Thanks in advance
PoornimaHi,
thanks for the guidance.
Yes, I tried to implement exactly as in the article.
Yes, I defined the filter for the Infoprovider, as ZV*
Are you suggesting that at this point, if in the method if_ex_rsr_olap_badi~define, I change the value of
"ZV_ZIPER" to my DSO or Cube, I should now see the virtual key figure in my query?
Based on this understanding, I modified the method as follows, (my cube name is 2LIS_11_VASCL):
method IF_EX_RSR_OLAP_BADI~DEFINE.
DATA: l_s_chanm TYPE rrke_s_chanm,
l_kyfnm TYPE rsd_kyfnm.
FIELD-SYMBOLS:
<l_s_chanm> TYPE rrke_s_chanm.
Insert Code
CASE i_s_rkb1d-infocube.
CASE i_s_rkb1d-2LIS_11_VASCL.
WHEN '2LIS_11_VASCL'.
l_s_chanm-chanm = 'ZVAR_SHPR'.
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
l_s_chanm-chanm = 'ZVARDT'.
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
APPEND 'ZV_20DV' TO c_t_kyfnm.
ENDCASE.
endmethod. "if_ex_rsr_olap_badi~define
After activation, I checked the query and still I am not seeing the virtual key figure in the query for selection.
Any more ideas?
Thanks
Edited by: Amanda Baah on May 24, 2009 8:01 AM -
Use of 0REFPER in multiprovider reporting with virtual provider in BCS
Hi all,
We're using the multiprovider reporting option in BCS 6.0 / BI7.
As you may know the data in the 'closed periods' provider is populated with closed requests, which need not necessarily be for individual periods (this is different to BCS 4/BW3.5)
As far as I understand from my discussion with the BI team, in the 'closed periods' provider each reference period is populated with ALL data for the year (so a January record appears in 0refper = 01,2008 and also 0refper = 02,2008, whereas a February record only appears in 0refper = 02,2008).
Reporting on a specific reference period will provide data relevant to the hierarchies effective at that reference period.
BUT when the virtual provider is taken in to account for March, surely the reference period is now 03,2008 - so how will the multiprovider choose any records from the 'closed periods' cube?
What I'm not sure about is how the BI report should be structured in terms of 0REFPER selection to ensure that the relevant closed period data is selected alongside the virtual provider data.
I haven't found anything in the help documentation, or the SDN forum - has anyone found a useful source of guidance from SAP?
If not, has anyone got experence of this?
(of course, points will be provided for all useful answers).Thanks Dan,
I would caution about the use of 0refper for the multiprovider scenario.
Have you used the multiprovider scenario? There is good documentation from SAP on how to set it up but nothing on how the queries/reports should be built. When BCS generates the multiprovider and virtual provider, it adds in 0refper (and the others)
It is my understanding that the closed-period records are stored with cons group as opposed to those of the virtual infoprovider where cons group is only included for posting levels 02, 12, 22 and 30.
+ Thus if the organization/cons groups are changed, it could cause reporting issues unless the closed-period infoprovider is repopulated using the new or changed cons groups.+This was my understanding too, but the BI team are telling me it is NOT required in BCS 6 / BI7.
I will investigate further an post my analysis back here.
In the meantime if anyone else has experience of the multiprovider scenario reporting, espcially in BCS 6 / BI7. Then please do post your experiences here. -
How build where clause in select statement in FM for Virtual provider
Hi
I looking for example of FM for Virtual provider where I find code how assign to select statement "where" clause value from query variable.
In following code how build t_r_custtype range and how assign value to it.
CODE********************************
TYPE-POOLS: abap.
initialize
CLEAR: e_t_data, e_t_msg.
this is specific to infoprovider VIRTPROV
CHECK i_infoprov = 'VIRTPROV'.
FIELD-SYMBOLS: <l_s_sbook> TYPE sbook,
<l_s_data> TYPE ANY.
DATA: l_t_component TYPE abap_compdescr_tab,
l_t_sbook TYPE TABLE OF sbook.
initialize
CLEAR e_t_data.
Data selection / only Business Customer
SELECT * FROM sbook
INTO CORRESPONDING FIELDS OF TABLE l_t_sbook
WHERE custtype in t_r_custtype.
ENDCODE********************************
Thanks a lot
AdamHello,
Would you like fill the ranges in Customer exit for BEx..?
If Yes. please refer the attachment for the whole code...
"Sample code in Customer Exit in BEx"
IF i_step = 2.
CASE i_vnam.
WHEN 'ZDAY_CX'.
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDAY_IN'.
CLEAR: l_s_range.
ZT_DT1 = loc_var_range-low.
ZT_DT2 = loc_var_range-HIGH.
CALL FUNCTION 'DATE_CREATE'
EXPORTING
ANZAHL_JAHRE = 0
ANZAHL_KALTAGE = 0
ANZAHL_MONATE = '-1'
ANZAHL_TAGE = 0
DATUM_EIN = ZT_DT1
DATUM_EIN_ULT = ' '
ULTIMO_SETZEN = ' '
IMPORTING
DATUM_AUS = ZFIDAY .
E_TT =
E_ULTKZ =
CALL FUNCTION 'DATE_CREATE'
EXPORTING
ANZAHL_JAHRE = 0
ANZAHL_KALTAGE = 0
ANZAHL_MONATE = '-1'
ANZAHL_TAGE = 0
DATUM_EIN = ZT_DT2
DATUM_EIN_ULT = ' '
ULTIMO_SETZEN = ' '
IMPORTING
DATUM_AUS = ZLSDAY.
E_TT =
E_ULTKZ =
l_s_range-low = ZFIDAY .
l_s_range-high = ZLSDAY .
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDLOOP.
*****************************************End*************************************
**To get the From date (For Text Variable) as per the user input date interval range**
WHEN 'ZR_S'.
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZDAY_IN'.
CLEAR: l_s_range.
ZT_DT1 = loc_var_range-low.
ZT_DT2 = loc_var_range-HIGH.
CALL FUNCTION 'DATE_CREATE'
EXPORTING
ANZAHL_JAHRE = 0
ANZAHL_KALTAGE = 0
ANZAHL_MONATE = 0
ANZAHL_TAGE = 0
DATUM_EIN = ZT_DT1
DATUM_EIN_ULT = ' '
ULTIMO_SETZEN = ' '
IMPORTING
DATUM_AUS = ZFIDAY .
E_TT =
E_ULTKZ =
l_s_range-low0(2) = ZFIDAY6(2).
l_s_range-low+2(1) = '.'.
l_s_range-low3(2) = ZFIDAY4(2).
l_s_range-low+5(1) ='.'.
l_s_range-low6(4) = ZFIDAY0(4).
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDLOOP.
*****************************************End*************************************
Please let me know if any clarification required..
Rinku.. -
Error while trying to access data from virtual provider - Technical Content
Hi,
I am trying to install the new BI 2004s technical content. I am done with the installation I am trying to display data for the remote cubes delivered i.e. 0TCT_VC11/21 etc. but getting an error:
Error reading the data of InfoProvider 0TCT_VC11
There is still no data source assigned to VirtualProvider 0TCT_VC11
The virtual providers are of type "virtual provider based on DTP" since standard technical content didnt have any DTPs for the VC cubes I tried to create some direct access DTPs based on datasources 0TCT_DS11 but there also getting error:
Source doesnt support direct access
I saw the type for datasource 0TCT_DS11 and its using SAP SAPI and not direct access and couldnt change the type actually the same datasource is also used by cube 0TCT_C11 so changing the type probably wouldnt have been a good idea.
I found the following notes 996735 and implemented its change...but no use...
we are on SP10 and content 7.03 SP2. Can anybody please help??Hi all,
The above mentioned solution is a good idea but in this context not appropriate as it aims at resolving an issue in the delivered Content Version of 0TCT_VC11.
In your case, you already have 0TCT_VC11 activated and you can not read any data from this VirtualProvider in queries. Right?
In that case, you have to:
1. Check that the entire data flow is active for the InfoProvider (activation should occur for the MYSELF source system): 0TCT_VC11 with InfoSource 0TCT_IS11 with DataSource 0TCT_DS11
2. Activate the direct access for the VirtualProvider (Context menu of 0TCT_VC_11 > Activate Direct Access > Source Syst. for InfoSource3.x > Mark the column with the MYSELF source system and Save).
This corresponds to Installation "Step 5.) Activate direct access for virtual providers" that is mentioned in SAP Note 934848 "Collective note: (FAQ) BI Administration Cockpit".
Best regards,
Rudolf Hennecke
SAP NetWeaver RIG BI -
Error in virtual provider?( is it possible from flat file)
hi friends,
this step i am using my flat file extraction.
i created DS and under extraction tab i gave direct access allowed, i didnt create infopackage.
i created virtual provider and applied transformations , i created DTP and activate it.
but i didnt execute it . right click my virtual provider activate direct access. now i am tryning to see data in virtual provider, i am getting this error.
please let me know what i done is correct or not, if correct how can i solve this problem
<b>errors:</b>
<b>error in bw
operation generate count not be carried out for request 8
object data transfer process dtp_diel1003lx0biivvkp is locked</b>hi,
please answer if possible or not>
Maybe you are looking for
-
Need help in creating a 16gray levels 4 bit IndexColorModel.
Hi ppl, Really need help with the above mentioned. I have reduced a 256 gray level .PGM image to 16 gray level (not using JAI). However, I'm having lots of trouble trying to create the image. It always comes out too dark. Does anyone know what the pr
-
Performing Intersect on Opportunity History and Opportunity Product Revenue
I've reviewed as many postings on Intesect and Union as I possibly can, but I'm still stumped. In my case, I'd like to put data from the Opportunity History together with the Opportunity Product Revenue History. I can get it somewhat close to what I'
-
Strategic consideration of using Pro*C package vs. imbedded SQL Select
Hi, I have a old application I'm looking into that uses proC call to get needed data thru Oracle Package.Procedure. Actual call to Package see below, 1 parameter, output in REF Cursor, SQL Select is simple nothing fancy. I just wondering what could b
-
APG advises iTunesSetup.exe for latest version of Itunes contains virus
I have tried to upgrade my itunes for Windows onto my Windows Vista laptop, however everytime I try to upgrade it either comes up with errors, or in this last instance for iTunes 10.5, it stated that I was missing a .dll. (Sorry didn't write down whi
-
Help. Cannot create another user account
I am trying to add another user account but systems preferences will hang whenever I choose Accounts. It works fine otherwise (any other selections can be made with no problems). When I press accounts it will say loading accounts but never go anywher