Runtime error in abap report

error analysis as in ST22 TRANSACTION:
AN EXCEPTION OCCURED THE EXCEPTION ASSIGNED TO CLASS CX_SY_CONVERSION_NO_NUMBER WAS NOT CAUGHT WHICH LED TO AN ERROR. THE REASON FOR THIS EXCEPTION IS :
THE PROGRAM TRIED TO INTERPRET VALUE ':4' AS NUMBER SINCE THE VALUE CONTRAVENES THE CORRECT NUMBER FORMAT THIS WAS NOT POSSIBLE.
ATTACHED IS MY PROGRAM
REPORT ZVXR0303
      LINE-COUNT 60(3)
      LINE-SIZE 132
       MESSAGE-ID VN.
Tables: VBEP, VBAP, NAST.
DATA: BEGIN OF HEADER,
      ORDER(15) VALUE  'ORDER',
       LINE(5)  VALUE  'LINE',
  MATERIAL(14)  VALUE  'MATERIAL',
       DUE(15)  VALUE  'DUE (MAD)',
   CREATED(10)  VALUE  'CREATED',
       QTY(10)  VALUE  'QUANTITY',
        KEY(5)  VALUE  'KEY',
       TYPE(5)  VALUE  'TYPE',
       END OF HEADER.
DATA: Begin of IDAT OCCURS 0,
  VBELN         LIKE VBAP-VBELN,
  POSNR         LIKE VBAP-POSNR,
  werks         LIKE VBAP-WERKS,
  cuobj         LIKE vbap-CUOBJ,
  MBDAT         LIKE vbep-mbdat,
  ERDAT         LIKE VBAP-ERDAT,
  MATNR         LIKE VBAP-MATNR,
  KWMENG        LIKE VBAP-KWMENG,
  QTY           TYPE I,
  END of IDAT.
class cl_abap_char_utilities definition load.
constants: tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
DATA: t_record(1000) TYPE C.
DATA: C_KWMENG(20)   TYPE C.
data: OUTFILE(50) value '/usr/users/ftpsapfi/locks_540318'.
DATA: BEGIN OF TKOMCON OCCURS 50.
        INCLUDE STRUCTURE CONF_OUT.
DATA: END   OF TKOMCON.
DATA: iKEY         TYPE I,
      offset       TYPE I,
      KeyTypeLOC   TYPE I,
      KeyNumberLOC TYPE I,
      type(15)     TYPE C.
    select-options: sVBELN FOR VBEP-VBELN obligatory,
                    sMAD FOR VBEP-MBDAT obligatory,
                    sERDAT FOR VBAP-ERDAT,
                    sMATNR FOR VBAP-MATNR,
                    sWERKS FOR VBAP-WERKS,
                    sKWMENG FOR VBAP-KWMENG.
SELECT
  vbap~vbeln
  vbap~POSNR
  vbap~werks
  vbap~cuobj
  VBEP~MBDAT
  VBAP~ERDAT
  VBAP~MATNR
  VBAP~KWMENG
INTO CORRESPONDING FIELDS of IDAT
FROM ( VBEP INNER JOIN VBAP ON vbepvbeln = vbapvbeln
AND vbepposnr = vbapposnr )
WHERE BMENG > 0
AND vbep~MBDAT IN sMAD
AND VBEP~VBELN in sVBELN
AND VBAP~werks IN sWERKS
AND VBAP~ERDAT IN sERDAT
AND VBAP~MATNR IN sMATNR
AND VBAP~KWMENG IN sKWMENG
AND VBAP~ABGRU = SPACE.
  APPEND IDAT.
ENDSELECT.
PERFORM TOP-OF-PAGE.
if sy-batch = 'x'.
OPEN DATASET OUTFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
TRANSFER t_record  TO OUTFILE.
endif.
IF SY-SUBRC = 0.
  LOOP at IDAT.
   write IDAT-KWMENG DECIMALS 0 TO C_KWMENG.
    REFRESH TKOMCON.
    CALL FUNCTION 'VC_I_GET_CONFIGURATION'
         EXPORTING
              INSTANCE      = idat-cuobj
              LANGUAGE      = NAST-SPRAS
         TABLES
              CONFIGURATION = TKOMCON
         EXCEPTIONS
              OTHERS        = 4.
    LOOP AT TKOMCON
      WHERE ATNAM = 'S_SK_SPEC_KEY' OR ATNAM = 'S_MK_SPEC_KEY'
      OR ATNAM = 'S_SK_CONSC_KEY' OR ATNAM = 'S_MK_CONSC_KEY'.
      IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
      OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
        KeyTYPELOC = 0.
        keynumberloc = 2.
        TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.
        IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.
          iKey = TKOMCON-ATWRT+KeyNumberLOC(4).
          IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )
          OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).
            PERFORM OUT-OF-RANGE-FOUND.
          ENDIF.
        ENDIF.
      Else.
        Offset = 0.
        DO.
          IF offset <= 9.
            offset = offset + 1.
            If TKOMCON-ATWRT+Offset(1) = ':'.
              KeyTypeLOC = Offset + 1.
              KeyNumberLOC = Offset + 3.
              EXIT.
            ENDIF.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.
        IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.
          iKey = TKOMCON-ATWRT+KeyNumberLOC(4).
          IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )
          OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).
            IDAT-KWMENG = TKOMCON-ATWRT(3).
            PERFORM OUT-OF-RANGE-FOUND.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDLOOP.
  ENDLOOP.
ENDIF.
CLOSE DATASET OUTFILE.
      FORM OUT-OF-RANGE-FOUND                                       *
FORM OUT-OF-RANGE-FOUND.
  WRITE: / IDAT-VBELN.
  WRITE: 10 IDAT-POSNR.
  WRITE: 20 IDAT-MATNR.
  WRITE: 35 IDAT-MBDAT.
  WRITE: 50 IDAT-ERDAT.
  WRITE: 65(3) IDAT-KWMENG DECIMALS 0.
  WRITE: 75 TKOMCON-ATWRT+KeyTypeLOC(6).
  IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
     OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
    WRITE: 85 'Consecutive'.
  ELSE.
    WRITE: 85 'Specific'.
  ENDIF.
  IF TKOMCON-ATNAM = 'S_SK_CONSC_KEY'
     OR TKOMCON-ATNAM = 'S_MK_CONSC_KEY'.
    TYPE = 'Consecutive'.
  ELSE.
    TYPE = 'Specific'.
  ENDIF.
* PREPARING A RECORD TO BE SENT TO FILE
  CONCATENATE
  IDAT-VBELN
  IDAT-POSNR
  IDAT-MATNR
  IDAT-MBDAT
  IDAT-ERDAT
  C_KWMENG
  TKOMCON-ATWRT+KeyTypeLOC(6)
  TYPE
  INTO t_record SEPARATED BY tab.
  if sy-batch = 'x'.
  TRANSFER t_record  TO OUTFILE.
  endif.
ENDFORM.
      FORM TOP-OF-PAGE                                              *
FORM TOP-OF-PAGE.
  WRITE: / 'ORDER'.
  WRITE: 10 'LINE'.
  WRITE: 20 'MATERIAL'.
  WRITE: 35 'DUE (MAD)'.
  WRITE: 50 'CREATED'.
  WRITE: 65 'QTY'.
  WRITE: 75 'KEY'.
  WRITE: 85 'TYPE'.
PREPARING A RECORD TO BE SENT TO FILE
  CONCATENATE
  header-ORDER
  header-LINE
  header-MATERIAL
  header-DUE
  header-CREATED
  header-QTY
  header-KEY
  header-TYPE
  INTO t_record SEPARATED BY tab.
ENDFORM.
THIS IS WORKING FINE WITH DIFFERENT RANGES BUT WHEN I USE RANGE
Sales Order 1250000 TO 2250000
MAD 01/18/2005 TO 03/02/2005
Material LOCK9250FR TO LOCK9250XF
PLANT 4500
IT GIVES THE RUNTIME ERROR I MENTIONED ABOVE
ANY HELP WOULD BE GREATLY APPRECIATED
THANKS.

HI ROB YOUR REPLY LOOKS TO BE VERY CLOSE OTHER GUYS SAID IT MIGHT BE PROBLEM WITH VARIABLE C_KWMENG BUT I REMOVED THAT PIECE OF CODE WITH C_KWMENG BUT STILL I WAS GETTING THE ERROR ATTACHED IS THE COMPLETE ERROR DETAILS FROM ST22
Runtime Errors         CONVT_NO_NUMBER              
Exception              CX_SY_CONVERSION_NO_NUMBER
       Occurred on     09/29/2005 at 14:33:21
Unable to interpret "04:" as a number.                                        
What happened?
Error in ABAP application program.                                                                               
The current ABAP program "ZVXR0303" had to be terminated because one of the              
statements could not be executed.                                                                               
This is probably due to an error in the ABAP program.                                    
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.                                                                               
Error analysis
An exception occurred. This exception will be dealt with in more detail                  
below. The exception, assigned to the class 'CX_SY_CONVERSION_NO_NUMBER', was            
not caught, which                                                                       
led to a runtime error. The reason for this exception is:                               
The program attempted to interpret the value "04:" as a number, but                      
since the value contravenes the rules for correct number formats,                        
this was not possible.                                                                               
How to correct the error
Integers are represented in ABAP using a sequence of digits and, in some                 
cases, a preceding sign.                                                                
The system offers the following options for displaying floating point                    
numbers:                                                                               
[mantissa]E[sign][exponent]                                                      
  [whole number part].[fractional part]                                            
e.g. -12E+34, +12E-34, 12E34, 12.34                                                                               
If the error occurred in one of your own programs or in an SAP program                   
that you modified, try to correct it yourself.                                                                               
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:                                                                               
"CONVT_NO_NUMBER" CX_SY_CONVERSION_NO_NUMBERC                                            
"ZVXR0303" or "ZVXR0303"                                                                 
"START-OF-SELECTION"                                                                     
If you cannot solve the problem yourself, please send the                                
following documents to SAP:                                                                               
1. A hard copy print describing the problem.                                             
   To obtain this, select the "Print" function on the current screen.                    
                                                                                2. A suitable hardcopy prinout of the system log.                                        
   To obtain this, call the system log with Transaction SM21                             
   and select the "Print" function to print out the relevant                             
   part.                                                                               
3. If the programs are your own programs or modified SAP programs,                       
   supply the source code.                                                               
   To do this, you can either use the "PRINT" command in the editor or                   
   print the programs using the report RSINCL00.                                                                               
4. Details regarding the conditions under which the error occurred                       
   or which actions and input led to the error.                                          
