Add array to report without timestamp
Hello,
I'm trying to use the Report Generation Toolkit for Office to form my excel report.
I have an excel template which I am accessing via the Report Generation vi in order to pass a 2d array of doubles.
The array is passed into the report, however, the vi seems to add a timestamp column.
Is there a way to prevent the vi from adding this timestamp.
Thanks for any help you can give me.
Solved!
Go to Solution.
If anyone has the same problem, I've just found that if you convert the 2d array into 2d array of strings then the vi no longer adds a timestamp.
Similar Messages
-
Add Array grid report into Layout/tab ExtJS?
How to add Array grid report into Layout/tab ExtJS?
Array grid examples are from >
http://apex.oracle.com/pls/apex/f?p=43040:4:467728553403435
js>
Ext.onReady(function(){
4
5var munkyData = [
6
7["7369","SMITH","CLERK","7902","17-DEC-80","800"," ","20"]
8,["7499","ALLEN","SALESMAN","7698","20-FEB-81","1600","300","30"]
9
10,["7521","WARD","SALESMAN","7698","22-FEB-81","1250","500","30"]
11
12,["7566","JONES","MANAGER","7839","02-APR-81","2975"," ","20"]
13
14,["7654","MARTIN","SALESMAN","7698","28-SEP-81","1250","1400","30"]
15
16,["7698","BLAKE","MANAGER","7839","01-MAY-81","2850"," ","30"]
17
18,["7782","CLARK","MANAGER","7839","09-JUN-81","2450"," ","10"]
19
20,["7788","SCOTT","ANALYST","7566","09-DEC-82","3000"," ","20"]
21
22,["7839","KING","PRESIDENT"," ","17-NOV-81","5000"," ","10"]
23
24,["7844","TURNER","SALESMAN","7698","08-SEP-81","1500","0","30"]
25
26,["7876","ADAMS","CLERK","7788","12-JAN-83","1100"," ","20"]
27
28,["7900","JAMES","CLERK","7698","03-DEC-81","950"," ","30"]
29
30,["7902","FORD","ANALYST","7566","03-DEC-81","3000"," ","20"]
31
32,["7934","MILLER","CLERK","7782","23-JAN-82","1300"," ","10"]
33
34];
35
36var store = new Ext.data.SimpleStore({
37 el: store,
38 fields: [
39 {name: 'empno', mapping: '0'},
40 {name: 'ename', mapping: '1'},
41 {name: 'job', mapping: '2'},
42 {name: 'mgr', mapping: '3'},
43 {name: 'hiredate', mapping: '4'},
44 {name: 'sal', mapping: '5'},
45 {name: 'comm', mapping: '6'},
46 {name: 'deptno', mapping: '7'}
47 ]
48 });
49
50store.loadData(munkyData);
51
52var grid = new Ext.grid.GridPanel({
53 el: grid,
54 store: store,
55 columns: [
56 {id:'empno',header: "Employee",sortable:true, width:100,dataIndex:'empno'},
57 {header: "Name", sortable:true,width:75, dataIndex:'ename'},
58 {header: "Job", sortable:true, dataIndex:'job'},
59 {header: "Manager", sortable:true,width:75, dataIndex:'mgr'},
60 {header: "Hire Date", sortable:true,dataIndex:'hiredate'},
61 {header: "Salary", sortable:true,width:50,dataIndex:'sal'},
62 {header: "Commission", sortable:true,dataIndex:'comm'},
63 {header: "Department", dataIndex:'deptno'}
64 ],
65 stripeRows: true,
66 width:700,
67 autoHeight:true,
68 title:'Array Grid'
69 , renderTo: 'munkyDiv'
70 });
71});
any references?
regards
GordanHi Mark,
thanks for reply, I was making example on
http://apex.oracle.com/pls/otn/f?p=43048:22:2659745156195172
using debug grid layout and put into REGION_05
...< div id = "munkyDiv" > #REGION_POSITION_O5# < / div>
in this way I can add 1,2,3 or more reports as tab and grid.
Simple example as first step is basic layout (integration ExtJS and Apex)>
http://apex.oracle.com/pls/otn/f?p=43048:15
username/pass EXTJS/EXTJS
regards
Gordan
Edited by: useruseruser on Aug 8, 2010 2:51 PM
Edited by: useruseruser on Aug 8, 2010 2:52 PM -
How to add characteristic in report without having in the multi provider.
Hi All,
I need one requirement to add characteristic in report that is not available in the multiprovider . That field is available on the table level in the BI. How should i bring same field into report level with out adding MP. Note : should not add new filed in to exiting flow .
Please give suggestion how do approach this scenario .
Regards,
Veera.Hi ,
If you are working in BI7 then u can use infoset to join the cube and charecteristic(the field that ur going to add), I hope your infoprovider is a cube.
Jay -
Print Preview of crystal Report without add a document
Dear All,
Can i see the Print Preview of Crystal Report without add a document like PLD.
i have developed a Crystal Report through Add Command by Passing a query.
if anybody have idea on this issue please suggest me.
Thanks.
ShekhawatHi Shekhawat....
Through Query Crystal report it is not possible to view the Layout as Draft withou adding teh docs because Report fetch the details only when itys value goes to Database Table......
So suggest to use SAP standard CR and modify as you want....
Regards,
Rahul -
Array of Maps without generic or warnings?
How would I create an array of maps without getting an error about a generic type or a warning?
This will give me an error.
HashMap<Integer,Integer> test = new HashMap<Integer,Integer>[5];This will give me a warning.
HashMap<Integer,Integer> test = new HashMap[5];Dennis_Martinez wrote:
Could I see an example? I'm a little lost on doing so.I suspect you know how to use lists and ask for an example demonstrating the inherent unsafety. So here it is:
List<String>[] generic = new List<String>[1]; // assume this works
List<Integer> ints = new ArrayList<Integer>();
ints.add(42);
Object[] o = generic;
o[0] = ints; // this should not work, but it does (erasure)
List<String> strings = generic[0]; // really it's a list of Integers, ohoh
// now you pass that list somewhere completely unrelated and try to get an element:
String s = strings.get(0); // ClassCastExceptionCompare this to:
String[] strings = new String[1];
Object[] objects = strings;
objects[0] = 42; // ArrayStoreExceptionWith kind regards
Ben -
Updatable report without technical primary key
Hi,
I have a number of tables which need a standard updatable query report (MRU/MRD/MRI). However, these tables do not have a generated primary key, but the primary key is edited by the user.
I've tried generating a standard updatable report for this, however, this doesn't seem to work because it needs a generated primary key.
So I've tried to write the MRU process myself, which could work. However, how would I add a new row, because this isn't possible unless you use the standard updatable report!!... :S I can't help but think this must be me overlooking something. I can't imagine APEX cannot use standard updatable reports without a generated primary key!
Who can help?The solution you're suggesting is the best in my oppinion as well, however, I would like to know if it's possible to resolve this issue in another way. Using technical key's is best practice, but it's not wrong if you don't... so why isn't there a way in APEX to handle this?
Maybe using the "Primary Key Source Type" as "Custom PL/SQL Function" in the "Tabular Form Element" is a possibility?
I will try to convince the customer (other IT department) to use a technical primary key and replace the user generated key by a unique constraint, but ... I just want to know :)
Edited by: Voxie2 on Jan 7, 2010 2:30 PM -
ALV Tree Report without using ABAP Objects
Hi all,
I want to know the name of a function module to create ALV Tree in SE38 as a report. I am required to create this ALV Tree Report without using ABAP OBJECTS. Can u pls help me as early as possible.Hi
see this link
http://www.sapdev.co.uk/reporting/alv/alvtree.htm
*& Report ZBCALV_TREE
REPORT ZBCALV_TREE.
class cl_gui_column_tree definition load.
class cl_gui_cfw definition load.
data tree1 type ref to cl_gui_alv_tree.
data mr_toolbar type ref to cl_gui_toolbar.
include <icon>.
include bcalv_toolbar_event_receiver.
include bcalv_tree_event_receiver.
data: toolbar_event_receiver type ref to lcl_toolbar_event_receiver.
data: gt_VBAK type VBAK occurs 0, "Output-Table
gt_fieldcatalog type lvc_t_fcat, "Fieldcatalog
ok_code like sy-ucomm. "OK-Code
start-of-selection.
end-of-selection.
call screen 100.
*& Module STATUS_0100 OUTPUT
text
module STATUS_0100 output.
SET PF-STATUS 'MAIN'.
if tree1 is initial.
perform Zinit_tree.
endif.
call method cl_gui_cfw=>flush.
endmodule. " STATUS_0100 OUTPUT
*& Form Zinit_tree
text
--> p1 text
<-- p2 text
form Zinit_tree .
perform Zbuild_fieldcatalog.
create container for alv-tree
data: l_tree_container_name(30) type c,
l_custom_container type ref to cl_gui_custom_container.
l_tree_container_name = 'TREE1'.
if sy-batch is initial.
create object l_custom_container
exporting
container_name = l_tree_container_name
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
if sy-subrc <> 0.
message x208(00) with 'ERROR'. "#EC NOTEXT
endif.
endif.
create tree control
create object tree1
exporting
parent = l_custom_container
node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
item_selection = 'X'
no_html_header = ''
no_toolbar = ''
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
illegal_node_selection_mode = 5
failed = 6
illegal_column_name = 7.
if sy-subrc <> 0.
message x208(00) with 'ERROR'. "#EC NOTEXT
endif.
create Hierarchy-header
data l_hierarchy_header type treev_hhdr.
perform zbuild_hierarchy_header changing l_hierarchy_header.
create info-table for html-header
data: lt_list_commentary type slis_t_listheader,
l_logo type sdydo_value.
perform Zbuild_comment using
lt_list_commentary
l_logo.
repid for saving variants
data: ls_variant type disvariant.
ls_variant-report = sy-repid.
create emty tree-control
call method tree1->set_table_for_first_display
exporting
is_hierarchy_header = l_hierarchy_header
it_list_commentary = lt_list_commentary
i_logo = l_logo
i_background_id = 'ALV_BACKGROUND'
i_save = 'A'
is_variant = ls_variant
changing
it_outtab = gt_VBAK "table must be emty !!
it_fieldcatalog = gt_fieldcatalog.
create hierarchy
perform Zcreate_hierarchy.
add own functioncodes to the toolbar
perform zchange_toolbar.
register events
perform zregister_events.
endform. " Zinit_tree
*& Form Zbuild_fieldcatalog
text
--> p1 text
<-- p2 text
form Zbuild_fieldcatalog .
get fieldcatalog
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'VBAK'
changing
ct_fieldcat = gt_fieldcatalog.
sort gt_fieldcatalog by scrtext_l.
change fieldcatalog
data: ls_fieldcatalog type lvc_s_fcat.
loop at gt_fieldcatalog into ls_fieldcatalog.
case ls_fieldcatalog-fieldname.
when 'AUART' .
ls_fieldcatalog-no_out = 'X'.
ls_fieldcatalog-key = ''.
endcase.
modify gt_fieldcatalog from ls_fieldcatalog.
endloop.
endform. " Zbuild_fieldcatalog
*& Form zbuild_hierarchy_header
text
<--P_L_HIERARCHY_HEADER text
form zbuild_hierarchy_header changing
p_hierarchy_header type treev_hhdr.
p_hierarchy_header-heading = 'Hierarchy Header'. "#EC NOTEXT
p_hierarchy_header-tooltip =
'This is the Hierarchy Header !'. "#EC NOTEXT
p_hierarchy_header-width = 30.
p_hierarchy_header-width_pix = ''.
endform. " zbuild_hierarchy_header
*& Form Zbuild_comment
text
-->P_LT_LIST_COMMENTARY text
-->P_L_LOGO text
form Zbuild_comment using
pt_list_commentary type slis_t_listheader
p_logo type sdydo_value.
data: ls_line type slis_listheader.
LIST HEADING LINE: TYPE H
clear ls_line.
ls_line-typ = 'H'.
LS_LINE-KEY: NOT USED FOR THIS TYPE
ls_line-info = 'ALV-tree-demo: flight-overview'. "#EC NOTEXT
append ls_line to pt_list_commentary.
STATUS LINE: TYPE S
clear ls_line.
ls_line-typ = 'S'.
ls_line-key = 'valid until'. "#EC NOTEXT
ls_line-info = 'January 29 1999'. "#EC NOTEXT
append ls_line to pt_list_commentary.
ls_line-key = 'time'.
ls_line-info = '2.00 pm'. "#EC NOTEXT
append ls_line to pt_list_commentary.
ACTION LINE: TYPE A
clear ls_line.
ls_line-typ = 'A'.
LS_LINE-KEY: NOT USED FOR THIS TYPE
ls_line-info = 'actual data'. "#EC NOTEXT
append ls_line to pt_list_commentary.
p_logo = 'ENJOYSAP_LOGO'.
endform. " Zbuild_comment
*& Form Zcreate_hierarchy
text
--> p1 text
<-- p2 text
form Zcreate_hierarchy .
data: ls_vbak type vbak,
lt_vbak type vbak occurs 0.
get data
select * from vbak into table lt_vbak
up to 200 rows . "#EC CI_NOWHERE
sort lt_vbak by AUART.
add data to tree
data: l_AUART_key type lvc_nkey.
loop at lt_vbak into ls_vbak.
on change of ls_vbak-AUART.
perform Zadd_AUART_line using ls_vbak
changing l_AUART_key.
endon.
endloop.
calculate totals
call method tree1->update_calculations.
this method must be called to send the data to the frontend
call method tree1->frontend_update.
endform. " Zcreate_hierarchy
*& Form Zadd_AUART_line
text
-->P_LS_vbak text
-->P_0379 text
<--P_L_AUART_KEY text
form Zadd_AUART_line using p_ls_vbak type vbak
p_relat_key type lvc_nkey
changing p_node_key type lvc_nkey.
data: l_node_text type lvc_value,
ls_vbak type vbak.
set item-layout
data: lt_item_layout type lvc_t_layi,
ls_item_layout type lvc_s_layi.
ls_item_layout-t_image = '@3P@'.
ls_item_layout-fieldname = tree1->c_hierarchy_column_name.
ls_item_layout-style =
cl_gui_column_tree=>style_intensifd_critical.
append ls_item_layout to lt_item_layout.
add node
l_node_text = p_ls_vbak-AUART.
data: ls_node type lvc_s_layn.
ls_node-n_image = space.
ls_node-exp_image = space.
call method tree1->add_node
exporting
i_relat_node_key = p_relat_key
i_relationship = cl_gui_column_tree=>relat_last_child
i_node_text = l_node_text
is_outtab_line = ls_vbak
is_node_layout = ls_node
it_item_layout = lt_item_layout
importing
e_new_node_key = p_node_key .
endform. " Zadd_AUART_line
*& Form zchange_toolbar
text
--> p1 text
<-- p2 text
form zchange_toolbar .
get toolbar control
call method tree1->get_toolbar_object
importing
er_toolbar = mr_toolbar.
check not mr_toolbar is initial.
add seperator to toolbar
call method mr_toolbar->add_button
exporting
fcode = ''
icon = ''
butn_type = cntb_btype_sep
text = ''
quickinfo = 'This is a Seperator'. "#EC NOTEXT
add Standard Button to toolbar (for Delete Subtree)
call method mr_toolbar->add_button
exporting
fcode = 'DELETE'
icon = '@18@'
butn_type = cntb_btype_button
text = ''
quickinfo = 'Delete subtree'. "#EC NOTEXT
add Dropdown Button to toolbar (for Insert Line)
call method mr_toolbar->add_button
exporting
fcode = 'INSERT_LC'
icon = '@17@'
butn_type = cntb_btype_dropdown
text = ''
quickinfo = 'Insert Line'. "#EC NOTEXT
set event-handler for toolbar-control
create object toolbar_event_receiver.
set handler toolbar_event_receiver->on_function_selected
for mr_toolbar.
set handler toolbar_event_receiver->on_toolbar_dropdown
for mr_toolbar.
endform. " zchange_toolbar
*& Form zregister_events
text
--> p1 text
<-- p2 text
form zregister_events .
define the events which will be passed to the backend
data: lt_events type cntl_simple_events,
l_event type cntl_simple_event.
define the events which will be passed to the backend
l_event-eventid = cl_gui_column_tree=>eventid_expand_no_children.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_checkbox_change.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_header_context_men_req.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_node_context_menu_req.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_item_context_menu_req.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_header_click.
append l_event to lt_events.
l_event-eventid = cl_gui_column_tree=>eventid_item_keypress.
append l_event to lt_events.
call method tree1->set_registered_events
exporting
events = lt_events
exceptions
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3.
if sy-subrc <> 0.
message x208(00) with 'ERROR'. "#EC NOTEXT
endif.
set Handler
data: l_event_receiver type ref to lcl_tree_event_receiver.
create object l_event_receiver.
set handler l_event_receiver->handle_node_ctmenu_request
for tree1.
set handler l_event_receiver->handle_node_ctmenu_selected
for tree1.
set handler l_event_receiver->handle_item_ctmenu_request
for tree1.
set handler l_event_receiver->handle_item_ctmenu_selected
for tree1.
endform. " zregister_events
*& Module USER_COMMAND_0100 INPUT
text
module USER_COMMAND_0100 input.
ok_code = sy-ucomm.
clear sy-ucomm.
case ok_code.
when 'EXIT' or 'BACK' or 'CANC'.
perform Zexit_program.
when others.
call method cl_gui_cfw=>dispatch.
endcase.
clear ok_code.
call method cl_gui_cfw=>flush.
endmodule. " USER_COMMAND_0100 INPUT
*& Form Zexit_program
text
--> p1 text
<-- p2 text
form Zexit_program .
call method tree1->free.
leave program.
endform. " Zexit_program
<b>Reward if usefull</b> -
How to run report without report server
hi
my question : how i can run report without using the report server; by simple URL to the report stored in directory and accessing by HTTPserver; and the report is running by the local client runtime.
thinks for replayhello,
what you could try, is to associate the RDF/REP extension with a mimetype (e.g. application/oracle.reports) on the server and then add this mimetype to the browser applications associated with the reports runtime executable.
regards,
the oracle reports team -
Print crystal report without preview
Dear All,
i want print crystal report without preview.
when i click print button i want show printer list install in that computer.
so user can choose which printer that use to print. I means like if we printing document from office, we can choose the printer.
how that i can do that?
please help.
best regards,
SurbaktiSince this issue has little to do with sql server, I suggest you post your question to a forum for CR
SAP CR community -
How to add a sub report at the end of the main report whilst grouped
Hi!
I have a main report that is grouped by the Customers name and then details of transactions they did with the company.
I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a sub report in the report footer, but it only appears once at the end of the report, rather than at the end of each group for each customer.
How can I achieve the desired result?
Regards
VikVik,
You are on the right track with the sub-report.
1. Create your letter in a separate report.
2. Add the Letter Report to your original report as a sub report in the group footer.
3. Set the report links on the "Group By" field.
This will give you a letter record for each report record with the same grouping as the main report.
Hope this helps,
Jason -
How to create a report without any data
HI All, <BR> Can anyone help me in writing a report without any data. I want to create a report with list of memebers from a dimension where UDA is "My UDA". I wrote a report "<UDA(CHANNEL,'My UDA')" but this fetches me data too in the report. How to eliminate the data in the report. <BR><BR>Thanks<BR>Murali
Hi<BR><BR>Assuming you are using the essbase report writer the following script will work: <BR><BR>{ SUPPAGEHEADING }<BR>{ SUPCOLHEADING }<BR>{ SUPFORMATS }<BR>{ SUPFEED }<BR>{ NOINDENTGEN }<BR>{ FIXCOLUMNS 1 }<BR> <ROW("Dimension") <BR> <UDA(Dimension,MyUDA)<BR>!<BR><BR>the fixcolumns 1 will ensure that you only get the UDA without it you will get the variable followed by the corrosponding value.<BR>
-
Vendor open items report without page break after changing vendor account
Hi,
I would like to get the vendor open items report without pagination when the vendor account changes.
The option of deleting the * mark in the Filter page is not valid for me, because this way the vendor's name dissappear. I mean, it would be ok if I could show in the output of the report the name of the vendors.
Thanks in advance.HI,
If I understood your issue correctly then in the report S_ALR_87012085 is a field "Summarization level (0-4)" in the output controls.
You just have to set this field to the value '2'.
When you set the field to two, the page break will first executed, when the page is "full".
If you want to see information about the "Summarization level (0-4)" field, you just have to set the cursor in it, and press F1.
I believe this answer solve your problem.
Please assign points if it useful.
Regards
Ravinagh Boni -
Report without input screen working diffrently in debugging and background
hai,frds
I have one report without input-screen,But it is working diffrently in background and debugger.
please help me for this and i am bapi inside the program to create entries.but
if its in debugging it is crates corectly but if is in back ground it not working cooetly bapi working one time only.
plese help me for this.
Moderator Message: Too much of text-speak/sms-speak. Thread Locked. Write complete words and check their spellings using the Spell-Check tool in the editor here.
Edited by: kishan P on Jan 19, 2012 4:40 PMHI,
In SM37,Put the cursor on the Job, Type 'JDBG' in Command line and press Enter.
You can able to debug your Background job now.
Find out where it is going wrong.....
how to debug background job -
How to create new Custom XML Report without using Form Builder
Hi,
What are the steps to create new Custom XML Report without using Report Builder ?
Thanks and Regards,
AbhiHi,
Steps we now follow
1)Create Data Model in Reports Builder
2)Create xml
3)Insert xml in Publisher to build Fomat
4)FTp rdf
5)Create Data Definition and Template
6)Create executable and Concurrent Program
Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
Thanks and Regards,
Abhijit Rode -
Access table directly from database in BO 4.0 WebI Report without using Universe
Can i use the table avilable in database directly to make BO 4.0 WebI Report without create any universe.
I realy appeiciate your help.
Thank you in advance.You need to create a universe for Relational SQL databases. Universe is a must. The reason you create universe is for the end users. WebI is designed for end users to create their own reports. It is a self service reporting tool. In order to do that, you need universe which allows users to query database using SQL without knowing SQL language.
If you don't want to create a universe for reporting then you can use Crystal Reports instead of WebI
Maybe you are looking for
-
Not able to use Java Virtual Machine in some site
I was not able to access a site with Java. The error I get is al.ssl.InputRecord.read(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source) at com.sun.net.ssl.i
-
Adding space between songs on my playlist
how do i add space between songs on my ipod mini??? i have tried to add space using a download from a "jazzercise" site but my ipod will not sync it...i need about 10 seconds between songs ...help!!!
-
When I started up my G5 imac yesterday, it instructed me to do a restart - nothing else on the screen. My only option was to use the power button to shut it down. When I attempted to start up again, I received a dozen lines of "info" which I unders
-
Is there a way to make the wires disappear?
My program has grown pretty big and now there are wires everywere. I remember that I had that same problem when I used Logic Works and the way to fix it was to give names to the notes and then the whole thing would be "wireless". Is there anything li
-
Will pse 8 recognize an olympus sp 350 specifically in the camera raw calibration area
Does pse 8 recognize an olympus sp 350 in the camera raw calibration area.....in pse 7 the only option I get is adobe standard beta 2....would it be worth it to upgrade to pse 8