on 02-06-2014 7:13 AM
Hi All,
I am working on File - RFC Synchronous scenario. My requirement is I need to store the entire file request before sending to RFC.And I have need to send the request and response to File. We are working on PI 7.31 Dual Stack.
I have to store the whole file structure and should get that structure.
Please let me know the possible ways how I can store and get that.
This is my first scenario.Please let me know if my requirement is not clear.
Attached is my file structure coming to PI. As mentioned in the attached structure, header is 1..1 cardinality and item is of o..n cardinality.
Thanks,
Swapnika
HI Swapnika,
If you need to store the file before sending to the RFC you can set in the Sender File adapter the option Processing Mode->Archive and to choose the path to save the file before to send it.
For the RFC response you can follow Amit suggestion, you have a howto here File-RFC-File(Without BPM) - Process Integration - SCN Wiki
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vila,
I went through the document File-RFC-File(Without BPM) - Process Integration - SCN Wiki. Really its helpful. Thanks for that.But in the document file is generated only for the RFC response but in my case I need to generate the file for both FileRequest and RFCResponse. Please let me know how the file request should be stored before mapping to RFC request and how to get the stored file request after RFC response.
Thanks,
Swapnika
Hello,
For File <-> RFC <-> File (sync scenario) u can use Request/Response bean module.
Check this:
>>I have to store the whole file structure and should get that structure.
I am not sure what d0 u mean by this? Using a JM u can save request message but why u want to get that request structure and where?
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Thanks for the quick reply.
I am sorry,I was confused with the requirement. My scenario is also same i.e., File <-> RFC <-> File( where PI will pick the file and send RFC and get back the response and then generate a file). But in my case, I have to generate the file for both request and response(not only response). This is the reason ,I wanted to store the file request and retrieve the same request after the RFC response.If this is valid, please suggest me how to achieve this.(I've heard that using Global Containers and DynamicConfiguration, we can save the data in PI but not very sure).
Please suggest me if I am thinking in wrong way.This is the first time I am working on PI.
Hi
You want to save the entire file data before you perform the RFC call ?
Why you want to save the file because the same file will be available in the archive directory if you choose the file processing mode as archive in the sender file adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.