cancel
Showing results for 
Search instead for 
Did you mean: 

Extractor 0FC_IPL_HEAD_01 enhancement runtime error

Former Member
0 Kudos

Hello Experts,

I have just enhanced the above stated extractor for a filed NINST and am getting a run time error while checking in RSA3 in source system.

Appending is the error msg

Runtime Errors     UC_OBJECTS_NOT_CONVERTIBLE                                               
Date and Time      27.03.2012 11:41:45                                                      
                                                                                                
                                                                                                
                                                                                                
Short text                                                                                     
Data objects in Unicode programs cannot be converted.                                      
                                                                                                
                                                                                                
                                                                                                
What happened?                                                                                 
Error in the ABAP Application Program                                                      
                                                                                                
The current ABAP program "SAPLXRSA" had to be terminated because it has                    
come across a statement that unfortunately cannot be executed.                             
                                                                                                
                                                                                                
                                                                                                
Error analysis                                                                                 
The statement                                                                              
    "MOVE src TO dst"                                                                       
requires that the operands "dst" and "src" are convertible.                                
Since this statement is in a Unicode program, the special conversion                       
rules for Unicode programs apply.                                                          
In this case, these rules were violated.                                                   
                                                                                                
                                                                                                
                                                                                                
Trigger Location of Runtime Error                                                              
Program                             SAPLXRSA                                           
Include                             ZXRSAU01                                           
Row                                 2,311                                              
Module type                         (FUNCTION)                                         
Module Name                         EXIT_SAPLRSAP_001                                  

Source Code Extract                                                                         
                                                                                            
Line  SourceCde                                                                             
                                                                                            
2281                                                                                       
2282 *  SELECT SINGLE BIS LOGIKNR                                                      
2283 *    FROM V_EGER                                                                  
2284 *     INTO (L_BIS,L_LOGIKNR)                                                      
2285 *     WHERE EQUNR = WA_SERNR-EQUNR                                                
2286 *    AND AB = WA_SERNR-AB.                                                        
2287                                                                                       
2288   SELECT  SINGLE BIS LOGIKNR  GERAET                                              
2289       FROM V_EGER                                                                 
2290      INTO IT_EGER                                                                 
2291        WHERE EQUNR = WA_SERNR-EQUNR                                               
2292       AND AB = WA_SERNR-AB.                                                       
2293                                                                                       
2294   IF SY-SUBRC = 0.                                                                
2295     WA_SERNR-ZZBIS = IT_EGER-BIS.                                                 
2296     WA_SERNR-ZZLOGIKNR = IT_EGER-LOGIKNR.                                         
2297     WA_SERNR-ZZSERNR = IT_EGER-GERAET.                                            
2298   ENDIF.                                                                          
2299   MODIFY C_T_DATA FROM WA_SERNR INDEX IDX2.                                       
2300 ENDLOOP.                                                                          
2301 ************************* EOC 0UC_ISU_30 FOR SERNR & LOGIKNR IN SES REPORT  25.10.2011
2302                                                                                       
2303                                                                                       

2304 *********************** SOC:   Addition Of NINST into 0FC_IPL_HEAD_01: 26.03.2012  *********

2305   WHEN '0FC_IPL_HEAD_01'.                                                             
2306 TABLES: FKK_INSTPLN_HEAD.                                                         
2307 DATA: IT_FKK_INSTPLN_HEAD TYPE STANDARD TABLE OF FKK_INSTPLN_HEAD,                
2308       WA_FKK_INSTPLN_HEAD TYPE FKK_INSTPLN_HEAD,                                  
2309       INDX TYPE I.                                                                
2310                                                                                       
>>>>> LOOP AT C_T_DATA INTO WA_FKK_INSTPLN_HEAD.                                        
2312   INDX = SY-TABIX.                                                                
2313                                                                                       
2314   SELECT SINGLE NINST FROM FKK_INSTPLN_HEAD INTO WA_FKK_INSTPLN_HEAD-NINST WHERE RPNUM =
2315                                                                                       
2316   MODIFY C_T_DATA FROM WA_FKK_INSTPLN_HEAD INDEX INDX.                            
2317 ENDLOOP.                                                                          
2318                                                                                       

