Current Position:Home > Run time error

Run time error

Update:10-11Source: network consolidation
Advertisement
Dear All,
During the transaction /n/sapapo/ccr (Reconsilation of transaction data) in client SCP 950, system displays the run time error which are attached herewith.
This is the activity a used to execute regularly (Daily) and first time i recieved this message - -
Runtime Errors         ASSERTION_FAILED                                                            
Date and Time          13.07.2007 10:13:37                                                         
ShrtText                                                                               
The ASSERT condition has been violated.                                                       
What happened?                                                                               
In the current application program, the system recognized a situation                         
    involving the ASSERT statement that should not occur. A runtime error                         
    occurred, either because there was no activation ID entered or because                        
    the ID of the activation mode used was set to "Cancel.                                        
What can you do?                                                                               
Print out the error message (using the "Print" function)                                      
    and make a note of the actions and input that caused the                                      
    error.                                                                               
To resolve the problem, contact your SAP system administrator.                                
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                      
     termination messages, especially those beyond their normal deletion                          
    date.                                                                               
is especially useful if you want to keep a particular message.                                                                               
Error analysis                                                                               
The following activation ID was used: "No checkpoint group specified"                                                                               
If the FIELDS addition was used with this ASSERT statement, the content                       
    of the first 8 fields is as follows:                                                          
    " (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
" (not used) "                                                                               
How to correct the error                                                                               
Probably the only way to eliminate the error is to correct the program.                                                                               
You may able to find an interim solution to the problem                                       
    in the SAP note system. If you have access to the note system yourself,                       
    use the following search criteria:                                                                               
"ASSERTION_FAILED" C                                                                               
"/SAPAPO/SAPLTIMESTAMP" or "/SAPAPO/LTIMESTAMPU08"                                            
    "/SAPAPO/TIMESTAMP_DIFFERENCE"                                                                
    If you cannot solve the problem yourself and you wish to send                                 
    an error message to SAP, include the following documents:                                                                               
1. A printout of the problem description (short dump)                                         
       To obtain this, select in the current display "System->List->                              
       Save->Local File (unconverted)".                                                                               
2. A suitable printout of the system log                                                      
       To obtain this, call the system log through transaction SM21.                              
       Limit the time interval to 10 minutes before and 5 minutes                                 
       after the short dump. In the display, then select the function                             
       "System->List->Save->Local File (unconverted)".                                                                               
3. If the programs are your own programs or modified SAP programs,                            
       supply the source code.                                                                    
       To do this, select the Editor function "Further Utilities->                                
       Upload/Download->Download".                                                                               
4. Details regarding the conditions under which the error occurred                            
       or which actions and input led to the error.                                               
System environment                                                                               
SAP Release.............. "640"                                                                               
Application server....... "scmprd"                                                            
    Network address.......... "172.16.10.47"                                                      
    Operating system......... "AIX"                                                               
    Release.................. "5.3"                                                               
    Hardware type............ "0002BFAAD700"                                                      
    Character length......... 16 Bits                                                             
    Pointer length........... 64 Bits                                                             
    Work process number...... 0                                                                   
    Short dump setting....... "full"                                                                               
Database server.......... "scmprd"                                                            
    Database type............ "ORACLE"                                                            
    Database name............ "SCP"                                                               
    Database owner........... "SAPSCP"                                                                               
Character set............ "C"                                                                               
SAP kernel............... "640"                                                               
    Created on............... "Jan 18 2006 20:47:39"                                              
    Created in............... "AIX 1 5 00538A4A4C00"                                              
    Database version......... "OCI_920 "                                                                               
Patch level.............. "109"                                                               
    Patch text............... " "                                                                               
Supported environment....                                                                     
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE                        
     10.2.0.."                                                                               
SAP database version..... "640"                                                               
    Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"                                                                               
