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: 

Gui control in SAP Smart form

Former Member
0 Kudos
109

hi all,

my requirement is to include a pie chart in smart forms . Is there any way ?

thanks

senthil

9 REPLIES 9

Former Member
0 Kudos
79

Hi,

Dynamic pictures are not supported. Only images available in SE78 can be shown.

Cheers

Colin.

0 Kudos
79

thanks for ur reply,

program GFW_PROG_PIE displays the pie chart in screen using custom control . can we convert picture format in custom control object into bmp/tiff.

then i need to upload the data into se78

0 Kudos
79

Hi,

using the GFW you can easily get the picture as a bmp when calling the method if_graphic_proxy~export (use if_graphic_proxy=>co_format_bmp as the format).

Regards, Kai

0 Kudos
79

thanks for ur reply ,

my req. to get a picture of pie chart in Smart Form .

am doing

1) write a pie chat program using the data .

2) convert into bmp and upload into se78

3) read the pic in smart form .

is there any other way

its urgent

cheers

senthil

0 Kudos
79

thanks for ur reply ,

my req. to get a picture of pie chart in Smart Form .

am doing

1) write a pie chat program using the dynamic data .

2) convert into bmp and upload into se78

3) read the pic in smart form .

is there any other better way

can u mention the class n method

its urgent

cheers

senthil

0 Kudos
79

AM NOT ABLE TO RUN MY GUI PRG IN BACL GROUND BY AM ABLE TO RUN THE SAME IN FOREGROUND AM GETING THIS PROBLEM .

05:32:16 Control Framework: Fatal error - GUI cannot be reached ZPIE_CHART 1 ZPIECHART 0100 0 S DC 006

05:32:16 Runtime error RAISE_EXCEPTION has occurred ZPIE_CHART 1 ZPIECHART 0100 0 A 00 341

05:32:16 Transaction error ZPIE_CHART 1 0 S 00 357

05:32:16 Processing statistics 0 0 S 00 370

05:32:16 1 transactions read 0 0 S 00 363

05:32:16 0 transactions processed 0 0 S 00 364

05:32:16 1 transactions with errors 0 0 S 00 365

05:32:16 0 transactions deleted 0 0 S 00 366

05:32:16 Batch input processing ended 0 0 S 00 382

________ ____________________________________________________________________________________________________________________________________ ____________________ ______ ________________________________________ ____ ___ ____________________ ___

0 Kudos
79

Hi Senthil,

you can't run such a GUI program in batch mode because there's no GUI the system could connect to (see the error message of the Control Framework).

Kai

Former Member
0 Kudos
79

Senthil,

We have the same requirement, to display pie-chart in a Smartform. We are using IGS methods with some success but are having some difficulty converting from gif to bmp. So I'm curious if you ever found a solution?

Tom.

Former Member
0 Kudos
79

Thanks problem resolved.