More than 1023 characters data in basic report layout?
Hi,
Am developing a basic report, where in I have to accommidate around 1100 characters data in a line (columnn headings itself are taking 1080 characters), but system is allowing only 1023 characters, pls. let me know how to achive this?
Thank you
If a bottle can only hold 1 litre and you are told to put 2 litres in it, would you also ask how you should do it?
Why don't you just break up 1 line into 2 separates lines?
Similar Messages
-
Unable to read more than 255 characters in a string data type.
Hello,
I am using Crystal Reports version 11.5.8.826 to generate reports from databases such as MS-Excel & BaaN.
In Excel, there are records which carry string lengths of more than 255 characters. All though the fields are getting displayed in the report, the data being displayed gets truncated once it reaches a length of 255 characters.
Kindly provide me with a solution this problem.
RegardsHello Manish,
I know that older versions of Crystal (Crystal 10 and older ) had a limitation of only 256 Characters for a string value. You should be able to use this code to get what you need.
We were successfully able to print out the Declaration of Independence through a Crystal report using something very similiar to this.
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
Shared StringVar Array strings;
Shared NumberVar arrayMax := 1;
Shared NumberVar maxLength := 250;
Shared BooleanVar firstTime := true;
Redim strings[arrayMax];
strings[1] := u201Cu201D;
u2018done!u2019
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
Here is my main loop that I used in the group header:
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
WhilePrintingRecords;
Shared StringVar Array strings;
Shared NumberVar arrayMax;
Shared NumberVar maxLength;
Shared BooleanVar firstTime;
Local StringVar enteredString;
Local NumberVar lenStr;
Local NumberVar lenArr;
Local NumberVar lenLeft;
enteredString := [Field Name];
enteredString := IIF(firstTime,enteredString, u201C, u201D & enteredString);
firstTime := false;
lenStr := Length(enteredString);
lenArr := Length(strings[arrayMax]);
lenLeft := maxLength u2013 lenArr;
if (lenLeft >= lenStr) then
strings[arrayMax] := strings[arrayMax] & enteredString;
u201D
else
strings[arrayMax] := strings[arrayMax] & left(enteredString, lenLeft);
arrayMax := arrayMax + 1;
redim preserve strings[arrayMax];
strings[arrayMax] := u201Cu201D;
strings[arrayMax] := strings[arrayMax] & right(enteredString, lenStr u2013 lenLeft);
u201D
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
and then to display the different sets in the text area. I would have one of these for every element I need displayed and change the display number variable.
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
Shared StringVar Array strings;
Shared NumberVar arrayMax;
Local NumberVar displayNumber := [element in array];
if(arrayMax >= displayNumber) then
strings[displayNumber];
else
u201D;
u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2014u2013
I like this version better because the array is completely dynamic. It can be as big or as small as it needs to be. There is always room for optimizations. But hopefully this will get you started on the right path.
Jenny -
Inserting data with more than 255 characters in to MSACCESS through JDBC
Hi All,
I have developed a product using servlets,JDBC,HTML.The backend is MS access database.
I have to provide an option for the user to key in more than 255 characters of data in the textarea & then store it in the access database.But i read that access ODBC driver has a limit of 255 characters.Is this correct.
I tried changing the Datatype of the field from text to Memo field in MS ACCESS.But when i insert the data using setString method of the PreparedStatement ,it's giving the following SQL exception:SQLException caught:[Microsoft][ODBC Microsoft Access Driver]String data, right truncated (null)
How do i let an user key in more than 255 characters.Can somebody help me on this please ASAP as this is a very crucial issue which i need to solve by tomorrow.
Thanks in Advance
GCRhi rashmi,
HOw bout using CLOB facility to store such large strings?? try it.
Cheers,
-Jer -
In Query mode, date items does not accepts more than 10 characters..Why?
Dear All,
In my form, While querying my date items, it does not accepts more than 10 Characters. Could it be changeable.
Actually i want to search like greater than specified date( >01/01/2007 ).
But i can specify like >01/01/07. After tabbing out from that item, it displays like >01/01/200.
How to overcome this issue.
Please help.
Regards,
BalajiYou are absoletely correct Francois!
Previously i have made a mistake that both of my maximum length and query length property to 20. That time it was not worked. Now i changed my maximum length to the old one like 11 and i changed only the query length to 20.
Now it is working. I understood the concept wrongly.
Thanks Francois! -
How to declare and read a variable more than 255 characters
Hi Friends,
Actually i want to declare a variable which can accepts more than 255 characters as input and the same manner i want to read the data and pass the data as a output length more than 255 characters.
So how can i delcare the data as a field in the table.
Thanks & Regards
GuptaHi Raj,
Thanks for your reply, please privide the further clarification actually by declaring a variable as string i can able to pass 1023 characters form selection screen like that i passed the data to the three varibles and i concatenated those three varibles in to single varible now is there any way to pass the result into the smartform.
Please give me some techincal stuff on this
Regards
Gupta -
To display status message more than 50 characters
Hi Gurus,
I want to display status messages (not as a pop-up message) holding more than 50 characters.
Please suggest me some solution to achieve the same.
Thanks,
AshaTry:
REPORT ztest NO STANDARD PAGE HEADING LINE-SIZE 80 MESSAGE-ID 00.
DATA: f1(50) VALUE 'I am the very model of a modern Major-General,',
f2(50) VALUE 'I''ve information vegetable, animal, and mineral,',
f3(50) VALUE 'I know the kings of England, and I quote the',
f4(50) VALUE 'fights historical,'.
MESSAGE s001 WITH f1 f2 f3 f4.
Rob
Edited by: Rob Burbank on Feb 10, 2012 4:41 PM -
Displaying more than 4000 characters
Hi
I have a report which would display a CLOB field having text of length around 32000 characters.
I tried to use DBMS_LOB.SUBSTR(<field_name>,32000,1) on the query so that it shows the text at least till 32000 characters on the report but it keeps returning an error ORA-06502 PL/SQL: numeric or value error string - character string buffer too small whenever it is more than 4000 characters in that particular field.
Can anyone pls suggest any solution ASAP?
Thanks
ArnabYou can split your clob in varchar2 4000 drop table tab1;
create table tab1 (
clsplit_id number(10) NOT NULL,
clsplit_type1val CLOB NULL,
clsplit_type2val CLOB NULL
drop type some_list;
drop type my_t;
create type my_t as object
id1 number,
clob_type number,
no_clob_lines number,
clob_line number,
clob_data varchar2(80)
show errors
create type some_list as table of my_t
show errors
insert into tab1 values(1, 'a0123456789b0123456789c0123456789d0123456789e0123456789f0123456789leftover',
'a9876543210b9876543210c9876543210d9876543210e9876543210f9876543210leftover');
insert into tab1 values(2, '0aaaaaaaaaa1bbbbbbbbbb2cccccccccc3dddddddddd4eeeeeeeeee5ffffffffff',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
insert into tab1 values(3, 'first has data, second null', null);
insert into tab1 values(4, null, 'first null second has data');
insert into tab1 values(5, 'short lob', 'short lob');
commit;
create or replace function some_func return some_list pipelined is
num_allowed_chars number := 4000;
clob1_len number;
clob2_len number;
loop_counter number;
col_name varchar2(100);
current_line number;
i integer;
out_rec my_t := my_t(NULL,NULL,NULL,NULL,NULL);
begin
for c1 in ( select clsplit_id, clsplit_type1val, clsplit_type2val from tab1 )
loop
-- get first clob
if c1.clsplit_type1val is not null then
clob1_len := dbms_lob.getlength(c1.clsplit_type1val);
if clob1_len > num_allowed_chars then
for i in 1..ceil(clob1_len/num_allowed_chars) loop
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 1;
out_rec.no_clob_lines := ceil(clob1_len/num_allowed_chars);
out_rec.clob_line := i;
out_rec.clob_data := substr(c1.clsplit_type1val,( i * num_allowed_chars ) - num_allowed_chars + 1,num_allowed_chars);
pipe row(out_rec);
end loop;
else
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 1;
out_rec.no_clob_lines := 1;
out_rec.clob_line := 1;
out_rec.clob_data := c1.clsplit_type1val;
pipe row(out_rec);
end if;
end if;
-- get second clob
if c1.clsplit_type2val is not null then
clob2_len := dbms_lob.getlength(c1.clsplit_type2val);
if clob2_len > num_allowed_chars then
for i in 1..ceil(clob2_len/num_allowed_chars) loop
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 2;
out_rec.no_clob_lines := ceil(clob2_len/num_allowed_chars);
out_rec.clob_line := i;
out_rec.clob_data := substr(c1.clsplit_type2val,( i * num_allowed_chars ) - num_allowed_chars + 1,num_allowed_chars);
pipe row(out_rec);
end loop;
else
out_rec.id1 := c1.clsplit_id;
out_rec.clob_type := 2;
out_rec.no_clob_lines := 1;
out_rec.clob_line := 1;
out_rec.clob_data := c1.clsplit_type2val;
pipe row(out_rec);
end if;
end if;
end loop;
return;
end;
show errors
select * from
table(select some_func() from dual)
order by 1,2,4; -
More than 255 characters need to be populated in text file of destination.
Dear experts,
i am having following scenario in which i am sending the file to a destination system through RFC connection which is having more than 255 characters, But it is not allowing me to enter more than 255
The code i have written is mentioned below,
lv_string = '///++++#####$$&&^%$%@$$@@(&@&@#%@&%#464(@)))(@&@&&@*&@)@(&@@%&%&@&@*@&@&&*@&*****^&&*&%$%$$#$##@#$@%%&&*******(((((((((((((((&!@#$$%%%&&(()))_(**&&&&&^^^^%%%%$$$$###'.
itab-l_string = lv_string.
CONCATENATE itab-l_string itab-l_string itab-l_string into itab-l_string.
CONDENSE itab-l_string.
Append Itab.
call function 'RFC_REMOTE_FILE'
DESTINATION 'BJRFC'
EXPORTING
FILE = 'D:\tmp\test_ster3.txt'
WRITE = 'X'
*FILETYPE = ''
TABLES
FILEDATA = itab
exceptions
system_failure = 1 message dg_ermsg
communication_failure = 2 message dg_ermsg.
Can anybody suggest me how to fetch the requireoutput.Dear alex,
With this output the the following cases appearing in system,
1) rfc connection is getting failed due to excess length, no file generated
2)Some times o/p file getting generated with 0KB, i mean there is no data in the output.
Once agian i am putting the code here
Kindl suggest
*& Report Z_ZIC_ZI001
REPORT Z_ZIC_ZI001 line-SIZE 250.
Data : lv_string type string,
dg_ermsg TYPE char120.
Types : begin of ty_itab,
l_string(2050) type c,
l_string type string,
end of ty_itab.
data : itab type ty_itab occurs 0 with HEADER LINE.
lv_string = 'I am having following scenario in which i am sending the file to a destination system through RFC connection which is having more than 255 characters, But it is not allowing to enter more than 255 XXXXXXXXXXXXXXFFAFFAGAGAGAGAGG'.
CONCATENATE lv_string lv_string lv_string into lv_string.
CONDENSE lv_string.
*while strlen( lv_string ) > 255.
itab-l_string = lv_string+0(255).
append itab.
lv_string = lv_string+255.
*endwhile.
itab-l_string = lv_string.
append itab.
call function 'RFC_REMOTE_FILE'
DESTINATION 'BJRFC'
EXPORTING
FILE = 'D:\tmp\test_ster5.txt'
WRITE = 'X'
*FILETYPE = ''
TABLES
FILEDATA = itab
exceptions
system_failure = 1 message dg_ermsg
communication_failure = 2 message dg_ermsg.
if sy-subrc = 0.
write : 'success'.
else .
write : dg_ermsg.
endif. -
More than 255 characters required in excel send as attachment in mail.
Hi Experts,
I have a requirement to send displayed list in an ALV report as attachment in excel through mail. I have used FM SO_DOCUMENT_SEND_API1. Now the problem is my excel data in more than 255 characters in a line. It is about 400 characters.But it is taking upto 255 characters in the internal table which is passed to parameter contents_bin . This is because the internal table is of type SOLISTI1. But the excel should hold atleast 400 characters as per my requirement. How to overcome this issue ? Please suggest me...
Regards,
SURYASay your records are exactly 400 length (I am saying 400 for sake of simplifying things, in reality record lengths can be variable and have to be calculated using STRLEN)
You will cut the first record at 255 length and put it in first row. You will put next 145 characters in 2nd row, followed by newline characters (hex 0D and 0A) at positions 146 & 147 (which indicates end of record for excel, so that it puts next record in a new excel row).
The second record will start from 148th character in second row till 255, that is 108 characters and will extend into 3rd row till 400 - 108 = 292th character followed by newline characters (hex 0D and 0A) at postions 293 & 294, followed by contents of 3rd record and so on and so forth.
If you records are of variable length you can also think of always blank padding them to create a record of such a fixed length that always your records are lesser than that and fit into it. This will leave some blank spaces at the end of each record in excel, which may be fine. -
Excel 2007 to Sql server table. Column with more than 255 characters.
Hi there,
I am facing a problem while converting data from Excel 2007 to SQL server 2005 table. I am using BIDS 2005.I have an excel file where one particular column has more than 255 characters. I use OLEDB connection for excel file as there is no driver for Excel
2007 in BIDS2005. I am using Microsoft Office 12.0 Access Database Engine OLE DB Provider for Excel file.
Next, I changed advanced properties for the column to DT_NTEXT. But when I am getting errors on execution. They are:
[OLE DB Source [1949]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E21.
[OLE DB Source [1949]] Error: Failed to retrieve long data for column "action".
[OLE DB Source [1949]] Error: There was an error with output column "action" (2046) on output "OLE DB Source Output" (1959). The column status returned was: "DBSTATUS_UNAVAILABLE".
[OLE DB Source [1949]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "action" (2046)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "action"
(2046)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
Please advise on how can I deal with columns having more than 255 characters in Excel file.
Thanks!Here is what your connection string should look like for excel source
Provider
=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\temp\test.xls;Extended
Properties="EXCEL 8.0;HDR=YES";
http://sqlworkday.blogspot.com/ -
Spool output more than 255 characters
Hi ,
i am running a ALV report in background whose output is more than 255 characters . but spool is showing only 255 charcters.
Do we have any setting to change to display all characters.
Or any OSS notes that can be applied.
Thanks & regards,
Sonika AhujaHi,
You need to change the Format Type through SPAD transaction. The Format Type decides the number of rows and columns per page. By creating a new format type as per your requirement would solve the probelm.
Also, in the Report declaration, change the Line-Size to 300 or as per the width of your output.
For further details pls. refer this thread :
Re: Spool List output display > 255 char when the rpt is run in Background
Best regards,
Prashant -
How to display more than 132 characters in a smartform
Hi Experts,
I am reading notes/text entries by calling read_text and then passing them in a variable. I want to display the notes. But even after declaring the variable as LINE2048, it is displaying only 255characters as output length in smartform.
My code:
TYPES: BEGIN OF TYP_FINAL,
PARTNER_NO TYPE BU_PARTNER, "Partner No.
OBJECT_ID TYPE CRMT_OBJECT_ID_DB, "Object ID
PROCESS_TYPE TYPE CRMT_PROCESS_TYPE, "Activity Type
ACTUAL_NOTE TYPE LINE2048, "Actual Notes
END OF TYP_FINAL.
data : T_FINAL TYPE STANDARD TABLE OF TYP_FINAL,
WA_FINAL TYPE TYP_FINAL.
data: v_actualnote TYPE LINE2048.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = C_0002
LANGUAGE = sy-langu
NAME = l_name1
OBJECT = C_BUT000
TABLES
LINES = t_line
EXCEPTIONS
ID = 1
LANGUAGE = 2
IF SY-SUBRC = 0.
clear: v_accountnote.
LOOP AT T_LINE INTO WA_LINE.
CONCATENATE v_accountnote wa_line INTO v_accountnote SEPARATED BY space.
clear: wa_line.
ENDLOOP.
wa_final-account_note = v_accountnote.
clear: v_accountnote.
ENDIF.
On the smartformm side, under main window->loop->text(to display the variables).
How to display more than 255 characters in a smartform.
Regards,
Sangeeta.why the heck would you use read_text when you want to print a text/note on a form?
in SAP-Script we use the "INCLUDE"-Statement for this.
and in smartforms a Text-node of type 'I'.
you can not write all in one line and expect the system to handle this like a floating text.
one character takes a cretain amount of space (varying for different characters and font and font sizes).
you Page has a certain width, so where is the miracle in the thesis that on a sheet of paper with a certain width just a certain amount of characters will fit? -
Using Cast('' to XML) when my stringb is more than 8000 characters
I have some sql code that is generated dynamically to build a grid. the xml string that is put together in my sp is dynamic and it just so happens I have a situation where the xml string it put together is more than 8000 characters so when I run my
query I get 'Msg 9413, Level 16, State 1, Line 1 XML parsing; Line 1, character 8000, A string literal was expected.'
below is the sql that my sp has built. any ideas on how I can get it to work?
The problem line is the one with '</xs:schema>'as xml)'
Thanks
SELECT CAST('<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified"
elementFormDefault="qualified">' +
'<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">' +
'<xs:complexType>' +
'<xs:choice minOccurs="0" maxOccurs="unbounded">' +
'<xs:element name="BOMVerifyValue">' +
'<xs:complexType>' +
'<xs:sequence>' +
'<xs:element name="BOMVerifyValueID" type="xs:int" minOccurs="0" msprop:Visible="0" msprop:Mandatory="1" />' +
'<xs:element name="Row" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:integer" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="BOMVerifyID" msprop:State="0" msprop:Visible="0" msprop:BestFitColumnMode="2" type="xs:string" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeX" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeY" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeZ" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="HasErrors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:boolean" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="Warning" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" msprop:ReadOnly="true" type="xs:boolean" minOccurs="0" msprop:Mandatory="1"
/>' +
'<xs:element name="RMK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4041" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4046" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4051" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROT2" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4071" type="xs:string" minOccurs="0" />' +
'<xs:element name="FR-TK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4076" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4081" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDrawers" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4086" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDFBox" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4091" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4096" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawer" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4121" type="xs:string" minOccurs="0" />' +
'<xs:element name="BT" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4126" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDF" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4136" type="xs:string" minOccurs="0" />' +
'<xs:element name="EL" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4161" type="xs:string" minOccurs="0" />' +
'<xs:element name="ER" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4166" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4196" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-Back" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4206" type="xs:string" minOccurs="0" />' +
'<xs:element name="BTBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="7979" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8024" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8032" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeft" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8190" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRight" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8195" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRightButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8413" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeftButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8480" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDFBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9204" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9262" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawerBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9304" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoorsFHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9408" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10151" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10172" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19195" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_FrontBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19199" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_BackFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19203" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-BackFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19207" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROTOneeachside" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19422" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLoose" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19733" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLooseOne" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19737" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-LBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20199" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-RBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20203" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20335" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20339" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTKFE-LFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20703" type="xs:string" minOccurs="0" />' +
'</xs:sequence>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:choice>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:schema>'as xml)
SELECT * FROM (
SELECT ROW_NUMBER() OVER (ORDER BY [bomvv].[BOMVerifyID]) as Row
, [BOMVerifyValueID]
, [bomvv].[BOMVerifyID]
, [bomv].[Size_X] + [SizeX] as [SizeX]
, [bomv].[Size_Y] + [SizeY] as [SizeY]
, [bomv].[Size_Z] + [SizeZ] as [SizeZ]
, [HasErrors]
, CASE WHEN ISNULL([bomvtl].[BOMVerifyTransactionLogID], 1) <> 1
THEN CASE WHEN ISNULL([csp].[CabinetServiceProcessID], 1) <> 1
THEN '0'
ELSE CASE WHEN ISNULL([bomvv].[UpdateDate], '1/1/2001') > ISNULL([bomvtl].[DateAdded], '1/1/2001') THEN 0 ELSE 1 END
END
ELSE '0'
END as [Warning]
, CASE WHEN CHARINDEX( '4041',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [RMK]
, CASE WHEN CHARINDEX( '4046',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK]
, CASE WHEN CHARINDEX( '4051',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTK]
, CASE WHEN CHARINDEX( '4071',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ROT2]
, CASE WHEN CHARINDEX( '4076',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FR-TK]
, CASE WHEN CHARINDEX( '4081',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDoors]
, CASE WHEN CHARINDEX( '4086',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDrawers]
, CASE WHEN CHARINDEX( '4091',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDFBox]
, CASE WHEN CHARINDEX( '4096',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHD]
, CASE WHEN CHARINDEX( '4121',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [OneDrawer]
, CASE WHEN CHARINDEX( '4126',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BT]
, CASE WHEN CHARINDEX( '4136',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDF]
, CASE WHEN CHARINDEX( '4161',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [EL]
, CASE WHEN CHARINDEX( '4166',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ER]
, CASE WHEN CHARINDEX( '4191',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FE-L]
, CASE WHEN CHARINDEX( '4196',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FE-R]
, CASE WHEN CHARINDEX( '4206',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-Back]
, CASE WHEN CHARINDEX( '7979',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BTBack]
, CASE WHEN CHARINDEX( '8024',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELBack]
, CASE WHEN CHARINDEX( '8032',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERBack]
, CASE WHEN CHARINDEX( '8190',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPLeft]
, CASE WHEN CHARINDEX( '8195',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPRight]
, CASE WHEN CHARINDEX( '8413',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPRightButt]
, CASE WHEN CHARINDEX( '8480',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDEPLeftButt]
, CASE WHEN CHARINDEX( '9204',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [BDFBack]
, CASE WHEN CHARINDEX( '9262',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDBack]
, CASE WHEN CHARINDEX( '9304',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [OneDrawerBack]
, CASE WHEN CHARINDEX( '9408',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NoDoorsFHD]
, CASE WHEN CHARINDEX( '10151',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTKFE-R]
, CASE WHEN CHARINDEX( '10172',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [NTKFE-L]
, CASE WHEN CHARINDEX( '19191',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-FE-R]
, CASE WHEN CHARINDEX( '19195',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-FE-L]
, CASE WHEN CHARINDEX( '19199',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK_FrontBack]
, CASE WHEN CHARINDEX( '19203',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK_BackFE-R]
, CASE WHEN CHARINDEX( '19207',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTK-BackFE-L]
, CASE WHEN CHARINDEX( '19422',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ROTOneeachside]
, CASE WHEN CHARINDEX( '19733',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDSendDoorsLoose]
, CASE WHEN CHARINDEX( '19737',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FHDSendDoorsLooseOne]
, CASE WHEN CHARINDEX( '20199',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELFE-LBack]
, CASE WHEN CHARINDEX( '20203',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERFE-RBack]
, CASE WHEN CHARINDEX( '20335',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ELFE-L]
, CASE WHEN CHARINDEX( '20339',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [ERFE-R]
, CASE WHEN CHARINDEX( '20703',CAST ([ConfigOptions] as varchar(max))) > 0 THEN 'X' ELSE '' END as [FTKFE-LFE-R]
FROM [CabinetDesigner].[BOMVerifyValue] bomvv
INNER JOIN [CabinetDesigner].[BOMValue] bomv
ON [bomv].[BOMID] = [bomvv].[BOMID]
AND [bomv].[EndDate] IS NULL
LEFT OUTER JOIN [CabinetDesigner].[BOMVerifyTransactionLog] bomvtl
ON [bomvtl].[BOMID] = 9143
AND [bomvtl].[Processed] = 0
LEFT OUTER JOIN [CabinetService].[CabinetServiceProcess] csp
ON [csp].[BOMVerifyTransactionLogID] = [bomvtl].[BOMVerifyTransactionLogID]
AND [csp].[BOMVerifyID] = [bomvv].[BOMVerifyID]
WHERE [bomvv].[BOMID] = 9143
AND [bomvv].[EndDate] IS NULL
) xx
FOR XML PATH('BOMVerifyValue'), TYPE)
FOR XML PATH('NewDataSet')Each of those segments is a varchar with some number up to 8000 and when you concatenate it, you get a varchar(8000).
If you remove the single quotes and plus signs and create a single string, you will get a varchar(max) which works.
Or you can concatenate an empty varchar(max) variable:
declare @t varchar(max) = ''
SELECT CAST(@t + '<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">' +
'<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">' +
'<xs:complexType>' +
'<xs:choice minOccurs="0" maxOccurs="unbounded">' +
'<xs:element name="BOMVerifyValue">' +
'<xs:complexType>' +
'<xs:sequence>' +
'<xs:element name="BOMVerifyValueID" type="xs:int" minOccurs="0" msprop:Visible="0" msprop:Mandatory="1" />' +
'<xs:element name="Row" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:integer" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="BOMVerifyID" msprop:State="0" msprop:Visible="0" msprop:BestFitColumnMode="2" type="xs:string" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeX" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeY" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="SizeZ" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:decimal" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="HasErrors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" type="xs:boolean" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="Warning" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="2" msprop:ReadOnly="true" type="xs:boolean" minOccurs="0" msprop:Mandatory="1" />' +
'<xs:element name="RMK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4041" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4046" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4051" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROT2" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4071" type="xs:string" minOccurs="0" />' +
'<xs:element name="FR-TK" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4076" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoors" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4081" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDrawers" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4086" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDFBox" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4091" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4096" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawer" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4121" type="xs:string" minOccurs="0" />' +
'<xs:element name="BT" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4126" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDF" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4136" type="xs:string" minOccurs="0" />' +
'<xs:element name="EL" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4161" type="xs:string" minOccurs="0" />' +
'<xs:element name="ER" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4166" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4196" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-Back" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="4206" type="xs:string" minOccurs="0" />' +
'<xs:element name="BTBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="7979" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8024" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8032" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeft" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8190" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRight" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8195" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPRightButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8413" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDEPLeftButt" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="8480" type="xs:string" minOccurs="0" />' +
'<xs:element name="BDFBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9204" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9262" type="xs:string" minOccurs="0" />' +
'<xs:element name="OneDrawerBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9304" type="xs:string" minOccurs="0" />' +
'<xs:element name="NoDoorsFHD" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="9408" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10151" type="xs:string" minOccurs="0" />' +
'<xs:element name="NTKFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="10172" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19191" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-FE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19195" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_FrontBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19199" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK_BackFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19203" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTK-BackFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19207" type="xs:string" minOccurs="0" />' +
'<xs:element name="ROTOneeachside" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19422" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLoose" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19733" type="xs:string" minOccurs="0" />' +
'<xs:element name="FHDSendDoorsLooseOne" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="19737" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-LBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20199" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-RBack" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20203" type="xs:string" minOccurs="0" />' +
'<xs:element name="ELFE-L" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20335" type="xs:string" minOccurs="0" />' +
'<xs:element name="ERFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20339" type="xs:string" minOccurs="0" />' +
'<xs:element name="FTKFE-LFE-R" msprop:State="0" msprop:Visible="1" msprop:BestFitColumnMode="4" msprop:EntityBOMID="20703" type="xs:string" minOccurs="0" />' +
'</xs:sequence>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:choice>' +
'</xs:complexType>' +
'</xs:element>' +
'</xs:schema>'as xml)
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
How to accomodate more than 255 characters in character field
HI All
i need to accomodate more than 255 characters in character field. How can i do that ?
thanks in advance!!!Hi,
You can try the following things:
1. Use a datatype STRING and check it will work.
2. In se11 transaction goto datatype and search for char* in data elements.
You will find predefined data types ,you can make use of it.
For eg. char2000,char3000,char4000 etc.
Hope this will help.
Regards,
Nitin. -
ABAP Programming to display more than 255 characters in the screen
Hi
I want to display more than 255 characters in the screen after executing a report but i cant able to do that.
Please help me to find out the solution.
Thanks
Mrutyunjaya TrpathyHai tripathy,
when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain upto 90 columns in the display with the wide array of display options.
The commonly used ALV functions used for this purpose are;
1.REUSE_ALV_VARIANT_DEFAULT_GET
2.REUSE_ALV_VARIANT_F4
3.REUSE_ALV_VARIANT_EXISTENCE
4.REUSE_ALV_EVENTS_GET
5.REUSE_ALV_COMMENTARY_WRITE
6.REUSE_ALV_FIELDCATALOG_MERGE
7.REUSE_ALV_LIST_DISPLAY
8.REUSE_ALV_GRID_DISPLAY
9.REUSE_ALV_POPUP_TO_SELECT
hope u can try in this way.
REGARDS,
PRABA.
Maybe you are looking for
-
Importing project in other project
Hi all. i am using captivate some days now but i am thrilled with what i can do with it. Since i am newbbie yet ,allow me to ask my questions and forgive me if they are stupid please... I have create a couple of small projects with captivate and now
-
How to increase the field lenght of file uplaod in BSP application
Hi All, I am facing a problem with u201Cuploadu201D filed length in BSP application. When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file) Now this field is appearing 20
-
How do I transfer a color from one object to another without losing the gradient?
COLORING AN OBJECT AND SAVING THE GRADIENT These are my notes. x Choose the EYEDROPPER tool. x Sample the color you want from an object in your image. x Double-click on the fill icon at the bottom of the tool panel. This brings up the COLOR PICKER pa
-
How do I create a Header for page 1 only?
I want a Header as a title on my first page only. I've searched Help to no avail. I find it annoying to have the heading repeated on all my pages.
-
Hi There, We need to park documents with Spl GL indicators. In particular example: Downpayments received from customers. However, system does not allow parking with Spl GL. Has anyone found any solution to this? Any user exit or any other option? Tha