cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module - ModuleContext class

Former Member
0 Kudos

Hi SDNers,

We use the ModuleContext class in adapter module to get some adapter specific values. We have the method getContextData(<parameter>) to retrieve these values. What are the possible parameters/values that I can retrieve using this method. Do we have a sap documentation on the same topic. I tried to locate it but could not find any.

Thanks

Jaishankar

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

You can use any values you like.

When you write your adapter module code, you define the values in the source code. You have to put the same values in the module chain.

Regards

Stefan

Former Member
0 Kudos

Stefan,

I guess I am looking at the wrong method then.

I am trying to read the values from the header of the message. Values like File name, DIrectory etc.. which are specfic to an adapter. Can you please tell me what is the method that I need to use for this purpose.

Thanks

Jaishankar

stefan_grube
Active Contributor
0 Kudos

check this blog:

The parameters depend from the adapter type. The are described in the online help for each adapter type seperately.

Regards

Stefan

Answers (0)