‎2010 Jun 04 11:40 PM
Hi,
I have a custom program which generates JIT calls and I am uploading using File option. I am getting dump when hit F4 (search for file). well I am not getting dump every time, I think I am getting every time log in but I tried logoff and login no issues. Thought ask experts.
I have already searched Forums, couldn't get answer. Below is the dump description
ST22 Description
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 "F4" 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.............. "Custom program name"
Screen number............ 1000
How to correct the error
To correct the error, the program must be modified.
The "F4" processing needs to be changed.
By the way below is the code I am using
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = filename
mask = ',.,..'
mode = 'O'
title = 'Select a file'(002)
IMPORTING
filename = filename
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
Appreciate your help
sarath
‎2010 Jun 05 12:14 AM
Are you sure it happens during the call?
What is the exception name in the dump?
If it's really the call, then could you try to pass the mask as a variable and declare it like this:
DATA mask(20) TYPE c VALUE ',*.* ,*.*. '.