on 08-22-2009 10:37 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in your communication channel, enable the option Adapter Specific Message Attributes (ASMA) and try
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to activate the dynamic configuration in your communication channel.
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.