cancel
Showing results for 
Search instead for 
Did you mean: 

Reading two files at a time

Former Member
0 Kudos

Hi,

My sender system sends two files

1.Header

2.Item

I need to read both the files at a time.

If only both the files are present in the directory,i want pick the files otherwise not.

How can i do this validation in XI??

Thanks.

Rushikesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rushikesh,

YOu can do this in two ways,

Either you use BPM or Shell script

BPM:

get the file in BPM and wait for second file,Furthur proess can be executed only if you get second file.

Shell script:

Write a script to get two files or conditions in script and exit

adapter wll call after your script.

Thanks

Prabhakar

Edited by: VenkataPrabhakar Teegavarapu on Oct 21, 2008 11:32 AM

Answers (2)

Answers (2)

prasad_ulagappan2
Contributor
0 Kudos

It all depends on the file name format too. If it is in different format, as my understanding, it wont be possible with XI.

If you tell me teh file name format, I can suggest you some other alternative for this.

Former Member
0 Kudos

hi

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10377] [original link is broken] [original link is broken] [original link is broken];

chk the above blog might help u in some regards.

Siddhesh