How to get data from BW Cube to Another File system?
Hi,
I have a requirement to get the sales data from BW system(infoCube) to another file system as XML file using XI as a middleware. Can anybody give the suggestions on this please?
Thanks & Regards,
Satish
Take a look at the following document. You will get a fair idea how to integrate BW and XI.
BW > XI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/integrate bw via xi.pdf
XI> BW
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how to push data into bw from xi.pdf
regards
SKM
Similar Messages
-
How to get data from a DSO to another
Hi!
I have two DSO created:
DSO_1
DSO_2
DSO_2 contains values that I need to transfer over to DSO 1 without any direct connection through a transformation.
These are the field in DSO 1:
CALL_ID
REQ_ID
REQ_DURATION
These are the field in DSO 2:
REQ_ID
DURATION
When the REQ_ID are the same in both DSO's, i need the value in DURATION (DSO_2) to transfer over to the Infoonbject called "REQ_DURATION" (DSO_1).
Can anyone help me, please? Is this a "bad" way of doing ut (both DSO contains about 70000 records). Is it easier just to make a transformation from DSO_2 to DSO_1, and make a routine when transfering?Hi Helge,
Below is the Code,modify this as per your requirement !!!!!!!!!!
Declarations
$$ begin of global - insert your declaration only below this line -
TYPES : BEGIN OF TY_DSO1,
REQ_DURATION TYPE DSO1-REQ_DURATION,
REQ_DURATION TYPE DSO1-REQ_DURATION
REQ_ID TYPE DSO1-REQ_ID,
END OF TY_DSO1.
DATA : IT_TEST TYPE STANDARD TABLE OF TY_DSO1,
WA_TEST TYPE TY_DSO1.
$$ begin of routine - insert your code only below this line *-
Start Routines
IF SOURCE_PACKAGE[] IS NOT INITIAL.
SELECT /BIC/DURATION
INTO CORRESPONDING FIELDS OF TABLE IT_TEST
FROM u201CDSO2u201D
FOR ALL ENTRIES IN SOURCE_PACKAGE
WHERE REQ_ID = SOURCE_PACKAGE-REQ_ID.
ENDIF.
IF NOT IT_TEST IS INITIAL.
SORT IT_TEST BY REQ_ID.
ENDIF.
Transfer ROutine
Source Field = DURATION
Target Field = REQ_DURATION
READ TABLE IT_TEST INTO WA_TEST WITH KEY REQ_ID =
SOURCE_FIELDS-REQ_ID
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = WA_TEST-DURATION.
ENDIF.
The field Request_duration will be updated with Duration when req ID are same for both DSO's.
You may have to change the code a bit.
Rgds
SVU123 -
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
How to get data from a USB-UIRT device using Labview?
How to get data from a USB-UIRT device using Labview?
I'm trying to get data from a USB-UIRT device, is it posible with Labview?
I really appreciate your help,
thanksYou may want to contact the developer of the device for the API and DLL.
http://65.36.202.170/phpBB2/viewforum.php?f=3 -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
How to extract data from BW cube
Hello friends,
Kindly advice me how to extract data from BW cube.
My requirement is to write an ABAP program to retrive the data from the BW cube.
Kindly provide me any sample code for my requirement.
Thanks in advance.
S.Jaffer AliHi Jaffer,
If you want to load the data from the BW cube into any other Cube/ODS in the same of another BW system you can use the export datasource.
If you want to load the data from the BW cube into any other system then you can use any of these options:
1. Infospoke - Open hub service and is widely used.
2. APD
3. RFC enabled fn modules.
Bye
Dinesh -
Move data from one cube to another cube
Hi,
I am on BW 3.5 and I have moved the data from one cube to another cube and found that the number of records in the original cube does not match to the newly created cube. for eg. if the original cube contains 8,549 records then the back up cube contains 7,379 records.
Please help me on what I need to look on and if in case the records are getting aggregated then how do I check the aggregating record.
Regards,
TysonDear tyson m ,
check with any update rules in ur transfer.If so check in it.
Just go through these methods for making transfer from one cube to another cube fully without missing data.
Update rules method
if it's updated from ods, you can create update rules for cube2 and update from ods
or you can try datamart scenario
cube1 right click 'generate export datasource'
create update rules for cube2, assign with cube1
rsa1->source system->bw myself, right click 'replicate datasource'
rsa1-> infosource -> search 8cube1 name
(if not get, try right click root note 'infosource'->insert lost node(s)
from that infosource, you will find assigned with datasource, right click and 'create infopackage', schedule and run.
Copy from
While creating the new cube give the cube name in the "Copy from" section. It would copy all the characteristics and Key figures. It would even copy the dimensions and Navigational attributes
Another option is:
The steps for copying the contents of one cube to another:
1. Go to Manage -> Recontruct of the new cube.
2. Select the "selection button"(red , yellow, blue diamond button).
3.In the selection screen you can give the technical name of the old cube, requests ids you want to load, from & to date.
4.Execute and the new cube would be loaded.
Its all that easy!!!!!!
Refer this link:
Copying the structure of an Infocube
Reward if helpful,
Regards
Bala -
ABAP Function Module Example to move data from one Cube into Another
Hi experts,
Can any please help out in this ..?
A Simple ABAP Function Module Example to move data from one Cube into Another Cube
(How do i send the data from one client to another client using Function moduel).
Thanks
-Upen.
Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again, BI related? ("cube"), also search for information before asking.
Edited by: Thomas Zloch on Oct 29, 2010 1:19 PMThis is the start routine to duplicate records in two currencies.
DATA: datew TYPE /bi0/oidateto,
datew2 TYPE rsgeneral-chavl,
fweek TYPE rsgeneral-chavl,
prodhier TYPE /bi0/oiprod_hier,
market TYPE /bic/oima_seg,
segment TYPE /bic/oizsegment.
DATA: BEGIN OF S_DATA_PACK OCCURS 0.
INCLUDE STRUCTURE /BIC/CS8ZSDREV.
DATA: END OF S_DATA_PACK.
S_DATA_PACK[] = DATA_PACKAGE[].
REFRESH DATA_PACKAGE.
LOOP AT S_DATA_PACK.
move-corresponding s_data_pack to DATA_PACKAGE.
if DATA_PACKAGE-loc_currcy = 'EUR'.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
DATA_PACKAGE-CURRENCY = 'USD'.
APPEND DATA_PACKAGE.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalloc.
DATA_PACKAGE-CURRENCY = 'EUR'.
APPEND DATA_PACKAGE.
else.
DATA_PACKAGE-netval_inv = DATA_PACKAGE-/bic/zsdvalgrc.
DATA_PACKAGE-CURRENCY = 'USD'.
APPEND DATA_PACKAGE.
endif.
ENDLOOP.
This is to load Quantity field
RESULT = COMM_STRUCTURE-BILL_QTY.
This is to load Value field
RESULT = COMM_STRUCTURE-NETVAL_INV.
UNIT = COMM_STRUCTURE-currency. -
Partitioning two Years Of Data From One Cube Yo Another
Hi Experts,
Can any one please help me on the following issue.
I got the requirement where I need to copy the data from one cube to another having unequal number of dimensions.
I have achieved this using Transparent partitioning, But I could be able to copy only one year data.
In cube1 I have the months like Jan, Feb...Dec and in cube2 I have the structure like Jan-11..Dec-11, Jan-12...Dec-12.
While creating the partition how can I map the Jan with Jan-11 and Jan-12.
Thanks In Advance,
RamYou can map manually. it is possible.
-
How to extract data From Hyperion Essbase to Flat Files
Hi ,
Can anyone tell me how to extract data from Hyperion essbase to Flat file(e.g. .csv , .txt ,...) or Oracle Table using ODI.
Regards,
AvneetHi sutirtha,
I have make one column as key column now i am getting this error,
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.ODIEssbaseDataReader.getAppData(Unknown Source)
at com.hyperion.odi.essbase.AbstractEssbaseReader.extract(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
at org.python.core.PyMethod.__call__(PyMethod.java)
at org.python.core.PyObject.__call__(PyObject.java)
at org.python.core.PyInstance.invoke(PyInstance.java)
at org.python.pycode._pyx7.f$0(<string>:1)
at org.python.pycode._pyx7.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java)
at org.python.core.PyCode.call(PyCode.java)
at org.python.core.Py.runCode(Py.java)
at org.python.core.Py.exec(Py.java)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Caused by: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.validateColumns(Unknown Source)
at com.hyperion.odi.essbase.wrapper.EssbaseReportDataIterator.init(Unknown Source)
... 33 more
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: The number of columns returned by script [10] is less than the source data columns exposed [12]
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source) -
To load data from a cube in SCM(APO) system to a cube in BI system.
Experts,
Please let me know whether it is possible to load data from a cube in SCM(APO) system to a cube in BI system.If so explain the steps to perform.
Thanks,
MeeraHi,
Think in this way,
To load the data fro any source we need datasource Ok. You can genare Export data source for Cube in APO, then use that datasource for BW extraction, try like this. I think it will work, in my case I'm directly loading data from APO to BW using the DataSource sthat are genaraed on Planning Area.
Why you need to take data from APO cube?. Is there any condition for that?. If it is not mandatory, you can use the dame datasource and load the data to BW, if they have any conditions while loading the data from APO to APO cube, they you try check wherther it is possible in BW or not. If possible then you use DataSource and do the same calculation in BW directly.
Thanks
Reddy -
How to read data from a zipped MS Access file?
How to read data from a zipped MS Access file?
RPJ,
You do not need to use the Close Zip File.vi when you unzip a folder. This VI is used when you are creating a zip folder.
As for examples, I found a couple of ActiveX based MS Access examples. These programs look to be pretty basic. For more in depth example I would search Microsoft Developers Network
http://zone.ni.com/devzone/cda/epd/p/id/2188
http://zone.ni.com/devzone/cda/epd/p/id/1694
Regards,
Jon S.
National Instruments
LabVIEW R&D -
How to get list of drives present in local file system?
Hi all,
I want to show all drives and their contents using JTree.
Does anybody know how to get list of drives present in local file system?Thank you!
I have new question.
I want to disply size and file type. Can you give ur suggestion in order to do that?
I want to provide following using JTree
+ root <Dir> 50KB
- file1 <txt> 10KB
- file2 <bmp> 20KB
+ root2 <Dir> 200KB
-file1 <jpeg> 50KB
Is this possible?
Plz reply..........
bye -
How to get data from subsites list of SharePoint 2010 in ssrs
Hi,
Can someone help me on this issue.
I want to create a report using ssrs, I have some of the data in SQL and some of the data in sharepoint list.
First I need to go to SQL and get the data from the table which contains URL for the subsite in sharepoint.
after that I need to go to all the subsites and go to perticulat list in the subsites and get data from that list.
for example, their is a top level site "abc"
it contains sub site "123", "456","567", etc.. All this sub sites contain a list by name "Sample List", Now I need to go to that sub site list(Sample List) and get list-item column say "created By" which
is created on particular date.
in my report, I need to print the sub site "url/Title" which comes from SQL database and list-item column "Created By" of that sub site list "Sample List".
I tried using subreport inside a report by using "Microsoft SharePoint List" as a datasource, but when it comes to real time we don't know how many subsites will be created, so we can't create a datasource for each subsite site.
I guess we need to be using XML as a datasource, but how can we go to particular subsite in query while using XML, since all subsites have list with the same name ?
I appreciate your help.
Thank you,
KishoreHi Kishore,
SQL Server Reporting Services(SSRS) supports expression-based connection strings. This will help us to achieve the goal you mentioned in this case:
Create a new report
Create a Data Source in the report with the connection string like this:
http://server/_vti_bin/lists.asmx (We use static connection string instead of expression-based connection string now, as it is not supported to get fields based on expression-based connection string in design time. We will change it to be expression-based
connection string later)
Create the data set(as you have done using XML query language). Please use list name instead of GUID in the listName parameter.
Design the report(e.g. Add controls to the report)
Now, let's change the connection string to be expression-based. First, please add a parameter to the report, move this parameter to top. This parameter is used to store the sub site name.
Open the Data Source editor, set the connection string to be: ="http://server/" & Parameters!parameterCreatedInStep5.value & "_vti_bin/lists.asmx"
In the main report, pass the sub site name to the report we created above via the parameter created in step5
That is all.
Anyway, this is actually a SQL Server Reporting Service(SSRS) question. You can get better support on this question from:
http://social.technet.microsoft.com/Forums/en/sqlreportingservices/threads
For more information about Expression-Based connection string, please see:
http://msdn.microsoft.com/en-us/library/ms156450.aspx#Expressions
If there is anything unclear, please feel free to ask.
Thanks,
Jinchun Chen
Jin Chen - MSFT -
How to get data from Oracle using Native SQL in SAP.. Problem with date
Hi Masters.
I'm trying to get data from an Oracle DB. I was able to connect to Oracle using tcode DBCO. The connetion works fine
I wrote this code and it works fine without the statement of where date > '01-09-2010'
But i need that statement on the select. I read a lot about this issue, but no answer.
My code is (this code is in SAP ECC 6.0)
DATA: BEGIN OF datos OCCURS 0,
id_numeric(10),
component_name(40),
comuna(10),
record_id(10),
status,
sampled_date(10),
END OF datos.
DATA: c TYPE cursor.
EXEC SQL.
connect to 'LIM' as 'MYDB'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'MYDB'
ENDEXEC.
EXEC SQL PERFORMING loop_output.
SELECT ID_NUMERIC, COMPONENT_NAME, COMUNA, RECORD_ID, STATUS, SAMPLED_DATE
into :datos from lims.SAMP_TEST_RESULT
where date > '01-09-2010'
ENDEXEC.
EXEC SQL.
disconnect 'MYDB'
ENDEXEC.
How can i get the data from that date?? If i delete the where statemet, the program works well, it takes 30 mins and show all the data, I just need the data from that date.
Any help
RegardsPlease refer the example in this link which deals with Oracle date format.
You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]
Maybe you are looking for
-
Logical Database CRMLDB_ACT_MON access
Can somebody please tell me How do i find out the underlying table name of the REPORT_LIST Node of the logical database CRMLDB_ACT_MON Please reply
-
Illustrator CS4 window broken when using expose
it happens when i do the following Create or open an .ai file, than create or open another .ai file and hit expose. Everything is fine. Than i click on the tab for the first .ai file, hit expose and illustrator is broken into pieces. When i click on
-
I just got my N8 and I am very happy with it. I made mistake and deleted all those 38 pictures N8 had in it. I am wondering if it is possible to get them back somehow? Can someone please help? Thanks for your time.
-
When trying to import a cd it says that 513MB will be used for only 11 song
before whenever i've imported a cd in the bottom where it says the number of songs, time, and MB used the MB are always below 100. for all of the songs the CD's that I've tried to import today it says 400 or 500 some MB will be used. this is not righ
-
Last GR Date & Last GI Date of stock in inventory
Hi Gurus, How can I get last GR date & last GI date from stock in Inventory if i don't have information on batch ? Is there any standard report in SAP which provide that information ? Please kindly give advice on this. Regards, Gunawan