cancel
Showing results for 
Search instead for 
Did you mean: 

Text Loader action block

Former Member
0 Kudos

Hi

I am trying to get file from a network mapped drive. Eg Y:\abc.csv and I am using Text Loader action block. However I always get this problem .

[ERROR] [Text_Loader_0] [Y:\abc.csv] : Y:\abc.csv (The system cannot find the path specified)

I have also tried to full patch such as
host1\temp\abc.csv and have the same problem. It works if the file is locally save in MII server. From the MII server I am able to access the file.

any idea?

Edited by: Seng Kiang Hoe on Mar 9, 2011 5:09 PM - I just found out that the remote machine govern under VM. Is this problem for MII?

Very irritating and very supprise to see that the Text loader has such a issue. It will not work if it is mapped network drive.

Edited by: Seng Kiang Hoe on Mar 10, 2011 1:42 PM

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor
0 Kudos

MII is most likely running as a netweaver local system account. This account will not have access to network resources without modification. The FTP actions are the preferred way of accessing network resources.

Jamie

Former Member
0 Kudos

If MII does not have the access to the network, it shouldnt have work if it try access the file based on network path such as
ntpc12\a\test.txt

So the error exist if I mapped the network path to such as Y:\test.txt

If MII could acces local directory such as C:\text.txt why cant MII access a mapped network drive? Do I need to explicityl change it in Netweaver?

jamie_cawley
Advisor
Advisor
0 Kudos

The mapped drive is in your profile not the netweaver user's. If you try searching you should find multiple discussions regarding this topic.

Jamie

Former Member
0 Kudos

Well I have read some posting about this issue but there isn't an anwer (either yes is possible or No - is not possible).

I guess I have to post my question in Netweaver forum. Probably there is something that need to be configured in Netweaver for using SMB (Server Message Block )

Answers (2)

Answers (2)

Former Member
0 Kudos

see above answer by SAP team

Former Member
0 Kudos

Since MII is executed on your netweaver server it will try and search for the path on the server not your local machine.

Make sure the network path is mapped to drive y on your netweaver server and that the user running netweaver has access to the network share.

Alternatively you can try using the network path '
servername\folder' instead of mapping it, but the user running netweaver will still require access to the share.

Jasper

Former Member
0 Kudos

Hi Jasper

>

> Since MII is executed on your netweaver server it will try and search for the path on the server not your local machine.

>

> Make sure the network path is mapped to drive y on your netweaver server and that the user running netweaver has access to the network share.

> Alternatively you can try using the network path '
servername\folder' instead of mapping it, but the user running netweaver will still require access to the share.

>

> Jasper

I know NW search for the file based on the server's machine. I have also mapped y to the
servername\folder at the server's machine. However when I execute the action block with y:\x.txt, MII could not find the file. But it works if the action block has
servername\folder. The drive was mounted based on the user where MII services running .

So I want to knwo if MII could access the file based on mounted network drive or not. If yes, how (since I have tried all the possibilities).

I am thinking:

Does NW needs a persistent's drive to access to the data in the drive. Since Y: is not persistent (it is only connected if one log in in MII server) than you see the Y server. If you log out, the Y: drive will be gone but the MII services still running. I think it might be something that I need to configure in NW so that NW has a persistent value of Y: to
servername\folder . Am I right???

Former Member
0 Kudos

Well I got official answer from SAP. There is no possibillity of accessing a mapped network path (i.e Y:) in any means. Although once log in as the user that trun NW, NW does not have the engine of mapping your NW profile with Windows network profile.

The only possibility is the full network path.!