cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Configuration Header is Missing

Former Member
0 Kudos

Hi,

Am getting this following when I tried a simple UDF in mapping, please let me know your thoughts

"Exception caught by adapter framework: Dynamic Configuration Header is Missing."

UDF

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

DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty0");

conf.put(key1,a);

DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS","DCJMSMessageProperty1");

conf.put(key2,"123");

return a;

Thanks in Advance for the help

Ashok

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member750652
Contributor
0 Kudos

Hi ASHOK,

1.You will be able to see DynaicConfiguration Header automatically in Moni only if your PI is usin service Pack >= 14.in this case you jus need to check ASMA atributes in Communication channel to capture them in the UDF that you have written and need not configure the Dynamic configuration bean.To see the Service pack that you are currently using follow the navigation path.

open the PI through Log on Pad(ABAP engine) -> on the tool bar click utilities>status--> Mote details by clicking magnifying lens symbol then you will be able to see all the services packs and basis components too.

2.In case if the service pack is not SP ! >= 14 then you will have to follow the procedure of using Dyna,ic configuration Bean as experts mentioned above.

Thanks,

Ram.

Former Member
0 Kudos

Hi!

Beside end-to-end testing you have to maintain your communication channel using the DynamicConfigurationBean, which is used to fill the Dynamic configuration Header. For details see here: http://help.sap.com/saphelp_nw04/helpdata/en/45/da2239feb22e98e10000000a155369/content.htm

Message Mapping Testing cannot work because the Dynamic Comfiguration Header is only available at runtime.

Regards,

Volker

Former Member
0 Kudos

Hi Ashok,

If you are using Dynamic Conf in your UDF, then it will throw an error while you are testing the message mapping using Test tab.

End-to-end test is the only option to see if your UDF is working fine.

Also, please check the option ASMA in your CC.

Let us know if you have more questions.

Regards,

Neetesh

Former Member
0 Kudos

Hi Ashok,

If you test the udf in maping it will fail. So please try to an end to end testing and see how it goes.

Regards,

---Satish

Shabarish_Nair
Active Contributor
0 Kudos

in your communication channel, enable the option Adapter Specific Message Attributes (ASMA) and try

Former Member
0 Kudos

Hi,

You need to activate the dynamic configuration in your communication channel.

Regards

Ivan