System environment
SAP Release.............. "620"                                                                               
Application server....... "grrsap54"                                                     
Network address.......... "10.80.96.102"                                                 
Operating system......... "HP-UX"                                                        
Release.................. "B.11.11"                                                      
Hardware type............ "9000/800"                                                     
Character length......... 8 Bits                                                         
Pointer length........... 64 Bits                                                        
Work process number...... 3                                                              
Short dump setting....... "full"                                                                               
Database server.......... "grrsap54"                                                     
Database type............ "ORACLE"                                                       
Database name............ "D01"                                                          
Database owner........... "SAPR3"                                                                               
Character set............ "en_US.iso88591"                                                                               
SAP kernel............... "640"                                                          
Created on............... "Aug 28 2005 20:25:49"                                         
Created in............... "HP-UX B.11.00 A 9000/800"                                     
Database version......... "OCI_920 "                                                                               
Patch level.............. "88"                                                           
Patch text............... " "                                                                               
Supported environment....                                                                
Database................. "ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE                    
10.1.0.."                                                                             
SAP database version..... "640"                                                          
Operating system......... "HP-UX B.11"                                                   
User, transaction...
Client.............. 050                                                                 
User................ "NSHAKER"                                                           
Language key........ "E"                                                                 
Transaction......... "SE38 "                                                             
Program............. "ZVXR0303"                                                          
Screen.............. "SAPMSSY0 1000"                                                     
Screen line......... 6                                                                   
Information on where terminated
The termination occurred in the ABAP program "ZVXR0303" in                               
"START-OF-SELECTION".                                                                   
The main program was "ZVXR0303 ".                                                                               
The termination occurred in line 156 of the source code of the (Include)                 
program "ZVXR0303"                                                                      
of the source code of program "ZVXR0303" (when calling the editor 1560).                 
Source code extract
Caution: Program has changed            
Caution: At time of termination,  Active source code no longer available
001260 ?         TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.            
001270 ?         IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.             
001280 ?           iKey = TKOMCON-ATWRT+KeyNumberLOC(4).                        
001290 ?                                                                        
001300 ?           IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )    
001310 ?           OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).  
001320 ?             PERFORM OUT-OF-RANGE-FOUND.                                
001330 ?           ENDIF.                                                       
001340 ?         ENDIF.                                                         
001350 ?       Else.                                                            
001360 ?         Offset = 0.                                                    
001370 ?         DO.                                                            
001380 ?           IF offset <= 9.                                              
001390 ?             offset = offset + 1.                                       
001400 ?             If TKOMCON-ATWRT+Offset(1) = ':'.                          
001410 ?               KeyTypeLOC = Offset + 1.                                 
001420 ?               KeyNumberLOC = Offset + 3.                               
001430 ?               EXIT.                                                    
001440 ?             ENDIF.                                                     
001450 ?           ELSE.                                                        
001460 ?             EXIT.                                                      
001470 ?           ENDIF.                                                       
001480 ?         ENDDO.                                                         
001490 ?                                                                        
001500 ?         TRANSLATE TKOMCON-ATWRT+KeyNumberLOC(4) USING ': '.            
001510 ?                                                                        
001520 ?         IF TKOMCON-ATWRT+KeyNumberLOC(4) CO '0123456789 '.             
001530 ?           iKey = TKOMCON-ATWRT+KeyNumberLOC(4).                        
001540 ?           IF ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'FR' AND iKey >= 454 )    
001550 ?           OR ( TKOMCON-ATWRT+KeyTypeLOC(2) = 'XF' AND iKey >= 1150 ).  
?             IDAT-KWMENG = TKOMCON-ATWRT(3).                            
001570 ?             PERFORM OUT-OF-RANGE-FOUND.                                
001580 ?           ENDIF.                                                       
001590 ?         ENDIF.                                                         
001600 ?       ENDIF.                                                           
001610 ?     ENDLOOP.                                                           
001620 ?   ENDLOOP.                                                             
001630 ? ENDIF.                                                                 
001640 ? CLOSE DATASET OUTFILE.                                                 
001650 ?                                                                        
001660 ? *----
001670 ? *       FORM OUT-OF-RANGE-FOUND                                       *
001680 ? *----
001690 ? *       ........                                                      *
001700 ? *----
001710 ? FORM OUT-OF-RANGE-FOUND.                                               
001720 ?                                                                        
001730 ?   WRITE: / IDAT-VBELN.                                                 
001740 ?   WRITE: 10 IDAT-POSNR.                                                
001750 ?   WRITE: 20 IDAT-MATNR.                                                
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0                             SY-INDEX 44                           
SY-TABIX 7                             SY-DBCNT 1                            
SY-FDPOS 4                             SY-LSIND 0                            
SY-PAGNO 2                             SY-LINNO 18                           
SY-COLNO 94                            SY-PFKEY                              
SY-UCOMM                               SY-TITLE Out of Range Keys            
SY-MSGTY I                             SY-MSGID SF                           
SY-MSGNO 616                           SY-MSGV1                              
SY-MSGV2                               SY-MSGV3                              
SY-MSGV4                              
Active calls / events
No.... Type........ Name..........................
       Program                                
       Include                                  Line    
       Class                                  
     1 EVENT        START-OF-SELECTION                                          
       ZVXR0303                               
       ZVXR0303                                   156
Chosen variables
     1 EVENT        START-OF-SELECTION                                          
       ZVXR0303                               
       ZVXR0303                                   156
%_SPACE                                                                               
2                                      
                               0                                      
SY-REPID                       ZVXR0303                               
                               5555333322222222222222222222222222222222
                               A682030300000000000000000000000000000000
TKOMCON-ATWRT                  04:XF1260                              
                               333543333222222222222222222222         
                               04A861260000000000000000000000         
KEYNUMBERLOC                   5                                      
                               0000                                   
                               0005                                   
SYST-REPID                     ZVXR0303                               
                               5555333322222222222222222222222222222222
                               A682030300000000000000000000000000000000
SY-LDBPG                       SAPDB__S                               
                               5454455522222222222222222222222222222222
                               31042FF300000000000000000000000000000000
IKEY                           1260                                   
                               000E                                   
                               004C                                   
KEYTYPELOC                     3                                      
                               0000                                   
                               0003                                   
SY                             ###,####################################
                               0002000000000001000000000000000000000000
                               000C00020007000E00000001000A000000000000
... +  40                      ###########^###<########################
                               0000000000050003000100080000000000000009
                               00010004000E000C000200040000000000000000
... +  80                      ########################################
                               0000000000000000000000000000000000000000
                               0000000000000000000A00000000000000000000
... + 120                      #######################################_
                               0000000000000000000000000000000000010005
                               00000000000000000000000000000000000A000F
... + 160                      ############ÿÿ¹°XC#############   E2  X1
                               000000000000FFBB540000000000000222432253
                               0000000A0000FF90830040000C0000C000520081
... + 200                      000         ####__S                 050
                               3332222222220000555222222222222222223332
                               0000000000000000FF3000000000000000000500
... + 240                           00                                
                               222223322222222                        
                               000000000000000                        
SVBELN                         IBT00012500000002250000                
                               44533333333333333333333                
                               92400012500000002250000                
IDAT-KWMENG                    ########                               
                               00000000                               
                               0000000C                               
TKOMCON-ATWRT+0(3)             04:                                    
                               333                                    
                               04A                                    
SYST                           ###,####################################
                               0002000000000001000000000000000000000000
                               000C00020007000E00000001000A000000000000
... +  40                      ###########^###<########################
                               0000000000050003000100080000000000000009
                               00010004000E000C000200040000000000000000
... +  80                      ########################################
                               0000000000000000000000000000000000000000
                               0000000000000000000A00000000000000000000
... + 120                      #######################################_
                               0000000000000000000000000000000000010005
                               00000000000000000000000000000000000A000F
... + 160                      ############ÿÿ¹°XC#############   E2  X1
                               000000000000FFBB540000000000000222432253
                               0000000A0000FF90830040000C0000C000520081
... + 200                      000         ####__S                 050
                               3332222222220000555222222222222222223332
                               0000000000000000FF3000000000000000000500
... + 240                           00                                
                               222223322222222                        
                               000000000000000                        
OUTFILE                        /usr/users/ftpsapfi/locks_540318       
                               2777277677267776766266667533333322222222
                               F532F53523F64031069FCF3B3F54031800000000
... +  40                                                                               
2222222222                             
                               0000000000                             
