Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

RFC Look Up Global Variable

$
0
0

Hi,

 

I have done a RFC look up to fetch values from ECC . I am successfully getting the values in the RFC response. I want to know how I can store or hold these values in SAP Pi using global variable. Can anyone please help with the UDF logic for the same. Below is the sample UDF I have written but I am not sure how I can use the same after the RFC output to hold the values.Any inputs would be appreciated.

 

I am currently getting the data in XML in the ITEM field. Please help on how to store the values in global variable.

 

DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

 

DynamicConfigurationKey keySource = DynamicConfigurationKey.create("http:\\www.test.com\\RFClookup","ITEM");

 

if (conf != null) {

conf.put(keySource, var1);

}

return var1;

 

Thanks


Viewing all articles
Browse latest Browse all 8644

Trending Articles