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 Ciardelli

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

Similar Messages

  • 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,
    Anil

    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 - division of suppliers in categories

    Hello,
    I’ve a problem and the idea to solve it with a virtual infocube with services. But unfortunately I don’t know if it’s really possible to solve it like this.
    The scenario is:
    I’ve 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 doesn’t know this before. And so it isn’t possible to save the category of each supplier in an infoprovider.
    Now I want to know, if it’s possible to solve this with a virtual infocube with services.
    I hope there’s somebody who can help me. Thank you.
    Susanne

    Hello 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

  • 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

  • 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-Peter

    Hi 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

  • 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

  • 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

  • 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 Analyst

    Hi,
    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

  • 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 cube with services read from Multicube?

    Hello All.
    We have logically partitioned the Balance Sheet cube 0FIGL_C01 into 3 new cubes. Now I found that I also had to partition the Virtual cube 0FIGL_VC1 into 3 new virtual cubes( I have copied the standard function module to change the data origin).
    Then I have included 4 virtual cubes in one single multicube.
    When I run a query on the multicube, I get a short Dump.
    My questions are:
    1.- has anyone done the same logical partioning for balance sheet before?
    2.- Is it possible to use a multicube as source of data for a Virtual cube with services, using the balance sheet virtual cube function module?
    Thank you all for your help.
    Regards,
    Alfonso.

    a basic cube can only be a source of data for virtual cube or for  a multicube.
    all cubes should have atleast one char common when u add them in a multicube.
    check this

  • Virtual cube with services

    Hi guys,
    Simple questoin!!
    Where do you write the function module - in R/3 or Bw system for virtual cube with services.

    Depending on where you are extracting the data from, you would host your FM in the same client.
    If the source system is Non BW system, do not forget to enable the RFC indicator on the FM. When you define your Virtual Cube in BW, you will be prompted for the Source System Id and then you can link it up with the FM in the external system.
    Hope it helps.
    _RJA

  • 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,
    Masaaki

    Hi,
    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

  • 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ürgen

    Hi:
    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.

Maybe you are looking for

  • Help with Apple IDs and iTunes please

    One family member has an iPad2 with one Apple ID that is authorized in iTunes on a Win7 laptop.  That laptop has one Windows user account.  Some apps, books, etc were purchased with that iPad2. We recently got a hold of an old iPhone to use as an iPo

  • Is there a way to automatically put CHUD into Nap mode on startup and wake?

    Using nap mode on chud helps my machine run way cooler. But nap defaults off on every restart or wake from sleep. Is there a simple way (or any way) to keep this from happening? Like some workaround with an applescript? I'm an applescript newb, so I

  • Nota Fiscal Return for Non PO invoice

    Hi I am trying to create a Credit Memo thru MIRO for a non PO original inovice. How ever I am getting this error that NF number is not unique. This means that this vendor has already a inovice document with the same NF number. I am not getting this e

  • Reading a pdf document in C# or Converting a pdf document to XML

    Hi All, My basic requirement is to convert any pdf document conatining text to XML with help of C# .NET. Any help is most appreciable. Thanks in advance. Sudhir

  • Additional Data to be added to 7501/Entry Summary form?

    Hi, Just wanted to know if there is any way we could add additional data in the Entry Summary /7501 form? If some extra data needs to be added in the form can this be accomplished through GTS? If Yes then do you think any enhancements should be done?