Skip to Content

HR_KR_XSTRING_TO_STRING

Hi cau tell me what is the need of HR_KR_XSTRING_TO_STRING did not get good ansin google

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2012 at 06:44 AM

    Hi,

    HR_KR_XSTRING_TO_STRING FM is used to convert encoded string to unicode string(i.e.to convert a hexadecimal value to string).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2012 at 06:59 AM

    Hi,

    HR_KR_XSTRING_TO_STRING FM is used to convert XSTRING to STRING.

    Where Xstring means rawstring that is it is a Uninterpreted byte sequence of variable length. In the Dictionary, you can specify a length (minimum 256 characters) for this type. This data type can be used in types (data elements, structures, table types) and domains. Binary data of the type RAWSTRING can be stored in the database. However, there are limitations here that are described in the explanations given for the ABAP keyword STRING. String fields cannot be used in table keys, in indices, or in the WHERE condition of a SELECT statement. In ABAP, the Dictionary type RAWSTRING is mapped onto the ABAP type XSTRING, which is used as a reference to a memory area of variable size.


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2012 at 11:24 AM

    Hi,

    HR_KR_XSTRING_TO_STRING FM is used to convert XSTRING to STRING. In other words used to convert encoded string to unicode string(i.e.to convert a hexadecimal value to string).

    This FM is used when you use UIElement -> File Upload in your Web Dynpro Component for uploading an Excel file.

    Here Excel file format is in XString, but Web Dynpro component can accept only files in String format.

    So we make use of this FM.

    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.