Hi Vinoth,
Welcome to SCN!
Can you elaborate on what you want to do with the values after storing them?
If you want to use them within the same message mapping, then you don't need to use Dynamic Configuration in your UDF. Once approach is by storing them as key-value pairs in the GlobalContainer object, the values stored in GlobalContainter can be retrieve back in any other UDFs of the same message mapping.
Alternatively, you can also just declare attributes directly in the message mapping in the "Functions" tab under "Attributes and Methods" section. You can add Java declarations like below there:-
private String[] items;
After your RFC Lookup call, you can store them into the attribute via UDF, example below with rfcOutput declared as a parameter for a UDF of Queue type.
items = rfcOutput;
When you want to access the values, you can just use another UDF and look through the values
for (int i = 0; i < items.length; i++) {
// do something here
}
Rgds
Eng Swee