‎2004 Oct 26 4:14 PM
hi,
thanks for ur reply kai.
am passing the format value as
1) IF_GRAPHIC_PROXY=>co_format_bmp . but still am getting the picture in jpg .
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT = IF_GRAPHIC_PROXY=>co_format_bmp
WIDTH = 10000000
HEIGHT = 30000000
NAME = 'C:\S'
IMPORTING
CONTENT_TYPE = ct
CONTENT_LENGTH = cl
CONTENT = t
RETVAL = RETVAL
.
2) is there any funtional module / class / program to convert jpg to bmp .
3) the content is T is empty if i comment name parameter ?
4) is there any way so that i can directly add this picture in se78 .
is there any way that i can mail u directly .
cheers
senthil
‎2004 Oct 26 4:51 PM
Hi,
please implement note 584593.
If parameter name is empty the export method returns the chart as an internal table, otherwise it is saved as a file.
With 6.40 the IGS provides an image converter, see the topic "Using an IGS Graph in Smartforms" in this forum.
BTW, why don't you append your comments to your first question instead of creating several new topics about the same issue in this forum?
Regards, Kai
‎2004 Oct 27 9:45 AM
WHEN 'SAVE'.
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT = IF_GRAPHIC_PROXY=>co_format_bmp
WIDTH = 10000000
HEIGHT = 30000000
<b>NAME = ' '</b>
IMPORTING
CONTENT_TYPE = ct
CONTENT_LENGTH = cl
CONTENT = t
RETVAL = RETVAL
.
if i give space to name parameter . the method is not returning any content value in 't' .
is this the solution for this
1) do we need to implement the oss note # 584593 .
‎2004 Oct 27 3:53 PM
hi ,
i got the solution for my above question . now when i am using the method
WHEN 'SAVE'.
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT = IF_GRAPHIC_PROXY=>co_format_bmp
WIDTH = 10000000
HEIGHT = 30000000
NAME = ' '
IMPORTING
CONTENT_TYPE = ct
CONTENT_LENGTH = cl
CONTENT = t
RETVAL = RETVAL
.
am able to get the content in table t .
1) i wann to upload the pic data in 't' into the table stxbitmaps using the funtion module SAPSCRIPT_IMPORT_GRAPHIC . is it possible ?
cheers
senthil
‎2004 Oct 28 3:23 PM
WHEN 'SAVE'.
CALL METHOD GP_INST->IF_GRAPHIC_PROXY~EXPORT
EXPORTING
FORMAT = IF_GRAPHIC_PROXY=>co_format_bmp
WIDTH = 10000000
HEIGHT = 30000000
NAME = ' '
IMPORTING
CONTENT_TYPE = ct
CONTENT_LENGTH = cl
CONTENT = t
RETVAL = RETVAL
.
am able to get the content in table t which is in hex format . i want to upload to se78 automatically . using the funtional module. please mention the fm which will convert xa to binary.
cheers
senthil
‎2011 Aug 16 6:32 AM
‎2011 Dec 04 5:45 AM
Hi,
I have similar problem which is including jpg in SAP Smartforms. Please let me know how you solved your problem.
Thanks in advanced