Skip to Content
author's profile photo Former Member
Former Member

image [string] to xstring conversion

hey there.

is it possible to convert an image (STRING) into an Xstring ?

i have an url (www.xyz.de/test.bmp) and want to convert this string into an Xstring. Anybody knows how to do that?

Thx for ur help,

thomas

Edited by: Thomas Scharl on Oct 6, 2010 5:40 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 07:40 AM

    hi

    i hope it can be done by calling the function module 'SCMS_STRING_TO_XSTRING'.

    Regards

    Vinodh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 11:32 AM

    Hi,

    Check this class "CL_SSF_XSF_UTILITIES" if it helps you.

    Thanks,

    Mrinmoy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 08:49 AM

    I used class (not standard) ZCL_ABAP_BITMAP which uses FM SCMS_BINARY_TO_XSTRING

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 11:55 AM

    Hi thomas,

    You can also see this FM SCMS_BINARY_TO_XSTRING and is modify it according to your need. That will convert as you expected. It takes bitmap image as input and outputs as XSTRING.

    Regards

    Vinodh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.