after cancelling the excise invoice i wanted to cancel the biiling document but it is giving the following error.
Runtime Errors DDIC_TYPES_INCONSISTENT
Date and Time 24.05.2007 11:04:21
-
ShrtText
Inconsistency between Dictionary types "TAX_ITEM_DETAIL_LIST" and
What happened?
Runtime error
The current ABAP program, "CL_XTAX_DOCUMENT==============CP", had to be
terminated because one of the
statements could not be executed at runtime.
Error analysis
The system discovered an inconsistency when accessing the Dictionary
description of data type "TAX_ITEM_DETAIL_LIST".
The type "TAX_ITEM_DETAIL" was used to define type "TAX_ITEM_DETAIL_LIST".
According to the Dictionary description of type "TAX_ITEM_DETAIL_LIST", the
data type "TAX_ITEM_DETAIL"
must be 488 bytes long. However, the Dictionary description of
"TAX_ITEM_DETAIL", the
latter is in fact 904 bytes long.
Trigger Location of Runtime Error
Program CL_XTAX_DOCUMENT==============CP
Include CL_XTAX_DOCUMENT==============CM00G
Row 42
Source Code Extract
Line SourceCde
12 i_item_info_sel = 'X'
13 importing
14 o_persistent_data = persistent_data
15 exceptions
16 not_found = 4
17 others = 8.
18 *
19 if sy-subrc <> 0.
20 o_not_found = 'X'.
21 else.
22 o_not_found = space.
23 *
24 o_docnr = persistent_data-header-docnr.
25 o_ref_doc_key = persistent_data-header-ref_doc_key.
26 o_update_info = persistent_data-header-update_info.
27 o_header_info = persistent_data-header-header_info.
28 o_docstatus_info = persistent_data-header-docstatus_info.
29 *
30 * Get item data:
31 call method get_item_list_from_db
32 exporting
33 i_docnr = o_docnr
34 i_nr_line_items = o_header_info-nr_line_items
35 i_item_data = persistent_data-items
36 importing
37 o_item_list = o_item_list
38 o_index_item_list = index_item_list.
39 *
40 endif.
41 *
>>>>> endmethod.
43
44
45
46
47
48
this is in dev client
kind advice needed.
ramachandra