Memory usage.............                                                                     
    Roll..................... 16192                                                               
    EM....................... 196923232                                                           
    Heap..................... 0                                                                   
    Page..................... 98304                                                               
    MM Used.................. 186636840                                                           
    MM Free.................. 1895288                                                             
    SAP Release.............. "640"                                                                               
User and Transaction                                                                               
Client.............. 950                                                                      
    User................ "SCMATP"                                                                 
    Language key........ "E"                                                                      
    Transaction......... "/SAPAPO/CCR "                                                           
    Program............. "/SAPAPO/SAPLTIMESTAMP"                                                  
    Screen.............. "SAPMSSY0 1000"                                                          
    Screen line......... 6                                                                        
Information on where terminated                                                                   
    The termination occurred in the ABAP program "/SAPAPO/SAPLTIMESTAMP" in                       
     "/SAPAPO/TIMESTAMP_DIFFERENCE".                                                              
    The main program was "/SAPAPO/CIF_DELTAREPORT3 ".                                                                               
The termination occurred in line 61 of the source code of the (Include)                       
     program "/SAPAPO/LTIMESTAMPU08"                                                              
    of the source code of program "/SAPAPO/LTIMESTAMPU08" (when calling the editor                
     610).                                                                               
Source Code Extract                                                                               
Line  SourceCde                                                                               
31     lv_time_int_low      TYPE i,                                                            
   32     lv_timediff_int      TYPE i,                                                            
   33     lv_datediff_int      TYPE i,                                                            
   34     lv_time              TYPE t,                                                            
   35     ls_time              TYPE tstr_timestr.                                                 
   36                                                                               
37 * check timestamp parameter                                                                 
   38 * ASSERT NOT iv_timestamp_high IS INITIAL.                                                  
   39 * ASSERT NOT iv_timestamp_low  IS INITIAL.                                                  
   40 * ASSERT iv_timestamp_low <= iv_timestamp_high.                                             
   41   IF iv_timestamp_high IS INITIAL                                                           
   42   OR iv_timestamp_low  IS INITIAL.                                                          
   43     RAISE invalid_parameter.                                                                
   44   ENDIF.                                                                               
45   IF iv_timestamp_high < iv_timestamp_low.                                                  
   46     RAISE invalid_parameter.                                                                
   47   ENDIF.                                                                               
48                                                                               
49 * prepare timestamps                                                                        
   50 * .. split into date and time integers                                                      
   51   ls_timestamp_high = iv_timestamp_high.                                                    
   52   lv_date_int_high  = ls_timestamp_high-date.                                               
   53   lv_time_int_high  = ls_timestamp_high-time.                                               
   54   ls_timestamp_low  = iv_timestamp_low.                                                     
   55   lv_date_int_low   = ls_timestamp_low-date.                                                
   56   lv_time_int_low   = ls_timestamp_low-time.                                                
   57                                                                               
58 * .. calc date diff                                                                         
   59 * .. check against max. allowed integer difference                                          
   60   lv_datediff_int = lv_date_int_high - lv_date_int_low.                                     
>>>>>   ASSERT lv_datediff_int <= lc_datediff_intmax.                                             
   62                                                                               
63 * calc time diff                                                                               
64   lv_timediff_int = lv_time_int_high - lv_time_int_low.                                     
   65   IF lv_timediff_int < 0.                                                                   
   66     ADD 86400 TO lv_timediff_int.                                                           
   67     SUBTRACT 1 FROM lv_datediff_int.                                                        
   68   ENDIF.                                                                               
69                                                                               
70 * calc total duration                                                                       
   71   lv_duration_int = lv_datediff_int * 86400 + lv_timediff_int.                              
   72   lv_time = lv_timediff_int.                                                                
   73   ls_time = lv_time.                                                                        
   74   ls_duration-hours   = lv_duration_int DIV 3600.                                           
   75   ls_duration-minutes = ls_time-minute.                                                     
   76   ls_duration-seconds = ls_time-second.                                                     
   77                                                                               
