on 10-06-2006 1:03 PM
Hi ,
We have a scenario , a file to RFC , we need the file name which is coming the SOAP payload . This file name needs to be captured in the payload . Please tell me is there any way capture this .
Thanks
Anita
You dont' need to import anything, you can't test this in the mapping because the filename isn't there until you actually pick up a file in a real test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anita,
If SP14 and above , do this,
Sender File adapter --> Adapter Specific Identifiers --> Select File name
Then in your mapping, you can use this piece of code to access / get the file name,
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String FileName = conf.get(key);
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use Adapter specific message attributes to capture the file name.
You can refer this blog by Michal
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Thanks,
Prakash
Message was edited by: Prakash Arunachalam
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.