Can you export two dataproviders to excel?
We have a web template with two tables, both run against different data providers. Is there anyway to export both to a single excel spreadsheet? I can get one dataprovider to export but am having difficulty adding a second.
Any help will be appreciated.
Cheers
Shep.
Hi Neal,
The assumption is that when you loaded SAP GUI, one of the programs you loaded is call sapbex.xla
When you launch sapbex.xla, Excel opens (if Excel is not already open) and you will see a new toolbar named Business Explorer.
Select the "Tools" icon and on the sub-menu select "Insert query". Navigate to the correct info provider ... or, more easy use the Find icon, to locate the first query. Now go to another worksheet and repeat for Insert query for the second query.
You now have both queries embedded in the workbook. You can save this to the BW server using the Save icon on the Business Explorer toolbar. Or, you can save the workbook to your personal drive or a LAN drive using the Excel toolbar or menu bar or shortcut keys.
You can automate the heck out of these two queries using Visual Basic and the sapbex.xla API functions.
Enjoy!
- Pete
Similar Messages
-
In new Numbers, can you export a file into excel format?
In new Numbers, can you export a file into excel format? Or is this something else thats been removed!!??
HELP!!Hi AMGracie,
In Numbers 3.0 on a MacBook Pro running OS X 10.9
Regards,
Ian. -
Hi everyone,
Can you export the date and user to Excel that appears into a Comments field in a tracking list?
When i export a tracking list with a Comment field in the Content type, the screen where you enter the data for an item, the Comments field just export the text of the comment into the Excel file.
In the Comments field appears also, besides the comment text, the user and date from who and when the comment is added.
Is there a way to export also the user and the date?
Thanks
Wimcreate another comment field that doesn't use 'appending', and through SP Designer change workflow keep
updating that field with the new comments (prepend the field with date/username/new comment). Hide the field on all forms, but put it in the view you need to export to Excel.
Please refer few more links: Hope they will help
http://www.nothingbutsharepoint.com/2009/04/16/versioning-append-changes-to-existing-text-view-entries-aspx/
http://sympmarc.com/2011/02/07/showing-all-versions-of-append-changes-to-existing-text-in-a-data-view-web-part-dvwp/comment-page-3/
https://mossipqueen.wordpress.com/2013/03/06/display-all-appending-field-entries-in-a-single-list-view/
http://community.office365.com/en-us/f/154/t/278560.aspx
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Hi everyone, again landed up with a problem.
After trying a lot to do it myself, finally decided to post here..
I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
Because both the tables have same number of columns & column names.
Below are 2 tables with column names:
Table-1 (MONTHLY_PART_1)
Table-2 (MONTHLY_PART_2)
SL_NO
SL_NO
COMP
COMP
DUE_DATE
DUE_DATE
U-1
U-1
U-2
U-2
U-4
U-4
U-20
U-20
U-25
U-25
Since both the tables have same column names, I'm getting the following error :
Error 402 at line 103, column 4
alias required in SELECT list of cursor to avoid duplicate column names.
So How can i export the data to excel which has 2 tables with same number of columns & column names?
Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
Help me with this please.
Thank You.You'll have to *alias* your columns, not prefix it with the table names:
$[CHE_TEST@asterix1_impl] r
1 declare
2 cursor cData is
3 with data as (
4 select 1 id, 'test1' val1, 'a' val2 from dual
5 union all
6 select 1 id, '1test' val1, 'b' val2 from dual
7 union all
8 select 2 id, 'test2' val1, 'a' val2 from dual
9 union all
10 select 2 id, '2test' val1, 'b' val2 from dual
11 )
12 select a.id, b.id, a.val1, b.val1, a.val2, b.val2
13 from data a, data b
14 where a.id = b.id
15 and a.val2 = 'a'
16 and b.val2 = 'b';
17 begin
18 for rData in cData loop
19 null;
20 end loop;
21* end;
for rData in cData loop
ERROR at line 18:
ORA-06550: line 18, column 3:
PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
ORA-06550: line 18, column 3:
PL/SQL: Statement ignored
$[CHE_TEST@asterix1_impl] r
1 declare
2 cursor cData is
3 with data as (
4 select 1 id, 'test1' val1, 'a' val2 from dual
5 union all
6 select 1 id, '1test' val1, 'b' val2 from dual
7 union all
8 select 2 id, 'test2' val1, 'a' val2 from dual
9 union all
10 select 2 id, '2test' val1, 'b' val2 from dual
11 )
12 select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
13 from data a, data b
14 where a.id = b.id
15 and a.val2 = 'a'
16 and b.val2 = 'b';
17 begin
18 for rData in cData loop
19 null;
20 end loop;
21* end;
PL/SQL procedure successfully completed.
cheers -
Can you export iCloud to Goggle
Can you export iCloud to Goggle?
iCloud and Google are two different services. If you mean forward your email, log into icloud.com using a computer browser. Go to the email page and click the gear in the upper right. Click preferences and indicate which email address to forward to.
-
Can you have two detail lists from the basic list at the same time?
Hi
Can you have two detail lists from the basic list at the same time?
If yes how and if no why?
Thanks
VenkatNo ... it is not possible of 2 detail list at one time from the basic list ...
you can increament the SY-LSIND .... But you can not display both the windows at single time ...
it is possible to display 2 Detail list in ALV ...... from one basic list using the Blocked list concept .
Sample Program on BLOCK LISTS
Report zblock_list
* Declarations for BLOCK ALV DISPLAY
*--type pools
TYPE-POOLS:slis.
DATA:x_layout TYPE slis_layout_alv,
t_field TYPE slis_t_fieldcat_alv,
*--field catalog
x_fldcat LIKE LINE OF t_field,
*--to hold all the events
t_events TYPE slis_t_event,
x_events TYPE slis_alv_event,
t_sort TYPE slis_t_sortinfo_alv,
x_sort LIKE LINE OF t_sort ,
*--Print Layout
x_print_layout TYPE slis_print_alv.
*----Macro to add field catalog.
*field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
DEFINE add_catalog.
clear x_fldcat.
x_fldcat-fieldname = &1.
x_fldcat-seltext_m = &2.
x_fldcat-outputlen = &3.
x_fldcat-tech = &4.
x_fldcat-col_pos = &5.
x_fldcat-no_zero = 'X'.
x_fldcat-ddictxt = 'M'.
x_fldcat-datatype = &6.
x_fldcat-ddic_outputlen = &7.
if &6 = 'N'.
x_fldcat-lzero = 'X'.
endif.
*--build field catalog
append x_fldcat to t_field.
END-OF-DEFINITION.
*----- data declerations.
data: v_repid like sy-repid.
data: begin of itab occurs 0,
matnr like mara-matnr,
ernam like mara-ernam,
meins like mara-meins,
end of itab.
data: begin of jtab occurs 0,
matnr like makt-matnr,
maktx like makt-maktx,
end of jtab.
select matnr ernam meins
up to 20 rows
from mara
into table itab.
select matnr maktx
up to 20 rows
from makt
into table jtab.
v_repid = sy-repid.
*DISPLAY alv
* Initialize Block
call function 'REUSE_ALV_BLOCK_LIST_INIT'
exporting
i_callback_program = v_repid.
*Block 1:
*INITIALIZE
refresh t_field. clear t_field.
refresh t_events.
*field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
add_catalog:
'MATNR' 'Material' '18' '' '1' 'C' '18',
'ERNAM' 'Created By' '12' '' '2' 'C' '12',
'MEINS' 'Unit' '5' '' '3' 'C' '3'.
*--build table for events.
x_events-form = 'TOP_OF_LIST1'.
x_events-name = slis_ev_top_of_list.
append x_events to t_events.
call function 'REUSE_ALV_BLOCK_LIST_APPEND'
exporting
is_layout = x_layout
it_fieldcat = t_field
i_tabname = 'ITAB'
it_events = t_events
it_sort = t_sort
tables
t_outtab = itab
exceptions
program_error = 1
maximum_of_appends_reached = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*--BLOCK 2(SUMMARY REPORT)
*INITIALIZE
refresh t_field. clear t_field.
refresh t_events.
*field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
add_catalog:
'MATNR' 'Material' '20' '' '1' 'C' '18',
'MAKTX' 'Description' '40' '' '2' 'C' '40'.
*--build table for events.
x_events-form = 'TOP_OF_LIST2'.
x_events-name = slis_ev_top_of_list.
append x_events to t_events.
* Append table block.
call function 'REUSE_ALV_BLOCK_LIST_APPEND'
exporting
is_layout = x_layout
it_fieldcat = t_field
i_tabname = 'JTAB'
it_events = t_events
tables
t_outtab = jtab
exceptions
program_error = 1
maximum_of_appends_reached = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
*--CALL FM TO DISPLAY THE BLOCK REPORT.
call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'
* exporting
* is_print = x_print_layout
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
form top_of_list1.
skip 1.
write: 10 'List 1',
/5 '--------------------'.
skip 1.
format reset.
endform.
form top_of_list2.
skip 1.
write: 10 'List 2',
/5 '--------------------'.
skip 1.
format reset.
endform.
reward points if it is usefull ....
Girish -
Can you export PDF into Microsoft Visio?
Can you export PDF file into Microsoft Visio?
Hi Nate,
ExportPDF is only used to convert PDF to Word, Excel, Powerpoint or RTF format. Convert to Microsoft Visio is not possible via ExportPDF.
http://forums.adobe.com/docs/DOC-1511
Let me know if you have any more questions
Regards,
~Pranav -
Can you have two Apple IDs on one IPAD? One for school and one for home?
Can you have two Apple IDs on one IPAD? One for school and one for home?
If so do you know how to do it?It depends on what you want to do.
You could, for example, have one AppleID for iCloud backup [and therefore message syncing, notes syncing, etc] and a second one for iTunes [music, iBooks, etc].
But if you are looking for a way to flip everything between different appleIDs, then no. -
Can you have two apple ids on one mac?
Can you have two apple ids on one mac? We each have iPhones and want to utilize iCloud. Is this possible?
No, in this case the 2 user accounts with its own Apple IDs would be completely seperated.
If you want to share this things like music and app purchases you will have to to something else.
1. Create two user accounts on your Mac (user A and user B).
2. Create two iCloud accounts just for Mail, Contacts, Calendars, Photos, etc. (one for user A and one for user B):
On your Mac (with Mac OS X Lion or Mountan Lion):
Settings > Mail, Contacts, Calendars > iCloud > Create an Apple ID (button in left corner)
On your iPhone, iPad or iPod touch (iOS 5 or later):
Settings > Mail, Contacts, Calendars > Add Account > iCloud > Get a free @me.com address and create a new Apple ID
3. It is not recommended because you shouldn't share your Apple ID account information with other people but you could set up your old Apple ID as an account just for store purchases (Apps, Music, ...) so that everyone of you can manage the purchases in their own library (Access is limited to 10 devices). Therefore you have to setup this "old" ID in Settings of your iOS devices (Settings > iTunes & App Store) and in iTunes on your Mac. -
Can you have two different users with itune accounts on the same computer?
Can you have two different users with separate itune accounts on the same Ipad?
Yes, create another user profile on the computer and each user can log into their own profile that way.
-
Can you have two itunes accounts on the same computer?
Can you have two itunes accounts on the same computer and if so how do you access them without syncing each others music?
Yes. Use separate iTunes libraries(launch iTunes with the Shift(Windows) or Option(Mac OS X) key held down as needed), or different user accounts on the computer.
(100648) -
Can you have two apple id accounts on one computer??
Hi all
Can you have two seperate apple ID accounts on the one computer?? Imessaging wont work between two iphones if both iphones (husband & wife) use same apple ID account. any help appreciatedYes, you can. Apple IDs are really not meant to be shared.
-
CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?
CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?
The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
Patrick -
Can you merge two user accounts on a macbook? my wife has created a new user on her new macbook air then, inadvertently, created a second one when using the migration tool. 1st a/c has her office 365 install, while 2nd has her itunes database, docs and contacts. What is the best way forward to get everything into the one account? Not sure if the office 365 will allow another installation into the second account, otherwise would just do that and delete the first, if that is possible?
There is no merge but you can move data from one account to another via the Shared folder. Data is copied from Shared. Watch your free space when copying. These are large files. Do one at a time if you are on a small drive. After making copy, delete from other users before you start next copy.
Office365 installs in the main Applications folder and is available for all users on the computer. Activation is tied to the drive not the User. -
Can you have two iCloud accounts for one Apple id?
Can you have two iCloud accounts for one Apple id?
the appleID is you in the ios world if you have an iphone and an ipad and an Ipod touch and an appletv and a mac then you should use 1 appleID on all of them it does not mean the same data is on all of them unless you want it to be
Maybe you are looking for
-
Hi All, my requirement is to download the xml from the application server (specific directory) and create sales order and after creation i have to upload the sales order data with some other information in the same place in xml format. this process s
-
Can you mirror a Mac Mini to an AppleTV 3 when the mac mini is not connected to a display?
Hello, I have an AppleTV 3 connected to my television and a late 2012 Mac Mini that is not connected to a display/monitor/tv, but I use it as my iTunes server to stream media to the appletv . However, I was hoping I could mirror the Mac Mini to the
-
RUN_REPORT_OBJECT does not return a value
I am using Reports 6i (via web browser) on an Oracle 8 database. We have just recreated our entire development database. When running a report from a form, the web browser pops up with a blank screen. No changes has been done to the code. None of the
-
HT1296 how to restore a deleted calendar after sync with computer
I wanted to back up my contacts and calendar to PC, so i changed the phone settings to syn with calendar. The outlook sync would not work so i changed back and now my calendar is gone. How can i restore it on my phone
-
ORA-01019: unable to allocate memory in the user side
hi, I have a windows desktop with Win XP. It has a few Oracle software on it. Oracle 8i Oracle 9i DS Rel2 Oracle Pl/Sql Dev Oracle_Sid is set as the env variable. Now when i try to log into sqlplus from bin directory of the 8i database, i have no pro