cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic configuration

Former Member
0 Kudos

Hi Gurus,

Can you please how can I add the dynamic attributes to the URL in the in HTTP adapter.

My URL contains batchid as the dynamic parameter how can i add this one to the URL.

Any help appreciated.

Thanks,

Jay.

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

USE ASMA and follow this [link|http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm]

The above link specifies field and parameter setting dynamically.

Also namespace for this http adapter is http://sap.com/xi/XI/System/HTTP.

Use this [link2 |http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13704] [original link is broken] [original link is broken] [original link is broken];for creating UDF for dynamic configuration and change the namespace for http as specified above.

Former Member
0 Kudos

I configured receiver http adapter

Former Member
0 Kudos

Check the URL checkbox in ASMA and try using the below code for the Dyn Conf

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/HTTPu201D,u201CTargetURLu201D);

String MyURL = <create ur url>;

conf.put(key, myURL);

Answers (0)