Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XSTRING Data Type Conversion

Former Member
0 Likes
560

Hi ,

I have an scenario in which i will upload my image as XSTRING format from mobile and

attach it to SAP Work Order via GOS.

But i cannot pass the file content as XSTRING format as some of the characters are trunacated as it

says '255 characters are allowed'.Rest of them are being truncated and image is uploaded wrongly.

Reply at the earliest!!!!

Regards,

Divya.S

2 REPLIES 2
Read only

Former Member
0 Likes
472

Hi,

Checkout those FMs.

SCMS_BINARY_TO_XSTRING

SCMS_FTEXT_TO_XSTRING

SCMS_STRING_TO_XSTRING

SCMS_TEXT_TO_XSTRING

SCMS_XSTRING_TO_BINARY

Hope it helps.

Regards,

Raj

Read only

0 Likes
472

Hi,

My Importing Parameter from webservice itself will be XSTRING data type.

So,when i input XSTRING format of the file content ,its getting trucated.That is the problem i m

facing...no conversion problems are there.

At worst case,when i pass XSTRING data from web service and debug my remote FM,only 2 characters are passed as XSTRING value.

Any suggesstions!!!

Thanks,

Divya.S

Edited by: Divya_SAP on Dec 14, 2009 12:27 PM