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

Similar Messages

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

    Hi 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

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

  • Generic Data Source with Function Module data mismatch

    Hi All,
    I'm using Generic Data Source with Function Module, When I execute the Function Module (Which I have Created), I'm getting 16000 records and when run extractor(in RSA3) im getting different no.of records(infact they are more no.).
    when I run the InfoPackage  in BI im Getting more no. of records than what i got executing the function module..
    and single record is divided into 2 records in BI side(not all the records), how can it be possible???
    is there anything Im missing to explain you my issue???
    if understood please help me out.
    Thanks n Regards,
    ravi.

    HI rkiranbi,
    1. FIrst you excute function module according to your paramers, you will get some records. then goto tcode RSA3 --> excute
    Provide your Data source name and under setting we have options like Data records/calls, Display extractor calls and selections --> fields .
    in that options you have to increase the values. and then you have to pass paramers in RSA3 according to your function module
    selections in SE37. Now you will get equal values in both functin module selection and RSA3 Selection. if it fail means  you need to
    check coding logic in function module. 
    2. if your  are getting wrong values in BI System then check with
                  1. compare with PSA data and data target data (here you need to check with characterstic as well as keyfigures)
                  if you find any mistake you need change the coding in function module according to client requirement.
                  2. compare data with RSA3 and bi report data or data target data.
                                 check it properly above steps, you will get solution.
    thanks and regards,
    malli

  • 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

  • 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

  • VirtualProvider with Function Module

    Hi,Experts
    Can anyone tell me how to create a VirtualProvider with Function Module?
    I have read the How to guide"How to Implement a VirtualProvider with service",but I can't go throw the source code.
    Please give me a sample test code of yours!
    Thanks a lot!
    My Email:[email protected]

    Hi Jin
    This question does not belong to this forum, close it and post it in the appropriate one.
    Also, please remove your email address from the thread as it violates the forum guidelines.

  • Hierarchial Layout Saving with function modules

    Hai to all
    i am facing a problem while saving layout in Hierarchial list display with function module.
    below error message is coming when i am going save my layout.
      210     if l_def_variant-variant eq rs_variant-variant.                
      211       l_default = 'X'.                                             
      212     endif.                                                         
      213   endif.                                                           
      214                                                                    
      215   call function 'LT_FC_SAVE'                                       
      216        exporting                                                   
      217 *           I_TOOL            = 'LT'                               
      218             i_tabname         = r_tabname                          
      219             i_tabname_slave   = r_tabname_slave                    
      220             is_variant        = rs_variant                         
      221             it_fieldcat       = rt_fieldcat[]                      
      222             it_sort           = rt_sort[]                          
      223             it_filter         = rt_filter[]                        
      224             is_layout         = rs_layout                          
      225             i_default_variant = l_default                          
      226        exceptions                                                  
      227             fc_not_complete = 1                                    
      228             others          = 2.                                   
      229   case sy-subrc.                                                   
      230     when '0'.                                                      
      231       message s018(0k).                                            
      232     when '1'.                                                      
    >>>>>       message x000(0k) with 'LT_FC_SAVE' sy-subrc                  
      234               raising fc_not_complete.                             
      235   endcase.                                                         
    it is very urgent...
    Subhash.M

    data: ls_vari      type disvariant.
    DATA: w_repid      TYPE sy-repid.
      ls_vari-report      = w_repid.
      ls_vari-username    = sy-uname.
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
      I_INTERFACE_CHECK              = ' '
         i_callback_program             = w_repid
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
         is_layout                      = wa_layout
          it_fieldcat                    = i_fcat[]
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
       it_sort                        = i_sort[]
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
         i_default                      = 'X'
         i_save                         = 'X'
       IS_VARIANT                     = ls_vari
       it_events                      = i_event[]
      IT_EVENT_EXIT                  =
          i_tabname_header               = 'I_FINAL1'
          i_tabname_item                 = 'I_FINAL2'
      I_STRUCTURE_NAME_HEADER        =
      I_STRUCTURE_NAME_ITEM          =
          is_keyinfo                     = wa_key
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                =
      IR_SALV_HIERSEQ_ADAPTER        =
      IT_EXCEPT_QINFO                =
      I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          t_outtab_header                = i_final1
          t_outtab_item                  = i_final2
    EXCEPTIONS
       PROGRAM_ERROR                  = 1
       OTHERS                         = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    i have passed the parameters
    but i am getting same dump again..
    Subhash.M

  • Generic Data Source with Function Module data mismatch in BI

    Hi All,
    I'm using Generic Data Source with Function Module, When I execute the Function Module (Which I have Created), I'm getting 16000 records and when run extractor(in RSA3) im getting different no.of records(infact they are more no.).
    when I run the InfoPackage in BI im Getting more no. of records than what i got executing the function module..
    and single record is divided into 2 records in BI side(not all the records), how can it be possible???
    is there anything Im missing to explain you my issue???
    if understood please help me out.
    Thanks n Regards,
    ravi.

    the datasource frame work starts the function module several times.
    1. the initialization
    2. the serval times, until you "raise no_more_data".
    check you coding: have you refreshed necessary internal tables.
    Sven

  • VirtualProvider with Function module problem !

    I implemented virtualprovider with function module. Unfortunately  when I run query i get message error :
    u201CFunction call of ZT0X failed; the obligatory parameter CHARACTERISTICS
    An exception with the type CX_SY_DYN_CALL_PARAM_MISSING occurred, but was
    I>> Row: 67 Inc: READ_DATA Prog: CL_RSDRV_VPROV_LOC_NOSIDu201D
    Any suggestions ?
    Below source code:
    u201CFUNCTION ZT0X.
    ""Lokalny interfejs:
    *"  IMPORTING
    *"     VALUE(INFOCUBE) LIKE  BAPI6200-INFOCUBE DEFAULT 'ZT03'
    *"     VALUE(KEYDATE) LIKE  BAPI6200-KEYDATE OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      SELECTION STRUCTURE  BAPI6200SL
    *"      CHARACTERISTICS STRUCTURE  BAPI6200FD
    *"      KEYFIGURES STRUCTURE  BAPI6200FD
    *"      DATA STRUCTURE  BAPI6100DA
    DATA:
        l_r_srv              TYPE ref to CL_RSDRV_REMOTE_IPROV_SRV,
        l_th_mapping         TYPE CL_RSDRV_REMOTE_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
    *  break-point ID ZRSDRV_RC1.
    * break DEVELOPER.
      perform build_mapping_table
        changing l_th_mapping.
      create object l_r_srv
        exporting
          i_tablnm              = '/BIC/PZPRD_ID'
          i_th_iobj_fld_mapping = l_th_mapping.
      l_r_srv->open_cursor(
        i_t_characteristics = characteristics[]
        i_t_keyfigures      = keyfigures[]
        i_t_selection       = selection[] ).
       l_r_srv->fetch_pack_data(
        importing
          e_t_data = data[] ).
      return-type = 'S'.
    ENDFUNCTION.
    &---- <
    *&        Form  build_mapping_table
    &---- <
    Form build_mapping_table
      changing
        c_th_mapping TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_TH_IOBJ_FLD_MAPPING.
      DATA:
        l_s_map TYPE CL_RSDRV_EXTERNAL_IPROV_SRV=>TN_S_IOBJ_FLD_MAPPING.
      l_s_map-iobjnm = 'ZPRD_ID'.
      l_s_map-fldnm  = '/BIC/ZPRD_ID'.
      insert l_s_map into table c_th_mapping.
      l_s_map-iobjnm = 'ZWARTOSC'.
      l_s_map-fldnm  = '/BIC/Z_CEN_W'.
      insert l_s_map into table c_th_mapping.
    +endform.u201D

    Hello
    I experienced the same issue. Were u able to solve it? If yes , kindly ask you to make posting here so that others can benefit as well.
    Huge thanks

  • 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

  • Issue with function module updated values

    Hi Experts,
    We have an issue with customized program. In this program function module 'BBP_PD_SC_GETDETAIL' not picking
    the updated values when the UI was opened. But when we were executing the same function module directly by providing the values manually it is picking up the correct data.
    We thought it was a problem with session killing or buffer refresh ? We dont know how to handle this issue.
    If you have any suggestions that would be great help full for me . Please reply asap.
    Regards,
    Chandu

    Hi,
    Thanks for your quick reply.
    I have passed the values to the function module in the program and also used the same values for manually testing of the function module. Getting the correct values when I was testing manually.
    We thought it was a session killing problem as we developed the customized code. So any idea how to refresh the session even
    though the UI(User Interface) was opened.
    This issue was solved when the UI was closed and opened again.
    Any other ideas on this issue ?
    Regards,
    Chandu

Maybe you are looking for

  • Having trouble trying to print off my iPad

    Hello I'm trying to set up my iPad to print wirelessly to my epson xp 215 and not having much luck would like some help and advice please

  • Installing Photoshop CS4 Extended upgrade on my Mac Pro. query

    Hi all I do hope you can help me. I have just purchased ps cs4 extended upgrade for my Mac. On attempting to install the istall program checks my system profile then asks me for the serial number for the new product. all well up to this point, then o

  • Approval process sales order

    Hello Experts - how do I create an approvel process for every order created in the system? Like: Approved by: Purchasing Approved by: Order Specialist Etc.. Kind Regards Bob Vermeulen

  • How do I stop windows from re-opening after logging in?

    I have read a lot of the recent discussions regarding this default which starts up all the windows and tabs (in the case of Safari) when logging in. I know that you can manually ask the system not to do this by deselecting the "Reopen windows when lo

  • What is the payment method for iOS Developer Enterprise License?

    Can anyone help me with this question as Apple can't help me and I do not know who should I contact with. Apple staff is pushing me from developer contact to sales contact but none of them are giving me the simple answer to my simple question... T.T