Skip to Content
0
Former Member
Feb 12, 2007 at 11:11 PM

Unit Dimension in the Infoprovider

34 Views

Hi Gurus,

We are encountering this problem. Please suggest if Iam missing anything...

We have a custom infoprovider which does not have key figures or quantities objects restricted with 0currency & 0unit. Hence the unit dimension is not formed. Now we would like to add a custom amount key figure restricted with 0currency. We are getting short dump when we try to add this key figure into the infoprovider. There is no shortdump if I add a key figure with restricted currency like USD. Below is the short dump....

Runtime Errors RAISE_EXCEPTION

Date and Time 02/12/2007 18:03:02

Short dump has not been completely stored (too big)

Short text

Exception condition "NODE_RELATED_MISSING" raised.

Error analysis

A RAISE statement in the program "CL_RSO_DATA_TREE==========

exception

condition "NODE_RELATED_MISSING".

Since the exception was not intercepted by a superior

program, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

-

Line SourceCde

Trigger Location of Runtime Error

Program CL_RSO_DATA_TREE==============CP

Include CL_RSO_DATA_TREE==============CM001

Row 46

Module type (METHOD)

Module Name INSERT_NODE

16 l_s_tree_node-prevsibling = get_node_by_string(

17 i_node_key = i_node_key_prev_sibling ).

18 ENDIF.

19 IF NOT i_node_key_next_sibling IS INITIAL.

20 l_s_tree_node-nextsibling = get_node_by_string(

21 i_node_key = i_node_key_next_sibling ).

22 ENDIF.

23

24 * insert into table

25 CALL METHOD insert_node_internal

26 EXPORTING

27 i_node_key = l_s_tree_node-node_key

28 i_node_key_related = l_s_tree_node-relatkey

29 i_node_key_prev_sibl = l_s_tree_node-prevsibling

30 i_node_key_next_sibl = l_s_tree_node-nextsibling

31 i_node_key_text = i_node_key_text

32 i_image = i_image

33 i_image_expanded = i_image_expanded

34 i_is_folder = i_is_folder

35 i_disabled = i_disabled

36 i_dragdrop_handle = i_dragdrop_handle

37 i_style = i_style

38 i_font = i_font

39 i_relatship = i_relatship

40 EXCEPTIONS

41 duplicate_key = 1

42 node_related_missing = 2.

43 IF sy-subrc = 1.

44 RAISE duplicate_key.

45 ELSEIF sy-subrc = 2.

>>>>> RAISE node_related_missing.

47 ENDIF.

48

49 ENDMETHOD. "insert_node