Hi All Gurus,
I am getting error which I have attached for your reference. While running Replicate Metadata in RSA1 t-code for SAP BI,
I am getting below dump.
Please suggest any solution that works.
Irin Patel
========================
Runtime Errors TIME_OUT | |||||||
Date and Time 11.02.2014 16:16:10 | |||||||
|
|
| |||||
| Short text |
| |||||
|
| Time limit exceeded. |
| ||||
|
|
| |||||
| What happened? |
| |||||
|
| The program "SAPLRSDS_DATASOURCE" 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 | SAPLRSDS_DATASOURCE |
| ||||
| Include | LRSDS_DATASOURCEU01 |
| ||||
| Row | 56 |
| ||||
| Module type | (FUNCTION) |
| ||||
| Module Name | RSDS_DATASOURCE_OLDNEW |
| ||||
|
|
| |||||
| Source Code Extract |
| |||||
| Line | SourceCde |
| ||||
| 26 |
|
| ||||
| 27 | RANGES: l_tr_objvers FOR l_objvers. |
| ||||
| 28 |
|
| ||||
| 29 | * ==== Objvers: either A/M or D |
| ||||
| 30 | * ---- A-Version requested |
| ||||
| 31 | IF i_objvers EQ rs_c_objvers-active OR |
| ||||
| 32 | i_objvers EQ rs_c_objvers-modified. " 700SP14 |
| ||||
| 33 |
|
| ||||
| 34 | * .... A-Version |
| ||||
| 35 | l_tr_objvers-sign = 'I'. |
| ||||
| 36 | l_tr_objvers-option = 'EQ'. |
| ||||
| 37 | l_tr_objvers-low = rs_c_objvers-active. |
| ||||
| 38 | APPEND l_tr_objvers. |
| ||||
| 39 | * .... M-Version |
| ||||
| 40 | l_tr_objvers-sign = 'I'. |
| ||||
| 41 | l_tr_objvers-option = 'EQ'. |
| ||||
| 42 | l_tr_objvers-low = rs_c_objvers-modified. |
| ||||
| 43 | APPEND l_tr_objvers. |
| ||||
| 44 | * ---- D-Version requested |
| ||||
| 45 | ELSEIF i_objvers EQ rs_c_objvers-delivery. |
| ||||
| 46 | * ---- D-Version |
| ||||
| 47 | l_tr_objvers-sign = 'I'. |
| ||||
| 48 | l_tr_objvers-option = 'EQ'. |
| ||||
| 49 | l_tr_objvers-low = rs_c_objvers-delivery. |
| ||||
| 50 | APPEND l_tr_objvers. |
| ||||
| 51 | ELSE. |
| ||||
| 52 | MESSAGE e000 RAISING failed. |
| ||||
| 53 | ENDIF. |
| ||||
| 54 |
|
| ||||
| 55 | * ==== Get New DataSource |
| ||||
| >>>>> | SELECT SINGLE * FROM rsds INTO l_s_ds |
| ||||
| 57 | BYPASSING BUFFER " 700 SP8 (restoration issue) |
| ||||
| 58 | WHERE datasource EQ i_datasource AND |
| ||||
| 59 | logsys EQ i_logsys AND |
| ||||
| 60 | objvers IN l_tr_objvers. |
| ||||
| 61 | IF sy-subrc EQ 0. |
| ||||
| 62 | e_new_exists = 'X'. |
| ||||
| 63 | IF l_s_ds-objstat EQ rs_c_objstat-active. |
| ||||
| 64 | e_new_active = 'X'. |
| ||||
| 65 | ELSEIF l_s_ds-objstat EQ rs_c_objstat-inactive. |
| ||||
| 66 | e_new_active = ' '. |
| ||||
| 67 | ENDIF. |
| ||||
| 68 | ELSE. |
| ||||
| 69 | e_new_exists = ' '. |
| ||||
| 70 | e_new_active = ' '. |
| ||||
| 71 | ENDIF. |
| ||||
| 72 |
|
| ||||
| 73 | * ==== Get Old DataSource |
| ||||
| 74 | SELECT SINGLE * FROM rsoltpsource INTO l_s_oltpsource |
| ||||
| 75 | WHERE oltpsource EQ i_datasource AND |
| ||||
|