10-29-2007 5:13 PM
hi friends,
while running LSMW in direct input method i'm getting an error 'lsmw - Special character for 'empty field' is /'.
regards
shankar
10-29-2007 5:16 PM
Hi,
It is not an Error.It is just an Information Message.
It wont affect the Program.Suppose if u r not giving any values for the Input Fields then the program itself take the Empty Field as '/' default.
Regards,
Padmam.
10-29-2007 5:16 PM
Hi,
It is not an Error.It is just an Information Message.
It wont affect the Program.Suppose if u r not giving any values for the Input Fields then the program itself take the Empty Field as '/' default.
Regards,
Padmam.
10-29-2007 5:20 PM
hi Padmam.
thnx for ur comments, ya i know previously that it is an information message.
i have completed the program and its working.
but i want to know how to overcome that, is there any settings there to overcome that message
thnx for ur suggestion
thanks and regards
shankar
10-29-2007 5:54 PM
Hi,
Go thru this Thread,U ll get an idea
https://www.sdn.sap.com/irj/sdn/thread?threadID=268242
https://www.sdn.sap.com/irj/sdn/thread?threadID=244095
Regards,
Padmam.
02-16-2012 1:03 PM
Hi,
Yes, it is good solution, find the same in below.
LSMW is having 'GUI_UPLOAD' function module to upload data.
GUI_UPLOAD FM is having import parameter CODEPAGE.Whose functinality is to take care of such special character.
Include which is called for READ DATA step, you can very wel find out that the codepage is not suitable for your Portuguese language.
Do one thing write an BDC...Call GUI_UPLOAD FM and then Pass CODEPAGE number.
codepage number you will get from tcp00 table.
here is example to take care of special Japanese character:
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_ws_path
filetype = 'ASC'
has_field_separator = '#'
codepage = '6300'
TABLES
data_tab = i_aenr
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
Edited by: BODDU SRIDHAR on Feb 16, 2012 6:34 PM