2009 Dec 08 5:09 AM
I am getting dump and message is like " Exception condition "BAD_DATA_FORMAT" raised.".
please suggest how to proceed.
2009 Dec 08 5:48 AM
Hi,
In which transaction you r getting the dump ?
describe the problem in brief.
Edited by: niraj gadre on Dec 8, 2009 6:48 AM
2009 Dec 08 6:36 AM
I am getting dump while executing report ie while uploading data from presentation server into internal table.
2009 Dec 08 7:01 AM
In this program i has to upload data into internal table with tab delimited format , code is like below
is it correct
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME =
DYNPRO_NUMBER =
FIELD_NAME =
IMPORTING
file_name = p_upld.
l_file = p_upld.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = t_prgstatus.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2009 Dec 08 7:05 AM
>
> CALL FUNCTION 'GUI_UPLOAD'
> EXPORTING
> filename = l_file
> filetype = 'ASC' "<<<<<<<<<<<try to change this to DAT, and see
> has_field_separator = 'X'
> TABLES
> data_tab = t_prgstatus.
> IF sy-subrc <> 0.
> * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
> * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
> ENDIF.
2009 Dec 08 7:19 AM
2009 Dec 08 7:22 AM
then check the deceleration of t_prgstatus, some where alpha numeric/ numeric values are not allowed..
2009 Dec 08 6:45 AM
2009 Dec 09 11:37 AM
Hi ,
For FM GUI_UPLOAD, the data type of filename should be STRING.
Check the data type of your variable.