Skip to Content

File Validation

Dear Scn Users,

The scenario is File->Proxy.

File server will have one .dan file and 4 other files.

If the .dan file is present then the 4 files should be picked and processed.

How to achieve this? Should I use NWBPM or any module or any other technique?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 01, 2016 at 07:57 AM

    Hi Raghu,

    What is the transport protocol for file adapter is NFS or FTP because additional files option is available for only NFS not for FTP.

    Or if the sender already have SFTP service enbales then you can use SFTP adapter instead of FILE adapter because SFTP adapter also support additional files option, normally both services are available in the server.

    Check this blog for how to configure additional files Sending Additional Files from SAP Netweaver PI to Third party FTP location

    Dont forget to specify the parameter <AdditionalFile>.optional = NO then it treat it as mandatory file.

    Regards,

    Praveen.


    additional.png (10.8 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01, 2016 at 07:49 AM

    Hi,

    The best way would be to use a script that will move the required file from original folder to say folder PI once the dan file is created.

    Thus PI can pick the required file from the new folder.

    You could use "additional files" in channel. Then the file will not be read until all required files are available.

    Regards

    S Tomar

    Add comment
    10|10000 characters needed characters exceeded