cancel
Showing results for 
Search instead for 
Did you mean: 

HR_KR_XSTRING_TO_STRING

ravi_kumar221
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.


Former Member
0 Kudos

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).

ravi_kumar221
Participant
0 Kudos

Hi 

  what is  encoded string   and unicode string