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

Similar Messages

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

    The 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

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

    Hi 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

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

  • 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

  • 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 Cube with Services FM Error

    Hi All,
    Am using Virtual Cube for Reporting Inventory data.
    Am moving Inventory data from a Cube to a Virtual Cube.
    As the Calculations of Inventory is done mostly in Queries am downloading the data from Inventory Cube through Function Module and passing this output to Virtual Cube through services of Function module .
    when i pass the Values to the Function Module Output Table
    e_t_data following errors occur:
    ASystem error in program SAPLRRK0 and form HIERA_AGGRE_SPID-01.
    Please help me out in this issue.
    Thanks in Advance
    Arun

    Hi Arun,
    Do you have aggregates on the original cube from which yur are pulling the data.
    I think this issue is becasue of the aggregates.
    just check it and try tp find how to import the aggregates if any there are.
    Thanks

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

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

  • 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

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

    Hi Noor,
    Check this link, it may help you.
    Re: Transport issue - Source system does not exist
    Regards,
    Vijay G.

  • To update Employee Data with Function module

    Hi
    CRM employee master and HR employee master need to be mapped
    for the labor cost posting function to work.
    In BP transaction (Change in BP role : Employee),
    I could update "Personnel number" and "User Name"
    under Identification Tab
    now I need to do same job with Function module in report program.
    Anybody knows that what Function module should I use ?
    I tryed to do it with Function "CRMXIF_PARTNER_SAVE"
    but I only succesed to update imformations under Adress tab in BP transaction.
    thank you.

    Use FM BAPI_BUPA_CREATE_FROM_DATA.
    Rg,
    Harshit

  • How to copy a generic extractor with function module into a new system?

    Dear Gurus,
    i would like to know how i can copy a gneric datasource with function module from one system to the target system.
    Thank you
    Cheers

    Hi Anesh,
    thank you for replying.
    Since the Datasource will have a new new in the new system, i will create a new one.
    Create a generic datasource base on the table is not the problem.
    My problem is how could i copy the FM in the new system?
    If you can help me on that, it will be fine.
    Thanks

Maybe you are looking for