Virtual InfoCube Function Module
Hi, Does anyone know where I can get a good code example of a Virtual InfoCube Function Module? The "How to.. Implement a VirtualProvider with Services" is totally inadequate and has undocumented ABAP Code so I can't figure out what it's doing... An example with selecting data using the variable selection table I_T_RANGE would be helpful. Any help is greatly appreciated.
Thanks
check the link:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/balance%20sheet%20and%20profit%20and%20loss%20statements%20in%20the%20sap%20business%20information%20warehouse%20exercise
Similar Messages
-
Virtual Remote function module
Hi
I have a Virtual function module coded on top of a multiprovider, I need to know where do we need make a setting to link this Virtual Function module to queries run on my multiprovider.yes.. I have written code.. The thing is I would like to know if there are 2 RFM's on top of this Multiprovider for testing purpose I would like to test with 2 of them..
I would like to know how can I make the query understand that take the second RFM for time being and switch over again.
How do I ? -
Create virtual infocube using function module
HI all, Searched lot of document to create virtual infocube using function module, I am not getting good one, If any one give PDF document step by step process it will be useful for me. thank u
Hi
Please refer this document.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9066d1fa-efc1-2b10-7b96-9ddee3b11b40?quicklink=index&overridelayout=true
Thanks
Suganya -
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 -
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 -
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 -
What Function Module is used in a Virtual Cube
Hi,
where can is see what Function Module is used for a Virtual Provider(Cube)?double click on infocube, then in the menu choose Extras --> Information/Log status and then choose "Type/Namespace" and you will see the screen with all required information.
Regards,
DL -
Issue with creating virtual provider using function module
Hello experts,
We are building virtual cube based on function module by following the SAP guideliness.
Upon execution of the virutal cube we get the following message:
CX_SY_DYN_CALL_PARAM_MISSING Infocube parameter missing
In method READ_DATA of class CL_RSDRV_VPROV_LOC_NOSID
Did anybody experienced this message and what was your resolution?
Thank you ahead for any assistanceHi Naveen,
In some cases where the cubes are build on FM, there can be a chance that the FM information gets missed out from the cube.
Can you please try the below steps:
a) RSDCUBE transaction and enter your cube name and Edit
b) Click on button i(Informatiuon)
c) Clieck on button 'Type/Attributes'
d) Click on button 'details'
e) in field 'FMOD/CLASS/HANA MOD', enter the FM you want for to use for the cube
f) Save and reactivate the cube.
Please let me know what happens?
BR
Prabhith -
Virtual cube with function module
hi
I wrote function module which is used with virtual cube.
When I launch query build on this cube in the BEX i can't interrupt execution
of function module. How to put break point. may be there is any option that could turn off debugging?Try an external breakpoint. How you set that depends on your version. If there's not a button for it on your editor screen, look at utilities->settings->ABAP Editor->debugging in SE38.
matt -
Function module to get the chars and key figures of an infocube
Hi Everyone,
Can anyone please let me know is there any function module where if I pass the infocube name as the input parameter, it has to give me the output parameters its characteristics and key figures.
I require this to display the report in drilldown form i.e first the infocube name and then later its chars-i.e its fiscyear, etc and then compcode..
Thanks,
Prashant.Thanks the fm is really very helpful, but is there anyother fm or table which stores all the record count of the infocubes in the bw systems according to there infoobjects, say for eg. infocube a has fiscyear and for the year 2000 or 2001 the no:0f records information.
It would be nice if anyone knows is there any fm which gives all these information.
Thanks,
Prashant. -
Problems in Function Module of a Custom Virtual Cube
Hi all,
I have copied a Function Module-- RS_BCT_FIGL_DATA_GET_VC10 into a custom one ZRS_BCT_FIGL_DATA_GET_VC10. A custom Virtual Cube(ZFIGL_V10) was also created using this FM. The Function Module and Function Group are activated and there are no syntax errors in the custom FM.
When I try to check data of this virtual cube using the T-CODE "listcube" it gives me the following errors.
1. "An exception with the type CX_SY_DYN_CALL_ILLEGAL_FUNC occurred, but was neither handled locally, nor declared in a RAISING"
2. "The function call failed; the function ZRS_BCT_FIGL_DATA_GET_V10 is either not activated or contains no code"
Also some queries are not executing in this Virtual Cube.
Could not figure out what the problem was.Can someone help me on this?
Thanks
MaddyHI,
Can you check whether the FM is activated. Also check the function module group is activated or not. You can check the status of the same via SE80.
Goto SE80 -> Select function grp -> give your function grp and press enter
Double click on the below funtion grp to check status.
Also expand FM and check whether it is activated.
Also check the import and export parameters of the FM. Try to see whether there is any discrepancy.
If any default values are specified, check whether they are correct.
Also try to debug, put a breakpoint in your code and check whether it gets into the code or not.
Regds,
Shashank -
Generic function module for input two Infocubes and output one infocube-APO
Hi All,
My requirement is we have to pick data from two infocubes(Billing and Backlog) and send to One info cube.
can you please send me an;y generic function module is available in APO or explain me how to solve my requirement.
waiting for your response.
Thanks for Advance.
Shubhojit.Hi,
I recommend using a multi-cube also but if you insist in JOINing two cubes then you can do that in an ABAP SELECT statement. You need to join the fact table and the dimension tables for all dimensions (for all InfoCubes). Please only retrieve data whose OBJVERS="A".
Please post again if you need more help.
Regards,
Emmanuel -
Infocube via function module or classes
hi
Is there any function module or classes to extract key figure from an infocube based on selection criteria?
thanks.Check the links :
http://www.geocities.com/victorav15/sapr3/abapfun.html
http://www.sapgenie.com/abap/functions.htm
http://members.tripod.com/abap4/SAP_Functions.html -
How to set quality status of a request in an infocube by a function module
Hi folks,
in the maintenance of an infocube you have the possibility to go to a dialog called "maintenance of the automatism". That dialog allows you to set a flag therewith the quality status of a processed request is set automatically to green.
Does anybody know how to do that with a function modul or which tables have to be updated in order to do that by a litte ABAP?
Thanks+Cheers, ThomasHi Bhanu,
thanks for that one, pretty helpful.
Think of the following scenario:
1. untick the automatic setting of the quality status
2. load 4 requests into the infocube
3. once last request has been loaded tick the automatic setting of quality status
would that mean that once the status flag is ticked all 4 requests become available for reporting?
Cheers, Thomas -
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
Maybe you are looking for
-
Mac OSX 10.6.8 2.66 GHz Intel Core Duo; Memory-2GB 1067 MHz DDR3 I have been using Office 2004 for a long time, and about three years ago purchased the then new Office 2011 . I installed it but did not like it and removed it from my computer, Now I
-
Where is file size displayed in PSE?
I recently took a Photoshop class (not PSE) and saw that the original file size and the current size (which grows with each edit) is always shown in the lower left corner. I like that. Does PSE do this as well? Thus far I have only seen the image res
-
How to backup only one tablespace in cold backup noarchivelog mode
Hi, How to backup only one tablespace in cold backup noarchivelog mode Reagrds, Rushang
-
Error when the wrapper vast response is empty
Hi, When the targeted adserver returns an empty vast response through the Wrapper/VASTAdTagURI tag, the error below is triggered : TypeError: Error #1010: A term is undefined and has no properties. at org.osmf.vast.parser::VAST2Parser/get a
-
JavaScript URL rewritting in Enterprise Portal
Hi Experts, I am working with EP and JavaScripts. We are making changes through JavaScript in Portal. I have to rewrite the URL's with new URL's by using JavaScript. I am using the following code- if( parent.document.body.innerHTMLindexOf(URL)>0)