on 06-25-2009 5:16 PM
Hi,
We have this UDF working in XI 3.0, to feed file name into message mapping:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
String file = ( TableName );
conf.put(key, file);
we are upgrading to 7.1 and this little thing is not working any more. Can smebody please suggest what to do to get it working in PI 7.1.
Alternatively, is there any other way to fill up 'Dynamic Configuration' in graphical mapping.
Thanks for your help!
Hi Dehra
I have the same problem for the first run. I open the the messages mapping, change my user function.
In function, I change nothing. Close the function and activat the messags mapping an make a new
test.
The user function was now running.
Regards Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you testing in Test in Message mapping or Operation mapping? Then it is normal that you get error. Please make a test using integration engine send test message tab in rwb if it is not a production environment.
Kind Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dehra,
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
String file = ( TableName );
conf.put(key, file);
return file;
I will work, i hav done similr requirement in my currenct project with version PI7.1 its working fyn.
cheers,
raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we are using following in 7.1
public String Get_Input_File_Name(Container container) throws StreamTransformationException
{
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String SourceFileName = conf.get(key);
return SourceFileName;
}
Edited by: NetWeaver Expert on Jun 26, 2009 7:09 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.