Skip to Content

SUP 2.0 Mobile Workflow string truncated

I am creating a mobile workflow application on SUP 2.0; in the attributes of my MBO I am receiving a variable of type string from an SAP function module. This is data that I hope to use in the AttachmentViewer control. When I display the data in an EditBox to verify the data, the data shows up with **TRUNCATED** at the beginning of the string. In the log on the SUP server, I see the message:

2011-10-25 11:03:14 WARN DataServices sup.mbs.14 [com.sybase.vader.cache.CacheUtil]13#TravelAMWF:1 supAdmin d1_travela_mwf.1_0 (sup.mbs.14) com.sybase.vader.cache.CacheUtil::truncateStringAsNeeded:328 - DATASERVICES: EIS character column ATTCH_STRING too long. Truncating result.

Any idea what causes the string to be truncated? I have used string variables in other places that did not get truncated. Thanks for any help.

Jeff Mathieson

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 27, 2011 at 04:33 PM

    How long is the corresponding MBO column? Is it possible that the data coming back exceeds the length of the column? Try changing it to STRING[5000], for example, or something that you feel is likely to exceed the maximum length of the data coming back.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 27, 2011 at 04:39 PM

    I have mapped a SAP datatype String to a MBO datatype String. When I preview the BAPI on the MBO I am getting all of the data so the data types seem to be working. After some further testing, it looks like it is truncating after 300 characters. Is there a size limit setting somewhere in SUP that I need to change?

    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.