Skip to Content
avatar image
Former Member

problem in Dynamic Configuration bean

Hi

I am trying to dynamically change the filename using Dynamic Configuration bean with some constant value but target file is having same name as source. In communication channel monitoring logs I can see the successul processing log but actually file name is not getting changed at all.

Regards

Akhil

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 03, 2008 at 12:17 PM

    Hi,

    How u chaged the File name,in UDF which u have written.

    give complete datails so that we can give any idea.

    regards,

    phani

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your reply but

      I am using SAP provided Dynamic Configuration bean in communication channel,No UDF

      Regards

      Akhil

  • Jan 03, 2008 at 12:24 PM

    Hi,

    Did you select the Set Adapter Specific Message Attribute check box in Communication Channel?

    Thanks and Regards,

    Sanjeev.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2008 at 12:24 PM

    Hi,

    M not sure what will be the error with this when u r using dynamic configuration bean.But same functionality can be better achieved by using this dyanamic configuartion UDF :

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

    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");

    conf.put(key, a);

    return value;

    Regards,

    Anoop

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Prateek Raj Srivastava

      Hi Prateek

      First of all thanks for your reply..

      I just found a blog which deals with my problem

      /people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean

      But even for that Dynamic Configuration bean should work.

      I have check Adapter specific message attributes in sender side and configuration seems fine to me.

      But still i am not getting results as desired...

      Is there any pre requisite with this module?

      Regards

      Akhil