‎2009 Sep 28 11:00 AM
Hello, I'm using LSMW for transfering data, But I got an error on step 9. Import Data.
I can't read error message text because it's not readable (shows in a wrong encoding,)
The error doesn't occur everytime. I use the same file but run it in a different period of time. I don't know the reason of that error.
I know it's may be not enough info to solve my problem. But if someone was confronted with that pls notify me,
Thanks.
Edited by: kernel.panic on Sep 28, 2009 12:07 PM
link to the error: http://s53.radikal.ru/i140/0909/e5/5a937bff1451.jpg
‎2009 Sep 29 7:35 AM
Hi Friend,
I am not able to see your error snap shot.
As per my assumption your file encoding format is wrong, thats why that error you getting.
Just do one thing while saving your data file put the encoding method as unicode.
Hope this will help you.
Regards,
Dhirendra
‎2009 Sep 29 7:35 AM
Hi Friend,
I am not able to see your error snap shot.
As per my assumption your file encoding format is wrong, thats why that error you getting.
Just do one thing while saving your data file put the encoding method as unicode.
Hope this will help you.
Regards,
Dhirendra
‎2009 Sep 29 7:49 AM
I translated error message, it has been said:
DHR: System SAP Message:
Process reruned (procedure failed).
Not informative message
‎2009 Sep 29 10:07 AM
‎2009 Sep 29 10:23 AM
Hmm, I made subproject name shorter and i'm not getting any errors ..,. for a while ...
‎2009 Oct 01 5:34 AM
no matter which codepage I am using.
for example: when I specify input file to disk H: although my file is on disk C; I got the same error.
I've launched debugger and found the line with error:
FORM write_header_record.
CLEAR gs_lsheader.
gs_lsheader-lsmw = 'LSMW'.
gs_lsheader-project = g_project.
gs_lsheader-subproj = g_subproj.
gs_lsheader-object = g_object.
gs_lsheader-systemid = sy-sysid.
gs_lsheader-client = sy-mandt.
gs_lsheader-datum = sy-datum.
gs_lsheader-uzeit = sy-uzeit.
gs_lsheader-uname = sy-uname.
* Begin: binary write
g_record_length = STRLEN( gs_lsheader ).
g_hex_record_length = g_record_length.
TRANSFER g_hex_record_length TO g_filename. // AT THIS LINE ERROR OCCURS
ASSIGN g_max_buffer(g_record_length) TO <g_buffer>.
<g_buffer> = gs_lsheader.
TRANSFER <g_buffer> TO g_filename.
* End: binary write