cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in UDF GET FILE NAME Dynamic configuration in PI PRD

former_member435556
Participant
0 Kudos

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 = " " ;

}

}


View Entire Topic
former_member207703
Active Participant
0 Kudos

Hi,

Test message in Operational Mapping.

Regards,

Anoop Rai