on 06-01-2010 8:09 AM
I was working on a smartform. For 2-3 Hrs it was working fine, whatever changes I was making were getting activated smoothly.
Then, for some unknown reason the smatform stopped getting activated. Timeout dump is happening. But when we 'Check' the smatform, no error is coming. Still it is not getting activated.
I checked another smarform & made some changes, activated....it got activated instantaneously. The function module of that smartform that it is showing in Environment -> Function Module Name -> /1BCDWB/SF00000144
But when we check SE37, it says no such module exists !!! Please help !!!!!!!!!!!!!!!!!!!!!!!
Here is the dump :
Runtime Errors TIME_OUT
Date and Time 01.06.2010 12:37:24
Short text
Time limit exceeded.
What happened?
The program "SAPLSUNI" has exceeded the maximum permitted runtime without
interruption and has therefore been terminated.
Error analysis
After a specific time, the program is terminated to make the work area
available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
time limit is
exceeded, the system attempts to cancel any running SQL statement or
signals the ABAP processor to stop the running program. Then the system
waits another 60 seconds maximum. If the program is then still active,
the work process is restarted.
Trigger Location of Runtime Error
Program SAPLSUNI
Include LSUNIU06
Row 101
Module type (FORM)
Module Name DELETE_FUNCTION_POOL_INCLUDES
Source Code Extract
Line SourceCde
71
72 ENDFUNCTION.
73
74 &----
75 *& Form DELETE_FUNCTION_POOL_INCLUDES
76 &----
77 * text
78 ----
79 * -->P_AREA text
80 * -->SKIP_PROGREtextND
81 ----
82 FORM delete_function_pool_includes USING p_area
83 skip_progress_ind.
84 DATA: l_prog LIKE trdir-name,
85 l_incl_uxx LIKE trdir-name,
86 l_name LIKE streenode-name,
87 l_object LIKE euobj-id,
88 l_area LIKE rs38l-area,
89 l_namespace LIKE rs38l-namespace.
90
91 CALL FUNCTION 'FUNCTION_INCLUDE_SPLIT'
92 EXPORTING
93 complete_area = p_area
94 IMPORTING
95 namespace = l_namespace
96 group = l_area
97 EXCEPTIONS
98 OTHERS = 6.
99 CONCATENATE l_namespace 'SAPL' l_area INTO l_prog.
100 CONCATENATE l_namespace 'L' l_area 'UXX' INTO l_incl_uxx.
>>>>> UPDATE progdir SET edtx = space WHERE name = l_incl_uxx AND state = 'A'.
102
103 * Hier Michael rufen
104 CALL FUNCTION 'RS_DELETE_PROGRAM'
105 EXPORTING
106 program = l_prog
107 with_includes = 'X'
108 suppress_popup = 'X'
109 skip_progress_ind = skip_progress_ind
110 EXCEPTIONS
111 enqueue_lock = 1
112 permission_failure = 2
113 reject_deletion = 3.
114
115 IF sy-subrc = 0.
116 PERFORM ed_delete_function_pool_new(sapms38l)
117 USING p_area
118 CHANGING sy-subrc.
119
120 PERFORM delete_rest_of_group USING p_area.
Edited by: ajaybachchas on Jun 1, 2010 9:23 AM
Hi,
This problem can be caused by problems with DELETE statements on DB table D010INC. Try updating the statistics of the the table D010INC and then try the action again. You can use brtools for this.
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Guys,
For some reason, the problem automatically got resolved. First I check STXFADMI table to find entry of the FM against that smartform. When I punched the FM name of the smartform in SE37, it repeatedly said "FM does not exist". But the entry for that FM is present in the STXFADMI table. Hence I started debugging SE37 after entering the FM name. To my surprise, at the end the FM was displayed !!! After that I went to the smartform & activated, again surprised....it got activated in a flash !!!
Can anyway justify this mystery ?
Ajay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This may happen due to Code nodes in your Smartform.
You can try putting BREAK-POINT explicitly in you code nodes, to exactly receive the erroneous area(After which you will get the dump).
There should be some CODE (like an endless loop or some huge database access), which timeouts your Smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I downloaded the original smartform (ZPINV) & created a new test form ZTEST, uploaded the XML of ZPINV in the new test form ZTEST. Saved ZTEST as local object & activated. And ZTEST got activated also in 2 SECONDS !!! Means thr are no programming errors in Original form ZPINV. Dont know why the original form is not getting activated !
Edited by: ajaybachchas on Jun 1, 2010 11:48 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.