on 04-30-2014 7:34 AM
Hi All,
My scenario id RFC to file synchronous scenario.Following the below link, I configured everything and its working fine. I am working on SAP PI 7.31 Dual Stack.
http://scn.sap.com/blogs/henrique/2007/08/02/syncasync-scenarios-without-bpm
As mentioned in the above link, I created the file with Message Id as file name and correlating with the message id(Using WaitResponse and Notify beans).Its working fine. But I don't want the file name to be as Message Id. Then in that case, please suggest me how can I correlate the request and response messages.What are the possible ways of doing it.
Thanks,
Madhurima
there is not a best way, just what you need to archive, take the file name as you mentioned is not the best practice, so you can use another parameter provided by SAP.
To evaluate the following attributes in the PI message header, set the corresponding indicators:
○ File Name (technical name: FileName)
○ Directory (technical name: Directory)
○ File Type (technical name: FileType)
○ File Encoding (technical name: FileEncoding)
do any of them are good for you?
Rdgs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for the suggestions.
I got the soIution. I am setting the file name as correlation id in File Receiver Communication Channel(Using Dynamic Configuration bean and file name is checked in ASMA configuration).And the same file is read by the File Sender CC and setting the file name as correlation id using Dynamic Configuration bean so that the correlation is happening with the filename and sync-async communication is working fine with that correlation.
Thanks,
Madhurima
Hi Madhurima,
According with SAP.help documentation you have FileName, Directory, FileType, FileEncoding, SourceFileSize, SourceFileTimeStamp and SourceFTPHost (https://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm or https://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htmConfiguring the Sender File/FTP Adapter (SAP Library - Partner Connectivity Kit)).
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhurima,
RFC to file? so the receiver is a File adapter, right? You can cofigure the cc according to the name you need,
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.