‎2006 Aug 31 4:21 PM
Hi all,
When I try to change the SAP script for NL language for page windows Iam getting the following dump.
Runtime Error RAISE_EXCEPTION
ShrtText
Exception condition "INVALID_TEXT_ENVIROMENT" raised.
Error analysis
A RAISE statement in the program "CL_SCP_LINEBREAK_UTIL=========CP" raised the
exception
condition "INVALID_TEXT_ENVIROMENT".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
Forr detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Iam getting this error only for NL language.
I searched for the SAP notes but unsuccesful.
Any help will be appreciated.
Thanks
Saichand
‎2006 Aug 31 4:29 PM
chk in table T002 what is the value for field LAHQ for NL,
if its value is 0 , then the language is not classified
‎2006 Aug 31 4:51 PM
‎2006 Aug 31 5:04 PM
‎2006 Aug 31 5:06 PM
can u show the code pointing the line where the termination occured
‎2006 Aug 31 5:11 PM
Hi,
method GET_VISUAL_STRINGLENGTH .
call method string_split_at_position
exporting
im_string = im_string
im_langu = im_langu
IM_METRICS = im_metrics
IM_POS_VIS =
IM_POS_TECH =
im_boundary_kind = cl_scp_linebreak_util=>c_boundary_grapheme
IMPORTING
EX_POS_VIS = ex_pos_vis
EX_POS_TECH =
EXCEPTIONS
POS_NOT_VALID = 1
UNSUPPORTED_BOUNDARY_KIND = 2
INVALID_TEXT_ENVIROMENT = 3
others = 4.
if sy-subrc <> 0.
if sy-subrc = 3.
raise invalid_text_enviroment.
else.
message x000(seg) with sy-subrc.
endif.
endif.
sy-subrc = 3 iam getting the error.
Message was edited by: Sai Chand Pullepu
‎2006 Aug 31 5:13 PM
you had not posted ur declaration of variable ,
anyway check this prog
DEMO_MOD_TECH_FB_STRING_SPLIT
‎2006 Aug 31 5:19 PM
HI,
Information on where terminated
The termination occurred in the ABAP program "CL_SCP_LINEBREAK_UTIL========
in "GET_VISUAL_STRINGLENGTH".
The main program was "SAPMSSCF ".
The termination occurred in line 24 of the source code of the (Include)
program "CL_SCP_LINEBREAK_UTIL=========CM002"
of the source code of program "CL_SCP_LINEBREAK_UTIL=========CM002" (when
calling the editor 240).
Please tell me how to fix this problem?
Message was edited by: Sai Chand Pullepu
‎2006 Aug 31 5:40 PM
Are you sure there are no relevant OSS notes? I found 4 or 5 for this problem with this program:
628255
820496
807775
575346
Rob
Message was edited by: Rob Burbank