cancel
Showing results for 
Search instead for 
Did you mean: 

Batch job modification

former_member201364
Participant
0 Kudos

Hello All,

During the postings of travel and expenses , customer sends a file to SAP through a middleware.

In SAP, an inbound batch job is scheduled a daily batch job.

Now the problem is that when ever the two or more files are sent in a day , the earlier file gets overwritten as the batch job is runs only once in a day.

Would there be any possibility to overcome this issue from SAP end?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solution from your end is, to have a program running on OS level to check if file has come to pre-defined directory and then rename the file with date and time stamp.

Modify the batch job to read all the file from particular directory rather than single file and execute the batch job.

If you are using XI middleware, then it is possible to move file to another folder or rename the file.

Edited by: Sunil Sawaikar on Apr 29, 2009 12:15 PM

former_member201364
Participant
0 Kudos

Hello ,

Thanks a lot for your reply...

As you have told - "to have a program running on OS level to check if file has come to pre-defined directory and then rename the file with date and time stamp",--this means that we should create a program that will monitor if there is a new file in the FTP server and modify the file name.

Please guide me how to construct the logic for this one...

Seebeyond is used as middleware. Would there be a solution for this requirement?

It would be fine if the batch job processes a single file ata time...but it has to process several files in a single day...middleware would be sending files one after other.