on 11-13-2014 10:26 AM
Hi
I have done a RFC look up to retrieve values from ECC. I have tested the same and its working fine.
I want to hold the values that are returned by RFC in a global variable. Can some one please let me know what can be done to achieve this .
Can the set and get parameters help here
Hi Amit,
I've just remind that with dynamic configuration you ca set/get global variables as well and in if i'm right you can use it from PI 7.0 and upper versions.
Check Praveen Gujjeti's blog
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried using a dynamic configuration UDF.
ZSOURCEFIELDVALUE3 is the field to which I am mapping the output of RFC look up call.
Looks like I am missing something here.
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySource = DynamicConfigurationKey.create("http:\\www.test.com\\RFClookup","ZSOURCEFIELDVALUE3");
if (conf != null) {
conf.put(keySource, var1);
result.addValue(var1);
}
return var1;
Hi Inaki,
Yes I am using ICO and I am on single stack.One more question I have is the above code will I need to use it under the edit java section . Currently I have developed this as a normal UDF.
But somehow I am not able to get the desired value from the RFC call under the var1 which is defined in the UDF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
You can use static variables, check this Carlos Ivan Prieto Rubio blog
At least you need to have a PI 7.1
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.