cancel
Showing results for 
Search instead for 
Did you mean: 

BODS SAP DS file_move XML file processing

09-13-2024 11:11 PM
LeeFung Participant
568 views 1 comments
0 Likes
SAP Managed Tags
Labels
SAP BODS
Subscribe

I have a an XML BODS processing job, processing many XML files at a time. 

Now I have a requirement, on an Linux server, using BODS function file_move, but it needs to only move one XML file to a different folder at a time, not all XML files. 

The reason is that some XML files might be badly formatted, and can't be processed by the BODS job, and those XML files need to go to a different folder after processing. 

 

Anyone had such a scenario before? Thanks!

 

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

koolspy_ultimate
Active Contributor

Hi Leefung,

You can use try catch blocks and in the catch block add a script to move the bad file to different location.