Application Development and Automation 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: 
Read only

Save the image in the application server directly

Former Member
0 Likes
474

Hi,

I have developed a report which displays piechart as the output and saves the image on the presentation server. For that i have used the following code.

when 'SAVE'.

DATA : D TYPE GFW_EXP_DATA,

R TYPE SYMSGNO.

DATA: S TYPE STRING,

N TYPE I.

CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT

EXPORTING

FORMAT =

IF_GRAPHIC_PROXY=>co_format_bmp

WIDTH = 50

HEIGHT = 200

name = 'C:\Documents and Settings.........'

IMPORTING

CONTENT_TYPE = S

CONTENT_LENGTH = N

CONTENT = D

RETVAL = R

.

I have a requirement where i have to save the output of the screen(piechart) in the application server directly with out using the presentaion server.

Is there any method to do so.

Thanks and regards,

Parvatha Reddy

Hi,

I have developed a report which displays piechart as the output and saves the image on the presentation server. For that i have used the following code.

when 'SAVE'.

DATA : D TYPE GFW_EXP_DATA,

R TYPE SYMSGNO.

DATA: S TYPE STRING,

N TYPE I.

CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT

EXPORTING

FORMAT =

IF_GRAPHIC_PROXY=>co_format_bmp

WIDTH = 50

HEIGHT = 200

name = 'C:\Documents and Settings.........'

IMPORTING

CONTENT_TYPE = S

CONTENT_LENGTH = N

CONTENT = D

RETVAL = R

.

I have a requirement where i have to save the output of the screen(piechart) in the application server directly with out using the presentaion server.

Is there any method to do so.

Thanks and regards,

Parvatha Reddy

2 REPLIES 2
Read only

rejish_balakrishnan
Contributor
0 Likes
415

Hi parvatha ,

your question is really good.

Well i really haven't come across your scenario i many years . But my suggestion is to can use java code to achieve the same .

Or try to use hexadecimal type in your normal class to read the pie-chart and use transfer with same type .

Read only

Former Member
0 Likes
415

solved