10-18-2012 12:48 PM
How to export graphic data into memory and get from 'LIST_FROM_MEMORY' fm ?
or
What are the ways to get raw data value for a graphic image that is uploaded using se78.
10-18-2012 4:18 PM
Hi Sabrinathan,
I dont understand the first part of your question.
Second part.
You could use the static method GET_BDS_GRAPHIC_AS_BMP of class CL_SSF_XSF_UTILITIES by passing in the appropriate parameters. The data is returned as a XSTRING . For conversion of XSTRING to RAW , you could use SCMS_XSTRING_TO_BINARY.
The parameters passed would be; TD Object = GRAPHICS , TDNAME = 'Your Img name' ,TDID = 'BMAP' in the case of Bitmaps and BTYPE as BMON - For black and white,BCOL - For color.
I hope this helps.
Thanks,
Venkat.
Message was edited by: Venkat Gowrishankar
10-18-2012 4:18 PM
Hi Sabrinathan,
I dont understand the first part of your question.
Second part.
You could use the static method GET_BDS_GRAPHIC_AS_BMP of class CL_SSF_XSF_UTILITIES by passing in the appropriate parameters. The data is returned as a XSTRING . For conversion of XSTRING to RAW , you could use SCMS_XSTRING_TO_BINARY.
The parameters passed would be; TD Object = GRAPHICS , TDNAME = 'Your Img name' ,TDID = 'BMAP' in the case of Bitmaps and BTYPE as BMON - For black and white,BCOL - For color.
I hope this helps.
Thanks,
Venkat.
Message was edited by: Venkat Gowrishankar
10-19-2012 10:37 AM
Hi Venkat,
Thanks alot.
I used table_compress to make RAW data of my HRFORM and attaching it with a mail. In addition i converted the image(logo) into RAW data and trying to concatenate both and send mail . Is it possible ? or is there any other way to do ? (hope you understand my question)
10-22-2012 1:33 AM
HI Sabarinathan,
To be honest, I do not have much idea of HR Forms as I have not worked in them .
Would you be sending 2 attachments? - the HR form and the logo. Is my understanding correct here?. If so, then this is possible .
Thanks,
Venkat.