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

bireshwar_das2
Explorer
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

3 REPLIES 3

madhu_vadlamani
Active Contributor
0 Kudos

Hi,

Is it happening all the time or for few.Is there any special characters or symbols used.Explain briefly.

Regards,

Madhu.

Former Member
0 Kudos

Hi Bireshwar Das,

Few transactions donot allow us to write an error message. Since, your code had the error messages, your are getting that dump.

Remove the error messages and try capturing the errors in some other way. The dump will then be removed.

Hope this helps you.

Regards,

Sindhu Pulluru.

Former Member
0 Kudos

Hi,

Debug and check if the code inside the Smartform/Sapscript which is getting called at the time of Print is giving you the short dump.

Also are you getting this dump before the print dialog window is opened ?

Danish