FTP/SFTP Implementation on Mainframe Dataset servers| SAP PO
It was quite challenging for us when we converted our FTP protocols to SFTP in our SAP PO landscape.
Here in this blog post , I am going to share one such experience where the upstream system was running on mainframe servers and we successfully implemented SFTP connection.
How should we read and parse a file if SFTP job runs on mainframe servers ?
SAP PO uses SFTP adapter in below two manners:
- SFTP Sender Adapter: To pull files from SFTP server’s folder
- SFTP Receiver Adapter: To push files to SFTP server’s folder
We are going to discuss the first method where files will be pulled from SFTP server.
Here in this case SFTP transfer job runs on Mainframe server (Mailbox Concept).
HOW TO CONFIGURE THE CHANNEL:
So, in a mainframe server (mailbox concept) instead of Folders we have datasets.
Our channel especially File name and Directory must be configured like
/FTADV:P=UNIX/___ “Your mainframe dataset”(Double quotes not required) -> If your SAP product is on UNIX server.
/FTADV:P=WIN/___” Your mainframe dataset” (Double quotes not required)->If your SAP product is on WINDOWS platforms
FTADV – File Transfer Advice String
How to achieve in FTP Sender channel ?
- We can also use the same way for FTP adapter of SAP PO 7.5 as well.
- We don’t need to provide File Transfer Advice string just the dataset name enclosed within single quotes.
Please feel free to share your insights /comments/experience.
I am exploring on the same implementation if we want to place files in the mainframe server.
If anyone has experience ,please share in the comments section.
Gautham Ulaganathan C