Hello,
I defined 2 LSMW for tcode F150. With the first one I define de parameters for F150 and with the second one I run the tcode F150.
For the both LSMW I want to read the data from the application server because after that I want to run them as a periodic background job.
If I run the LSMWs and I read data from the PC they both work fine.
If I run the LSMWs and I read data from the application server, for the first LSMW no data is read, and for the second one I get the message "Unable to read file F150_2.txt".
Could someone give me a piece of advice?
For more info:
I defined the menu paths and the files with TCode FILE and I uploaded the text files with TCode CG3Z.
If I check in AL11 I can see that the files contain the right data, except that there are some special characters "#" .
In the FILE TCode:
File 1:
Logical path Z_F150_1
Name Parametrii Somatiii F150
Syntax group WINDOWS NT Microsoft Windows NT
Physical path /Z_F150_1/<FILENAME>
Logical file F150_1
Name Parametrii Somatiii F150
Physical file F150_1.txt
Data format ASC
Applicat.area BC
Logical path Z_F150_1
File 2:
Logical path Z_F150_2
Name Rulare Somatii - F150
Syntax group WINDOWS NT Microsoft Windows NT
Physical path /Z_F150_2/<FILENAME>
Logical file F150_2
Name Rulare Somatii - F150
Physical file F150_2.txt
Data format ASC
Applicat.area BC
Logical path Z_F150_2
In the AL11 TCode in the directory DIR_TEMP I can see the files with the correct data (except the "#" mark):
Directory: .
Name: Z_F150_1
DATA1#ID#DATA2#DATA3#ZONA
#ID5###MOL
#ID6###MUN
Directory: .
Name: Z_F150_2
DATA1#ID#DATA2#ID2#DATA3
#ID5##ID5#
#ID6##ID6#
And for eg. for the secon LSMW in the "Specify Files" step I defined the "Legacy Data" like this:
"Files
Legacy Data On the PC (Frontend)
Legacy Data On the R/3 server (application server)
F150_2 F150_2.txt
Data for One Source Structure (Table)
Separator Tabulator
Field Names at Start of File
Field Order Matches Source Structure Definition
With Record End Indicator (Text File)
Code Page 4110
Imported Data File for Imported Data (Application Server)
Imported Data Z_F150_RULARE.lsmw.read
Converted Data File for Converted Data (Application Server)
Converted Data Z_F150_RULARE.lsmw.conv
Wildcard Value Value for Wildcard '*' in File Name
"
Thank you!
Daniela