cancel
Showing results for 
Search instead for 
Did you mean: 

ir02 going to shortdump in quality

Former Member
0 Kudos

Hi Experts,

         Here is an issue when i change the cost center in tcode ir02 in quality it is going to short dump it says  "Message type " " is unknown."  it is showing in perform  APPL_LOG_WRITE_SINGLE_MESSAGE 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Sandeep ,

Please provide more detail on the dump.

Regards

Amber

Former Member
0 Kudos

Dear Naseer,

            Thanks for ur reply. The issue is when i run ir02  in quality i enter plant and work center and press costing in costing tab when i change the cost center and press save or try to go to any other tab it is going to short dump.if i dont change cost center it is working fine.the fallowing is the short dump

Short text

    Message type " " is unknown.

What happened?

    Error in the ABAP Application Program

    The current ABAP program "SAPLCRA0" had to be terminated because it has

    come across a statement that unfortunately cannot be executed.

Error analysis

    Only message types A, E, I, W, S, and X are allowed.

Former Member
0 Kudos

Hi sandeep,

we can't judge what error happened with the help of above one. can you just download and attached in a note pad here or else paste the full error to help

Former Member
0 Kudos

Dear Silambharasan Murugesan,

                 Thanks for ur reply the fallowing is the short dump error here the problem that i found out is tka01-kokrs is getting initial but there should be 2100 company code.

    Runtime Errors         MESSAGE_TYPE_UNKNOWN                                                        
Date and Time          02.08.2012 11:15:04                                                         
                                                                                                   

 
Short text                                                                                       
    Message type " " is unknown.                                                                 

  
What happened?                                                                                   
    Error in the ABAP Application Program                                                        
   
    The current ABAP program "SAPLCRA0" had to be terminated because it has                      
    come across a statement that unfortunately cannot be executed.                               

  
Error analysis                                                                                   
    Only message types A, E, I, W, S, and X are allowed.                                         

  
Trigger Location of Runtime Error                                                                
    Program                                 SAPLCRA0                                             
    Include                                 LCRA0F09                                             
    Row                                     22                                                   
    Module type                             (FORM)                                               
    Module Name                             APPL_LOG_WRITE_SINGLE_MESSAGE                        

  
Source Code Extract                                                                              
Line SourceCde                                                                                  
    1*&---------------------------------------------------------------------*                   
    2*&      Form  APPL_LOG_WRITE_SINGLE_MESSAGE                                                
    3*&---------------------------------------------------------------------*                   
    4*       Nachrichten sammeln                                            *                   
    5*----------------------------------------------------------------------*                   
    6FORM appl_log_write_single_message                                                         
    7    USING                                                                                  
    8     value(msgty) LIKE balmi-msgty                                                         
    9     value(msgid) LIKE balmi-msgid                                                         
   10     value(msgno) LIKE balmi-msgno                                                         
   11     value(msgv1) TYPE simple                                                              
   12     value(msgv2) TYPE simple                                                              
   13     value(msgv3) TYPE simple                                                              
   14     value(msgv4) TYPE simple                                                              
   15     value(protc) LIKE balmi-probclass.                                                    
   16                                                                                           
   17  DATA: BEGIN OF msg.                                                                      
   18          INCLUDE STRUCTURE balmi.                                                         
   19  DATA: END OF msg.                                                                        
   20                                                                                           
   21  IF api-on IS INITIAL.                                                                    
>>>>>    MESSAGE ID msgid TYPE msgty NUMBER msgno                                               
   23            WITH msgv1 msgv2 msgv3 msgv4.                                                  
   24  ELSE.                                                                                    
   25    CLEAR msg.                                                                             
   26    msg-msgty     = msgty.                                                                 
   27    msg-msgid     = msgid.                                                                 
   28    msg-msgno     = msgno.                                                                 
   29    msg-msgv1     = msgv1.                                                                 
   30    msg-msgv2     = msgv2.                                                                 
   31    msg-msgv3     = msgv3.                                                                 
   32    msg-msgv4     = msgv4.                                                                 
   33    msg-probclass = protc.                                                                 
   34                                                                                           
   35    CALL FUNCTION 'APPL_LOG_WRITE_SINGLE_MESSAGE'                                          
   36      EXPORTING                                                                            
   37        object              = 'CRAP'                                                       
   38        MESSAGE             = msg                                                          
   39        update_or_insert    = 'I'                                                          
   40      EXCEPTIONS                                                                           
   41        object_not_found    = 1                                                            
                                                                                  

   

Former Member
0 Kudos

Hi Sandeep,

I analyzed the issue and there is a problem with the variable msgty which is getting from the form which have the value as ' ' instead of  A, E, I, W, S, and X.

So the system automatically goes to dump. These messages are syst message and it need to popup some error message but in this case it goes to dump.

Can you give me the screenshot of your input in form

Former Member
0 Kudos

Dear Silambharasan Murugesan,

  Thanks for your reply i was unable to send you the screen shot can you give me ur email id so i can send. the inputs i am giving are plant: 2100, work center: any thing. jst changing the cost center and pressing save then it is going to short dump. same thing i tried in development it is working fine but the problem is in quality only

Former Member
0 Kudos

Hi Sandeep,

When you see the screenshot, it throws a functional error that the control area is not assigned to the plant.

So as i analyzed the company code 2100 is not assigned to the controlling area in your QA i think.

So do the below assignment and check again and revert back.

SPRO-->IMG--> ENT STRUCTURE-->ASSIGNMENT-->CONTROLLING-->ASSIGN COMP CODE TO CONTROLLING AREA

Hope this helps

Former Member
0 Kudos

hi,

   Thank you very much issue was solved deleted the assignment and created it again it is working fine now. Thank you very much for your help.  

Former Member
0 Kudos

Hi,

Thanks

Answers (0)