78   ev_duration_packed  = ls_duration.                                                        
   79   ev_duration_integer = lv_duration_int.                                                    
   80 ENDFUNCTION.                                                                               
Contents of system fields                                                                         
Name     Val.                                                                               
SY-SUBRC 0                                                                               
SY-INDEX 0                                                                               
SY-TABIX 1                                                                               
SY-DBCNT 1                                                                               
SY-FDPOS 6                                                                               
SY-LSIND 0                                                                               
SY-PAGNO 0                                                                               
SY-LINNO 1                                                                               
SY-COLNO 1                                                                               
SY-PFKEY                                                                               
SY-UCOMM                                                                               
SY-TITLE CIF - Comparison/Reconciliation of Transaction Data                                      
SY-MSGTY                                                                               
SY-MSGID                                                                               
SY-MSGNO 000                                                                               
SY-MSGV1                                                                               
SY-MSGV2                                                                               
SY-MSGV3                                                                               
SY-MSGV4                                                                               
Active Calls/Events                                                                               
No.   Ty.          Program                             Include                             Line   
      Name                                                                               
5 FUNCTION     /SAPAPO/SAPLTIMESTAMP               /SAPAPO/LTIMESTAMPU08                  61  
      /SAPAPO/TIMESTAMP_DIFFERENCE                                                                
    4 FORM         /SAPAPO/SAPLCIF_DELTA3              /SAPAPO/LCIF_DELTA3F17                349  
      COMPARE_ORDER_HEADER                                                                        
    3 FUNCTION     /SAPAPO/SAPLCIF_DELTA3              /SAPAPO/LCIF_DELTA3U03                125  
      /SAPAPO/CIF_DELTA3_COMP_ORDER                                                               
    2 FUNCTION     /SAPAPO/SAPLCIF_DELTA3              /SAPAPO/LCIF_DELTA3U01                871  
      /SAPAPO/CIF_DELTA3_COMP                                                                     
    1 EVENT        /SAPAPO/CIF_DELTAREPORT3            /SAPAPO/CIF_DELTAREPORT3              189  
      START-OF-SELECTION                                                                          
Chosen variables                                                                               
Name                                                                               
Val.                                                                               
No.       5 Ty.          FUNCTION                                                                 
Name  /SAPAPO/TIMESTAMP_DIFFERENCE                                                                
IV_TIMESTAMP_HIGH                                                                               
#q1###                                                                               
02073899                                                                               
2001125C                                                                               
IV_TIMESTAMP_LOW                                                                               
##q!####                                                                               
00720899                                                                               
2011125C                                                                               
EV_DURATION_INTEGER                                                                               
0                                                                               
0000                                                                               
0000                                                                               
EV_DURATION_PACKED                                                                               
000000                                                                               
00000C                                                                               
SYST-REPID                                                                               
/SAPAPO/SAPLTIMESTAMP                                                                         
    0000000000000000000000000000000000000000                                                      
    0000000000000000000000000000000000000000                                                      
    2545454254545444554452222222222222222222                                                      
    F31010FF310C49D5341D00000000000000000000                                                      
