09-07-2009 5:32 PM
Hello Experts.
I would like that when the user in ALV_GRID click on standard button for showing a graphic, that automatically appear the correct graphic that user want..., (Now whenever the user wants print the correct graphic must configure the graphic with the correct options) I mean, when user click the default graph for my Z program it's bars graph,... I would like the default graph for my Z program was pies slices... exactly I woul like the defaul graph was the next characteristics that you can select when graph show in the screen.
Format Legend --> None
Chart Type --> Pies (Subtype -- pieces separated)
Chart Options / Data Label --> Show Labels and Percent.
How can I do this???...
I see in the method set_table_for_first_display the it table ,it_alv_graphics ... and I think it's with this table which I will can configure it, but I don't know how...
Can you help me ... it's very important
thks and best regards.
07-22-2010 12:50 PM
The classes are CL_ALV_GRAPHICS, CL_ALV_GRAPHICS_CU. These utilize GFW (Graphic Framework). The lack of decent tutorial for GFW in SAP help/sites is astonishing and (IMO) inexcusable! It's as if this thing was dumped into SAP and we shouldn't actually try to use it.
And, for those guys who're getting ready to pounce on me...YES, I know about Chart Designer and Active X. That's not a solution in my case.