Hi all,
I got this dump after providing Purchase Order test using BAPI to the material. What i am trying to do here is give the text with maximum characters length. Providing text was successful. but i am getting this DUMP when i am checkting the same using MM03. where as if i upload double the length of text from a file and chek the same in MM03 i am not getting this DUMP. Kindly explain this to me.
Category ABAP Programming Error
Runtime Errors IMPORT_DECOMPRESS_FAILED
Except. CX_SY_COMPRESSION_ERROR
ABAP Program SAPLSTXD
Application Component BC-SRV-SCR
Date and Time 15.09.2014 14:44:52
Short text
Error when decompressing during IMPORT.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTXD" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_COMPRESSION_ERROR', was not
caught in
procedure "READ_TEXTLINES" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
When IMPORTing compressed data, an error occurred when
decompressing.
Unable to read an IMPORT dataset.
The dataset may have been processed using SQL and is
thus no longer readable for the IMPORT.
Missing RAISING Clause in Interface
Program SAPLSTXD
Include LSTXDFDB
Row 75
Module type (FORM)
Module Name READ_TEXTLINES
Trigger Location of Exception
Program SAPLSTXD
Include LSTXDFDB
Row 106
Module type (FORM)
Module Name READ_TEXTLINES
Source Code Extract
76 using rt_header structure thead
77 rt_client.
78 DATA: l_fol type char2.
79 DATA: l_foli type i value 84.
80 DATA: l_cp like tcp00-cpcodepage.
81 DATA: l_unich type i.
82 DATA: l_flg type char1.
83 DATA: l_sypr LIKE tcp0c-langu.
84 DATA: l_count LIKE tcp0c-country.
85 DATA: l_mod LIKE tcp0c-modifier.
86
87 refresh rt_lines.
88 move-corresponding rt_header to stxl_id.
89 * only for nonunicodesystems:
90 * the import-statment contains a conversion from internal cp
91 * to the codepage of language key.
92 * if the import-process can't assign a codepage it is using
93 * the actual systzem-codepage. So we make a SET LOCALE
94 l_unich = CL_ABAP_CHAR_UTILITIES=>charsize.
95 IF l_unich = 1.
96 GET LOCALE LANGUAGE l_sypr COUNTRY l_count MODIFIER l_mod.
97 CATCH SYSTEM-EXCEPTIONS localization_errors = 1.
98 SET LOCALE LANGUAGE rt_header-tdspras.
99 ENDCATCH.
100 IF sy-subrc <> 0.
101 SET LOCALE LANGUAGE l_sypr.
102 ENDIF.
103 ENDIF.
104
105 if rt_header-tdtexttype is initial. "SAPscript format
>>>>> import tline to rt_lines
107 from database stxl(tx)
108 client rt_client
109 id stxl_id
110 ACCEPTING TRUNCATION "important for Unicode->Nonunicode
111 IGNORING CONVERSION ERRORS.
112 else. "non-SAPscript text
113 import tline to rt_lines
114 from database stxb(tx)
115 client rt_client
116 id stxl_id
117 code page into l_cp
118 ACCEPTING TRUNCATION
119 IGNORING CONVERSION ERRORS.
120 perform convert_lines_text_2_bin tables rt_lines "B20K067422
121 using l_cp
122 changing rt_header.
123 if l_unich = 1 and ( rt_header-tdtexttype = 'RTF' or rt_header-tdtexttype = 'DOC' ).
124 * special process for new FES-OFFI handling in nonunicodesystems.
125 * now the lines without lengthvalue can be handled
Regards.