Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dump in creating tree

Former Member
0 Likes
935

hi,

i have create a tree structure when i click on the nodes it is giving dump.dump is describing like this.how to rectify the dump.

-


What happened?

The current application program detected a situation which really

should not occur. Therefore, a termination with a short dump was

triggered on purpose by the key word MESSAGE (type X).

-


-


What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

-


rgds,

Hi.

3 REPLIES 3
Read only

Former Member
0 Likes
706

Please copy paste the error analysis and how to correct the error portions of the dump

Thanks,

Krishna

Read only

0 Likes
706

Hi krishna,

here i am pasting the error analysis, pls have a look into this.

Error analysis

Short text of error message:

Control Framework : Error processing control

Long text of error message:

Diagnosis

An error occurred when the system tried to process the commands

from the Automation Queue on the presentation server.

There are several possible reasons for this:

- The installation of the SAP GUI on the presentation server is

faulty or obsolete.

- There is an error in the application program

- There is an error in the SAPGUI or an integrated control

Procedure

1. Make sure that you have imported the appropriate Support

Package, the current kernel, and GUI patch for the release of your

system

2. Check whether the error occurs locally on one or a few PCs, or

generally on all PCs. Note whether the error only occurs for some

users, for example because of a specific Customizing setting.

If it only occurs locally, this suggests an installation problem

with the PC. Check the installation; if necessary, reinstall the

software. In the dump, search for the SY-MSGLI field, since it may

point to the cause of the error.

3. Activate the Automation Trace (in accordance with SAP Note

158985).

4.Start the transaction and continue until the screen immediately

before the dump.

5. From the System -> Utilities menu, choose Autom. Queue,

Synchronous Processing.

The status bar of the GUI displays the text:

"Automation synchron flush mode on"

6. If you now proceed with the application, the short dump will

display the ABAP call that caused the error; the Automation Trace

How to correct the error

Probably the only way to eliminate the error is to correct the program.

-

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"MESSAGE_TYPE_X" " "

"SAPLOLEA" or "LOLEAU02"

"AC_SYSTEM_FLUSH"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

thanks,

Read only

Former Member
0 Likes
706

hi ,

see this simple code for a tree structure and function modules for tree structures...

REPORT Ztree_TEST_PGM.

Type-pools : fibs,stree.

data : t_node type snodetext.

data : node_tab like t_node occurs 0 with header line.

clear : node_tab, node_tab[].

node_tab-type = 'T'.

node_tab-name = 'Earth'.

node_tab-tlevel = '01'.

node_tab-nlength = '5'.

node_tab-color = '4'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 3.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'Europe'.

node_tab-tlevel = '02'.

node_tab-nlength = '6'.

node_tab-color = '1'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 4.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'Germany'.

node_tab-tlevel = '03'.

node_tab-nlength = '7'.

node_tab-color = '4'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 4.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'Berlin'.

node_tab-tlevel = '04'.

node_tab-nlength = '6'.

node_tab-color = '4'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 3.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'Asia'.

node_tab-tlevel = '02'.

node_tab-nlength = '4'.

node_tab-color = '1'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 3.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'India'.

node_tab-tlevel = '03-'.

node_tab-nlength = '5'.

node_tab-color = '1'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 3.

append node_tab.

clear node_tab.

node_tab-type = 'P'.

node_tab-name = 'Bombay'.

node_tab-tlevel = '04-'.

node_tab-nlength = '6'.

node_tab-color = '1'.

node_tab-text = 'Hello'.

node_tab-tlength ='5'.

node_tab-tcolor = 3.

append node_tab.

clear node_tab.

CALL FUNCTION 'RS_TREE_CONSTRUCT'

TABLES

NODETAB = node_tab .

DATA: type_mapping TYPE stree_ctl_type_mapping_tab.

DATA: wa_type TYPE stree_ctl_type_mapping.

CLEAR: type_mapping[].

wa_type-type = 'A'.

wa_type-icon = '@BL@'.

APPEND wa_type TO type_mapping.

CALL FUNCTION 'RS_TREE_LIST_DISPLAY'

EXPORTING

USE_CONTROL = 'L'.

*A list of other function modules that can also be used to construct tree reports:

*SEUT, Hierarchy framework

*RS_TREE_ADD_NODE Insert nodes

*RS_TREE_AUTOMATIC_REFRESH

*RS_TREE_COMPRESS Hide subtree(s)

*RS_TREE_CONSTRUCT Construct new hierarchy or insert subtree

*RS_TREE_CONTROL_PREPARE

*RS_TREE_CREATE Create hierarchy

*RS_TREE_DELETE_NODE Delete node with associated sub-tree

*RS_TREE_EXPAND Expand subtree

*RS_TREE_GET_CURRENT_LAYOUT Get layout information for displayed hierarchy

*RS_TREE_GET_CURRENT_NODE Get node at which cursor is positioned

*RS_TREE_GET_CURRENT_ROOT Get current root node

*RS_TREE_GET_CURRENT_TREE Get structure information for displayed hierarchy

*RS_TREE_GET_INPUT Get entires from input fields

*RS_TREE_GET_MARKED_NODES Get selected nodes

*RS_TREE_GET_MODIFICATION_LOG Get change log for hierarchy

*RS_TREE_GET_NODE Get nodes for specified ID

*RS_TREE_GET_NODE_BY_NAME Get node for specified node name

*RS_TREE_GET_PREDECESSOR Get preceding node

*RS_TREE_GET_SEARCHSTRING Get last search strinng

*RS_TREE_LIST Simulate hierarchy or subtree display

*RS_TREE_LIST_DISPLAY Display hierarchy

*RS_TREE_LIST_DISPLAY Display hierarchy

*RS_TREE_MODIFY_NODE

*RS_TREE_MOVE Reassign node with subtree

*RS_TREE_POP Get hierarchy from the stack and restore

*RS_TREE_PUSH Place hierarchy on the stack

*RS_TREE_RESET_LOCK Deselect node

*RS_TREE_SET_CURRENT_LAYOUT Set layout with marked cursor position

*RS_TREE_SET_CURRENT_TREE Set other hierarchy

*RS_TREE_SET_LOCK Select node

*RS_TREE_SET_NODE Change Nodes

*RS_TREE_SET_SCROLL_POS Position node at the beginning of the page

*RS_TREE_SLEEP

*RS_TREE_SORT_CHILDREN

*

reward points if useful,

venkat.