Creation of Remote Cube on a view

Hi,
How do you create a remote cube on R/3 view?
Thanks
Suchitra

Hi,
How do you create a remote cube on R/3 view?
Thanks
Suchitra

Similar Messages

  • Remote cube on Data Source 0FI_GL_4

    HI,
    I have a requirement of  reconciling  the Line Items from R/3 to BW.
    So i tried to create Remote cube with Direct access, but coudnt due to 0FI_GL_4 data source doesnt support Direct access and reconciliation.
    I can see that Data Source  0FI_GL_4  is being fetched by Function module BWFID_GET_FIGL_ITEM and the base table is DTFIGL_4.
    My question is can I create the Generic data source based on the function module by taking the copy of existing FM BWFID_GET_FIGL_ITEM  and change Direct access option to 2(Supports Preaggregation).
    Do i need to change any settings at table level and parameters to get the required solution.
    Please sugget me how to proceed the development to reconcile the Line Items from R3 to BW.
    Regards,
    Siva..
    Edited by: Siv Kishore on Apr 7, 2011 4:59 PM

    HI Banerjee,
    Thanks for the update.
    As you said i cant use the data source 0FI_GL_1, Because we need to reconcile many fields from R/3 to BW, but  those fields are not available in this data source and it will be complicated to enhance such fields.
    can I create View based generic data source on BSEK and BSEG tables, Will it work? if yes do i need to follow any criteria to get the Correct Line Items.
    Please suggest me is there any SAP suggested solution or if you worked on such kind of development.
    Regards,
    Siva Thottempudi..
    Edited by: Siv Kishore on Apr 12, 2011 4:06 PM

  • Problem with a query on Remote Cube

    Hi,
    We are working on Remote cube, which has a source from a view built on R/3 base table. I need to extract the data to BW based on a current date due to huge volume of data(performance reasons) in the table. I have used an exit on R/3 to restrict to current date but the extract checker was showing the valid data ie only for current date when i had built a query on Remote cube, the Report was showing complete data(restriction not working). We have even tried using an inversion routine in transfer rules to pass the selections to the Source system even then it doesn't work. Could you help if you have come across same kind of situation or you can suggest an alternate solution on the same but we have to use Remote cube.
    Any suggestions asap would be highly appreciated and rewarded with full points.
    Regards,
    Raj

    Could you check the BLOB really contains UTF-8 encoded XML?
    What's your database character set?The BLOB contains UTF-8 Encoded
    and the database where i am connectes have AL32UTF8 character set, but my internal instance have "AMERICAN_AMERICA.WE8ISO8859P1"
    that is a problem?
    How could I change the character set of the oracle local client to the character set of the remote oracle data base?

  • Help required for a Remote cube query

    Hi,
    We are working on Remote cube, which has a source from a view built on R/3 base table. I need to extract the data to BW based on a current date due to huge volume of data(performance reasons) in the table. I have used an exit on R/3 to restrict to current date but the extract checker was showing the valid data ie only for current date. When i had built a query on Remote cube, the Report was showing complete data(restriction not working). We have even tried using an inversion routine in transfer rules to pass the selections to the Source system even then it doesn't work. Could you help if you have come across same kind of situation or you can suggest an alternate solution on the same but we have to use Remote cube.
    Any suggestions asap would be highly appreciated and rewarded with full points.
    Regards,
    Raj

    I can think of two ways to do it
    Simple with no ABAP coding is a view
    Create a view between a timestamp table and your big table
    Put an entry into your timestamp table of the current date - then use a selection of this inside the view
    Unforutunately you cannot use SY fields inside database views (otherwise you could have used these as a selection condition in the view)
    The best way to do it is using a function module and passing the data from the query into the SQL statement
    I prefer to do it the last way and also pass data through a generic structure - thus you manipulate the data inside the intial loop in the function module and don;t utilise further loops downstream in transfer rules
    (to try and keep the reponse time down)

  • Remote Cube Performance

    Hello BW Experts,
    1)  Is it advisibe to use remote cubes ( not for the user purpose, but for internal data reconciliation purpose). ?
    2) tables we are looking at are the vbak, vbap, vbrk, vbrp from SAP and comparing them to the base Sales and billing ODS. And produce a reconciliaiton report. Since the data in the source tables vbap, vbrp is huge, it gives memory dumps. Is there any better way of using this. Any suggestion to get solve the memory dump?
    3) Are there any measures to improe remote cube performance
    4) Other than the remote cube is there any other way of doing the reconciliation for the above data
    Any suggestions appreciated.
    Thanks,
    BWer

    Hi BWer,
    Remote cube performance is really an issue.
    Instead, you can load data upto PSA and compare them.
    There is a "How to... Validate InfoCube Data By Comparing it with PSA Data":
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to validate infocube data by comparing it with psa data
    You can also quickly build in R/3 a query upon those tables using SQ01 tcode and Quick Viewer button for comparison.
    Best regards,
    Eugene

  • Remote cube: bad performance of query in source system

    I have created a remote cube that looks to a simple R/3 view VBAK/VBAP.
    In a query on this cube I select document date. on the VBAK there is a special index on document date.
    It appears that my date variable is not included in the SQL statement that is executed on the sourcesystem. This means that on VBAK/VBAP always a full table scan occurs.
    The query on the source system (as generated by executing my BW query) looks like this. (the document-date = AUDAT):
    SELECT
      "MANDT" , "VBELN" , "POSNR" , "VBTYP" ,
      "AUART" , "AUDAT" , "VKORG" , "VTWEG" ,
      "SPART" , "VKGRP" , "VKBUR" , "NETWR" ,
      "WAERK" , "NTGEW" , "GEWEI" , "KWMENG" ,
      "VRKME" , "SHKZG"
    FROM
      "ZBW_2LIS11ITM"
    WHERE
      "MANDT" = :A0#
    My question is: Is it normal that for a remote cube always full table scans are executed. This appears to me a waste of system resources. Or is it a bug?

    Hi,
    if you are using ABAP routines for populating fields of your RemoteCube, you should provide 'inverse routines' as well. According to SAP documentation, this allows for applying filters in the source system rather than doing full table scans.
    An example can be found here: [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/f5af4a4db53482e10000000a1553f6/content.htm]
    Best regards
    Christian

  • How do we know the cube is basic or remote cube?

    How do we know the cube is basic or remote cube?

    Hi Dear
    Only Basic InfoCubes and transactional InfoCubes physically contain data in the database. Virtual InfoCubes are only logical views of a dataset. By definition, they are not data targets (hence no update rules). However, the InfoCube type is of no importance from the reporting perspective, since an InfoCube is accessed as an InfoProvider.
    Have a look at his link:
    http://help.sap.com/saphelp_nw04/helpdata/en/da/5909392a430303e10000000a114084/frameset.htm

  • Can we use remote cubes for real time data

    Hi Gurus,
    Can you please explain, can remote cubes be used for sales item and billing item ,data sources, if it, can i extract the data as of normal cube running on these DataSource, if so then i want to make multicube on normal cube and remote cube and make a real time sales data on BW, please explain the possibilities of this, we are on version 3.1c
    Thanks in advance

    Hi,
    Remote cubes are special InfoCubes. A Remote cube represents a logical view.
    Unlike with BasisCubes however, no data is physically stored in SAP BW. The
    data is taken from the source systems only after a query has been executed.
    There are three types of remote cube. They can be distinguished by the way
    in which they retrieve data.
    Overview: Virtual Cube Types
    -SAP RemoteCube
    A SAP RemoteCube allows you to define queries with direct access to transaction data in other SAP systems.
    -General RemoteCube:
    A general Remote Cube allows reporting using data from non-SAP systems. The external system transfers the requested data to the OLAP processor via the BAPI.
    -Virtual InfoCube with Services:
    For a virtual InfoCube with services, a user-defined function module is used as the data source.
    Regards
    Pavan Prakhya

  • Transformations for Remote cube?

    hi experts,
    can we create Transformations for Remote Cube?
    plz provide  me the steps to create Remote Cube.
    regards
    venuscm

    HI,
    Yes you can create transformations for remote cube.Remote cube is similar to standard cube but while creation select radio button for remote /virtual cube .
    Steps for creating remote cube, chk the help link-
    http://help.sap.com/saphelp_nw04/helpdata/en/da/5909392a430303e10000000a114084/frameset.htm
    Hope this helps.
    thanks,
    Rahul

  • Getting unkown  errors while running the listcube for remote cube

    Hi we r trying to run the listcube for remote cube .We are trying to access the oracle data by creating views  and pulling it into bw using  remote cube through UDConnect
    We r getting uknown errors  like  below
    Messages for DataSource 6BTV_HISTORY_FXD_CST1 from source system DB2CX
    System error: Message type   is unknown.                             
    Error reading the data of InfoProvider ZR_CHFCB 
    If any one face the similar issue please reply me back .

    Remote cube doesn´t store data in BW....it only access data from remote system and shows in a report.....the listcube  TX need to find a data table in order to show the information but in this case tha remote cube doesn´t have anything.....
    Regards

  • Report is not getting data from Remote cube thru Multi Provider

    Hi SAPians
    I ve strucked up with a Problem in The Reconciliation Report in BW3.5
    The Report was built on a Multi Provider, which was created on Basic and Remote Cubes .
    Both cubes have same Data Source and all the Objects were in Active version and found good.
    When I m executing the Report ,I m only getting the data from the Basic cube and no data is coming from Remote Cube.
    I ve checked the char " 0Infoprov " in Multi Provider and It was assigned with the both the cubes.
    What might be the problem
    Please help me in this regard
    Thanks in advance
    Regards
    Arjun

    Hi
    In the Reconciliation multiprovider, include 0INFOPROVIDER = Remote cube.
    If data still not coming, you can be sure connectivity with Source system of the Remote cube is the issue
    Check with basis to solve the connectivity issue.
    Ensure Remote cube is consistent
    Bye

  • Effects of R3 DS enhancement on remote cube

    Hi All,
    Is there a direct effect while running queries against a remote cube when its underlying R3 DS has been enhanced?
    An example is, I'm running queries on a remote cube copied from OL_PCA_1. Now I enhanced R3 DS 0EC_PCA_1_9 (which feeds IS 0EC_PCA_1, which in turn in the basis of my remote cube). I did not include the new characteristics in the remote cube itself, but rather included it in the enhanced standard OL_PCA_1 where more granular reporting will be performed.
    Will there be query performance effects on the remote cube using this approach? How can I measure the performance impact (if any) on the remote cube's queries?
    Thanks.

    Hi All,
    Is there a direct effect while running queries against a remote cube when its underlying R3 DS has been enhanced?
    An example is, I'm running queries on a remote cube copied from OL_PCA_1. Now I enhanced R3 DS 0EC_PCA_1_9 (which feeds IS 0EC_PCA_1, which in turn in the basis of my remote cube). I did not include the new characteristics in the remote cube itself, but rather included it in the enhanced standard OL_PCA_1 where more granular reporting will be performed.
    Will there be query performance effects on the remote cube using this approach? How can I measure the performance impact (if any) on the remote cube's queries?
    Thanks.

  • Adding new field to Remote Cube

    Hello,
    We have an existing remote cube that we are trying to add a new field to in 7.0.  I've already added the field to the datasource, unhidden it, and tested it in RSA3.  Now i'm trying to bring it into BW and add it to the remote cube.  I right clicked on the source system under the data target and chose Replicate Metadata however the new field does not show up anywhere.  What am i doing wrong?  Does a remote cube work differently?  How do i get my new field over from R3?
    Regards,
    TMS

    That's the problem.  The R3 field does not show up in the datasource in BW so it can be moved over to the transfer structure.  As you know when you replicate metadata, the new datasource fields appear and can be mapped into the transfer structure.  That is not the case for this remote cube.  The new field is not there.

  • Data display on remote cube

    Hi Guru's
    I've created a generic ds using fm for direct access.creating virtual cube and mapped accordingluy with ds.
    Now when I do test extract on ds per a single posting day then it takes few secords to pull through the data and the no. of records are 45 on dev box.But I do data display on remote cub and it takes long and throughing a timed out error.
    I dont have any routines on transformaions.
    What could be the problem?
    Nagesh.

    HI
    here's the code in FM
    Example: DataSource for table SFLIGHT
      TABLES: BKPF,BSEG.
    Auxiliary Selection criteria structure
      DATA: L_S_SELECT TYPE SRSC_S_SELECT.
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    Starting point for each data package
             READ_NEXT LIKE SY-TABIX,
    Total Number of Extracted Records
             NO_RECS LIKE SY-TABIX,
    Number read so far
             TEMP_CNTR(9) TYPE N.
    cursor
    S_CURSOR TYPE CURSOR.
    Select ranges
      RANGES: R_BLDAT FOR BKPF-BLDAT,
              R_BUDAT FOR BKPF-BUDAT,
              R_CPUDT FOR BKPF-CPUDT,
              R_BUKRS FOR BKPF-BUKRS,
              R_GJAHR FOR BKPF-GJAHR,
              R_BELNR FOR BKPF-BELNR.
      DATA: GT_T_DATA LIKE ZFI_GL_4 OCCURS 0 WITH HEADER LINE.
      DATA: GT_BKPF TYPE TABLE OF BKPF,
            GS_BKPF TYPE BKPF.
      DATA: COUNTER(9) TYPE N.
      DATA: LV_MONAT(3).
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE I_DSOURCE.
          WHEN 'ZFI_GL_4'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
            LOG_WRITE 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      I_DSOURCE   "message variable 1
                      ' '.                 "message variable 2
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
        APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF S_COUNTER_DATAPAKID = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BLDAT'.
            MOVE-CORRESPONDING L_S_SELECT TO r_bldat.
            APPEND R_BLDAT.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUDAT'.
            MOVE-CORRESPONDING L_S_SELECT TO R_BUDAT.
            APPEND R_BUDAT.
          ENDLOOP.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CPUDT'.
            MOVE-CORRESPONDING L_S_SELECT TO R_CPUDT.
            APPEND R_CPUDT.
          ENDLOOP.
             LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUKRS'.
            MOVE-CORRESPONDING L_S_SELECT TO R_BUKRS.
            APPEND R_BUKRS.
          ENDLOOP.
             LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GJAHR'.
            MOVE-CORRESPONDING L_S_SELECT TO R_GJAHR.
            APPEND R_GJAHR.
          ENDLOOP.
              LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BELNR'.
            MOVE-CORRESPONDING L_S_SELECT TO R_BELNR.
            APPEND R_BELNR.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          SELECT * FROM BKPF INTO TABLE GT_BKPF WHERE BLDAT IN R_BLDAT
                                                  AND BUDAT IN R_BUDAT
                                                  AND CPUDT IN R_CPUDT
                                                  AND BUKRS IN R_BUKRS
                                                  AND GJAHR IN R_GJAHR
                                                  AND BELNR IN R_BELNR.
          LOOP AT GT_BKPF INTO GS_BKPF.
            SELECT * FROM BSEG WHERE BELNR = GS_BKPF-BELNR
                               AND   BUKRS = GS_BKPF-BUKRS
                               AND   GJAHR = GS_BKPF-GJAHR.
              MOVE-CORRESPONDING GS_BKPF TO GT_T_DATA.
              MOVE-CORRESPONDING BSEG TO GT_T_DATA.
              CLEAR LV_MONAT.
              CONCATENATE '0' GT_T_DATA-MONAT INTO LV_MONAT.
              CONCATENATE GT_T_DATA-GJAHR LV_MONAT INTO GT_T_DATA-FISCPER.
              CALL FUNCTION 'BWFIU_GET_DOCUMENT_ORIGIN'
                EXPORTING
                  I_AWTYP    = GT_T_DATA-AWTYP
                  I_AWKEY    = GT_T_DATA-AWKEY
                IMPORTING
                  E_REFBELNR = GT_T_DATA-AWREF
                  E_REFGJAHR = GT_T_DATA-AWGJA
                  E_REFBUKRS = GT_T_DATA-AWBUK
                  E_REFKOKRS = GT_T_DATA-AWKOK.
    Lcal currency calculations.
              IF GT_T_DATA-SHKZG EQ 'S'.
                GT_T_DATA-DMSOL = GT_T_DATA-DMBTR.
                GT_T_DATA-DMSHB = GT_T_DATA-DMBTR.
                GT_T_DATA-DMHAB = 0.
              ELSEIF GT_T_DATA-SHKZG EQ 'H'.
                GT_T_DATA-DMHAB = GT_T_DATA-DMBTR.
                GT_T_DATA-DMSHB = GT_T_DATA-DMBTR * -1.
                GT_T_DATA-DMSOL = 0.
              ENDIF.
    Foriegn Currency calculations.
              IF GT_T_DATA-SHKZG EQ 'S'.
                GT_T_DATA-WRSOL = GT_T_DATA-DMBTR.
                GT_T_DATA-WRSHB = GT_T_DATA-DMBTR.
                GT_T_DATA-WRHAB = 0.
              ELSEIF GT_T_DATA-SHKZG EQ 'H'.
                GT_T_DATA-WRHAB = GT_T_DATA-DMBTR.
                GT_T_DATA-WRSHB = GT_T_DATA-DMBTR * -1.
                GT_T_DATA-WRSOL = 0.
              ENDIF.
              APPEND GT_T_DATA.
            ENDSELECT.
          ENDLOOP.
          DESCRIBE TABLE GT_T_DATA LINES NO_RECS.
          READ_NEXT = 0.
          TEMP_CNTR = 0.
        ENDIF.                             "First data package ?
    Fetch records into interface table.
        IF ( READ_NEXT GT NO_RECS ) OR ( NO_RECS EQ 0 ).
          REFRESH GT_T_DATA.
          CLEAR:S_COUNTER_DATAPAKID, COUNTER, READ_NEXT, S_S_IF, NO_RECS.
          RAISE NO_MORE_DATA.
        ENDIF.
        COUNTER = 0.
        LOOP AT GT_T_DATA FROM READ_NEXT.
          COUNTER = COUNTER + 1.
          IF COUNTER GT S_S_IF-MAXSIZE.
            IF TEMP_CNTR EQ NO_RECS.
              CLEAR: S_COUNTER_DATAPAKID,COUNTER,READ_NEXT,S_S_IF,NO_RECS.
              RAISE NO_MORE_DATA.
            ELSE.
              READ_NEXT = READ_NEXT + COUNTER.
            ENDIF.
            EXIT.
          ENDIF.
          MOVE-CORRESPONDING GT_T_DATA TO E_T_DATA.
          APPEND E_T_DATA.
          TEMP_CNTR = TEMP_CNTR + 1.
          iF TEMP_CNTR GT NO_RECS.
            CLEAR GT_T_DATA.
            CLEAR: S_COUNTER_DATAPAKID, COUNTER,READ_NEXT, S_S_IF,NO_RECS.
            RAISE NO_MORE_DATA.
            EXIT.
          ENDIF.
        ENDLOOP.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.
    If it's a code then why it's quick on rsa3?
    Nagesh.

  • Deleting DTP based on Open Hub and Remote Cube

    Hi All,
    i have created a DTP delta for my Open Hub to load a flat file from a remote cube.
    i have done some load test request but it doesn't work (no data in my file .csv), i have created another full DTP with others parameters and it works successfully.
    now i want to delete my Delta DTP but the system return me a message like this:
    DTP_4IDT4BXV29E1N0MWINKCWO60B cannot be deleted at the moment (see long text)
    and in the long text i have:
    Message no. RSBK037
    Diagnosis
    You want to delete a delta DTP that has been successfully used to load requests from the source into the target. If you delete the DTP, you will also delete the information on the source data that was successfully transferred. As a result the source data would be transferred again, if you create a new delta DTP that links the same source with the same target.
    System Response
    The system terminated the delete operation.
    Procedure
    You have two options:
    1. Delete all the requests loaded with this DTP from the target and then delete the DTP.
    2. Do not delete the DTP and continue to load deltas using this DTP.
    i tried to see the requests loaded with the delta dtp and i have deleted one but there are another requests that i can't deleted.
    i have deleted the delta dtp from my transport request.
    how should i do to delete definitivily my delta dtp?
    thanks for your help
    Bilal

    Do not delete entries out of table RSBKREQUEST.
    To delete your DTP, you may use program RSBKDTPDELETE.  Give the technical id of the DTP as the input parameter.

