cancel
Showing results for 
Search instead for 
Did you mean: 

File path

Former Member
0 Kudos

Hi,

i have 2 files at my sender side,which should be picked at my sender side at a gap of 12 hrs,i wil configure BPM for that,in sender adapter where should i specify my file names...in my sender adapter

my files are:

c:/folder1/file1.txt is the first file path and

c:/folder1/file2.txt is the second file path

Regards,

Rao

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Do u mean u r using NFS? Bcoz u have mentioned the path of files

I think BPM is not needed unless u have to collect the files. For time related requirement, u may use Planning Availability Times

http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31122e10000000a11466f/frameset.htm

For naming req, does File2 exist in the folder when File1 is picked up?

Regards,

Prateek

Former Member
0 Kudos

Hi prateek,

am not using NFS,am using FTP.

the files will be placed at server location.

am using xi3.0 SP 15

Regards,

Rao

Former Member
0 Kudos

Hi roa,

If you are using FTP then in

Go to

File Access Parameters

In

Source directory = <ip address of the system where the file is present>\<directory if present>

File Name = <give as file*.txt>

Regards

Ramesh P

Former Member
0 Kudos

Hi ramesh,

the blog which you sent works only on XI3.0 SP19,am using SP15.

how can we acheive this with out adapter scheduling.

Regards,

rao

Former Member
0 Kudos

hi Roa,

Ok, if your SP is not 19 what you can do is, either

1. Upgrade to SP 19

2. you can write a batch program which can pick the files from different location and place it in the directory where xi will read, the batch program need to handle the time part (12 hrs).

3. BPM

Regards

Ramesh P

Former Member
0 Kudos

Hi ramesh,

where should we write the batch program?

how will it be if i use BPM and use RECEIVE->TRANSFORM->WAIT->SEND steps.

Regards,

Rao

Former Member
0 Kudos

hi rao,

1. You have to write the batch program on the system where the file generated. Batch program is a program which will pick the file and place it in the location where XI is directed to pick. This Batch program is OS dependent program. Suppose if the file is generated in window then you have to write batch program which is dependent on Windows which will execute every 12 hrs.

2. Usage of BPM is also fine but it adds overhead on XI itself.

Also check this link, might be helpful.

http://help.sap.com/saphelp_nw04/helpdata/en/45/0c86aab4d14dece10000000a11466f/content.htm

Regards

Ramesh P

Former Member
0 Kudos

Hi ramesh,

do u have any links of how to write batch program.

Regards,

rao

Former Member
0 Kudos

hi roa,

I think you have search for batch programs in google, thats the best help

Try out these steps in the following links, it might help you

http://www.allenware.com/icsw/icswidx.htm

http://www.chebucto.ns.ca/~ak621/DOS/BatBasic.html

Regards

Ramesh P

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Roa,

I think you dont have to use BPM at all. Because we can configure the sender file adapter as to when to pick.

You can refer this blog to achieve this.

/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

You can specify the file name in

File Access Parameters

Source Directory* =

File Name* =

Make sure where you are storing the file, whether it is in local area network then use NFS as protocol or else for remote connectivity use FTP.

In source directory Field

NFS -- shared location path

FTP -- IP Address of the system with the directory

In File Name field

Give as *.txt

Regards

RAmesh P

Former Member
0 Kudos

Hi Rao,

give *.txt in the file name.

Hope your problem gets solved.

Thanks,

Jhanavi

nikhil_bose
Active Contributor
0 Kudos

you can use file*.txt or file?.txt as file name

nikhiL