on 11-20-2007 5:49 AM
Hi
I have configured file adapter in such a way that, it accepts parameter name and value from module configuration table.However when I tried to send parameters, it was not allowing me to access the values of each parameter by writting the following piece of code in Adapter Module.
Here String1,String2 are parameter Names from table
inputModuleData.getSupplementalData("module.parameters");
String first = (String) mp.get("String1");
String second=(String) mp.get("String2");
can any one suggest me How can I access data from configured adapter?
hi kumar,
can you plz check in Module the <b>Call Sap Adapter module</b> is after your module or not, if it is not so make <b>Call Sap Adapter module</b> last in sequence.
hope this will help.
regards
HONEy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi kumar,
refer this:
Adapter module
Testing
/people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
it gives u all code u need to pass/ receive params.
[reward if helpful]
regards,
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi kumar,
>> I need the approach to pass values from adapter. And how to retrieve parameter values in Adapter Module?
u shud use moduleContext for accessing parameters specified for module in adapter configuration.
give the parameters in module tab in adapter configuration that u want to paas to ur module (as explained in the link i mentioned earlier) and in ur module access them using:
String parameter = moduleContext.getContextData("parameter");
here "parameter" is the param set in adapter configuration module tab page.
[reward if helpful]
regards,
latika.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.