Maybe you are looking for

  • AMD / CPA on ICM 6 just doesn't work, HELP!!

    We're running IPCCE 6 (with IP IVR QMANAGER) with Outbound Option configured with 10 ports. Our calls go out via PRIs. We have several IVR outbound campaigns (Transfer to IVR Campaign = checked Enable IP AMD = checked Transfer to IVR Route Point = ch

  • Can i use one copy on my iMac and my MacBook.  I do not use the computes at the same time just in different locations

    Can I use on cooy of Acrobat on my iMac and on my MacBook. The computers are in different locations?

  • Installation Problems w/ PSE8

    I am working for a school installing Photoshop Elements 8, Premiere Elements 8, and Illustrator CS4 on over 15 computers and am having some difficulties with certain computers.  (Problem #1) When I try to install PSE8 on some of the computers, the in

  • Imported Photos only show up as Rejected

    Hey All, Did some searching but couldn't find anything that described my problem. I recently imported photos from 3 memory cards into three separate new projects. All of the imports worked fine (was importing directly from camera) and I left Aperture

  • Duplex printing on Canon MG6150

    Hey everyone, I recently bought a Canon Pixma MG6150 printer which comes with automatic duplex printing. I'm running Snow Leopard 10.6.8. I want to use it in InDesign to create a booklet however, whenever I go into Print Settings>Printer>Duplex Print