How to export data from ODS through Open hub destination ?
Hello Expert,
I ahve some data in ODS.I want to export that data to some thirdt party application through Open Hub destination .How will I do that ??
Eary reply is appreciated .
HD IS :
1.DATASOURCE
2.INFOSOURCE
3.DATASTORE OBJECT
4.INFOCUBE
5.INFOOBJECT
1.Assume that info cube existing with data
2.Create openhuB services
GO FOR OHD---->select Any info area ->CONTEXTMENU>Create OHD
Give the 'OBJECT NAME'----Continue
In OHD Destination type Depends upon 3 types
1.DB-TABLE
2.FILE
3.THIRD PARTY TOOL
3.Go for the Defination Tab give the File name
4.Create Transfermations
5.Create DTP
OPEN HUB SERVICES WITH -
INFOSOURCE:OHD---DB TABLE SPECIFY:/BIC/OH
1.Assume that info cube existing with data
2.Create openhuB services
GO FOR OHD---->select Any info area ->CONTEXTMENU>Create OHD
Give the 'OBJECT NAME'----Continue
3.Select Dbfile----->Continue
Select file location where you want to store file .
O.Semantic key
4.Create Transfermations
5.Create DTP
Regards ,
Praveenyagnamurthy.
Similar Messages
-
How to Export data from webdynpro using Jecxcel
Hi ,
Can anyone help me how to export data from web dynpro using Jexcel. kindly send me the related links.
ThanksHi Sandeep,
Have you refered in the blogs?
U can find may more document related to this.the below blog helps u in
Exporting Data from Web Dynpro in Different Formats Using Open Source (POI, JExcel, iText) APIu2019s.
https://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b
Regards
Supraja -
How to extract data from ODS to non-SAP system
Hi,
Can anybody tell me, step by step, how to extract data from ODS to a non-SAP system?
Is it possible to do it without programming effort? And is there volume limits for this kind of extraction?
The non-SAP system is an unix system.
Thanks in advance
EllaElla,
You can look at it from the concept of a BADI / Infospoke
Extract the data from the ODS to a Flat file / RDBMS using an infospoke. I am not sure as to how the infospoke loads data into the RDBMS ( did it very long ago ) but then you can push it into an RDBMS and I am sure it will be system neutral.
Hope this helps...
Arun
Assign points if it helps -
How to export data from a Oracle table to a delimited file?
I know how to load delimited file into a table, but how to export
data from a Oracle table to a delimited file?
Thanks in advance.Try looking at this link, it's long but there's three different solutions discussed in it. If you look at Barbara Boehmer's
solution in her posts in the link below you'll see that she's addressed your concerns with spool files.
Re: utl_smtp and triggers -
How to export data from a spread sheet which has multiple work sheets?
How to export data from a spread sheet which has multiple work sheets to a single text file with fixed length fields?
Hello s1,
saving them as CSV will not give a fixed legth output but, as the naming says, a Character Separated Value file.
Regards
Marcus -
Issue for DTP from DSO to open hub destination
Hello Gurus,
I have a issue for DTP from DSO to open hub destination, long text for error in the monitor is as follows:
" Could not open file
SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2 on application server"
" Error while updating to target ZFIGLH03 (type Open Hub Destination) "
for open hub destination, I check the configure for logical file name , which is "
SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr",
I am wondering where that file "
SAPBITFS\tst_bi\bit\BIWork\GENLGR_OneTimeVendr_2" in the error message comes from?
Many thanks,Hi
You do not need to create a file in application server. It will be created automatically.
But if you have defined a logical file name in tcode FILE and used that in OHD and if it is not correct then it will show a conflict. Check this out. -
How to ensure data from ods to cube are correct or not
hi all,
i am just trying to get data from ods to cube. how to make ensure that the records that i fetched from ods to the respective cube are correct and number of records are the same.
thanxs in advance
regds
hariDear Hari,
There are two ways of confirming correct loads:
1. Level by Level Analysis
2. Comparision with Virtual InfoProvider
First method is by analysing data at each level. First at Database Table (if loading from R/3) or Excel (if loading from flatfile), then at extraction level (See data at RSA 3, not possible with flatfile). After this load data to BW through PSA and check the content of PSA. After that load it to Infoprovider and varify there.
Second method is to create a Virtual Infocube on the datasource (extract exact data through FM). And create a multiprovider by combining this Virtual cube and original Cube. Then create a Query with calculated key figures as difference of each key figures from two cubes. This way you can say that which value is not matching.
I suggest you the first method, but the standard way would be second one at highly critical loads where you cannot match huge ammount of data.
Hope it helps...
Regards, -
How to Export data from a Table to Excel using PL/SQL Code
Hi,
I need to export data from a table to the excel sheet using PL/SQL script.
could you pls provide with custom codes or sample procedures.
Bobbyhttp://asktom.oracle.com/pls/ask/f?p=4950:8:7947129213057862756::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:728625409049
-
How to export data from a Dynpro table to Excel file?
Hi
Here I go again. I read the post <b>Looking for example to export data from a DynPro table to Excel file</b> and put the code lines into a Web Dynpro Project where we need to export a dynpro table to Excel file but exactly at line 23 it doesn't recognize <b>workBook = new HSSFWorkbook();</b>
1 //Declare this in the end between the Begin others block.
2
3 private FileOutputStream out = null;
4 private HSSFWorkbook workBook = null;
5 private HSSFSheet hsSheet = null;
6 private HSSFRow row = null;
7 private HSSFCell cell = null;
8 private HSSFCellStyle cs = null;
9 private HSSFCellStyle cs1 = null;
10 private HSSFCellStyle cs2 = null;
11 private HSSFDataFormat dataFormat = null;
12 private HSSFFont f = null;
13 private HSSFFont f1 = null;
14
15 //Code to create the Excel.
16
17 public void onActionExportToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
18 {
19 //@@begin onActionExportToExcel(ServerEvent)
20 try
21 {
22 out = new FileOutputStream("C:/mydirectory/myfiles/testexcel.xls");
23 workBook = new HSSFWorkbook();
24 hsSheet = workBook.createSheet("My Sheet");
25 cs = workBook.createCellStyle();
26 cs1 = workBook.createCellStyle();
27 cs2 = workBook.createCellStyle();
28 dataFormat = workBook.createDataFormat();
29 f = workBook.createFont();
30 f1 = workBook.createFont();
31 f.setFontHeightInPoints((short) 12);
32 // make it blue
33 f.setColor( (short)HSSFFont.COLOR_NORMAL );
34 // make it bold
35 // arial is the default font
36 f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
37
38 // set font 2 to 10 point type
39 f1.setFontHeightInPoints((short) 10);
40 // make it red
41 f1.setColor( (short)HSSFFont.COLOR_RED );
42 // make it bold
43 f1.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
44 f1.setStrikeout(true);
45 cs.setFont(f);
46 cs.setDataFormat(dataFormat.getFormat("#,##0.0"));
47
48 // set a thick border
49 cs2.setBorderBottom(cs2.BORDER_THICK);
50
51 // fill w fg fill color
52 cs2.setFillPattern((short) HSSFCellStyle.SOLID_FOREGROUND);
53 cs2.setFillBackgroundColor((short)HSSFCellStyle.SOLID_FOREGROUND);
54 // set the cell format to text see HSSFDataFormat for a full list
55 cs2.setDataFormat(HSSFDataFormat.getBuiltinFormat("text"));
56 cs2.setFont(f1);
57 cs2.setLocked(true);
58 cs2.setWrapText(true);
59 row = hsSheet.createRow(0);
60 hsSheet.createFreezePane(0,1,1,1);
61 for(int i=1; i<10;i++)
62 {
63 cell = row.createCell((short)i);
64 cell.setCellValue("Excel Column "+i);
65 cell.setCellStyle(cs2);
66 }
67 workBook.write(out);
68 out.close();
69
70 //Read the file that was created.
71
72 FileInputStream fin = new FileInputStream("C:/mydirectory/myfiles/testexcel.xls");
73 byte b[] = new byte[fin.available()];
74 fin.read(b,0,b.length);
75 fin.close();
76
77 wdContext.currentContextElement().setDataContent(b);
78 }
79 catch(Exception e)
80 {
81 wdComponentAPI.getComponent().getMessageManager().reportException("Exception while reading file "+e,true);
82 }
83 //@@end
84 }
I don't know why this happen? Any information I will appreciate it.
Thanks in advance!!!
Tokio Franco ChangAfter test the code lines appears this error stacktrace:
[code]
java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
at com.sap.tc.webdynpro.progmodel.api.iwdcustomevent.ExportToExcel.onActionAct1(ExportToExcel.java:232)
at com.sap.tc.webdynpro.progmodel.api.iwdcustomevent.wdp.InternalExportToExcel.wdInvokeEventHandler(InternalExportToExcel.java:147)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
Thanks in advance!!!
Tokio Franco Chang
[/code] -
Data selection in new Open Hub destination Vs Infospoke
In BW 3.5, we can use T code RSBO to create Infospoke, In the selection tab, we can use any infoobject in the source infocube as the data filterfor the infoSpoke, e.g I can set company code as 1002 etc, while in the new BI 7.0, Open Hub Destination, where I can achieve the same by set the filter for a specific infoobject in the source cude?
Edited by: Jianbai on Mar 29, 2010 11:49 PM
Edited by: Jianbai on Mar 29, 2010 11:51 PMFor Open Hub in BI7 we are creating transformation and DTP. The same resrtiction you can give in DTP (activate it after change).
-
How to Export Data from a table in database directly to Excel.
Hi,
I have some sqls that i need to run on a daily basis.My client wants them to be scheduled through a job and the result output of the query should be in the form of Excel.
Now i am no sure how to do this.Is there any in-built function in the DBMS package that can export data drectly from table to Excel. ?
Please Help me !!SQL> spool exlfile.cvs
SQL> set colsep ','
SQL> set lines 300
SQL> set pages 9999
SQL> set trimspool on
SQL>
SQL> select * from DEPARTMENTS
2 /
DEPARTMENT_ID,DEPARTMENT_NAME ,MANAGER_ID,LOCATION_ID
10,Administration , 200, 1700
20,Marketing , 201, 1800
30,Purchasing , 114, 1700
40,Human Resources , 203, 2400
50,Shipping , 121, 1500
60,IT , 103, 1400
70,Public Relations , 204, 2700
80,Sales , 145, 2500
90,Executive , 100, 1700
100,Finance , 108, 1700
110,Accounting , 205, 1700
120,Treasury , , 1700
130,Corporate Tax , , 1700
140,Control And Credit , , 1700
150,Shareholder Services , , 1700
160,Benefits , , 1700
170,Manufacturing , , 1700
180,Construction , , 1700
190,Contracting , , 1700
200,Operations , , 1700
210,IT Support , , 1700
220,NOC , , 1700
230,IT Helpdesk , , 1700
240,Government Sales , , 1700
250,Retail Sales , , 1700
260,Recruiting , , 1700
270,Payroll , , 1700 -
How to export data from webdynpro to Excel and start a Excel macro
Hello All
I want to export data displayed in the Web dynpro ALV into Excel. I have tried the ALV export function but my problem with it is when it does export to excel the data loses formatting and I have long text in columns which display with wrapping in ALV but when exported to excel it loses formatting.
So I want to define a custom button and when user presses on this button the excel export is called with a macro. Can you kindly share ideas how I can do this from a webdynpro.
Thanks
KarenHi friends!
I have followed the following:
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID1487994050DB10407586481486749551End?blog=/pub/wlg/5522
...in order to create standard ALV with Export to Excel.
However what is exported into excel is awful. It does not contain my data in nice columns... Instead it shows a lot of meta-data.
Please let me know what to do to kick the standard Export button in the correct direction.. that is...to have my nice table in same way in Excel, because that is my intention with "Export to excel"
Best reg
Henrik -
How to export data from one DB to another?
Hi everyone,
I have 2 oracle db A and B. And I want to transfer data from table aa in A to table aa in B. These 2 tables have the identical structure. How can I do it? Thanks.
Houminuse the EXP utility to export the table, then use the IMP utility to import it again.
-
How to export data from Elimination Value dimension member by HAL HFM adapter?
Good day!<BR><BR>Is it possible to export HFM 4.0.5 data with HAL from the <Elimination> Value dimension member?<BR><BR>In 3.* versions it wasn't and there is Known Issue in the "HFM 3.* Adapter Read Me" file: "The Hyperion Financial Management Adapter exports data using the <entity currency> Value dimension member. The documentation erroneously states that there is a port available for the Value dimension"<BR>But there is not such point in the same file for HFM 4.0.5 AND there is Value port in the HFM 4.0.5. Adapter.<BR><BR>Thanks!<BR><BR>Regards,<BR>Georgy<BR>
In the first approch, try to change the exporting parameter type REF TO DATA.
Try like:
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
DATA: t_mara TYPE HASHED TABLE OF mara WITH UNIQUE KEY matnr.
METHODS:
constructor,
get
IMPORTING
if_matnr TYPE matnr
EXPORTING
ea_mara TYPE REF TO data.
ENDCLASS. "lcl_test DEFINITION
START-OF-SELECTION.
DATA: lo_test TYPE REF TO lcl_test,
lr_data TYPE REF TO data.
FIELD-SYMBOLS: <fa_mara> TYPE ANY,
<f_field> TYPE ANY.
CREATE OBJECT lo_test.
lo_test->get(
EXPORTING
if_matnr = '000000000077000000' " << Replace Your Material
IMPORTING
ea_mara = lr_data ).
ASSIGN lr_data->* TO <fa_mara>.
ASSIGN COMPONENT 'ERSDA' OF STRUCTURE <fa_mara> TO <f_field>.
<f_field> = space.
WRITE: 'Done'.
CLASS lcl_test IMPLEMENTATION.
METHOD constructor.
SELECT * INTO TABLE t_mara
FROM mara
UP TO 10 ROWS.
ENDMETHOD. "constructor
METHOD get.
FIELD-SYMBOLS: <lfs_mara> LIKE LINE OF me->t_mara.
READ TABLE me->t_mara ASSIGNING <lfs_mara> WITH KEY matnr = if_matnr.
GET REFERENCE OF <lfs_mara> INTO ea_mara.
ENDMETHOD. "get
ENDCLASS. "lcl_test IMPLEMENTATION
Regards,
Naimesh Patel -
How to export data from report to excel using report 10g
Hi,
usnig report 10g, can we export the data from report to excel.
Regards
RandhirHi,
have a look at metalink note 209770.1: Getting Reports Ouput to MS Excel - Techniques and References
Regards
Rainer
Maybe you are looking for
-
Sending scanned items to a fax?
I just got a hp laptop and hp deskjet3050-A all-in-one. I am having a hard time sending a fax. I have everything scanned and it's ready to go, I just can't send it! I don't know how to find my printer's email address or anything and don't seem to be
-
I have made sure that my ipod is second generation, and i have tried to resotr it twice to fix the problem. I'm getting a little bit frustrated with it. I went to the apple store in metrotwn and the gentlemen didnt even look at the ipod, just told me
-
Missing class ServerNamingNode_WLStub using Java Web Start
Hi! We're developing J2EE application with Swing clients. Our Swing applications work perfectly standalone but fail when distributed via Java Web Start. The log says that ServerNamingNode_WLStub cannot be found. I've looked through all the WL install
-
LR 1.3: Some Hidden Panels Don't Auto-Reveal on Mouse-over
I'm generally pretty pleased with what's new in 1.3, but I have found one bug. I often work in the Library Module with the left-hand panel closed, and I'm finding in 1.3 that it doesn't auto-reveal on mouse-over - I have to click the little triangle
-
Scope not found intermittent error
We are using Oracle 10g R2 and BPEL 10.1.3.1. Our application consists of 2 processes. Process 1 invokes process 2 asynchronously and waits for a response. We have observed that when instances are being created for process 1 and at the same time resp