Application Calls
No dump information available                    
Application Information
No dump information available                    
Internal notes
The termination occurred in the function "ab_Move" of the SAP                            
Basis System, specifically in line 529 of the module                                     
"//bas/640_REL/src/krn/runt/abmove1.c#6".                                               
The internal operation just processed is "MOVE".                                         
The internal session was started at 20050929142552.                                      
Active calls in SAP kernel
( 0)  0x4000000001751924   CTrcStack2 + 0x2bc  dw.sapD01_DVEBMGS00                    
( 1)  0x4000000001751658   CTrcStack + 0x18  dw.sapD01_DVEBMGS00                      
( 2)  0x4000000001db7478   rabax_CStackSave__Fv + 0x100  dw.sapD01_DVEBMGS00          
( 3)  0x4000000001dc3abc   ab_rabax + 0x1e1c  dw.sapD01_DVEBMGS00                     
( 4)  0x4000000001b44cb4   ab_cnverr__FiPcPCvN21T2 + 0x18c  dw.sapD01_DVEBMGS00       
( 5)  0x40000000016c96f8   ab_Move + 0x1910  dw.sapD01_DVEBMGS00                      
( 6)  0x40000000016d4434   ab_jmove__Fv + 0x384  dw.sapD01_DVEBMGS00                  
( 7)  0x4000000001022348   ab_extri__Fv + 0x17a0  dw.sapD01_DVEBMGS00                 
( 8)  0x4000000001726dc8   ab_xevent__FPCc + 0x38  dw.sapD01_DVEBMGS00                
( 9)  0x40000000019f7efc   ab_trigg__Fv + 0x94  dw.sapD01_DVEBMGS00                   
(10)  0x40000000019dc9ec   ab_run + 0xc4  dw.sapD01_DVEBMGS00                         
(11)  0x4000000000f65e0c   N_ab_run + 0x14  dw.sapD01_DVEBMGS00                       
(12)  0x4000000000f5fa88   dynpmcal + 0x198  dw.sapD01_DVEBMGS00                      
(13)  0x4000000000f5d500   dynppai0 + 0x830  dw.sapD01_DVEBMGS00                      
(14)  0x4000000000f5b8b4   dynprctl + 0x43c  dw.sapD01_DVEBMGS00                      
(15)  0x4000000000f56728   dynpen00 + 0x2118  dw.sapD01_DVEBMGS00                     
(16)  0x400000000102f1b4   Thdynpen00 + 0x69c  dw.sapD01_DVEBMGS00                    
(17)  0x400000000102e1e4   TskhLoop + 0x523c  dw.sapD01_DVEBMGS00                     
(18)  0x4000000001022f50   tskhstart + 0x1e0  dw.sapD01_DVEBMGS00                     
(19)  0x4000000000dce3c4   DpMain + 0x484  dw.sapD01_DVEBMGS00                        
(20)  0x40000000022784cc   nlsui_main + 0x14  dw.sapD01_DVEBMGS00                     
(21)  0x4000000000a39534   main + 0x14  dw.sapD01_DVEBMGS00                           
(22)  0xc00000000000a588   $START$ + 0xa0  /usr/lib/pa20_64/dld.sl                    
List of ABAP programs affected
Type  Program                            Gen. Date  Time       Load Size 
Prg   ZVXR0303                           09/29/2005 14:25:42       39936 
Prg   SAPMSSY0                           05/01/2005 00:21:19       66560 
Prg   SAPMSSYD                           06/05/2002 17:09:33       16384 
Prg   SAPFSYSCALLS                       02/14/2002 14:22:47        6144 
Prg   RSDBRUNT                           06/13/2004 00:43:20      226304 
Typ   RSSCR                                /  /       : m:15        5120 
Prg   RSDBSPBL                           01/07/2003 18:47:02       59392 
Prg   SAPDB__S                           02/14/2002 14:22:47       15360 
Typ   VARID                              05/12/1997 16:51:30        4096 
Prg   %_CSYDB0                           02/14/2002 14:22:46       28672 
Prg   RSDBSPVA                           09/06/2005 22:54:22      112640 
Prg   SAPLSVAR                           09/06/2005 22:57:28      625664 
Typ   VARIS                              05/12/1997 15:27:21        2048 
Typ   RSVAMEMKEY                         05/07/1997 13:07:49        2048 
Prg   RSDBSPMC                           06/05/2002 17:09:26       66560 
Typ   DDSHDESCR                          09/03/1997 03:05:16        3072 
Typ   SPPARAMS                           05/07/1997 13:10:38        2048 
Typ   SPPARAMS                           05/07/1997 13:10:38        2048 
Typ   RSSELINT                           04/04/1995 16:12:37        2048 
Prg   SAPLICON                           03/12/2004 06:57:52       23552 
Prg   %_CICON                            02/14/2002 14:22:46       65536 
Prg   SAPLSABE                           02/14/2002 14:22:47       11264 
Prg   SAPLSECU                           05/23/2005 14:04:05       64512 
Typ   RSSUBINFO                          10/14/1999 22:01:03        3072 
Prg   %_CRSDS                            02/14/2002 14:22:46        8192 
Typ   RSDSEXPR                           08/20/1998 10:57:18        2048 
Prg   SAPLDSYA                           02/14/2002 14:22:47       39936 
Prg   SAPFSDS1                           01/07/2003 18:32:17       47104 
Typ   TDCLD                              11/02/1998 09:51:35        5120 
Prg   SAPLSDOD                           04/30/2005 22:53:50       39936 
Typ   DOKIL                              05/12/1997 16:46:17        3072 
Prg   SAPCNVE                            02/14/2002 14:22:47        6144 
Prg   SAPLLANG                           02/14/2002 14:22:47        8192 
Typ   T002                               02/14/1998 10:24:58        2048 
Typ   RSEXFCODE                          08/13/1997 12:52:57        1024 
Prg   SAPFSPOR                           03/13/2004 19:20:44       12288 
Prg   SAPLOMCV                           05/01/2005 00:14:10       16384 
Prg   CL_EXITHANDLER================CP   06/13/2004 00:40:58       26624 
Prg   SAPLSEXV                           09/06/2005 22:55:26      107520 
Prg   CL_BADI_FLT_DATA_TRANS_AND_DB=CP   05/01/2005 00:21:35       33792 
Typ   SXS_ATTR                           08/20/2001 12:23:27        4096 
Typ   V_EXT_ACT                          11/09/2000 14:27:05        2048 
Typ   SXC_EXIT                           11/09/2000 14:23:43        2048 
Prg   CL_EX_BADI_MATN1==============CP   05/01/2005 00:14:04       22528 
Prg   IF_EX_BADI_MATN1==============IP   06/13/2004 00:48:55        4096 
Typ   TMCNV                              02/24/1999 03:33:25        3072 
Prg   SAPLSCNT                           02/14/2002 14:22:47       24576 
Typ   DYCBOX                             08/20/1998 11:16:53        2048 
Prg   SAPLSVSM                           01/07/2003 18:35:45       22528 
Prg   SAPLSGUI                           01/09/2003 17:15:12       31744 
Prg   SAPLSTTM                           05/01/2005 00:24:04       75776 
Prg   SAPLSBDC                           05/23/2005 14:05:19       38912 
Prg   CL_DATAPROVIDER===============CP   02/14/2002 14:22:46       40960 
Prg   %_CCNTL                            02/14/2002 14:22:46       13312 
Typ   OBJ_RECORD                         02/14/1998 08:30:43        2048 
Prg   SAPLSTUP                           05/23/2005 14:03:46       65536 
Prg   SAPLCNDP                           05/23/2005 14:05:47      167936 
Prg   SAPFGUICNTL                        01/09/2003 17:18:52       20480 
Prg   SAPLOLEA                           05/23/2005 14:03:56       79872 
Prg   SAPLSFES                           09/06/2005 22:53:55      191488 
Prg   SAPLSPLUGIN                        02/14/2002 14:22:48        6144 
Typ   ARFCRDATA                          11/09/2000 14:04:16        6144 
Prg   SAPLGRFC                           02/14/2002 14:22:47       13312 
Typ   SWCBCONT                           11/15/2000 17:55:11        3072 
Typ   OLE_VERBS                          04/04/1995 16:02:20        2048 
Typ   OLE_PA                             04/04/1995 16:02:19        2048 
Prg   SAPSHDTV                           03/12/2004 06:40:27       28672 
Typ   SSCRTEXTS                          09/03/1997 03:12:33        3072 
Typ   SSCRFIELDS                         05/13/1997 12:54:26        4096 
Prg   CL_GUI_PROPS_CONSUMER=========CP   01/07/2003 18:26:56       26624 
Prg   SAPLTHFB                           09/06/2005 22:52:48      306176 
Prg   CL_DYNAMIC_GUI_EXTENSIONS=====CP   02/14/2002 14:22:46       33792 
Prg   CL_GUI_DATAMANAGER============CP   05/01/2005 00:20:36       70656 
Prg   CL_ABAP_CHAR_UTILITIES========CP   05/01/2005 00:14:49       11264 
Prg   RSDBSPVD                           05/01/2005 00:15:44       73728 
Typ   RVARI                              03/30/1998 09:40:50        4096 
Typ   RSVARIVDAT                         04/04/1995 16:12:54        2048 
Typ   VBEP                               01/27/2003 16:50:17       10240 
Typ   VBAP                               09/15/2005 11:15:36       44032 
Prg   SAPLCEI0                           09/22/2005 14:34:40      936960 
Typ   API_VALUE                          02/20/1998 08:46:47        2048 
Prg   SAPLCUEV                           06/07/2001 18:26:56       10240 
Prg   SAPLSUNI                           06/13/2004 00:42:30      131072 
Typ   TFDIR                              07/29/1998 19:49:08        3072 
Prg   %_CIBCO2                           03/13/2004 14:32:13       12288 
Typ   IBINCOM                            06/01/1999 11:56:27        3072 
Typ   IBINCONF                           06/01/1999 11:56:27        2048 
Typ   IBSTCONF                           06/01/1999 11:56:28        1024 
Prg   SAPLCUCB                           05/23/2005 15:20:17      192512 
Typ   TCUIBSPECIAL                       06/07/2001 17:50:37        1024 
Prg   %_CIBXX                            03/13/2004 14:38:45       49152 
Typ   BAL_S_MSG                          12/04/2000 13:04:01        6144 
Prg   CX_CBASE_ERROR================CP   01/27/2003 16:58:10       10240 
Typ   SCX_SRCPOS                         11/09/2000 14:12:15        2048 
Typ   BAL_S_CONT                         11/02/1998 09:43:07        2048 
Typ   BAL_S_PARM                         12/04/2000 12:45:14        3072 
Typ   BAL_S_CLBK                         11/02/1998 09:43:07        2048 
Prg   CX_STATIC_CHECK===============CP   02/14/2002 14:22:47        8192 
Prg   CX_ROOT=======================CP   02/14/2002 14:22:47        9216 
Prg   CL_CBASE======================CP   05/23/2005 15:19:44       87040 
Typ   T371G                              04/29/1998 10:42:48        2048 
Prg   SAPLIBCO                           03/13/2004 15:32:40      269312 
Prg   %_CIBCO                            03/13/2004 14:38:45       11264 
Prg   SAPLIBXX                           03/13/2004 14:38:46       11264 
Prg   SAPLIBIBF                          03/13/2004 14:38:46      179200 
Prg   %_CIBIB                            03/13/2004 14:38:45       18432 
Prg   SAPLIBINF                          06/12/2004 22:20:22      415744 
Prg   %_CIBIN                            03/13/2004 15:32:40       48128 
Prg   CL_IBASE_STRUC================CP   06/07/2001 19:59:10      106496 
Prg   %_CIBST                            03/13/2004 14:38:45       37888 
Prg   CL_IBASE_STRUC_BUF============CP   06/07/2001 19:59:10       89088 
Prg   CL_IBASE_STRUC_STAT===========CP   06/07/2001 19:59:10        8192 
Prg   CL_IBASE_STRUC_BUF_IBSTREF====CP   06/07/2001 19:59:10       35840 
Prg   %_CIBCO1                           03/13/2004 14:38:45       14336 
Typ   IBINVAL                            09/18/2001 10:02:52        2048 
Prg   SAPLIBCU                           03/13/2004 14:38:46       12288 
Prg   SAPLIBCUT                          06/07/2001 18:27:19       12288 
Typ   T371B                              05/14/1998 22:58:43        2048 
Typ   V_IBINR                            03/13/2004 15:32:40        5120 
Typ   V_IBINR_CM                         03/13/2004 15:32:40        5120 
Prg   CL_IBASE_SERVICE==============CP   06/07/2001 19:59:10       13312 
Prg   CL_IBASE_T371D_BUF============CP   06/07/2001 19:59:10       12288 
Typ   T371D                              08/27/1999 18:19:44        2048 
Prg   CL_IBASE_R3_MATERIAL==========CP   05/23/2005 15:08:24       59392 
Typ   MARA                               05/23/2005 15:08:18       22528 
Typ   MAKT                               08/28/1997 08:52:19        2048 
Typ   ICON                               01/03/1996 15:34:02        3072 
Prg   CL_ABAP_TYPEDESCR=============CP   05/01/2005 00:20:10       21504 
Prg   CL_ABAP_ELEMDESCR=============CP   05/01/2005 00:20:33       20480 
Prg   CL_ABAP_DATADESCR=============CP   03/12/2004 07:16:33       14336 
Prg   CL_ABAP_REFDESCR==============CP   03/12/2004 07:17:23       16384 
Prg   CL_ABAP_STRUCTDESCR===========CP   05/01/2005 00:20:33       20480 
Prg   CL_ABAP_COMPLEXDESCR==========CP   03/12/2004 07:16:33       13312 
Prg   CL_ABAP_TABLEDESCR============CP   03/12/2004 07:17:23       17408 
Prg   CL_ABAP_CLASSDESCR============CP   03/12/2004 07:17:23       23552 
Prg   CL_ABAP_OBJECTDESCR===========CP   03/12/2004 07:17:23       25600 
Prg   CL_ABAP_INTFDESCR=============CP   03/12/2004 07:16:33       19456 
Prg   CL_ABAP_SOFT_REFERENCE========CP   03/29/2001 16:42:12        7168 
Prg   CL_ABAP_REFERENCE=============CP   02/14/2002 14:22:46        6144 
Prg   IF_EX_CM_BADI_VERSION=========IP   01/07/2002 16:09:04        3072 
Prg   %_CABAP                            01/07/2003 18:31:23       23552 
Typ   SXS_INTER                          11/30/1998 15:55:16        2048 
Prg   CL_EX_CM_BADI_VERSION=========CP   05/01/2005 00:14:04       13312 
Prg   %_CSXRT                            06/13/2004 00:40:55       11264 
Prg   CL_EXIT_MASTER================CP   06/13/2004 00:40:58       13312 
Typ   V_EXT_IMP                          11/09/2000 14:27:05        2048 
Typ   V_EXT_IMP                          11/09/2000 14:27:05        2048 
Typ   SXC_IMPSWH                         11/09/2000 14:23:44        2048 
Prg   CL_IM_CM_BADI_VERSION_DEF=====CP   04/17/2002 11:01:00        6144 
Prg   SAPLASTAT_TRIG                     02/14/2002 14:22:47       11264 
Typ   ASTAT_TYP2                         11/10/1998 05:35:18        2048 
Prg   IF_CM_BASELINE================IP   05/23/2005 15:08:24        9216 
Prg   IF_IBASE_IBOF_TREE_OBJECT=====IP   05/23/2005 15:08:24        5120 
Prg   IF_IBASE_INSTALL==============IP   06/07/2001 20:08:54        4096 
Prg   IF_IBASE_MATERIAL=============IP   06/07/2001 20:08:54        3072 
Prg   IF_IBASE_OBJECT===============IP   06/07/2001 20:08:54        4096 
Prg   SAPLBOMA                           02/14/2002 14:15:40       10240 
Typ   IONRA                              03/12/2004 02:09:40       23552 
Typ   IBIBCOM                            08/30/2001 17:56:57        4096 
Typ   IBIB                               03/13/2004 14:32:13        5120 
Prg   CL_IBASE_STRUC_SERVICE========CP   06/07/2001 19:59:10       17408 
Prg   CL_CU_CBASE_ENQUEUE_CORE======CP   06/07/2001 19:58:59       11264 
Prg   CL_CU_CBASE_ENQUEUE===========CP   06/07/2001 19:58:59       16384 
Typ   T371F                              06/01/1999 12:00:49        2048 
Typ   V_IBIN_SYVAL                       03/13/2004 15:32:41        4096 
Typ   IBIN                               09/18/2001 10:02:52        6144 
Typ   IBINOWN                            02/01/2000 14:56:07        2048 
Prg   CL_IBASE_T371F_BUF============CP   06/07/2001 19:59:11        8192 
Prg   CL_IBASE_STRUC_FILT_02========CP   06/07/2001 19:59:10       11264 
Prg   CL_IBASE_STRUC_FILT===========CP   06/07/2001 19:59:10       10240 
Typ   IBST                               09/18/2001 10:02:52        4096 
Typ   IBST                               09/18/2001 10:02:52        4096 
Typ   IBSTREF                            04/15/1998 00:20:43        2048 
Typ   IBSTREF                            04/15/1998 00:20:43        2048 
Prg   IF_CBASE_E====================IP   06/07/2001 20:08:25        3072 
Prg   %_CCXTAB                           02/14/2002 14:22:46        6144 
Prg   SAPLCUCQ                           09/15/2005 11:15:38       79872 
Typ   CUCO                               09/18/2001 10:02:34       18432 
Typ   CUCO_OBJ                           09/18/2001 10:02:34       18432 
Prg   SAPLCLCA                           09/06/2005 23:33:29       68608 
Typ   TCLA                               03/13/2004 14:10:20        5120 
Typ   TCLAO                              08/13/1997 13:57:22        4096 
Prg   SAPLCUOB                           05/23/2005 14:31:35       31744 
Typ   INOB                               09/03/1997 03:20:02        4096 
Prg   SAPLCLSE                           05/23/2005 14:32:26      167936 
Prg   %_CCC01                            05/01/2005 00:34:57       53248 
Typ   TABLEKEY                           07/06/1998 21:01:06        2048 
Typ   KSSK                               09/18/2001 10:02:58        3072 
Prg   SAPLCLEF                  

