on 07-02-2015 9:58 AM
Hello experts,
I want to do a pass through scenario where in I will pick using AS2 sender channel and receiver is file channel.
I want my receiver file to have the same name as the sender file name.
Can I use the ASMA in sender AS2 channel to achieve this?
Regards
Advit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Advit,
Nope..
Since you are not reading / not parsing the file content in PI, you can handle various file structures using this approach.
You need to remove the structure validation option by removing Software Component version in Sender Agreement as mentioned in following blog:
Hope it helps
Regards,
Azhar
Hi Advit,
You should be able to achieve this as a pass through scenario with no mapping. All you need to do is set your AS2 sender channel with the check mark for "Set dynamic parameters" and then use the DynamicConfigurationBean on the File receiver channel to read the value AS2Filename from the AS2 namespace and write it to the Filename attribute for the File namespace.
Regards,
Ryan Crosby
Hello Ryan,
I just wanted to know whether the same logic can be applied for the reverse scenario,
Here the sender channel is a file channel and the receiver channel is a AS2 adapter.
We have a requirement where the File name should reflect in AS2 File name.
Note that this is a pass through scenario,Please also note that I am using SAP PI 7.31 with B2B addons.
Regards
Advit
Hi Advit,
For the reverse scenario you would need a java mapping or graphical mapping to read the dynamic configuration from the file information and copy it over to the AS2 namespace into the AS2FileName property. A parameterized operation mapping and corresponding java mapping would probably be the easiest way to achieve the overall transmission to fulfill your requirement.
Regards,
Ryan Crosby
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.