cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I determine ModuleData .getSupplementalData (" module.parameters ")

Former Member
0 Kudos

ModuleData .getSupplementalData (" module.parameters ") returns hashtable, each kind of adapter might have different module parameters, from where I can get the names of those parameter so that I can access those.

I did not find any location which tells about it.

we simply or blindly write

Hashtable moduleParameter = (Hashtable) inputModuleData.getSupplementalData("module.parameters");

fileName = (String) moduleParameter.get("FileName");

I really need the list because of nature of my senario. let say in the case of mail sernario, i need to send email to different email based on the file name being processed and there are more than 20 types of file, I can not configure different senario for each type, I can not use the standrad .xsd from market place, because there are different xml files descripting each type of file (have same structure).

Any Idea???????????

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I know this, but Its not good way, for each adapter type one has to do this, even module.parameters is not the only parameter.

There should have some documentation regarding or naming schemes, mapping between interface elements (adapter UI) to technical name, which one can use.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Look into this link,

http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm

<i>The adapter namespace comprises the namespace in the Integration Repository in which the adapter metadata for the adapter is saved and the name of the adapter metadata object. The adapter namespaces for the adapters shipped by SAP therefore have the following format:

http://sap.com/xi/XI/System/<Adapter Metadata Object Name of Adapter>

The adapter metadata objects are located in the namespace http://sap.com/xi/XI/System of software component SAP BASIS.</i>

Look into the SAP Basis component and check the tecnical names as mntioned above.

Regards

Bhavesh

Former Member
0 Kudos

please check this..

Inside your adapter module, after you get your Hashtable...get an enumeration of all the keys and values using the methods - 'keys()' and 'elements()' .

Then write these out to a file at your OS level....then see what all are the values....then work with that...or if you have a handle to the trace object in the mapping you can try adding it to the trace also...

Thanks.