04-06-2006 2:43 PM
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_._______________________________________________________________________
04-06-2006 4:29 PM
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.
04-08-2006 6:10 AM
PARA1 PARA2 both contains space
what are their possible values other than space