Skip to Content
author's profile photo Former Member
Former Member

Dynamic Configuration is not called in End to end processing

Hi,

I am working on scenario Proxy to File. From the source side, they are sending the target file name in the proxy. So for that we are implementing the dynamic configuration.When the proxy is triggered from ECC, the dynamic conf is not called. I am not able to see the Dynamic configuration in SXMB_MONI. But when i send the same payload through RWB, i m able to see the Dynamic conf in SXMB_MIONI and the target file is getting generated.

Please suggest the solution for this.

Thanks,

Soumya.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 12:26 PM

    Hi,

    Add some log statements in the PI Message Mapping Dynamic config function and check in Moni....by executing using Proxy as well as RWB....

    you can trace out whethr the dynamic config is called or not..if called till what step it has got called...

    HTH

    Rajesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2011 at 11:53 AM

    strange, never had this kind of issue.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I feel the dynamic configuration should be accessed at the runtime and not generated. We have had similar scenarios where we built the file name at runtime accessing the payload.

      Try using the below UDF for a dummy field on target side and the field carrying file name on source side..

      public String setDynamicFileName(String Key, String Value, Container container)throws StreamTransformationException{
      
      DynamicConfiguration conf = (DynamicConfiguration) container
          .getTransformationParameters()
          .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
      
      DynamicConfigurationKey key = DynamicConfigurationKey.create(
          u201Chttp://sap.com/xi/XI/System/Fileu201D,
          u201CFileNameu201D);
      
      conf.put(key,value);
      return("");
      
      }

      This should work as long as you are passing a value in source field.

      Thanks

      Amit

  • Posted on Jul 18, 2011 at 12:51 PM

    Take the input payload and debug it? You can ask abaper to do it.

    Regards

    Pothana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2011 at 07:41 PM

    Hi Soumya,

    You cannot see the dynamic config there becuase proxies uses integration engine. So probably that is why you are unable to see. You can only see the dynamic config on the AE adapters. Hope this makes sense.

    Regards,

    ---Satish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.