Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

it_alv_graphics in method set_table_for_first_display for CL_GUI_ALV_GRID

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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.