‎2009 Jun 04 10:14 AM
Hi
The maximum size of data a string can accomadate is 255. What i will do if the count is more than 256. The problem is when i am trying to store 300 characters in a string and print it into a smart form only 255 is displaying. But i need to print more than 300 characters in a single stretch..What i will do..Plz help...
Thanks..
‎2009 Jun 04 10:19 AM
hi,
Save the string as Standard text and print using Text include, otherwise breakup the string and print it as substrings of length 255.
Regards
Karthik D
‎2009 Jun 04 10:19 AM
hi,
Save the string as Standard text and print using Text include, otherwise breakup the string and print it as substrings of length 255.
Regards
Karthik D
‎2009 Jun 04 10:23 AM
Hi
Thanks for ur erply...I have this value in my Internal Table only...I mean this is an internal table field..How can i convert this into a standard text..Also in internal table string is displaying fully(I mean all the 300 characters)..But while coming into Smart form only 255 is coming in the output...Plz advice what i can do....
‎2009 Jun 04 10:29 AM
Hi,
Otherwise just print it as two strings as follows;
&wa_string+0(250)& , &wa_string+250(50)&Regards
Karthik D
‎2009 Jun 04 10:36 AM
Hi
But in smartfor output its showing only 255..Remaining is not coming...Plz help....
‎2009 Jun 04 10:46 AM
Hi,
Before displaying it in your smartforms use program lines to break the string into two strings and display them accordingly. If you see the string truncate inside smartform then in the internal table itself split it into two fields before passing it to the smartform.
Regards
Karthik D
‎2009 Jun 04 10:22 AM
hi,
you can create the table and store in raw format and then retrive it...eg for table
MANDT MANDT CLNT 3 0 Client
RELID INDX_RELID CHAR 2 0 Region in IMPORT/EXPORT Data Table
ECRNO ZECRNO NUMC 10 0 Employee change request Number
SRTF2 INDX_SRTF2 INT4 10 0 Next record counter in EXPORT/IMPORT data tables
CLUSTR INDX_CLSTR INT2 5 0 Length field for user data in EXPORT/IMPORT tables
CLUSTD INDX_CLUST LRAW 2886 0 Data field for IMPORT/EXPORT database tables
________________ ______________________________ __________ ______ ______ ____________________________________________________________
if you need more information regarding how to read and write the data let me know.
Atul
‎2009 Jun 04 10:28 AM
Hi
We have no problem for storing this in intenal table...But in smartform output only 255 is displaying...How to bring remaining characters also to output...
Thanks
‎2009 Jun 04 10:24 AM
Hi,
you have to split the more then 255 characters and print the rest of characters.
regards,
Munibabu.K
‎2009 Nov 26 7:33 AM