cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic configuration required in sender file - Adapter Module

Former Member
0 Kudos

Hi Everybody,

I am developing an Adapter Module in the file adapter (sender) using Adapter Specific Message Attributes.

I am using Dynamic configuration inside the Module Process method in the adapter module.

We are getting an error saying Dynamic Configuration cannot be resolved.

Can anybody tell me the package to be used.

Thanks,

Zabiulla

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

You can access the dynamic configuration in adapter module like this:

Message msg = (Message) inputModuleData.getPrincipalData();
String fileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File", "FileName");

You do not need any addition library besides the adapter module API.

Hope that helps

Stefan

Answers (3)

Answers (3)

Former Member
0 Kudos

Answered

GabrielSagaya
Active Contributor
0 Kudos

You need to have the JAR aii.map.api.jar to access those classes.

You will find this jar in the path j2ee\cluster\server0\apps\sap.com\com.sap.xi.services of your XI server.

former_member181985
Active Contributor
0 Kudos

Hi,

Have you deployed the necessary jar files along with your module development.

Can you provide the actual error log?

thanks,

Gujjeti

Former Member
0 Kudos

Yes.. I have imported all the .JAR files.

Thanks

Zabiulla

former_member181985
Active Contributor
0 Kudos

Hi,

Can you provide the entire error log ?

Thanks,

Gujjeti

former_member181985
Active Contributor
0 Kudos

Hi,

I guess you are not providing the necessary Mapping JAR file "aii_map_api.jar" for the module at runtime.

Means you might have used it at the time of compilation time in IDE such as NETWEAVER DEVELOPER STUDIO but you have not included it in the deployment archive.

Thanks,

Gujjeti