cancel
Showing results for 
Search instead for 
Did you mean: 

Files are skipping after execution of Command Line in SAP PI 7.1

Former Member
0 Kudos

Hi Friends,

The scenario is Like Third party to PI To ISU.

I am using File adapter and it is picking the files from third party and putting the Encrypted files to PI Inbound folder. The command is executing and picking the files from PI Inbound folder and putting the decrypted files in the decrypt folder and Pi is picking the files from decrypt folder and sending it to ISU.

Now I have analyzed that some files are getting skipped. Like if there are 20 files came from third party to Pi Inbound folder , only 19 files are getting picked from PI Inbound folder and putting 19 files to decrypt folder. Also there are only 19 files in Archive folder.

I have written the below command line- G:\XIServer\SBM\IDD0011_BillingData_SBM\Inbound\script\batch.bat -D %f Dec%f >> G:\XIServer\SBM\IDD0011_BillingData_SBM\Inbound\script\temp\error%f.txt

Please Suggest me how can I handle this issue and how I can solve this skipping of files issue. Let me know if you nee dmore information.

Thanks,

Sherwin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sherwin,

If PI picked 20 files from third party sytem and put in the Inbound folder then the issue is not in the PI sender adatper. but the script running to pick the files from Inbound folder picked only 19 files then do you see the missing file in the inbound folder. if yes then the isssue is in the script.

Cheers

Hidayat

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Thanks for the help. The file was having wrong encryption. The file was not getting decrypted due to wrong encryption.

Former Member
0 Kudos

Hi sherwin,

Good to hear, issue got resolved.

Cheers,

Hidayat

iaki_vila
Active Contributor
0 Kudos

Hi Shervin,

It's script unless the remaining file has a weird character , can you check if there is any difference with the others?, like if it is empty.

Also, If you want to copy files from one path to another in a windows system you can use the example developed by Michal Krawczyk : http://scn.sap.com/community/pi-and-soa-middleware/blog/2007/02/08/xipi-command-line-sample-function...

Regards.