Remote Cube data problem
Hi All,
Please help on this.
When clicked on display data on remote cube ,i tis not showing any data.
It is diaplaying messages as
No active transfer rules for source system qwCLNT100
Error reading the data of InfoProvider ZKR_C01.
Thanks in advance!
Hi,
Go to se38 and execute the program RS_TRANS* then u will be able to find rs_trans_activate_all execute it and mention the source and infosource name and execute it.
Regards,
Rahul.
Similar Messages
-
Remote Cube back ground processing
Hi gurus,
Is it possible to execute a Query which is on a remote cube in Back ground.
In my situation: I am loaded the data into the regular cube and then reconciling this cube data with the remote cube data ( which picks the data from R/3 tables using a fucntion module.)
Is it possible to run this Query in Background job.
I came accross the sm36 option, but I don't know the exact time when to start the job as the base cube data load should be finished before this query executes and the matter of fact there are 9 cubes which should complete the load and then the respective queries should start exectuing.
Thank youOhter options are:
Create a report calling function module RSCRMBW_REPORT.
Catch: You need to call the FM twice in your report once to initialize with OPEN and second time to run with START (passing values to i_mode)
Create a report calling function module WEBQUERY
Catch: You will have to deal with all the HTML generated with the query result -
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
ArjunHi
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 -
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. -
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,
RajCould 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? -
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 PMHI 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 -
Error reading the data from the remote cube
Hi all,
When we try to get the data for remote cube from LISTCUBE, we are getting the following msg.
1) Messages for DataSource 9AUPA_DP_HK_01 from source system AD1CLNT100
2) 224(/SAPAPO/TSM): No planning version selected
3) Errors have occurred while extracting data from DataSource 9AUPA_DP_HK_01
4) Error reading the data of InfoProvider UICHKRMTC.
Any Inputs?Hi,
Check whether the sourcesystem is responding.
And also in the error mesg: 224(/SAPAPO/TSM): No planning version selected
It seems you have not selected any planning version. Give any planning version in the listcube selection screen and execute.
Regards,
Ravi Kanth -
Data flow not visible while creating remote cube.
Hi SDN,
I am working on a remote cube. I need to link the infosource to remote cube. I have selected the source system and assigned.
I have done, like--Remote cube --> Context Menu --> Show Data flow , and I wanted to see the source system , Info source and the remote cube, but could not find them .
Guide me what I've missed /went wrong.
Thanks in Advance
AnkitHi,
Remote cube is technology where you report on data which is stored in the source system. While creating the Infocube you have to select Remote Infocube Radiobutton and in the next screen it will ask you for the infosource.
In that infosource you can assign the datasource in the infosource menu.
Now you see the data flow.
Hope it works,
Regards,
Sasi -
How do we check intermediate data in Remote Cube
Hi Experts,
I want to check how the data is coming upto Remote Cube from Planning area.
Currently the flow is MPRO -> Remote Cube ->PSA (directly updates to to target , so data stored in PSA)-> Planning Layout.
Whenever I update data in the planning layout ->save-> and runs IP the data gets updated ( can check it in MPRO) .
How can i check the dat in between , also I tried to find out any docs. on the detailed mechaninsm of Remote cube but could find much .
Can anyone plz help with the detailed mechanism of Remote Cube links ?
Regards,
RajatHi Rajat,
A RemoteCube is an InfoCube whose transaction data is not managed in the BW but externally. Only the structure of the RemoteCube is defined in BW. The data is read for reporting using a BAPI from another system.
Please see the discussion below for more information:
Data load in Remote Cube
More information on:
SAP RemoteCube - Modeling - SAP Library
Regards,
Ashvin -
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 advanceHi,
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 -
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,
TMSThat'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.
-
Remote cubes in BW 3.5 with UDConnect
Has anyone attempted to create a remote cube in BW 3.5 using UDConnect to attach to a remote database?
We have installed and configured a JDBC connection to an Oracle database for our BW 3.5 system using UDConnect. We are able to successfully perform the 'smoke test' from the UDConnect whitepaper to see table structures from the external database.
Our problems occur within BW. We are able to define the UDConnect datasource, but after building a remote cube and attempting to extract data from the remote database, we receive errors like the follwoing:
#43411D3A75923749E100000089CE400B#SAPEngine_Application_Thread[impl:3]_2
6##0#0#Error#1#com.sap.ip.bi.sdk.datasource.beans.BI_SDK_Bean#Plain###Ms
gException: Cannot open the connection: Cannot connect to JDBC data source: The url cannot be null# #1.5#00306E06E4B8005300000028000037D000040257DCA57682#1128476308457#/App
lications/BI/UDI#sap.com/com.sap.ip.bi.sdk.datasource.ds#com.sap.ip.bi.s
dk.datasource.beans.BI_SDK_Bean#J2EE_GUEST#2##BS1#DM205324
Has anyone seen this? Research so far has suggested there might be a problem with the BI SDK java beans not deploying correctly. How do I check this in visual administrator? If they did not deploy properly, i would think that the UDConnect would not be working at all and we would not be able to run the TestJDBC application provided with UDConnect.
Any thoughts or suggestions are appreciated.
Thanks,
-Matt SchababerleHi Matt,
the error message 'Cannot connect to JDBC data source: The url cannot be null' points in the direction of a possible misconfiguration in the Connector Container service of the Visual Administrator. The important thing to note is that the smoke test only works on the originally delivered connection with JNDI name SDK_JDBC. Could you please check with which connection SDK_... you work in the scenario mentioned in your posting. Does it have a value in the URL field?
Regards, Uwe -
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
BilalDo 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. -
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,
RajI 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) -
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,
BWerHi 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
Maybe you are looking for
-
Can I use Apple TV on network without internet connection?
I'm helping someone who has an Apple TV (version1) and their router and internet connection is down. We need to use the AppleTV today to stream a video from her mac to the TV connected to the Apple TV for a presentation. Can we just hook up the Mac
-
Strange timestamp-format in Dynamic Configuration
Hi all, In the Dynamic Configuration Section I can retrieve the name and timestamp of the inputfile I use. But the timestamp is in a format I don't quite understand. For instance, the last changedate of the inputfile is 24-06-2008, 10:58. In the Dyna
-
How to find Maximum of a date field using BEx
We are trying to just display the maximum of a date field in a BEx report along with some fixed text . If we need to create a formula using Maximum function , how to use the same? For ex, we have a field "Flight Date" in the cube and cube has been up
-
MacBook Pro upgrade to the Yosemite OS. The CC icon is gone
I just upgraded my MacBook Pro to the Yosemite OS. The CC icon is gone: how do I re-install and update?
-
InDesign CS5 hangs when I open an INX or IDML file with a small table from InDesign CS4
In CS4, the table has red dots indicating that text does not fit in some of the cells. InDesign CS5 just hangs if I try to open an INX or IDML file created in CS4. This also happens if I try to "place" a tagged text file containing the table. Has any