cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice cancellation problem.

Former Member
0 Kudos

When I am cancelling the invoice using t-code vf11 I am getting the following error.

this is in dev client.

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

what may be the problem. do the needful

kind advice needed.

Ramachandra

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Ramachandra,

It appears that there is inconsistency between the data type definition. Please go to SE11 -> choose data type radio button -> enter 'TAX_ITEM_DETAIL' and choose display.

Check the length of the data type. It could be that in VF11 it is allowing to enter more than what it can store.

Hope this is helpful. Reward points if this is helpful.

Regards,

Naveen.

former_member194164
Active Participant
0 Kudos

Dear Ramchandra

Log off & retry. It may solve

Regards

Vikas Chhabra

Former Member
0 Kudos

i tried but not getting.

Former Member
0 Kudos

just go and check once the fields in the document type RK .

kiran