We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-dev] Download an ALV Grid as HTML

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from INBUMA on Aug 23 at 5:22 AM
Hi TerryB,

I haven't the solution, perhaps an information.
You can show data-Tables with -> in ALV with classes.

try.
cl_salv_table=>factory(
importing
r_salv_table = gr_table
changing
t_table = it_mara ).
catch cx_salv_msg.
endtry.
v_xstring = gr_table->to_xml( '04' ) . """ convert into xml

I often use the functionality: (example in report: SALV_DEMO_TABLE_SIMPLE (Fullscreen)
*... ?2 create an ALV table
* ?2.2 just create an instance and do not set LIST_DISPLAY for
* displaying the data as a Fullscreen Grid
try.
cl_salv_table=>factory(
importing
r_salv_table = gr_table
changing
t_table = it_mara ).
catch cx_salv_msg.
endtry.
*... ?4 display the table
gr_table->display( ).

Perhaps it is helpful.

Kind regards
Inge

---------------Original Message---------------
From: Terry Barker
Sent: Wednesday, August 22, 2012 2:30 PM
Subject: Download an ALV Grid as HTML

Dear Toolboxers,
I am looking for a programmatic way to download a formatted ALV grid report as an HTML file. On the standard ALV grid toolbar you can click on the "Local file..." button and choose "HTML format" and get a representation of the formatted ALV report, with headers, footers, colors, etc. I want to be able to run an ALV grid report in the background and save the report in this same HTML format to a network share. Google and SCN searches have not yielded any solutions. I haven't found any standard function modules or methods that look particularly promising. Has anybody here been faced with a similar challenge and found a solution to it?
Thanks in advance for any suggestions,
TerryB

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
INBUMA  

achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language