%_SPACE                                                                               
0                                                                               
0                                                                               
2                                                                               
0                                                                               
LS_TIMESTAMP_HIGH                                                                               
22000713182959                                                                               
00000000000000                                                                               
00000000000000                                                                               
33333333333333                                                                               
22000713182959                                                                               
LV_DATE_INT_HIGH                                                                               
803363                                                                               
0042                                                                               
0C23                                                                               
LS_TIMESTAMP_HIGH-DATE                                                                               
22000713                                                                               
00000000                                                                               
00000000                                                                               
33333333                                                                               
22000713                                                                               
LV_TIME_INT_HIGH                                                                               
66599                                                                               
0002                                                                               
0147                                                                               
LS_TIMESTAMP_HIGH-TIME                                                                               
182959                                                                               
000000                                                                               
000000                                                                               
333333                                                                               
182959                                                                               
LS_TIMESTAMP_LOW                                                                               
20071210182959                                                                               
00000000000000                                                                               
00000000000000                                                                               
33333333333333                                                                               
20071210182959                                                                               
LV_DATE_INT_LOW                                                                               
733021                                                                               
0025                                                                               
0BFD                                                                               
LS_TIMESTAMP_LOW-DATE                                                                               
20071210                                                                               
00000000                                                                               
00000000                                                                               
33333333                                                                               
20071210                                                                               
LV_TIME_INT_LOW                                                                               
66599                                                                               
0002                                                                               
0147                                                                               
LS_TIMESTAMP_LOW-TIME                                                                               
182959                                                                               
000000                                                                               
000000                                                                               
333333                                                                               
182959                                                                               
SY-UNAME                                                                               
SCMATP                                                                               
000000000000                                                                               
000000000000                                                                               
544455222222                                                                               
33D140000000                                                                               
SCREEN-INPUT                                                                               
1                                                                               
0                                                                               
0                                                                               
3                                                                               
1                                                                               
LV_DATEDIFF_INT                                                                               
70342                                                                               
001C                                                                               
0126                                                                               
LV_TIMEDIFF_INT                                                                               
0                                                                               
0000                                                                               
0000                                                                               
SYST                                                                               
#######################################&#332;###############################################&#19800; C#&#1280;##
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
    000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
    0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
    0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
SY-REPID                                                                               
/SAPAPO/SAPLTIMESTAMP                                                                         
    0000000000000000000000000000000000000000                                                      
    0000000000000000000000000000000000000000                                                      
    2545454254545444554452222222222222222222                                                      
    F31010FF310C49D5341D00000000000000000000                                                      
%_DUMMY$$                                                                               
0000                                                                               
0000                                                                               
2222                                                                               
0000                                                                               
No.       4 Ty.          FORM                                                                     
Name  COMPARE_ORDER_HEADER                                                                        
SYST-REPID                                                                               
/SAPAPO/SAPLCIF_DELTA3                                                                        
    0000000000000000000000000000000000000000                                                      
    0000000000000000000000000000000000000000                                                      
    2545454254544445444543222222222222222222                                                      
    F31010FF310C396F45C413000000000000000000                                                      
GC_APPEND_MODE                                                                               
3                                                                               
0                                                                               
0                                                                               
3                                                                               
3                                                                               
LS_FIELDS_TO_COMPARE-DUEDATE                                                                      
    X                                                                               
0                                                                               
0                                                                               
5                                                                               
8                                                                               
SYST                                                                               
#######################################&#332;###############################################&#19800; C#&#1280;##
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
    000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
    0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
    0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
LS_APO_ORDER-ORDTYPE                                                                               
5                                                                               
0                                                                               
0                                                                               
3                                                                               
5                                                                               
GC_PLANNED_ORDER                                                                               
5                                                                               
0                                                                               
0                                                                               
3                                                                               
5                                                                               
LS_R3_ORDER-STATUSCNF                                                                               
0                                                                               
0                                                                               
2                                                                               
0                                                                               
GC_ORDER_STATUS_NO_CONF                                                                               
1                                                                               
0                                                                               
0                                                                               
3                                                                               
1                                                                               
LS_APO_ORDER-STATUSCNF                                                                               
0                                                                               
0                                                                               
2                                                                               
0                                                                               
GC_PRED_OUT_DEL                                                                               
A                                                                               
0                                                                               
0                                                                               
4                                                                               
1                                                                               
GC_TND_DELETE                                                                               
CN                                                                               
00                                                                               
00                                                                               
44                                                                               
3E                                                

The Best Answer

Advertisement
Dear Sajit,
Go through the following OSS Notes:
<a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=901957&_NLANG=E">901957</a>, <a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1036880&_NLANG=E">1036880</a>, <a href="https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1067414&_NLANG=E">1067414</a>
Regards,
Naveen.