Read data from transactional cube in version SEM 6.40
Hi,
In an exit function of the transaction BPS0, I want to read transaction datas in a transactional cube. In version BW 2.1C - SEM 3.0A, I used the function RSDPL_CUBE_DATA_READ. Now the system is in version BW 3.5 - SEM 6.40 and the function just read datas which are in request's status 'OK' (watch transaction RSA1, 'manage' on the cube). If the request as status 'indifferent; not yet finished', the function don't read its data.
How can't I read all the transaction datas in a transactional cube.
Dear All,
Restamtent functionality did not help at this issue.
What we did a Copy of the Version and attached the "old" hierachy.
This was the only solution.
Regards
Oliver
Similar Messages
-
Data from transaction cubes to text file in bw directories
hi all
i have 2 transactional planning cubes in BW. the data in these cubes in bw needs to be uploaded monthly in to a single text file so that APO system can access the data for some purpose.
my question is how to upload the data from transactional cubes to the text file, which is more detailed. is that use ful to construct a ODS or CUBE(basic) on top of the transactional cubes.
if i keep the file in BW directory whethere APO can access that.?..
please help me out
praveen.You can load data directly from the BW cubes to APO if the BW system is set up as a source system.
If you need the file then you may want to investigate using open hub. -
Any standard function module to read data from a cube
Hi,
I want to read data from a cube say XYZ, into an internal table. Is there any standard function module to do this? If so can anyone plz tell me what change should i make in the function module for my requirement.
Regards
BW Fresher.Hi R,
Try function module 'RSDRI_INFOPROV_READ'
ABAP Report RSDRI_INFOPROV_READ_DEMO contains an example of how the function module can be used.
Udo -
Data from transactional cube to a text file in directories
hi all
i have 2 transactional planning cubes in BW. the data in these cubes in bw needs to be uploaded monthly in to a single text file so that APO system can access the data for some purpose.
my question is how to upload the data from transactional cubes to the text file, which is more detailed. is that use ful to construct a ODS or CUBE(basic) on top of the transactional cubes.
if i keep the file in BW directory whethere APO can access that.?..
please help me out
praveen.Hello PraVeeN,
How r u ?
Is this not possible with InfoSpokes ???
Best Regards....
Sankar Kumar
+91 98403 47141 -
Read Data from "virtual" Cube with different ConsUnit Hier. Version
Dear all,
I got a odd request.
I need to load data from the virutal Reporting-Bapi Cube for a certain Data Version.
This Version has been attached to a new consUnit Hierachy a few weeks ago.
Now we get a request to read data in the past for units which are not present in the current hierarchy anymore.
I know that this is a general issue... but does anyone got a workaround for this?
Thanks in advance,
regards
OliverDear All,
Restamtent functionality did not help at this issue.
What we did a Copy of the Version and attached the "old" hierachy.
This was the only solution.
Regards
Oliver -
Reading data from another cube
Hi All,
I have a cube, lets say with 6 fields. I am getting the data for the 1st 3 fields directly from R/3. I have the data for the remaining fields in some other cube. Now, I have to get the data for the remaining 3 fields from 2nd cube based on the 1st 3 fields.
I know that this is possible but I am not sure how to do this. Can someone let me know the steps to do this.
Best Regards,
James.James
u can follow the method suggested by dinesh with the help of ABAPer.
There is also few another way. Let me tell you how.
First way :
declare source cube as a export datasource.
create update rule for target cube from source cube and update only required fields.
cons: this method will unnecessarily consume more database.
remedy: u can use multiprovider for reporting which will pull data from all possible required cubes.
Second way:
u can use one infosource to fed several cubes at the same time. With this u can update only required fields into another/target cube.
This procedure will increase loading time as infosource is feeding to several data targets. -
Reading aggregated data from a cube/multiprovider
Hi BI people
My project is currently looking for a functionmodule that reads aggregated data from a cube/multiprovider.
I already have a functionmodule that reads data from a cube and returns it in a flat format. I have debugged this, but have not found any flags that can enable the OLAP functionality needed to perform the aggregation. The functionmodule is "RSDRI_INFOPROV_READ_RFC".
The situation is that I need to apply the aggregation logic of a profit center hierrarchy to the data I read from RSDRI_INFOPROV_READ_RFC, this means manually replicating the the OLAP engine functionality (keyfigure aggregation exception, ect.) and this is not an option with the available time/budget.
Please have a look at the example below:
Say that I have a profit center hierarchy as displayed below (with postable nodes).
PC1 - $10
|---- PC2 - $30
|---- PC3 - $20
The data I'm getting back from the functionmodule RSDRI_INFOPROV_READ_RFC looks like this:
PC1 $10
PC2 $30
PC3 $20
But I need the data aggregated. An aggregation utilizing the hierarchy above will make the data look like this:
PC1 $60
PC2 $30
PC3 $20
Instead of building an aggregation program, it would be usefull if it was possible to extract aggregated data.
Any comments appreciated.
Regards
MartinThx Olivier,
The problem is that I need a functionmodule that can apply the OLAP aggregation for a hierarchy to the data outpu from RSDRI_INFOPROV_READ_RFC.
... or the best alternative would be if there were a fm/class that could provide me with the hierarchy aggregation of the data.
/Martin -
Data from planning cube to TEXT FILE IN directories of BW
hi all
i have 2 transactional planning cubes in BW. the data in these cubes in bw needs to be uploaded monthly in to a single text file so that APO system can access the data for some purpose.
my question is how to upload the data from transactional cubes to the text file, which is more detailed. is that use ful to construct a ODS or CUBE(basic) on top of the transactional cubes.
if i keep the file in BW directory whethere APO can access that.?..
please help me out
praveen.Hi,
You could create a multicube over your 2 transactional cubes and extract your data with a query on the multicube.
Make sure you restrict 0REQUID 'request id' using 0S_RQMRC 'most current data' to be sure you extract the most recently planned data.
No need to convert the transactional cubes to basic cubes.
To download the query I think you have to use the reporting agent of the broadcaster.
Thanks for you points if you found this helpful or if this solved your problem.
Best Regards,
Filip -
How to write plan data into Transactional Cube from Visual Composer ?
Dear experts,
Visual Composer is very powerfull to build a 'nice-looking' web-report (I think is much better than Web Application Designer in term of freely position the chart/graph/table/selection parameter in anywhere we like. We can't have this flexibility in WAD) plus it also has strong integration to R/3 for posting the transactions via RFC-Enabled Function Module (such as changing customer credit limit, approve PO, approve Sales Order, etc), so that the R/3 user won't even have to know the TrxCode.
In addition to this, I just wondering if VC also capable to write plan data into transactional cube via Write-Enable Query. We can simply insert a BW Query into VC as planning layout (set the edit-mode to "editable") plus having some Wizards to make it more user-friendly and self-explanatory for the users.
But I am not sure how to save the changes back to transactional cube from VC.
Could anyone please kindly advise how to achieve this.
"Seeing is believing" is always my learning method, so I would appreciate some "actioanable" explanation or hints.
Many thanks,
SenHi Sen,
As far as I know, it's not possible to write data into transactional cubes directly from a table in Visual Composer through standar method, but it's possible to integrate a WAD with your input ready query into a URL element in VC (You can fill entry variables in VC and call WAD dinamically), so it's possible to create a planning application in VC calling dinamically WAD's.
Another way to interact through VC is creating button objects that calls planning sequences (with BAPI calling RSPLS_PLSEQ_EXECUTE). Also can fill variables in VC and pass them to sequence.
Regards,
Enrique -
Import Transaction Data from BW Cube to BPC Cube
Hi,
Is there any document that explain how i can import/copy transactional data from bw cube to bpc cube like this below pic. http://img841.imageshack.us/img841/6998/prof.jpg
Thanks in advance.Hi Again,
With these documents I can import transactional data with a single keyfigure but if there are more than one keyfigure, importing and assigning keyfigures to dimensions might get confusing.
For example i have two keyfigures "zbgstsad" and "zbgstsf" in bw cube and I have two account member in "S_ACCT": "S_F", "S_A". I did a conversion file with "zbgstsad(ext)->s_a(int)" and "zbgstsf(ext)->s_f(int)" rows. But i am not sure what i have to put instead of "?".
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=
ROUNDAMOUNT=
CONVERTAMOUNTWDIM=S_ACCT
*MAPPING
RPTCURRENCY=0CURRENCY
S_ENTITY=ZBGENTITY
S_ACCT= ?
S_TIME=0CALMONTH
S_CATEGORY=*NEWCOL(ACTUAL)
S_OB=0UNIT
S_URUNLER=ZBGURNLR
AMOUNT= ?
*CONVERSION
S_ACCT=[COMPANY]B_ACCT.XLS!CONVERSION
TIME=[COMPANY]B_TIME.XLS!CONVERSION
What do you recommend?
Thanks in advance.
Burak
Edited by: boguner on Aug 9, 2010 2:34 PM
Edited by: boguner on Aug 9, 2010 2:40 PM -
Error occurs when loading transaction data from other cube
Hi Gurus,
I'm currently working on a Transformation File for loading Transactional Data from BW to BPC but a error message is displayed "Error occurs when loading transaction data from other cube". I have already checked permissions for my user, double checked my transformation file and the dimensions, made all conversion files needed and the message has not changed.
Can anybody help me to solve this problem?!
Thanks a lot & Best Regards,
HHHi,
Here, the Transformation File & Conversion File. I have already tested both with another different InfoCube and they work but no for the one needed.
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ,
AMOUNTDECIMALPOINT = .
SKIP = 0
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=
ROUNDAMOUNT=
*MAPPING
Category=*NEWCOL(ACTUAL)
P_0BASE_UOM=0BASE_UOM
P_0BUS_AREA=0BUS_AREA
P_0COSTCENTER=0COSTCENTER
P_0FUNDS_CTR=*NEWCOL(null)
P_0GL_ACCOUNT=0ACCOUNT
P_0LOC_CURRCY=*NEWCOL(MXN)
P_0MATL_TYPE=*NEWCOL(null)
P_0VENDOR=0VENDOR
P_DataSrc=*NEWCOL(UPLOAD)
P_ZMATERIAL1=0MATERIAL
P_ZMATERIAL2=*NEWCOL(null)
P_ZMATL_CLASS=*NEWCOL(null)
P_ZMATL_TESP=*NEWCOL(null)
P_ZRATIO=*NEWCOL(KF_inpmdInt)
Time=0CALMONTH
SIGNEDDATA=0TOTALSTCK
*CONVERSION
Time=Time_conv.xls
EXTERNAL INTERNAL
201101 2011.JAN
201102 2011.FEB
201103 2011.MAR
201104 2011.APR
201105 2011.MAY
201106 2011.JUN
201107 2011.JUL
201108 2011.AUG
201109 2011.SEP
201110 2011.OCT
201111 2011.NOV
201112 2011.DEC
Thank you for taking at glance to the files.
Best Regards,
HH -
Urgent: Problem with reading data from cube.
Hi Gurus,
I am trying to read the data from the cube. Below is my code. It returns nothing. Could any please help me to solve this.
TYPES:
BEGIN OF S_DATA,
Z_CHAR1 like /BIC/CTABLE-ZCHAR1,
Z_CHAR2 like /BIC/CTABLE-ZCHAR2,
Z_CHAR3 like /BIC/CTABLE-ZCHAR3,
Z_FISCPER like /BIC/CTABLE-0FISCPER,
0AMOUNT type p DECIMALS 2,
END OF S_DATA.
data:
i_s_data TYPE s_data,
i_t_data TYPE STANDARD TABLE OF s_data
WITH DEFAULT KEY INITIAL SIZE 10,
c_data TYPE s_data occurs 0 with header line,
i_s_sfc TYPE rsdri_s_sfc,
i_th_sfc TYPE rsdri_th_sfc,
i_s_sfk TYPE rsdri_s_sfk,
i_th_sfk TYPE rsdri_th_sfk,
i_s_range TYPE rsdri_s_range,
i_t_range TYPE rsdri_t_range.
DATA: end_of_data TYPE rs_bool,
clear: i_th_sfc.
g_s_sfc-chanm = 'Z_CHAR1'.
g_s_sfc-chaalias = 'Z_CHAR1'.
g_s_sfc-orderby = 0.
INSERT i_s_sfc INTO TABLE i_th_sfc.
clear: i_s_sfc.
g_s_sfc-chanm = 'Z_CHAR2'.
g_s_sfc-chaalias = 'Z_CHAR2'.
g_s_sfc-orderby = 0.
INSERT i_s_sfc INTO TABLE i_th_sfc.
clear: i_s_sfc.
g_s_sfc-chanm = 'Z_CHAR3'.
g_s_sfc-chaalias = 'Z_CHAR3'.
g_s_sfc-orderby = 0.
INSERT i_s_sfc INTO TABLE i_th_sfc.
clear: i_s_sfc.
g_s_sfc-chanm = 'Z_FISCPER'.
g_s_sfc-chaalias = 'Z_FISCPER'.
g_s_sfc-orderby = 0.
INSERT i_s_sfc INTO TABLE i_th_sfc.
clear: i_s_sfk..
g_s_sfk-kyfnm = '0AMOUNT'.
g_s_sfk-kyfalias = '0AMOUNT'.
g_s_sfk-aggr = 'SUM'.
INSERT i_s_sfk INTO TABLE i_th_sfk.
clear: i_t_range, i_s_range.
i_s_range-chanm = 'Z_FISCPER'.
i_s_range-sign = rs_c_range_sign-including.
i_s_range-compop = rs_c_range_opt-equal.
i_s_range-low = 200601.
i_s_range-high = 200606.
APPEND i_s_range TO i_t_range.
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
i_infoprov = 'ZC_CUBE'
i_th_sfc = i_th_sfc
i_th_sfk = i_th_sfk
i_t_range = i_t_range
i_reference_date = sy-datum
i_save_in_table = rs_c_false
i_save_in_file = rs_c_false
i_packagesize = 20
IMPORTING
e_t_data = i_t_data
e_end_of_data = end_of_data
CHANGING
c_first_call = i_first_call
EXCEPTIONS
illegal_input = 1
illegal_input_sfc = 2
illegal_input_sfk = 3
illegal_input_range = 4
illegal_input_tablesel = 5
no_authorization = 6
ncum_not_supported = 7
illegal_download = 8
illegal_tablename = 9
OTHERS = 11.
append lines of I_t_data to c_data.
Thanks
Regards
aarthi
[email protected]Due to the nature of the cube design, that would be difficult, that's why there are API's, FMs, and MDX capabilities - to eliminate the need to navigate the physical structure. Otherwise you would have to concern yourself with:
- that there are two fact tables E and F that would need to be read. The Factview could take of this one.
- you would want to be able to read aggregates if they were available.
- the fact table only as DIM IDs or SIDs (for line item dims) to identify the data, not characteristic values. A Dim ID represents a specific combination of characteristic values. -
Quetsion about loading data from transactional infocube
Hi,
We have 4 transaction infocubes where the users data will be saved from their layouts and we have one more transaction infocube(A) where all these 4 transactionl data will saved to onecube say(A)
We also load from A- to other basic cube(B).
My questions are when
1.I load from All these 4 trnsactional cube to A - Do I need to say transactional can be planned not loading allowed.
2.When I load from A to b(basic cuvbe do I need to say - Planning cannot be allowed only laoding)
Let me know
ThanksIf you want to load data from planning cubes to further data target using update rules or transformation, their requests need to be green (yellow request would not load further). In this case the target transactional cube should be in loading mode. If you do not want to do these things, you can look at using a copy planning function (but remember that planning function takes more time than BW loading - this difference would be really noticeable if the data volume is large).
There are many threads on this topic - if you search, you can get more info. -
Hi all,
We have an infocube which contains some figures like number of days, number of hours etc. We should calculate some indicators on them, something like:
Ind = Hours1 * 100 / Hours1 + Hours2
where Hours1 and Hours2 are figures which come from two different records, with codes 1 and 2.
We are not using BEx, but some other reporting tool which takes quite a long time over it. So we were asked to write an ABAP program which should read the data out of the InfoCube and calculate these indicators on basis of such fomulas. Writing a Transfer Rule with the InfoCube as DataSource proved not to be such a good idea because data is split in packages for the upload, so a subroutine within the transfer rule might not be able to find the records with codes 1 and 2 within the same package and that gives errors.
The question is: does anyone know of programs/functions/classes which could do the job? so read data from the infocube and eventually update it back into the infocube after the calculations?
Thanks in advance,
IoanaHi Ioana,
maybe Analysis Process Designer (APD) can solve your problem. In an APD process you can read the data from any InfoProvider, calculate your key figures in an ABAP routine and write the result to an ODS. This ODS has to be transactional and can't be directly reported, but you can report the ODS data by defining an InfoSet on it; you can also write the ODS data to any cube via the data mart interface. The data package split shouldn't be a problem in the APD process because you can define a partitioning characteristic in the APD routine.
The APD is available in BW 3.x via transaction RSANWB.
Martin -
Copy Master Data from BW cube to BPC cube
Hi,
I need to copy a master data from BW cube to BPC cube.
Can I do this from BW? That is, Can I copy master data from the view of the cube of BPC in BW?
I do this from BW and then I see the master data in my BPC cube from the BW view, but when I open my cube in the BPC environment, I don't see nothing of the master data.
What's the problem?
Regards,
Miguel.Hi Miguel -
I think you are asking if you can copy transactional data from a BW cube into a BPC cube (cubes do not contain master data).
If this is what you want to do, yes the BPC IMPORT package is a delivered data manager package that allows you to select a BW cube, transformation file, and additional options (such as work status checking and default logic execution). The use of the Data Manager [process is the "best practice" since you will need to transform the BW data model into the BPC data model and the tools delivered in the IMPORT data manager package are ideally suited for the job. You can automate this process by following the guide at:
[https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides|https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides] The specific document is: "How to Export BPC Transaction Data Using a Custom Process Chain"
If you are actually asking for the process for loading master data into BPC dimensions, please read the following "How To" guide that describes the current best practices:
[https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides|https://wiki.sdn.sap.com/wiki/display/BPX/Enterprise%20Performance%20Management%20%28EPM%29%20How-to%20Guides] The specific document is: "How to Automate Master Data Loads in BPC NW"
Regards,
Sheldon
Maybe you are looking for
-
Why battery is dying too fast after iso5.01 upgrade
why battery is dying too fast after iso5.01 upgrade, It is dying on an average of 13% every hour and a half, in sleep mode. I've tried hard restart and restore in I tunes, no difference! It got worse after I upgraded to 5.01. This has to fixed If
-
Error while upgrading to OS 3.0 GM seed
Hi, I wanted to upgrade to the OS 3.0 GM seed. I opened Xcode, opened Organizer and choose the new OS file. Suddenly while starting to restore it gave an error: Connected to device, path does not exist. It now only gives that error. My iPhone only sh
-
Hi All, In one of my clients, they have forgotten to enter the Cust.Stats.Grp-1 'A' material for few customers and generated some sales documents as well (SO, delivery and invoices). Now the same has been corrected.They use the report MCTA but for th
-
OAF Personalization and Validation Issue
hi Gurus and Experts Lets say I have my lines contain following attributes, and I have following users (User-Cre, User-LA) User-Cre > LinesId User-Cre > LinesNumber User-Cre > ItemCategory User-Cre > ItemId User-Cre > RequestedQty User-LA > Sanctione
-
Problem with Acrobat type library 10 with VB6 on Win7 64bit
I'm trying to use the Acrobat type library 10 in a visual basic 6 source code on my Windows 7 64bit. On the web I found many examples, and specifically i'm trying this one: 'IAC objects Dim gAvDoc As Object Dim oPagesSrc As Lo