Similar Messages

  • Pging Over flow runtime error in Abap report

    Hi all,
    I have a report if it is exuted for higher selection criteria in the production ,
    its giving a  run time error .what could be the problem??
    Thanks,
    Regards,
    Rajesh S.

    Hi,
    The runtime error occured, because of the complex program time exceeds for execution. Ask the basis time to increase the execution time or make sure that use all primary keys in select statements.
    Check the any select statements in LOOPs.
    Otherwise make the selection screen with mandatory fields.
    Regards,
    Anil

  • Runtime error alv list report out put

    Runtime Errors         GETWA_NOT_ASSIGNED
    Date and Time          03.03.2014 13:11:56
    Short text
         Field symbol has not yet been assigned.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLKKBL" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    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.
    Error analysis
         You attempted to access an unassigned field symbol
    (data segment 93).
    This error may occur if
    - You address a typed field symbol before it has been set with
      ASSIGN
    - You address a field symbol that pointed to the line of an
      internal table that was deleted
    - You address a field symbol that was previously reset using
      UNASSIGN or that pointed to a local field that no
      longer exists
    - You address a global function interface, although the
      respective function module is not active - that is, is
      not in the list of active calls. The list of active calls
      can be taken from this short dump.
    to correct the error
    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:
    "GETWA_NOT_ASSIGNED" " "
    "SAPLKKBL" or "LKKBLF99"
    "GEN_FIELD_OUT2"
    If you cannot solve the problem yourself and want to send an error
    (data segment 93).
    This error may occur if
    - You address a typed field symbol before it has been set with
      ASSIGN
    - You address a field symbol that pointed to the line of an
      internal table that was deleted
    - You address a field symbol that was previously reset using
      UNASSIGN or that pointed to a local field that no
      longer exists
    - You address a global function interface, although the
      respective function module is not active - that is, is
      not in the list of active calls. The list of active calls
      can be taken from this short dump.
    to correct the error
    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:
    "GETWA_NOT_ASSIGNED" " "
    "SAPLKKBL" or "LKKBLF99"
    "GEN_FIELD_OUT2"
    If you cannot solve the problem yourself and want to send an error
    Operating system..... "HP-UX"
    Release.............. "B.11.23"
    Hardware type........ "ia64"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "CFLDEV01"
    Database type..... "ORACLE"
    Database name..... "CD1"
    Database user ID.. "SAPSR3"
    Terminal.......... "CFINWL0115"
    Char.set.... "C"
    SAP kernel....... 701
    created (date)... "Apr 2 2011 01:40:22"
    create on........ "HP-UX B.11.23 U ia64"
    Database version. "OCI_102 (10.2.0.4.0) "
    Patch level. 137
    Patch text.. " "
    Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
    SAP database version. 701
    Operating system..... "HP-UX B.11"
    Memory consumption
        Roll.... 16192
        EM...... 20949200
        Heap.... 0
        Page.... 122880
        MM Used. 3677872
        MM Free. 509344
    User and Transaction
        Client.............. 200
        User................ "GUEST"
        Language key........ "E"
        Transaction......... "SE38 "
        Transactions ID..... "5311AF68E99111BDE1000000C009C834"
        Program............. "SAPLKKBL"
        Screen.............. "SAPLKKBL 0500"
        Screen line......... 3
    Information on where terminated
        Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
        The main program was "ZTEST_11 ".
        In the source code you have the termination point in line 2844
        of the (Include) program "LKKBLF99".
    Source Code Extract
    Line  SourceCde
    2814       gs_sfc97 = gs_out_fieldcat.
    2815     when 98.
    2816       assign component gs_out_fieldcat-fieldname
    2817              of structure t_outtab_slave to <fs98>.
    2818       gs_sfc98 = gs_out_fieldcat.
    2819     when 99.
    2820       assign component gs_out_fieldcat-fieldname
    2821              of structure t_outtab_slave to <fs99>.
    2822       gs_sfc99 = gs_out_fieldcat.
    2823   endcase.
    2824 endform.                    "field_assign_hier_slave
    2825 *---------------------------------------------------------------------*
    2826 *       FORM GEN_FIELD_OUT2                                           *
    2827 *---------------------------------------------------------------------*
    2828 *       ........                                                      *
    2829 *---------------------------------------------------------------------*
    2830 form gen_field_out2.
    2831   field-symbols <l_initial>.
    2832
    2833   case gs_out-field_colcount.
    2834     when 001.
    2835       if gs_out_flags-slave ne 'X'.
    2836         assign <fm01> to <field>.
    2837         gs_fc = gs_mfc01.
    2838       else.
    2839         assign <fs01> to <field>.
    2840         gs_fc = gs_sfc01.
    2841       endif.
    2842     when 002.
    2843       if gs_out_flags-slave ne 'X'.
    >>>>>         assign <fm02> to <field>.
    2845         gs_fc = gs_mfc02.
    2846       else.
    2847         assign <fs02> to <field>.
    2848         gs_fc = gs_sfc02.
    2849       endif.
    2850     when 003.
    2851       if gs_out_flags-slave ne 'X'.
    2852         assign <fm03> to <field>.
    2853         gs_fc = gs_mfc03.
    2854       else.
    2855         assign <fs03> to <field>.
    2856         gs_fc = gs_sfc03.
    2857       endif.
    2858     when 004.
    2859       if gs_out_flags-slave ne 'X'.
    2860         assign <fm04> to <field>.
    2861         gs_fc = gs_mfc04.
    2862       else.
    2863         assign <fs04> to <field>.
    Contents of system fields
    Name     Val.
    Name     Val.
    SY-SUBRC 4
    SY-INDEX 2
    SY-TABIX 0
    SY-DBCNT 1
    SY-FDPOS 80
    SY-LSIND 0
    SY-PAGNO 1
    SY-LINNO 4
    SY-COLNO 13
    SY-PFKEY STANDARD
    SY-UCOMM
    SY-TITLE Sales nformation
    SY-MSGTY I
    SY-MSGID SF
    SY-MSGNO 616
    SY-MSGV1 ZTEST_11
    SY-MSGV2 RE
    SY-MSGV3 EN
    SY-MSGV4
    SY-MODNO 0
    SY-DATUM 20140303
    SY-UZEIT 131156
    SY-XPROG SAPCNVE
    SY-XFORM CONVERSION_EXIT
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       10 FORM         SAPLKKBL                            LKKBLF99                             2844
          GEN_FIELD_OUT2
        9 FORM         SAPLKKBL                            LKKBLF99                              797
          GEN_LINE_OUT
        8 FORM         SAPLKKBL                            LKKBLF98                             1359
          DATA_OUT_SIMPLE
        7 FORM         SAPLKKBL                            LKKBLF01                              457
          LIST_OUTPUT_NEW
        6 FORM         SAPLKKBL                            LKKBLF01                             6205
          FIRST_LIST_DISPLAY
        5 MODULE (PBO) SAPLKKBL                            LKKBLO01                               11
          LIST_DISPLAY
        4 FUNCTION     SAPLKKBL                            LKKBLU01                              441
          K_KKB_LIST_DISPLAY
        3 FUNCTION     SAPLSALV                            LSALVU07                              504
          REUSE_ALV_LIST_DISPLAY
        2 FORM         ZTEST_11                            ZTEST_11                              181
          DISPLAY
        1 EVENT        ZTEST_11                            ZTEST_11                              103
          START-OF-SELECTION
    Chosen variables
    Name
    Val.
          10 Ty.          FORM
    e  GEN_FIELD_OUT2
    SFC22
    0000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000
    0000222222222222222222222222222222222222222222222222222
    0000000000000000000000000000000000000000000000000000000
    OUT-FIELD_COLCOUNT
    2
    0000
    0002
    UMMY$$
    0000
    0000
    2222
    0000
    REPID
    SAPLKKBL
    0000000000000000000000000000000000000000
    0000000000000000000000000000000000000000
    5454444422222222222222222222222222222222
    310CBB2C00000000000000000000000000000000
    OUT_FLAGS-SLAVE
    0
       0
       2
       0
    PACE
       0
       0
       2
       0
    FM01>
       0000
       0000
       2222
       0000
    FIELD>
       0000
       0000
       2222
       0000
    S_FC
       ####BSARK                         1
       0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
       0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
       0000454542222222222222222222222222322222222222222222222222222222222222222222222222222222222222
       01012312B0000000000000000000000000100000000000000000000000000000000000000000000000000000000000
    S_MFC01
       ####BSARK                         1
       0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

    this is a report n im getiing runtime error Runtime Errors         GETWA_NOT_ASSIGNED   give the solution
    TABLES : VBAK , VBAP , KNA1.
    TYPE-POOLS : SLIS.
    TYPES : BEGIN OF TY_VBAP,
             matnr   type    matnr,
             vbeln   type    vbeln,      " order no
             ARKTX   type    ARKTX,      "item name
             KWMENG  type    KWMENG,     " order qua.
             audat   type    audat,      " SD document item date (incoming or outgoing date)
             posnr   type    posnr,
             END OF TY_VBAP.
    TYPES : BEGIN OF TY_KNA1,
             NAME1 TYPE NAME1,
    *        KUNNR TYPE KUNNR,
             END OF TY_KNA1.
    TYPES : BEGIN OF TY_VBAK,
             VTWEG   type   VTWEG,   " Distribution Channel
             BSARK   type   BSARK,   "Customer purchase order type
             END OF TY_VBAK.
    TYPES : BEGIN OF TY_FINAL,
             matnr   type    VBAP-matnr,
             vbeln   type    VBAP-vbeln,      " order no
             ARKTX   type    VBAP-ARKTX,      "item name
             KWMENG  type    VBAP-KWMENG,     " order qua.
             audat   type    VBAP-audat,      " SD document item date (incoming or outgoing date)
             posnr   type    VBAP-posnr,
             VTWEG   type    VBAK-VTWEG,   " Distribution Channel
             BSARK   type    VBAK-BSARK,   "Customer purchase order type
             NAME1   TYPE    KNA1-NAME1,
    *        KUNNR   TYPE    KNA1-KUNNR,
             END OF TY_FINAL.
    DATA : IT_VBAP TYPE TABLE OF TY_VBAP,
            IT_VBAK TYPE TABLE OF TY_VBAK,
            IT_KNA1 TYPE TABLE OF TY_KNA1,
            IT_FINAL1 TYPE TABLE OF TY_FINAL,
            IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : WA_VBAP LIKE LINE OF IT_VBAP,
            WA_VBAK LIKE LINE OF IT_VBAK,
            WA_KNA1 LIKE LINE OF IT_KNA1,
            WA_FINAL LIKE LINE OF IT_FINAL1,
            WA_FIELDCAT TYPE          SLIS_FIELDCAT_ALV.
    INITIALIZATION.
    SELECTION-SCREEN BEGIN OF BLOCK BL WITH FRAME TITLE TEXT-001.
         SELECT-OPTIONS :
                         SO_NO     FOR VBAP-VBELN,
                         M_NO      FOR VBAP-MATNR,
                         SO_DATE   FOR VBAP-AUDAT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BL.
         START-OF-SELECTION.
         SELECT VBELN MATNR AUDAT ARKTX KWMENG POSNR
            FROM VBAP INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1 WHERE VBELN IN SO_NO
                                                                     AND MATNR IN M_NO
                                                                     AND AUDAT IN SO_DATE.
           SELECT NAME1  FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1 .
           LOOP AT IT_FINAL1 INTO WA_FINAL.
             SELECT SINGLE name1 FROM kna1 INTO WA_FINAL-name1 WHERE KUNNR = WA_FINAL-name1.
               MODIFY IT_FINAL1 FROM WA_FINAL TRANSPORTING NAME1.
           ENDLOOP.
    SELECT VTWEG BSARK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1.
    *      SELECT VTWEG BSARK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
    *                         FOR ALL ENTRIES IN IT_FINAL1
    *                         WHERE VTWEG = IT_FINAL1-VTWEG
    *                         AND   BSARK = IT_FINAL1-BSARK.
           LOOP AT IT_FINAL1 INTO WA_FINAL.
             READ TABLE IT_VBAK INTO WA_VBAK WITH KEY VTWEG = WA_FINAL-VTWEG.
             READ TABLE IT_VBAK INTO WA_VBAK WITH KEY BSARK = WA_FINAL-BSARK.
             IF SY-SUBRC EQ 0.
               WA_FINAL-VTWEG = WA_VBAK-VTWEG.
               WA_FINAL-BSARK = WA_VBAK-BSARK.
             ENDIF.
                   MODIFY IT_FINAL1 FROM WA_FINAL TRANSPORTING VTWEG BSARK.
             ENDLOOP.
             PERFORM BUILD.
             PERFORM DISPLAY.
    *&      Form  BUILD
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form BUILD .
    *CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '1'.
    WA_FIELDCAT-FIELDNAME = 'BSARK'.
    WA_FIELDCAT-SELTEXT_L = 'Order type'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '2'.
    WA_FIELDCAT-FIELDNAME = 'AUFNR'.
    WA_FIELDCAT-SELTEXT_L = 'Order number'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '3'.
    WA_FIELDCAT-FIELDNAME = 'POSNR'.
    WA_FIELDCAT-SELTEXT_L = 'Line No.'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '4'.
    WA_FIELDCAT-FIELDNAME = 'VTWEG'.
    WA_FIELDCAT-SELTEXT_L = 'Dis Channel'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '5'.
    WA_FIELDCAT-FIELDNAME = 'audat'.
    WA_FIELDCAT-SELTEXT_L = 'Order Date'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '6'.
    WA_FIELDCAT-FIELDNAME = 'audat'.
    WA_FIELDCAT-SELTEXT_L = 'delivey date'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '7'.
    WA_FIELDCAT-FIELDNAME = 'name1'.
    WA_FIELDCAT-SELTEXT_L = 'Name'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '8'.
    WA_FIELDCAT-FIELDNAME = 'ARKTX'.
    WA_FIELDCAT-SELTEXT_L = 'Iem Name'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    CLEAR WA_FIELDCAT.
    WA_FIELDCAT-COL_POS = '9'.
    WA_FIELDCAT-FIELDNAME = 'KWMENG'.
    WA_FIELDCAT-SELTEXT_L = 'Order quantitye'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    endform.                    " BUILD
    *&      Form  DISPLAY
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form DISPLAY .
       CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
    *     I_INTERFACE_CHECK              = ' '
    *     I_BYPASSING_BUFFER             =
    *     I_BUFFER_ACTIVE                = ' '
          I_CALLBACK_PROGRAM             = sy-repid
    *     I_CALLBACK_PF_STATUS_SET       = ' '
    *     I_CALLBACK_USER_COMMAND        = ' '
    *     I_STRUCTURE_NAME               =
    *     IS_LAYOUT                      =
          IT_FIELDCAT                    = IT_FIELDCAT[]
    *     IT_EXCLUDING                   =
    *     IT_SPECIAL_GROUPS              =
    *     IT_SORT                        =
    *     IT_FILTER                      =
    *     IS_SEL_HIDE                    =
    *     I_DEFAULT                      = 'X'
    *     I_SAVE                         = ' '
    *     IS_VARIANT                     =
    *     IT_EVENTS                      =
    *     IT_EVENT_EXIT                  =
    *     IS_PRINT                       =
    *     IS_REPREP_ID                   =
    *     I_SCREEN_START_COLUMN          = 0
    *     I_SCREEN_START_LINE            = 0
    *     I_SCREEN_END_COLUMN            = 0
    *     I_SCREEN_END_LINE              = 0
    *     IR_SALV_LIST_ADAPTER           =
    *     IT_EXCEPT_QINFO                =
    *     I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER        =
    *     ES_EXIT_CAUSED_BY_USER         =
         TABLES
           t_outtab                       = IT_FINAL1.
    *   EXCEPTIONS
    *     PROGRAM_ERROR                  = 1
    *     OTHERS                         = 2
       IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    endform.                    " DISPLAY

  • How can i avoid displaying runtime error in intractive report

    hi gurus
    my question is, in interactive report when i reach 20th secondary list after that am getting runtime error when i click again. So i wanted to know how can i avoid that run time error.
    regars
    imran

    Hi Imran,
    Basically we can have one basic list and 20 interactive lists.
    Once when we reached to 20th list then it goes to shortdump.
    So, inorder to avoid that we can modify the system field
    SY-LSIND.
    Just see this example and try this. I hope this will be useful for you.
    REPORT  ZSAMPLE1111.
    data: begin of itab occurs 0,
            matnr like mara-matnr,
            mtart like mara-mtart,
            mbrsh like mara-mbrsh,
            end of itab.
    data: begin of jtab occurs 0,
          maktx like makt-maktx,
          spras like makt-spras,
          end of jtab.
    select matnr mtart mbrsh into table itab from mara up to 10 rows.
    loop at itab.
    write:/ itab-matnr, itab-mtart, itab-mbrsh.
    hide itab-matnr.
    endloop.
    at line-selection.
    select maktx spras into table jtab from makt where spras = 'EN' .
    case sy-lsind.
    when '1'.
    loop at jtab.
    write:/ jtab-maktx, jtab-spras.
    endloop.
    when '20'.             * changes see here.
    sy-lsind = 1.
    when others .
    write:/ 'name',sy-lsind.
    endcase.
    I hope this will be helpful for you.
    <REMOVED BY MODERATOR>
    Cheers,
    Swamy kunche
    Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:01 PM

  • How to catch CONVT_NO_NUMBER runtime error in ABAP Proxy

    Hi all,
           In our abap proxy program, sometimes the CONVT_NO_NUMBER will happen and cause the program dump and then stuck the whole queue. I noticed that this error cannot be caught by CX_ROOT exception class. So, how can I catch this runtime error and avoid the dump of our program?
    Thanks,
    YiNing

    Hi,
    While Executing the proxy,first give \h TC and then execute the proxy then it will automatically got to debugging mode.
    I think ur data is worng,if it is wrong then only u will get this type of errors.
    Regards,
    Phani

  • Runtime Error  loading Crystal Reports 2008

    Hi there
    I have recently purchased online in the sap site the bundled product that includes SAP Crystal Reports and SAP Crystal Dashboard Design on the sap website. For those I received only one key code
    I downloaded both products and manage to installed and load SAP Crystal Dashboard Design. I have installed SAP Crystal Reports (CR2008LPs_02142011.exe) everything goes well. When I start the program it loads for a second and then I get the following error:
    u201C Runtime Error!
    Program: c:\Program Files\Businessu2026
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application support team for more information.u201D
    My OS is Windows 7 Enterprise 32-bit
    I have tried the following:
    u2022     Uninstalling and reinstalling again
    u2022     Downloading the file again from the sap site in case the file was corrupted
    u2022     I have uninstalled CR and download the SAP Crystal Reports trial version from SAP site
    u2022     Trying to navigate to the registry to clear the registry for recent files (as I have seen in this thread Crystal Reports 2008 Runtime Error) . I get the following error message when I click on u201CHKEY_CURRENT_USER/Software/Business Objects/Suite 12.0/Crystal Reports/Recent Filesu201D. Error:
    "Error opening Hey:
    Crystal Reports cannot be opened
    An error is preventing this key from being opened
    Details: Access is denied"
    I have been unsuccessful with all the above.
    I would appreciate if someone could help.
    Thanks in advance and regards,
    Santiago

    Hi Santiago,
    That error suggests you are not a local PC administrator. CR installs require you use an account that can update registry keys etc.
    Talk to your IT guys to give you full access to your PC or log on as the local PC Administrator and install it again.
    Thank you
    Don

  • 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' Runtime Error in abap program

    When my dubugger goes on this line..it gives me Runtime error'
    'OBJECTS_OBJREF_NOT_ASSIGNED_NO'
    CX_SY_REF_IS_INITIAL
    Code :
    CALL METHOD determine_budget_values->determine_budget_values
      EXPORTING
         plvar  = '.:'
         butyp  = 'BU'
         begda  = '20060101'  "'01.01.2006'
         endda  = '20061231'  "'31.12.2006'
         kcurr  = 'X'
         budot  = 'BU'
         budid  = '50012433'  "objektid
         oldam  = 1000
         oldcu  = 'USD'
         oldno  = 10
         oldsu  = 'USD'
      IMPORTING
        NEWAM  = newam
        NEWCU  = newcu.
      NEWNO  =
      NEWSU  =
    Thanx in advance....Its very urgent..

    Thanks a lott...for u r rhelp///
    but one thing i would like to know after executing properly this method....will my HRP1520 will get those new values of budget of i will have to code it in Method ..specifically.
    i m sending code for Method...
    method IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES.
      DATA: BEGIN OF fs_budgets               ,
              objid(8) TYPE n                 ,             " Object Id
              flag     TYPE c                 ,             " Monetary/Non Monetary
              newam    TYPE CHAR22            ,             " Budgeted Amount,
              newcu    TYPE CHAR05            ,             " Currency Key,
            END OF fs_budgets                 ,
            t_budgets LIKE TABLE OF fs_budgets.
      DATA: w_sobid   TYPE hrp1001-sobid      ,             " Org. Unit
            w_file    TYPE rlgrap-filename    .             " File Name
      DATA: t_orgunit      TYPE hap_t_hrsobid    ,          " Id of Org. unit
            t_suborgunits  TYPE hap_t_hrsobid    ,          " Ids of Sub Org Units
            fs_orgunit     LIKE LINE OF t_orgunit.          " Work Area of orgunit
      REFRESH: t_orgunit,
               t_suborgunits.
      CLEAR  : fs_orgunit..
    The Budget values are stored in the file 'BUDGETS' on the App Server*
    This data will be read from the App Server                          *
      w_file = 'BUDGETS'.
      OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    Fetching the corresponding Org Unit for the Budget Id               *
      SELECT sobid                         " Org. Unit
        FROM hrp1001
        INTO w_sobid
       WHERE plvar EQ '01'
         AND otype EQ 'BU'
         AND objid EQ  budid
         AND rsign EQ 'B'
         AND relat EQ '300'
         AND istat EQ '1'
         AND begda LE  endda
         AND endda GE  begda.
      ENDSELECT.                           " SELECT sobid
      IF sy-subrc EQ 0.
        fs_orgunit-plvar = '01'.
        fs_orgunit-otype = 'O'.
        fs_orgunit-sobid = w_sobid.
        APPEND fs_orgunit TO t_orgunit.
        CLEAR  fs_orgunit.
    Fetching the Sub Org units for a given Org unit                     *
        CALL FUNCTION 'HRHAP_SEL_OBJECTS_OF_EVAL_PATH'
          EXPORTING
            T_OBJECTS_BASE   =  t_orgunit
            EVALUATION_PATH  = 'ORGEH'
            FROM_DATE        =  begda
            TO_DATE          =  endda
          IMPORTING
            T_OBJECTS        =  t_suborgunits.
      ENDIF.                               " IF sy-subrc EQ 0.
      CLEAR newam.
    Accumulating the budget values of all the Sub org units for a given *
    Org unit and populating the fields 'newam' and 'newcu'.             *
      LOOP AT t_suborgunits INTO fs_orgunit.
        CLOSE DATASET w_file.
        OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        DO.
          READ DATASET w_file INTO fs_budgets.
          IF sy-subrc EQ 0.
            IF fs_budgets-objid EQ fs_orgunit-sobid.
              ADD fs_budgets-newam TO newam.
              newcu = fs_budgets-newcu.
              EXIT.
            ENDIF.
          ELSE.
            EXIT.
          ENDIF.                           " IF sy-subrc EQ 0.
        ENDDO.                             " DO
      ENDLOOP.                             " LOOP AT t_suborgunits
    Giving default values for the Budget Amount and Currency if they are*
    containing Initial values                                           *
      IF newam IS INITIAL.
        newam = 0.
      ENDIF.                               " IF newam IS INITIAL.
      IF newcu IS INITIAL.
        newcu = 'USD'.
      ENDIF.                               " IF newcu IS INITIAL.
      CLOSE DATASET w_file.
    endmethod.
    After this code will i require to code anything specific to get this newam(new amount) uploaded to HRP1520 infotype or automatically it will upload if i write above mentioned code only...
    Please revert......thanx  a lot

  • Error in ABAP report  Z_SAP_HR_LDAP

    Hi All,
    I am Getting Syntax error ( Field "'E'" is unknown. it is neither one of specified table nor defined by DATA statement. While executing report mentioned below which uses logical database.
    *& Report  ZSAPHRDATA                                                  *
    REPORT Z_SAP_HR_LDAP USING DATABASE PNP.
    DATA: PLVAR LIKE OBJEC-PLVAR,
    OBJID LIKE HROBJECT-OBJID,
    KEYDA LIKE PLOG-BEGDA,
    P_OBJECTS LIKE HROBJECT OCCURS 0,
    P_OBJECTS_WA LIKE HROBJECT,
    S_OBJECTS LIKE HROBJECT OCCURS 0,
    S_OBJECTS_WA LIKE HROBJECT,
    I1001_ITAB LIKE P1001 OCCURS 0 WITH HEADER LINE,
    I1001_ITAB2 LIKE P1001 OCCURS 0 WITH HEADER LINE,
    LDAPDESTINATION LIKE LDA_TYPES-LDAPDESTINATION,
    LDAPSERVER LIKE LDA_TYPES-LDAPSERVER,
    ldapinitialrun like lda_types-flag,
    LOGSYS LIKE TBDLS-LOGSYS,
    ERRORS LIKE BAPIRET2 OCCURS 0,
    ERRORS_WA LIKE BAPIRET2.
    DATA: mid TYPE sy-msgid VALUE 'LDAPSYNC',
    mtype TYPE sy-msgty VALUE 'I',
    num TYPE sy-msgno.
    structure for short ldap-attributes
    fieldnames must be equal to basis structure LDA_ATTR_L (for RFC-call)
    TYPES: BEGIN OF TS_LDAP_ATTR_L,
    PERNR LIKE LDA_ATTR_L-PERNR,
    ATTR_TAB LIKE LDA_ATTR_L-ATTR_TAB,
    ATTR_FIELD LIKE LDA_ATTR_L-ATTR_FIELD,
    VALUE LIKE LDA_ATTR_L-VALUE,
    END OF TS_LDAP_ATTR_L.
    data: attributes type ts_ldap_attr_l occurs 0,
    attributes_wa type ts_ldap_attr_l.
    infotypes: 0001, 0002.
    tables: pernr, rfcdes.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_TEST default 'X' AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK B1.
    Parameters: LDAPSRV Default 'SAPHRLDAP' LIKE LDA_TYPES-LDAPSERVER,
    LDAPDEST Default 'LDAPDEST' LIKE rfcdes-rfcdest.
    at selection-screen.
    clear: p_objects[], s_objects[], attributes[].
    CALL FUNCTION 'RH_GET_PLVAR'
    IMPORTING
    PLVAR = PLVAR
    EXCEPTIONS
    no_plvar = 1
    OTHERS = 2.
    if sy-subrc <> 0.
    MESSAGE E015(HRLDAP).
    endif.
    KEYDA = sy-datum.
    get pernr.
    rp-provide-from-last p0001 space keyda keyda.
    rp-provide-from-last p0002 space keyda keyda.
    ATTRIBUTES_WA-PERNR = p0001-pernr.
    lastname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'LASTNAME'.
    attributes_wa-value = p0002-nachn.
    append attributes_wa to attributes.
    firstname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'FIRSTNAME'.
    attributes_wa-value = p0002-vorna.
    append attributes_wa to attributes.
    sAMAccountName
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'SAMACCOUNTNAME'.
    Using the employee number a unique name is created
    for the sAMAccountName
    concatenate ‘E’ p0001-pernr into attributes_wa-value.
    append attributes_wa to attributes.
    other attributes have to added here.
    for each additional attribute an appropriate field
    has to defined in the structure EMPLOYEE
    for example you can choose the following:
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'TELEPHONE'.
    if you want to transfer the telephone number
    of an employee from SAP HR to Active Directory
    In the web Application Server an appropriate mapping
    has to be defined using transaction LDAP for each new
    attribute (here called TELEPHONE).
    end-of-selection.
    get own logical system
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
    OWN_LOGICAL_SYSTEM = LOGSYS
    EXCEPTIONS
    OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
    OTHERS = 2.
    IF SY-SUBRC NE 0.
    TODO: Komprimierung sy-mandt: 3 -> 2 Stellen !!!
    CONCATENATE SY-SYSID SY-MANDT INTO LOGSYS.
    ENDIF.
    loop at attributes into attributes_wa.
    write: / ATTRIBUTES_WA-PERNR , attributes_wa-attr_tab.
    write: attributes_wa-attr_field ,attributes_wa-value.
    endloop.
    IF P_TEST = 'X'.
    EXIT.
    ENDIF.
    send attributes to ldap client
    send attributes
    CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
    DESTINATION LDAPDEST
    EXPORTING
    LOGSYS = LOGSYS
    SERVERID = LDAPSRV
    ATTRIBUTES_S = attributes[]
    INITIAL_RUN = LDAPINITIALRUN
    ATTRIBUTES_L = attributes[]
    ATTRIBUTES_X = TOTAL_ATTRS_X[].
    IMPORTING
    RETURN = ERRORS[].
    IF NOT ERRORS[] IS INITIAL.
    READ TABLE ERRORS INDEX 1 INTO ERRORS_WA.
    MESSAGE ID mid TYPE mtype
    NUMBER ERRORS_WA-NUMBER
    WITH ERRORS_WA-MESSAGE_V1 ERRORS_WA-MESSAGE_V2
    ERRORS_WA-MESSAGE_V3 ERRORS_WA-MESSAGE_V4.
    endif.

    this looks strange ,
    I copied to my system and tried , first i got the error what u had got ,
    then i just removed <b>'E'</b> in the concatenate statement and added again , now it works , do the same and try ur luck
    copy paste this and try
    *& Report ZSAPHRDATA *
    REPORT Z_SAP_HR_LDAP USING DATABASE PNP.
    DATA: PLVAR LIKE OBJEC-PLVAR,
    OBJID LIKE HROBJECT-OBJID,
    KEYDA LIKE PLOG-BEGDA,
    P_OBJECTS LIKE HROBJECT OCCURS 0,
    P_OBJECTS_WA LIKE HROBJECT,
    S_OBJECTS LIKE HROBJECT OCCURS 0,
    S_OBJECTS_WA LIKE HROBJECT,
    I1001_ITAB LIKE P1001 OCCURS 0 WITH HEADER LINE,
    I1001_ITAB2 LIKE P1001 OCCURS 0 WITH HEADER LINE,
    * LDAPDESTINATION LIKE LDA_TYPES-LDAPDESTINATION,
    * LDAPSERVER LIKE LDA_TYPES-LDAPSERVER,
    ldapinitialrun like lda_types-flag,
    LOGSYS LIKE TBDLS-LOGSYS,
    ERRORS LIKE BAPIRET2 OCCURS 0,
    ERRORS_WA LIKE BAPIRET2.
    DATA: mid TYPE sy-msgid VALUE 'LDAPSYNC',
    mtype TYPE sy-msgty VALUE 'I',
    num TYPE sy-msgno.
    * structure for short ldap-attributes
    * fieldnames must be equal to basis structure LDA_ATTR_L (for RFC-call)
    TYPES: BEGIN OF TS_LDAP_ATTR_L,
    PERNR LIKE LDA_ATTR_L-PERNR,
    ATTR_TAB LIKE LDA_ATTR_L-ATTR_TAB,
    ATTR_FIELD LIKE LDA_ATTR_L-ATTR_FIELD,
    VALUE LIKE LDA_ATTR_L-VALUE,
    END OF TS_LDAP_ATTR_L.
    data: attributes type ts_ldap_attr_l occurs 0,
    attributes_wa type ts_ldap_attr_l.
    infotypes: 0001, 0002.
    tables: pernr, rfcdes.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_TEST default 'X' AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK B1.
    Parameters: LDAPSRV Default 'SAPHRLDAP' LIKE LDA_TYPES-LDAPSERVER,
    LDAPDEST Default 'LDAPDEST' LIKE rfcdes-rfcdest.
    at selection-screen.
    clear: p_objects[], s_objects[], attributes[].
    CALL FUNCTION 'RH_GET_PLVAR'
    IMPORTING
    PLVAR = PLVAR
    EXCEPTIONS
    no_plvar = 1
    OTHERS = 2.
    if sy-subrc <> 0.
    MESSAGE E015(HRLDAP).
    endif.
    KEYDA = sy-datum.
    get pernr.
    rp-provide-from-last p0001 space keyda keyda.
    rp-provide-from-last p0002 space keyda keyda.
    ATTRIBUTES_WA-PERNR = p0001-pernr.
    * lastname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'LASTNAME'.
    attributes_wa-value = p0002-nachn.
    append attributes_wa to attributes.
    * firstname
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'FIRSTNAME'.
    attributes_wa-value = p0002-vorna.
    append attributes_wa to attributes.
    * sAMAccountName
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'SAMACCOUNTNAME'.
    * Using the employee number a unique name is created
    * for the sAMAccountName
    concatenate 'E' p0001-pernr into attributes_wa-value.
    append attributes_wa to attributes.
    * other attributes have to added here.
    * for each additional attribute an appropriate field
    * has to defined in the structure EMPLOYEE
    * for example you can choose the following:
    * attributes_wa-attr_tab = 'EMPLOYEE'.
    * attributes_wa-attr_field = 'TELEPHONE'.
    * if you want to transfer the telephone number
    * of an employee from SAP HR to Active Directory
    * In the web Application Server an appropriate mapping
    * has to be defined using transaction LDAP for each new
    * attribute (here called TELEPHONE).
    end-of-selection.
    * get own logical system
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
    OWN_LOGICAL_SYSTEM = LOGSYS
    EXCEPTIONS
    OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
    OTHERS = 2.
    IF SY-SUBRC NE 0.
    * TODO: Komprimierung sy-mandt: 3 -> 2 Stellen !!!
    CONCATENATE SY-SYSID SY-MANDT INTO LOGSYS.
    ENDIF.
    loop at attributes into attributes_wa.
    write: / ATTRIBUTES_WA-PERNR , attributes_wa-attr_tab.
    write: attributes_wa-attr_field ,attributes_wa-value.
    endloop.
    IF P_TEST = 'X'.
    EXIT.
    ENDIF.
    * send attributes to ldap client
    * send attributes
    CALL FUNCTION 'SPLDAP_RECEIVE_ATTRIBUTES'
    DESTINATION LDAPDEST
    EXPORTING
    LOGSYS = LOGSYS
    SERVERID = LDAPSRV
    * ATTRIBUTES_S = attributes[]
    INITIAL_RUN = LDAPINITIALRUN
    ATTRIBUTES_L = attributes[]
    * ATTRIBUTES_X = TOTAL_ATTRS_X[].
    IMPORTING
    RETURN = ERRORS[].
    IF NOT ERRORS[] IS INITIAL.
    READ TABLE ERRORS INDEX 1 INTO ERRORS_WA.
    MESSAGE ID mid TYPE mtype
    NUMBER ERRORS_WA-NUMBER
    WITH ERRORS_WA-MESSAGE_V1 ERRORS_WA-MESSAGE_V2
    ERRORS_WA-MESSAGE_V3 ERRORS_WA-MESSAGE_V4.
    endif.

  • Error in ABAP Report TABLES declaration

    Hi,
    I am a Basis administrator and trying to write a small program for archiving.
    I get a folowing error when user the following statement in a report -
    TABLES: RSDAARCHREQ.
    The error is as follows -
    "RSDAARCHREQ" must be a flat structure. You cannot use internal tables,
    strings, references, or structures as components. -
    I can include all the other tables requred but somehow this particular table gives me this error which I have never encountered earlier. This is BI 7.0 and it is standard SAP transparent table.
    Please help me.
    I will appreciate it.
    Regards,
    Sume

    Hi Sume,
    Do not declare RSDAARCHREQ in tables.
    If you want a internal table  declare in the below mentioned way .
    data: it_RSDAARCHREQ TYPE STANDARD TABLE OF RSDAARCHREQ.
    select * into table
    it_RSDAARCHREQ
      from RSDAARCHREQ.
    Regards
    Naresh

  • Runtime error in Webi Report

    Dear All,
    I have a Webi Report, it is taking too much of time in data retrieval and finally resulting in the following Run time Error:
    Microsoft Visual C++ Run time Library
    Run time Error!
    Program: C\Program Files\Business Objects\....
    The application has requested the Run time to terminate in an unusual way.
    Please contact the application's support team for more information.
    Please help in this.
    In this report I am using Division, Year and Calendar day at the Query Filter level with Operators "InList" for Division and Year and "Less than or Equal to" for Calendar Day.
    Regards,
    Arun

    Hi,
    this is a known issue. Please check these corrective notes:
    1494404 - Using Webi query filters based on dates using "Greater than" and "Less than" does not work properly when based on SAP BEx.  
    1467239 - Date prompts produce incorrect result with 'Between', 'Greater than or Equal' or 'Less than or Equal' filter operators when a Webintelligence report is based on OLAP universe  
    1614245 - Prompts on date ranges return values outside the given range in Web Intelligence reports based on a SAP BW data source. 
    Regards,
    H

  • RUNTIME ERROR IMPORT ABAP PHASE IN HETEROGENIOUS SYTEM COPY

    Hi All,
    We have started heterogenious sytem copy from windows (mssql_ to linux(maxdb).
    In import abap phase at the 128th job it ended with an error Here i attach the log of IMPORT_MONITOR.LOG
    ERROR : Execute for create index /BI0/F0RSTT_C01~P on /BI0/F0RSTT_C01 failed (dbrc=99).
      (SQL error -7055)
      error message returned by DbSl:
    SQL-Statement: CREATE  INDEX "/BI0/F0RSTT_C01~P" ON "/BI0/F0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A"  )
    (DB) INFO: disconnected from DB
    /usr/sap/DM1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/DM1/SYS/exe/run/R3load: END OF LOG: 20110417003352
    /usr/sap/DM1/SYS/exe/run/R3load: START OF LOG: 20110417004819
    /usr/sap/DM1/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    /usr/sap/DM1/SYS/exe/run/R3load: version R7.00/V1.4 [UNICODE]
    Compiled Jan 23 2008 17:39:05
    /usr/sap/DM1/SYS/exe/run/R3load -i SAPAPPL1_24.cmd -dbcodepage 4103 -k                          -l SAPAPPL1_24.log -nolog -c 10000
    (DB) INFO: connected to DB
    (DB) INFO: The MaxDB logwriter is switched off#20110417004819
    (GSI) INFO: dbname   = "DM1                                                                                "
    (GSI) INFO: vname    = "ADABAS D                        "
    (GSI) INFO: hostname = "sgmw-s-relse1                                                   "
    (GSI) INFO: sysname  = "Linux"
    (GSI) INFO: nodename = "sgmw-s-relse1"
    (GSI) INFO: release  = "2.6.32.12-0.7-xen"
    (GSI) INFO: version  = "#1 SMP 2010-05-20 11:14:20 +0200"
    (GSI) INFO: machine  = "x86_64"
    (DB) ERROR: DDL statement failed
    (DROP INDEX "PCL4~XPS" ON "PCL4")
    DbSlExecute: rc = 103
      (SQL error -4011)
      error message returned by DbSl:
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: EXECUTE on connection 0, rc=-7055 (POS(59) Column(s) already indexed:/BI0/F0RSTT_C01~P)
    ERROR : Execute for create index /BI0/F0RSTT_C01~P on /BI0/F0RSTT_C01 failed (dbrc=99).
      (SQL error -7055)
      error message returned by DbSl:
    SQL-Statement: CREATE  INDEX "/BI0/F0RSTT_C01~P" ON "/BI0/F0RSTT_C01" ( "KEY_0RSTT_C01P" , "KEY_0RSTT_C01T" , "KEY_0RSTT_C01U" , "KEY_0RSTT_C011" , "KEY_0RSTT_C012" , "KEY_0RSTT_C013" , "KEY_0RSTT_C014" , "KEY_0RSTT_C015" , "KEY_0RSTT_C016" , "KEY_0RSTT_C017" , "KEY_0RSTT_C018" , "KEY_0RSTT_C019" , "KEY_0RSTT_C01A"  )
    (DB) INFO: disconnected from DB
    /usr/sap/DM1/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/DM1/SYS/exe/run/R3load: END OF LOG: 20110417004819
    Import Monitor jobs: running 1, waiting 1, completed 128, failed 0, total 130.
    Loading of 'SAPAPPL1_24' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 128, failed 1, total 130.
    could any one  please help me in solving this issue
    Thanks!
    Vardhan.

    \\10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA\ARFCSDATA.TOC
    Please check if above said file located under specified path where SAPINST searvhing for it ie at
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA. if this file dont exist them it may be the case that your export is not proper.
    Also check if user from which you have started this SAPINST is able to access
    10.207.3.59\d$\ftproot\import_sap\BWS\ABAP\DATA.
    Thanks..
    Mohit

  • Runtime Errors         ITAB_DUPLICATE_KEY ABAP Program           CL_BSP_WD_REPOSITORY==========CP

    We are doing the CRM Upgrade from EHp1 to EHp3
    after running the TC: WCF_CC as post upgrade activity
    Enhancement Set      ZXXX  and UI Component BP_ADDR  i got a short dump while trying to open the views in the component workbench as following
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_BSP_WD_REPOSITORY==========CP" had to be
         terminated because it has    come across a statement that unfortunately cannot be executed.
    Error analysis
        An attempt was made to insert an entry into table
         "\CLASS=CL_BSP_WD_REPOSITORY\METHOD=CREATE_INSTANCE_FROM_XML\DATA=LT_VIEWS".
         Updating
        unique table key "PRIMARY_KEY" resulted in a duplicate entry however. The key
         in
        question could be either the primary key or a secondary key.
        The key components of the duplicate entry have the values "{BP_A;X}" " " " "
        With primary keys, termination can occur during block insert
        operations. The can affect numerious statements, for example
        (1) MOVE
        (2) INSERT/APPEND ... LINES OF ... INTO/TO
        (3) SELECT ... INTO/APPENDING ...
        With secondary keys, termination can also occur due to a single record
        insert operation. In particular, the following modifying statements can
        cause the system to terminate due to duplicate key values as soon as
        the key is used again (delayed update):
     Please advice me how to solve it

    Hello Madhuri,
    Can you please deactivate your enhancement via setting user parameter WCF_IGNORE_ENHANCEMT =A using transaction code SU3? Then retest the issue? If it's works, then the error is happening due to your enhancement.
    If the error persist please check if note 1941320 can be applied in your system.
    thanks
    Willie

  • Runtime error when running report ZATB

    The report is getting timeout (exceed the current setting of 600 secs).Pls specify the selection criteria like customer account (sold to), sales office of the payer, sales group of the payer etc for faster generation of report. Incase of any further clarification revert back with selection criteria used for the report.
    Is it a performace issue or functional issue?
    Thanks
    Arun Paliwal

    Hi Arun,
    Simple the report need more time to process the information, 600 seconds is quite a short time I'll increase it to 900 to 1200 seconds, for this change parameter rdisp/max_wprun_time (Value in seconds)in order to accomodate the amount of time the report need to finish.
    Also you can shrink the scope of the report.
    Regards
    Juan
    Please reward with points if helpful

  • ABAP runtime errors TYPELOAD_NEW_VERSI ON   (SAPM/SAINT UPDATE)

    Hi ,All
    I am using SAP4.6c with Orcle8i database on aWindows 2k Adv server. I have imported SPAM (KD00050.CAR) but after imporiting I am unable to use SPAM/SAINT Transaction code and its showing ABAP runtime error like
    "ABAP runtime errors TYPELOAD_NEW_VERSION
    Data type "PAT03" was found i n a newer version than required.
    Runtime Error
    of the statement s could not be executed at runtime.
    The current ABAP program"SAPLSPAM" had t o be terminated because one
    of the statements could not be executed at runtime.

    Hello Jhony,
    http://help.sap.com/saphelp_nw04/helpdata/en/d7/56e89a884b11d2b422006094b9ea64/content.htm
    Regards
    ismail KARAYAKA

  • SAPLFAGL_ITEMS_SELECT runtime error in FAGLL03 after ECC EHP 7 upgrade

    Hi all,
    We have recently upgraded to SAP ECC to EHP7, after this we are getting SAPLFAGL_ITEMS_SELECT runtime error in FAGLL03 report.
    Runtime error is not about a time out
    I have searched for a note but could not find any on this problem.
    Information on where terminated
        The termination occurred in ABAP program "SAPLFAGL_ITEMS_SELECT", in
    "FAGL_GET_ITEMS_BSEG". The main program
        was "FAGL_ACCOUNT_ITEMS_GL ".
        In the source code, the termination point is in line 412 of (Include)
        program "LFAGL_ITEMS_SELECTU08".
    Thanks in advance,

    Hi,
    Check this SAP note1578577 - FAGLL03: Dump DBIF_RSQL_INVALID_RSQL. Another one is 1728986. Cannot check further as I am not aware of exact patch level.
    If this does not help kindly raise it to SAP as dump is in standard object.
    Regards,
    Anand Raichura

Maybe you are looking for

  • How to delete the duplicate email address in BP master data

    Hi, When  you get an email ids from the third party vendor and you are loading into CRM BP master data.  how to delete the duplicate email address already exits in the system.  In CRM you can create the same BP with different id.   I would like to kn

  • Sender Mail Adapter Content Conversion

    Hi All,      I just want to know if we can send a flat file(Rather Than the XML) with content conversion using Mail Adapter. If yes then what are all the possible ways for this. I have tried but i am sucessful in sending the complete payload as a XML

  • AP Invoices/Credit Memo Workflow process using Optura

    Hi, We have a VIM tool Optura that we have implemented for our Workflow approval process where in the invoices/credit memos get parked, then go through a workflow approval process and finally get posted. These invoices/credit memos at the time when t

  • Copy/pasting content into one project from another.

    When I copy pictures from one project into another, it just leaves me with black pictures for the duration of the other ones...how do I fix this?

  • Does an "incomplete font" warning make sense for ttf?

    Hi all, we are getting "font incomplete" errors in the package dialog. According to the online help this "Lists fonts that have a screen font on the current computer but not a corresponding printer font." Does that even make sense for true types? As