on 07-25-2012 6:53 AM
Dear ALL,
I got abap dump in activation BSP applications SSFDEMODIGSIG and SSFDEMODIGSIG2, actually I\m trying to activate page with Flow logic DEFAULT.HTM (SSFDEMODIGSIG ) and DEFAULT.HTM (SSFDEMODIGSIG2), when I activate it in SE80 system gives abap dump, it is attached to message.
I'm not developer, and can not understand what should I do to correct issue. Please help.
also here:
Short text
Dynamic type conflict when assigning references
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_O2_CO2_PP_CHANGEDOM========CP" 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_MOVE_CAST_ERROR', was not
caught in
procedure "SO2_PRINT_JAVASCRIPT" "(METHOD)", 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:
It was tried to assign a reference to a rereference variable using the
'CAST' operation ('?=' or 'MOVE ?TO').
However, the current content of the source variable does not fit into
the target variable.
source type: "\CLASS-POOL=CL_IXML\CLASS=CL_IXML_TEXT"
target type: "\INTERFACE=IF_IXML_CDATA_SECTION"
Missing RAISING Clause in Interface
Program CL_O2_CO2_PP_CHANGEDOM========CP
Include CL_O2_CO2_PP_CHANGEDOM========CM00D
Row 1
Module type (METHOD)
Module Name SO2_PRINT_JAVASCRIPT
Trigger Location of Exception
Program CL_O2_CO2_PP_CHANGEDOM========CP
Include CL_O2_CO2_PP_CHANGEDOM========CM00D
Row 57
Module type (METHOD)
Module Name SO2_PRINT_JAVASCRIPT
Source Code Extract
Line SourceCde
27 element = m_document->get_root_element( ).
28 node_collection = element->get_elements_by_tag_name( namespace = 'so2' name = 'script' ).
29
30 index = 0.
31 index_max = node_collection->get_length( ).
32 WHILE index < index_max.
33
34 node = node_collection->get_item( index ).
35 element ?= node->query_interface( ixml_iid_element ).
36 index = index + 1.
37
38 DATA: text TYPE string.
39 text = element->get_value( ).
40 IF STRLEN( text ) >= 11 AND text(11) CS 'JavaScript='.
41
42 DATA: encoding TYPE string. encoding = text(10).
43
44 * Check if this is an OTR alias (note 995344)
45 DATA: l_text TYPE string.
46 l_text = text+11.
47 condense l_text no-gaps.
48 IF l_text np 'otr(*)'.
49
50 element->set_name( name = 'print' ).
51 element->remove_attribute( name = 'status' ).
52 element->set_attribute( name = 'enc' value = encoding ).
53
54 DATA: cdata TYPE REF TO if_ixml_cdata_section,
55 expr TYPE REF TO if_ixml_element,
56 value TYPE string.
>>>>> cdata ?= element->get_first_child( ).
58 IF cdata IS BOUND.
59
60 text = text+11.
61 cdata->set_value( value = text ).
62 element->remove_child( old_child = cdata ).
63 expr ?= m_document->create_element( namespace = 'so2' name = 'expr' ).
64 element->append_child( new_child = expr ).
65 expr->append_child( new_child = cdata ).
66
67 value = element->get_attribute( 'x' ). expr->set_attribute( name = 'x' value = value
68 value = element->get_attribute( 'y' ). expr->set_attribute( name = 'y' value = value
69 value = element->get_attribute( 'o' ). expr->set_attribute( name = 'o' value = value
70
71 ENDIF.
72
73 ELSE.
74
75 * This is what we have at the moment:
76 * <so2:script o="72" x="3" y="14" status="enabled">JavaScript= otr(....)</so2:script>
Active Calls/Events
================================
Please help
Hi had the same problem, implement OSS note 1640092.
Worked for me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I too had the same issue, while implementing the security note 1746943.
But after implementing OSS note 1640092 the problem got resolved.
Thanks All.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mustafin,
Looks like there is a problem in creating reference object for the interface "if_ixml_cdata_section". Cross check its implementation. and its related BADI.
regards
uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.