on 2018 Mar 13 7:48 AM
Hi guys,
Recently we upgraded our PI system from 7.0 to 7.5 (dual split) we have been using UDF Dynamic file configuration java function to get the filename from ftp from one of our scenario, it was working perfectly fine before upgrade but now giving exception just PRD, while it is running fine in Qas. its giving exception in both end to end scenerio or mapping testing.
please guide me as i am already search on Scn but didn't find a solution
Code of UDF and screenshots are attached for reference please.
public String getFileName(Container container) throws StreamTransformationException
{
String fname = "";
Try
{
DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File","FileName");
fname = conf1.get(key1);
conf1.put(key1,fname);
}
catch(Exception ee)
{
fname = " " ;
}
}
Request clarification before answering.
Hi,
Test message in Operational Mapping.
Regards,
Anoop Rai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.