2319 ***************************EOC : Addition Of NINST into 0FC_IPL_HEAD_01: 26.03.2012 ********

2320                                                                                            

2321 ENDCASE.                                                                                   

Kindly point to the error and corrective measure to be taken

rgds

Imran

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

"LOOP AT C_T_DATA INTO WA_FKK_INSTPLN_HEAD."

>> are you sure these 2 structures are indentical??

Former Member
0 Kudos

Hello Francois,

Affirmative,both are identical

Former Member
0 Kudos

Are you sure? I see a big difference when i compare

  • FKK_INSTPLN_HEAD which you use as reference for your work area and
  • FKKIPBW_HEAD which is the extract structtre of the DataSource (which is the structure your c_t_data is based on)
Former Member
0 Kudos

Appending are the structures ( I would like to let you know that I am new to BI/ABAP hence sound a little novice at times)

Hope this is what you are asking for....

FKKIPBW_HEAD

MANDT

RPNUM

RECORDMODE

GPART

VKONT

BUDAT

STTDT

ENDDT

RPCAT

DEADT

DEOFF

WAERS

COMPA

INTBETG

.INCLUDE

.APPEND

ZNINST

FKK_INSTPLN_HEAD

MANDT

RPNUM

RPRCI

RPRDA

RPCAT

DEADT

DEMAN

DEOFF

WAERS

DEAGD

STTDT

ENDDT

NINST

VKONT

GPART

VTREF

DRCDT

BUKRS

DZINS    DZINS_KK

GZVER    GZVER_KK

FAEIN    FAEIN_KK

DPUDT    DPUDT_KK

DPUTM    DPUTM_KK

C4EYE    C4EYE_KK

C4EYP    C4EYP_KK

SUBAP    SUBAP_KK

ANZINTRT    ANZINTRT

STTIN    STDTINT_KK

.INCLUDE    SI_FKK_INSTPLN_R

.INCLUDE    SI_FKK_INSTPLN_V

.INCLUDE    SI_FKK_INSTPLN_T

.INCLUDE    SI_FKK_INSTPLN_P

.INCLUDE    SI_FKK_INSTPLN_S

Former Member
0 Kudos

So your structures are the same (different field list).

Try the following code:

LOOP AT C_T_DATA INTO WA_FKKIPBW_HEAD.

WHEN '0FC_IPL_HEAD_01'.                                                            

TABLES: FKK_INSTPLN_HEAD.                                                        

DATA: IT_FKKIPBW_HEAD TYPE STANDARD TABLE OF FKKIPBW_HEAD,

           WA_FKKIPBW_HEAD LIKE LINE OF TABLE IT_FKKIPBW_HEAD.                                            

                                                                                       

LOOP AT C_T_DATA INTO WA_FKKIPBW_HEAD.                                        

 

  INDX = SY-TABIX.                                                                

 

  SELECT SINGLE NINST FROM FKK_INSTPLN_HEAD INTO WA_FKKIPBW_HEAD_HEAD-NINST

  WHERE RPNUM = WA_FKKIPBW_HEAD-RPNUM.

  

  MODIFY C_T_DATA FROM WA_FKK_INSTPLN_HEAD INDEX INDX.   

  CLEAR: INDX, WA_FKK_INSTPLN_HEAD.                              

ENDLOOP.

former_member202684
Contributor
0 Kudos

Hi Imran,

You could just try declaring the work area as below:

This should solve the above error.

DATA: WA_FKK_INSTPLN_HEAD LIKE LINE OF C_T_DATA.

Hope this helps

Regards, Joe

former_member186445
Active Contributor
0 Kudos

the problem might be that your assigning value from a field to another field of a different format. make sure that the below fields are of the same type in order to move the data.

WA_SERNR-ZZBIS = IT_EGER-BIS.                                                
2296    WA_SERNR-ZZLOGIKNR = IT_EGER-LOGIKNR.                                        
2297    WA_SERNR-ZZSERNR = IT_EGER-GERAET.                     
Former Member
0 Kudos

Hi M,

Checked, nothing wrong in assignment part.

Please suggest further?

rgds

Imran

former_member186445
Active Contributor
0 Kudos

could you please paste your actual code, not only the error log?