Skip to Content
0
Former Member
Sep 13, 2010 at 12:27 PM

Create BMP in se78 from table string dynamically

315 Views

Hi ! :

I try to insert a image in bmp format to se78 dynamically.

In my function receives a table with string ( this table is generated by our client, he takes a bmp file and cut it into pieces char 255 to send by webservices).

I must take this table, and generated again the bmp file and insert into se78 to print in a smartforms.

so far I did the following :

1- CONVERT_TABLE_TO_STRING (to generate a string merging table content)

2 - SCMS_STRING_TO_XSTRING

3- SCMS_XSTRING_TO_BINARY

4- DP_CREATE_URL

5- SAPSCRIPT_CONVERT_BITMAP_BDS

but this last return sy-subrc = 2 ( no_bmp_file).

can someone help me fix this?

if you need to copy code just tell me.

Thank for your help.

regards.