InfoProvider with services

I am playing with creating Virtual cube with services from the document How to Implement a virtual infoprovider with services
I created the Funtion module in R/3 system but got stuck at step 7. I have never worked with FM.  What are the things your write in the import tab and export tab for that particular example

Hi,
Maintain the same parameter names and values associated in step 7&8 as shown in the figure.
Import :- you specify all the variables or parameters used in function module. the values for these parameters are passed from external programme and in this example BW must send InfoProvider name, . .etc parameters given in the picture.
Export are the parameters exported from this function module to the external programme in this case Data and other parameters are returned to BW.
Hope this helps.
Thanks,
Mohan

Similar Messages

  • 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

  • Virtual infoprovider with services - Navigational attributes

    Hi all,
    I have a basic cube in BI system- X , and created a virtual cube in another BI system Y with services to read data from basic cube of BI system X . In BI system Y we built a report on virtual cube. This report (on virtual cube in BI system Y) is using a characteristics say Product group ( which is a navigational attributes of prodect in BI system X).
    DataFlow is as under:
    Basic cube in BI system X:
    Product
    Year
    Amount
    and Product group is switched on as navigational attributes in this basic cube.
    Virtual cube in BI system Y:
    Product group
    Year
    Amount
    Report in BI system Y:
    Product group in rows
    Amount in column
    This report is not working.
    If I do the the following changes as follows then it works:
    1.Use Product instead of product group in report
    2. Switch off navigational attributes in basic cube.
    We are in BW 3.5 and navigational attributes option is ticked on for virtual cube.
    In summary, If I do not use navigational attributes in report and switch off navigational attributes from basic cube then report shows data.
    Could you please help me to figure out the issue.
    Thanks,
    Harry

    Thanks Naga,
    Yes, I tried adding product in virtual cube as well but it did  not work. Secondly, we do not want to add product in virtual cube because of data aggregation.
    Most strange thing is that, once we switch on any navigational attributes on basic cube, function module stop working (paasing any data to virtual cube report). report says no appropriate data found. We are using sap standard function module "RSDRI_INFOPROV_READ_RFC". I debegged this code and no data in internal tables.
    If we switch off all  navigational attributes from basic/source cube this function module provide data to internal tables in code.
    Why function module is behaving like that.
    You guys experience/support/any clue will be appreciated highly.
    Thanks,
    Harry

  • How to create Virtual InfoProvider with Services - Virtual Characteristic

    Hi all,
    I need to create a virtual infoprovider that also fills a virtual characteristic in order to display custom characteristics and calculated values based on user selection.
    Basicaly what I want to do is send a variable in a virtual characteristic equal to the values I want to fill in the characteristic.  So for instance if my base cube contains the infoobjects Brand, Product Line, Region and Country I want a  have a new infoobject that has no data, but fills itself with the vales of the infoobject I specify at query time on the virtual cube.
    The reason for this is I am trying to create a WAD using the delta chart (waterfall graph) that will show the difference between the plan and actual totals for a specific characteristic in Profitibility analysis.
    I have a document that explains the situation.  Send me your mail address and I will send you the document.
    Kind Regards

    We found a way to build the structure for this.
    Regards

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

  • 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

  • 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

  • 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

  • ORADC problem on Windows 2000 with Service pack 1 and service pack 2

    Hi,
    I have a VB application running on NT4.0 workstations. It uses
    ORADC control to talk to ORACLE 7.3 When I load it on Windows
    2000 with service pack 1 or service pack 2, I encounter some
    problems.
    The ORADC control is used in most of the VB forms and the
    Refresh method of the ORADC conrol is used to refresh the APEX
    TRUE DBGRID PRO control. When this action is executed, I receive
    a run time error
    "Method Refresh of object '_DORADC' failed Err#: -2147417848
    It works fine when no service pack is applied on Win2K.
    Can anyone tell me what's going on?
    Thanks

    satheesh_p wrote:
    Thanks for your reply.
    When I checked the system requirements. I couldn't find information on windows 2003 service pack 2
    link http://www.adobe.com/products/coldfusion/systemreqs/.
    Whether your OS is windows 2003 with service pack 2?
    Are you sure coldfusion 8 will work on windows 2003 with service pack 2?
    Regards,
    Satheesh.
    Well it was there, if you understand the naming properly:
    ColdFusion 8 system requirements
            Windows
    Intel® Pentium® II or AMD Athlon processor
    Microsoft®
    Windows® 2000 Professional with Service Pack 3; Windows 2000 Server,
    Advanced Server, or Datacenter Server with Service Pack 3; Windows
    Server® 2003 Web, Standard, or Enterprise Edition with Service Pack 1
    and R2; Windows Server® 2008; Windows XP Professional or Home Edition;
    or Windows Vista®
    R2 is the "offical" Microsoft name for service pack 2.

  • Firefox connects to google-analytics for some sites, and then gets stuck, and I can never get onto the site. How do I prevent Firefox from connecting to google-analytics? I use XP with service pak 3 in English

    Firefox connects to google-analytics for some sites,when i click on links in websites or emails and then gets stuck, and I can never get onto the site. Or opens a new bower behind the one i'm usind that's blank i don't even know it's there untill i close the one i'm using. How do I prevent Firefox from connecting to google-analytics? Or opening a blank bowser behind the one i'm using. I use XP with service pak 3 in English
    == This happened ==
    A few times a week
    == a couple months ago

    I got the same issue.
    I go on a website and all the sudden another window pops up with "results.google-analytics.com" or "search.google-analytics.com". It has often ads for other sites for example. black single dating site
    how can I can I stop that from happening again?
    I didn't download or do anything, just visit websites, that I visit on a regular basis.
    OS: Windows XP
    Firefox Version: 3.6.6

  • 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

  • Administrate virtual info cube with services

    hi, all,
    if you come across an existing virtual info cube with services, HOW can you find out the name of the function module, that provides the data?
    best regards
    neven

    hi..
    according to the below link..from help.sap.com...clicking on 'detail' pushbutton in cube--change screen..should give u the details(FM etc) u need..
    http://help.sap.com/saphelp_nw04/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    Vishvesh

  • 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

  • Query on Virtual Provider with Services

    Hello everyone,
    I created a VirtualProvider and used the HowTo "Implement a VirtualProvider with Services" (Scenario 3: Any Table). Everything works fine and I can see some data with listcube. But when I'm executing a query (Bex) on the VirtualProvider I always get "'No Applicable Data Found."
    Any hints?
    Thank you very much and regards
    Johannes

    Hi Johannes,
    please run your query in rsrt in debug mode, set a break-point in your fm and check the contents of the tables related to the characteristics and keyfigures to be read as well as the selections and check if everything here works as expected.
    kind regards
    Siggi
    PS: btw, are you using a hierarchy in your query?

Maybe you are looking for

  • Cause 1 = 0x82A6 Network out of order - ISDN error

    When we are try to make outgoing call, we are getting the below error : cause 1 = 0x82A6 Network out of order Incoming call there is no problem in the Same E1 PRI line, ISP saying there is no problem from thier side.

  • HT204053 I don't see a photo stream choice in my iCloud on my iPad. How do I restore it

    I don't see a photo stream choice in my iCloud on my iPad. How do I restore it

  • Diferent key field names within a recordset

    Hi Can we have different key field names for records within a recordset. When i give different key field names for Header and detail records in a recordset i get the error below: - message not processed: com.sap.aii.messaging.adapter.trans.TransformE

  • New mid 09 macbook pro weak speaker problem

    I just got a mid 09 macbook pro 15''. and notice the full volume on the speaker is just about 60-70% of the late 08 macbook pro when turn to full 100%. anyone notice this? not sure is this a defect or apple did something to the mid 09 model maybe add

  • Progress bar - Item renderer

    Hi all, I have a item renderer for a list control. Each item contain progress bar, which is static, initialized with data from DB. For example: Item #1 Usage: 74% Item #2 Usage: 32% etc. This is how it looks like: <mx:Script> <![CDATA[ private functi