cancel
Showing results for 
Search instead for 
Did you mean: 

File picking and placing in same dir App server of SAP XI using NFS.

santosh_k3
Active Participant
0 Kudos

Hi All,

As I am new to XI,

I am using XI 3.0,

My scenario is File ->XI-> File.

This is just a pass through data that is no IR objects.

I need to pick the file from App server(AL11) of R/3 sys , we have a dir as "/sai/output"

so in order to pick file from the App server of R/3 sys using NFS,

the dir "/sai/output" is mounted into the App server(AL11) of XI ie.., there is a same dir in AL11 of XI as "/sai/ouput".

so when ever the file(sai.txt) is placed in the "/sai/output" in r/3 App server , i am able to see the file(sai.txt) in the "/sai/output" in XI App server.

what i am trying to do is pick the file(sai.txt) and place the file(kumar.txt) it in same dir " /sai/output" of XI Appserver using NFS.

sender cc parameters are like these :

Transport protocol : NFS

source dir : \sai\output\

filename : sai.txt

Qos : Exactly once

Poll intervel : 10sec

processing mode : delete

Receiver cc parameters are like these:

Transport protocol : NFS

target dir : \sai\output\

filename : kumar.txt

So my questions are

1) can i place the file in App server (AL11) dir "/sai/ouput" of XI where i am picking the file it from the same location ie.., App server (AL11) dir "/sai/output"

2) If so, the procedure(cc parameters) which i have shared is correct.

Correct me if am wrong.

Thanks

Sai

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

The configuration aprameters are correct so if you want use same directory to pick and place .

then its better fixed filename for sender and while placing place with time stamp.

Regards

sandeep

Answers (3)

Answers (3)

Former Member
0 Kudos

1. Mention the same path name in the archieve option with change in name of the file or i will be recursive.

2. Or just use multiple locations option in target directory and dump whereevr you want with new file name.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai,

sender cc parameters are like these :

Transport protocol : NFS

source dir : \sai\output\

filename : sai.txt

Qos : Exactly once

Poll intervel : 10sec

processing mode : delete

Receiver cc parameters are like these:

Transport protocol : NFS

target dir : \sai\output\

filename : kumar.txt

I think the source dir should be /sai/output and target dir should be /sai/output. The slash is in reverse direction , so I think the files are not being picked up at all. So you are only seeing the same files in same place.

regards

Anupam

santosh_k3
Active Participant
0 Kudos

Hi anup,

-


> I think the source dir should be /sai/output and target dir should be /sai/output.

I even tried in this way as well as "\sai\output" . but the file is not picking and placing

or it should be in this way "\sai\output\".

Whether i need to have read, write permissions to that directory?

How to know whether i have the read, write permissions to the dir.

i am able to see the contents in the dir.

Thanks

Sai

Edited by: sai_SHA on Aug 5, 2011 4:03 PM

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sai,

The files need rwx bits to be set before being picked up by channel

Thus you need to use "chmod +777 sai.txt" before the file is picked up.

Thus you can try set up the parameter "operating system command before processing" to "chmod +777 sai.txt" in the channel.

you can look into this link for setting this parameter

/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi

How are you accessing the file directory? if you are using WINSCP, you can right click on the file and check the read, write, execute bits on for the file.

"/out/output " is perfectly ok for UNIX/LINUX operating system.

Now in RWB pls check the polling of communication channel.

and check in SXMB_MONI whether some messages are being received or not.

regards

Anupam

Edited by: anupamsap on Aug 5, 2011 1:01 PM

Former Member
0 Kudos

HI ,

Could you please check the communication channel log of sender file adapter in run time work bench. From there you can decide what will be the problem. If the channel is running fine without any errors please check the file name with case sensitive.

REgards,

Rama Balusu

santosh_k3
Active Participant
0 Kudos

Hi All,

How can i know wheter the file which is in App server(AL11) of SAP XI has read, write permissions

Can any budy suggest me on this.

Thanks

Sai

santosh_k3
Active Participant
0 Kudos

Hi All,

Thanks to every one.

Basis guy has given the permissions and i am placing the files in same dir successfully

Thanks

Sai

former_member194786
Active Contributor
0 Kudos

Hi Sai,

Yes, you can do that and the config looks ok. But ideally you should not use same directory for both inbound and outbound files.

Regards,

Sanjeev.