Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Short Dump in Transaction Code J1IA101, JJ1IA301

Former Member
0 Kudos

Hi All,

While pressing the Print button in both the transactions its showing the following details:

ShrtText

Screen: Illegal message

What happened?

The current screen processing was terminated, since a situation

occurred from which it could not continue processing.

This is probably due to an error in the current screen of the ABAP

program.

Error analysis

During "Exit Command" processing, the program tried to send a " " message.

This is not allowed at this point in processing.

The program had to be terminated.

Screen name.............. "SAPLJ1IEX"

Screen number............ 0001

Trigger Location of Runtime Error

Program SAPLSZA0

Include LSZA0F21

Row 30

Module type (FORM)

Module Name CHECK_PARA1_XOR_PARA2

_________________________________________________________________________

FORM check_para1_xor_para2

USING para1

para2

check_type.

CASE check_type.

  • WHEN C_A_INDEX_A_NUMBER.

  • IF PARA1 = 0 AND PARA2 = SPACE

  • OR PARA1 <> 0 AND PARA2 <> SPACE.

  • MESSAGE E052 RAISING PARAMETER_ERROR.

  • ENDIF.

WHEN c_a_handle_a_number.

IF para1 = space AND para2 = space

OR para1 <> space AND para2 <> space.

MESSAGE e053 RAISING parameter_error.

ENDIF.

>>> WHEN c_p_handle_p_number.

IF para1 = space AND para2 = space

OR para1 <> space AND para2 <> space.

MESSAGE e054 RAISING parameter_error.

ENDIF.

WHEN OTHERS.

ENDCASE.

ENDFORM. "CHECK_PARA1_XOR_PARA2

_Plz find a relevant solution.

Warm regards.

Atrai_._______________________________________________________________________

2 REPLIES 2

Former Member
0 Kudos

Basically when you do a print, issuing messages is not allowed after certain point in the execution. But in this it happened and so you got the dump. Put a breakpoint at the line indicated and see what the values are for PARA1 and PARA2. Only of them has to be filled, but in this case, I think either both of them are filled in or neither of them are filled in.

0 Kudos

PARA1 PARA2 both contains space

what are their possible values other than space