MB51, download to excel works different for online and background.
Hi,
Have a question regarding excel download of MB51 in online mode against background.
If I run MB51 online, I can download it to an excel sheet that is easy to read and work with. Each column in the report in seperate column in excel.
If I run it in the background, try to download the spool to excel, I don't get the columns the same way as online report.
Ive tried changing the layout, downloading to excel, downloading to text and then dropping to excel, etc.
Why wont the download from a batch job work the same as online?
Any ideas or anyway to fix?
Hi All,
I am also facing the same problem. When I download to Powerpoint, its getting downloaded properly and whn I download to excel, I am not able to download properly. I have 2 charts of the same report being displayd sde-by-side and under them I have a pivot table displayed in compound view. When downloaded to excel, the first chart is overlapping on top of the report in the excel.
Can anyone suggest if we have any options?
Thanks Shravan
Similar Messages
-
My applet works differently between online and offline.
http://blogfile.paran.com/BLOG_253895/200609/1157419012_DodgeSnowLauncher.html
This is my applet which I made yesterday.
When you click on the link, push the button, and run the applet online,
nothing happens when you click on help - about dodgesnow version 0.1, which is on the menubar above.
However, if you download the html file and run the applet again, you can see the "about dialog".
The dialog is made with the dialog form in NetBeans 5.0, and therefore uses its own layout library.
I want to know why this happens.
Thanks.
---The Error I encountered --------------
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError
at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculateP
adding(GroupLayout.java:2518)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1257)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800
at org.jdesktop.layout.GroupLayout.prepare(GroupLayout.java:807)
at org.jdesktop.layout.GroupLayout.preferredLayoutSize(GroupLayout.java:
641)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:8
24)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1617)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:690)
at java.awt.Container.preferredSize(Container.java:1558)
at java.awt.Container.getPreferredSize(Container.java:1543)
at java.awt.Window.pack(Window.java:486)
at AboutDialog.initComponents(AboutDialog.java:65)
at AboutDialog.(AboutDialog.java:12)
at DodgeSnowGUI.actionPerformed(DodgeSnowGUI.java:194)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
uItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:517)
at java.awt.Dialog$2.run(Dialog.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:543)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at DodgeSnowLauncher$1.actionPerformed(DodgeSnowLauncher.java:10)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.RuntimeException: java.security.AccessControlException: acc
ess denied (java.net.SocketPermission image.paran.com:80 connect,resolve)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:887)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLCon
nection.java:1912)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:376
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:269)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:44)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:158)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:155)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at org.jdesktop.layout.LayoutStyle.(LayoutStyle.java:63)
... 75 more
Caused by: java.security.AccessControlException: access denied (java.net.SocketP
ermission image.paran.com:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:264)
at java.security.AccessController.checkPermission(AccessController.java:
427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:459)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:796)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:748)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:673)
at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLCon
nection.java:1706)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1089)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367
... 87 more
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError
at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculateP
adding(GroupLayout.java:2518)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1257)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayou
t.java:1259)
at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800
at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
at java.awt.Container.layout(Container.java:1401)
at java.awt.Container.doLayout(Container.java:1390)
at java.awt.Container.validateTree(Container.java:1473)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validateTree(Container.java:1480)
at java.awt.Container.validate(Container.java:1448)
at java.awt.Window.dispatchEventImpl(Window.java:1776)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:517)
at java.awt.Dialog$2.run(Dialog.java:545)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:543)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at DodgeSnowLauncher$1.actionPerformed(DodgeSnowLauncher.java:10)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
49)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Message was edited by:
geniusleonid1. your applet does not work in IE because it tries to run your applet with msjvm. Use object tag instead of applet.
In the [jdk home]/bin directory there is a tool called htmlconverter.
Use that to convert your html page.
2. your applet tries to do something outside of the applet's sandbox security.
Caused by: java.lang.RuntimeException: java.security.AccessControlException: acc
ess denied (java.net.SocketPermission image.paran.com:80 connect,resolve)
I am not sure what you mean by running the applet locally (appletviewer
with policy, netbeans) Or opening the html page and having a policy for
code run locally.
Why would your applet comming from blogfile.paran.com:80 try to
connect to image.paran.com:80 I guess java sees this as another sub
domain and won't let the applet do this.
3. when I open your applet it takes a full one minute after loading the applet before I see the gui.
after this[b]
http://blogfile.paran.com/BLOG_253895/200609/basic: Loading http://blogfile.paran.com/BLOG_253895/200609/1157418860_DodgeSnow.jar from cache
the jre (Java Plug-in 1.5.0_06) seems to go to sleep for a full one minute.
4. The exception I get is this[b]
java.lang.ClassFormatError: Incompatible magic value 1195984440 in class file javax/swing/LayoutStyle
Because[b]
http://blogfile.paran.com/BLOG_253895/200609/javax/swing/LayoutStyle.class
Does not exist, I guess the jre looks for this file because it's not included
in your jar and I don't have it in my lib/ext or classpath.
You jar does contain a org.jdesktop.LayoutStyle.
A Full trace might help us out:
http://forum.java.sun.com/thread.jspa?threadID=656028 -
i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please
Hey I've been all over and can't get any help. I'm well aware its not an Apple product but its an app for Mac OS so I thought I'd try here. I bought 2 new iMacs yesterday for my parents (5K) and I'm just trying to get them some help as there in their 70's and AOL is all they know.
But hey thanks for your help, -
I just migrate settings and software, include CC, from my PowerBook to a new Mac Pro. All the software download from CC is there and working, except for CC, and there is not way to install. I have try because every time I restar keep bothering asking for installation, (by the way, the link is not up to date). Will appreciate your help.
never migrate adobe software. it should be properly installed.
uninstall all the cc programs you can, clean and then reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 -
Suddenly my imessage and facetime stop working both for iphone4 and ipad, i tried possible online solutions but it didn't work. Message such as "could not connect, check your network connection" etc... Help please am getting frustrated here....
Have you tried re-booting your WiFi router ? It may seem OK on your PC, but a re-boot may help.
-
I bought my MacBook Pro in 2010. This is the first Mac I have owned and recently it is having some difficulty loading we pages, often timing out. This Mac environment is entirely different for me and I am not sure where to begin troubleshooting and/ or clean-up. I have moderate computer skills and try not to download or access questionable material, however recently I visited the Ap Store and purchased a couple of different aps to use in record keeping and for making a flyer. I am not even sure how to remove these programs to see if it helps.
Any tips or tricks are appreciated.
Thank you!Time to see about the PRAM battery.
By the way iOS and OS X are different systems.
iOS is the operating system for iPads, iPhones, and iPod touch.
Mac OS X is the operating system for Mac labelled computers. -
Fter using ccleaner Download helper Stopped Working Have tried UninStalling And Reinstalling it
After Using Cccleaner My Download Helper Stopped Working.I tried UninStalling And Reinstalling It Did not Help The Icon is Still on The Left Upper Corner But It Does not rotate
Which Firefox settings did you clear with CCleaner?
You can check for problems with the localstore.rdf file.
*http://kb.mozillazine.org/Corrupt_localstore.rdf
*https://support.mozilla.org/kb/Toolbar+keeps+resetting
You can also try to reset the dwhelper prefs on the <b>about:config</b> page.
*http://kb.mozillazine.org/about:config
*http://kb.mozillazine.org/Resetting_preferences
*http://kb.mozillazine.org/Preferences_not_saved -
IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
It might have happened when I was accessing my camera bypassing the lock screen!
All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!
-
Why is the Amber update different for ATT and Chin...
Why is the Amber update different for ATT and China? For Lumia 520, it could tap to unlock but, in china, this function is disappeared disappear. Could you give an expain as the matching hardware, otherwise I think it's a definately discriminatory to Chinese.
Double tap to unlock is not available for any 520, anywhere in the world. See link below. You should always check first before making allegations.
http://discussions.nokia.com/t5/Nokia-Lumia/quot-Missing-quot-new-features-in-Amber/td-p/2061872 -
USB sync cable different for CDMA and GSM version phones?
I recently ordered a USB sync cable for Iphone 4S from ebay. I want to know whether the USB sync cable for Iphone 4S is different for CDMA and GSM version phones? And if they are then what are the likely consequences if they are interchanged and used inadvertantly.
All recent iDevices use the same type of connector/cable.
Stedman -
Home sharing is working fine for musics and videos but not for apps. What is wrong?
Home sharing is working fine for musics and videos but not for apps. What is wrong?
i had the same issue as everyone here after upgrading to itunes 10.x. vista could see xp home share. ipod touch could see xp home share.
neither could see vista home share.
after several hours of authorizing de-authorizing, rebooting router etc, i knew it had to be a firewall thingy with vista as xp was working fine
i went to this article http://support.apple.com/kb/ht2553 and followed the instructions. itunes was already in my vista exception list. on a hunch i deleted the itunes exception and followed the steps to add it again and boom it worked!! i could now see my vista machine from my ipod touch immediately.
something must have screwed up the firewall exception on the upgrade to itunes 10.x
it worked for me, i hope this helps others -
i can't get icloud to sync my ipad notepad to my mac. it works fine for email and calendar?I have clicked the notepad setting on my iPad to ON.
On the iPad tap Settings > iCloud. Switch Calendars off then back on then reset the iPad.
Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
On the iMac, open System Preferences > iCloud. Deselect the box next to Calendars then reselect that box then restart your iMac. -
After last update the split keyboard option is not working and side switch button option works opposite for mute and rotation lock.
Hi
A long story about your issue... I think the reason of this is why you have deleted some registry keys. If you delete something in the Windows registry you should really know what you do. You can damage the complete Windows system!
So I think this is the reason why the keyboard doesnt anymore.
In the user manual I have founded that the CD-ROM booting option is only available with optional optical disk drive.
So for me it sounds like that your USB CD drive is not compatible to the notebook -
How do i download movies in South Africa for iPhone4s and iPad2
How do i download movies in South Africa for iPhone4s and iPad2
Recently Music, Movies was added to the iTunes Store. Soon Games will be added (we are hopeful) and then most likely commercial books.
http://www.fpb.org.za/media-centre-fpb/press-release/111-film-publication-board- welcomes-the-launch-of-itunes-in-south-africa11 -
Download to excel in different tabs from bsp page
Hi all,
I have a requirement in which I have to download to xl-sheet in different tabs based on some conditions from a bsp page.
I am successful in downloading data into different tabs.
Now I had written the piece of code required to download to xl in a function module
and I am calling that function module when pressing a button in bsp page.
When I run the fm seperately its working but when I run it from bsp page its not working.But while debugging I found that the fm is being called and executed perfectly without any errors.
But the xl is not being created on our side.
Can anyone suggest me how to proceed on this.
Helpful answers will be rewarded.
Thanks,
UgaHi Raja,
Yes I am using ole objects.
For more clarity I am alos pasting my code.
If this is not possible then please guide how to achieve this in BSP.
*******************CODE*****************************************
include ole2incl.
data: w_cell1 type ole2_object,
w_cell2 type ole2_object.
*--- Ole data Declarations
data: h_excel type ole2_object, " Excel object
h_mapl type ole2_object, " list of workbooks
h_map type ole2_object, " workbook
h_zl type ole2_object, " cell
h_f type ole2_object, " font
gs_interior type ole2_object, " Pattern
worksheet type ole2_object,
h_cell type ole2_object,
h_cell1 type ole2_object,
range type ole2_object,
h_sheet2 type ole2_object,
h_sheet3 type ole2_object,
gs_font type ole2_object,
flg_stop(1) type c.
Internal table Declaration
data:gt_kna1 type standard table of kna1,
gt_knvv type standard table of knvv,
wa_kna1 type kna1,
wa_knvv type knvv.
types: data1(1500) type c,
ty type table of data1.
data: it type ty with header line,
it_2 type ty with header line,
it_3 type ty with header line,
rec type sy-tfill,
deli(1) type c,
l_amt(18) type c.
data: begin of hex,
tab type x,
end of hex.
field-symbols: <fs> .
constants cns_09(2) type n value 09.
assign deli to <fs> type 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
data gv_sheet_name(20) type c .
SELECT kunnr name1
INTO corresponding fields of table gt_kna1
FROM kna1
UP TO 1000 ROWS.
SELECT kunnr vkorg
INTO corresponding fields of table gt_knvv
FROM knvv
UP TO 3 ROWS.
loop at gt_kna1 into wa_kna1.
concatenate wa_kna1-kunnr wa_kna1-name1 into it separated by deli.
append it.
clear it.
endloop.
loop at gt_knvv into wa_knvv.
concatenate wa_knvv-kunnr wa_knvv-vkorg into it_2 separated by deli.
append it_2.
clear it_2.
endloop.
if h_excel-header = space or h_excel-handle = -1.
*start Excel
create object h_excel 'EXCEL.APPLICATION'.
endif.
call method of h_excel 'Workbooks' = h_mapl.
set property of h_excel 'Visible' = 1.
*add a new workbook
call method of h_mapl 'Add' = h_map.
gv_sheet_name = 'KNA1'.
get property of h_excel 'ACTIVESHEET' = worksheet.
set property of worksheet 'Name' = gv_sheet_name .
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
*CALL METHOD OF gs_cells 'Select' .
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
data l_rc type i.
call method cl_gui_frontend_services=>clipboard_export
importing
data = it[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
*PERFORM err_hdl.
call method of worksheet 'Paste'.
****for second sheet**********
GV_SHEET_NAME = '2ND SHEET'.
gv_sheet_name = 'Knvv'.
get property of h_excel 'Sheets' = h_sheet2 .
call method of h_sheet2 'Add' = h_map.
set property of h_map 'Name' = gv_sheet_name .
get property of h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 50.
call method of h_excel 'Range' = h_cell
exporting
#1 = w_cell1
#2 = w_cell2.
get property of h_cell 'Font' = gs_font .
set property of gs_font 'Bold' = 1 .
call method cl_gui_frontend_services=>clipboard_export
importing
data = it_2[]
changing
rc = l_rc
exceptions
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
others = 4.
call method of h_excel 'Cells' = w_cell1
exporting
#1 = 1
#2 = 1.
call method of h_excel 'Cells' = w_cell2
exporting
#1 = 1
#2 = 1.
PERFORM err_hdl.
call method of h_excel 'Range' = range
exporting
#1 = w_cell1
#2 = w_cell2.
call method of range 'Select'.
PERFORM err_hdl.
call method of worksheet 'Paste'.
Can you people give me inputs so that I can proceed further.
Thanks,
Uga
Maybe you are looking for
-
Refresh data in Table Maintenance view
Hi, I have created a table maintenance view for db table A and added my function button to this view. When I click the button I append a few records to the table A from table B. But this recoreds are not displaied in the view. If I rerun the view I
-
Registration problems using itunes Music Card
Hi - anyone out there having a problem registering with a music card? Seems music store has acknowledged redemption of card but will not allow registration because payment field demands credit card details which, naturally,I don't want to give! Also
-
Can anyone please help me on this issue "What to do when my iPhone is asking for password of old apple I.D. when I don't have it and have created a new applie i.d."??
-
Hi All, When scheduling loads in one of the Info objects in Quality, i am getting this error: InfoObject /BIC/ZITM does not contain alpha-conforming value 90952 I get this error for some other records of the same IO. I checked in our development syst
-
Type of termination: RABAX_STATE
hi everyone, im facing a problem while executing a query in the web productive system... it gives this message: 500 SAP Internal Server Error Error message: Exception condition "X_MESSAGE" raised. ( type of termination: RABAX_STATE ) in the DEV syste