04-10-2006 7:11 AM
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
04-18-2012 8:14 AM
Hi,
Is it happening all the time or for few.Is there any special characters or symbols used.Explain briefly.
Regards,
Madhu.
04-18-2012 10:30 AM
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.
04-18-2012 11:28 AM
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