Adapter Specific Message Attributes (ASMA) – dynamic configuration of communication channels

Basic function of SAP PI mappings is tu build target message content.Technical parameters, such as file name, path, target host address, are usually configured in Communication Channels.

Sometimes it is necessary to set these parameters dynamically – depending on the source data. For the most simple cases (such as changing target file name) one can use Variable Substitution method, but much more possibilities can be offered by ASMA (Adapter-Specific Message Attributes).

For the majority of PI adapters there is a set of Communication Channel attributes, that can be defined in PI message header using Dynamic Configuration objects. For particular attributes dynamic configuration with ASMA can be enabled in Advanced tab of Communication Channel details:

Adapter Specific Message Attributes (ASMA)

Adapter Specific Message Attributes (ASMA)

ASMA dynamic configuration in User Defined Functions (UDF) in Java

Message attributes in dynamic configuration can be set using UDF (User-Defined Functions). Every user-defined function includes Container-class object as a parameter. With its methods, one can get Dynamic Configuration object:

[codesyntax lang=”java”]

DynamicConfiguration conf = (DynamicConfiguration) container


The next step is to create key & value pairs for each object to be configured, keeping in mind a relevant namespace for the given Communication Channel type. Here are some sample attributes for selected Communication Channels:

File Adapter – namespace:

  • FileName
  • Directory
  • TargetTempFileName (if used)

Mail Adapter – namespace:

  • THeaderFROM – sender
  • THeaderTO – receiver
  • THeaderCC – carbon copy receiver (Cc)
  • THeaderBCC – blind carbon copy (Bcc) receiver
  • THeaderSUBJECT – e-mail subject

JMS Adapter – namespace:

  • DCJMSCorrelationID – Correlation ID
  • DCJMSMessageID – Message ID
  • DCJMSMessageQueue – Message Queue

HTTP Adapter – namespace:

  • URL

Knowing key name and namespace, value is assigned to attribute key:

[codesyntax lang=”java”]

DynamicConfigurationKey key = DynamicConfigurationKey.create(


Finally, attribute key and value is to be assigned to dynamic configuration. In the below example, user-defined function sets target file name attribute based on an input parameter (filename) value:

Adapter Specific Message Attributes (ASMA)

Adapter Specific Message Attributes (ASMA)

Complete list of attributes, which can be configured dynamically for each Communication Channel, can be found on SAP Help portal: Using Adapter-Specific Message Attributes in the Message Header, selecting a specific Communication Channel type and proceeding to Define Adapter-Specific Message Attributes section.

Dynamic Configuration in XSLT mappings

An alternative to UDFs in Java to set Communication Channel attributes in Dynamic Configuration is to use XSLT mappings. The method is described in SAP Help: XSLT Mapping of Adapter-Specific Message Attributes.


Thanks to dynamic configuration access from message mapping level, wide range of programmable Communication Channel attributes is available. Potential applications are not limited to the following sample usages:

  • choosing target directory depending on plant, storage location number in SAP
  • placing order, invoice number or partner name in file name
  • setting e-mail recipient based on an address included in source message
  • setting e-mail subject depending on message content
  • dynamic URL creation for target HTTP service
56 replies
    • Maybelle
      Maybelle says:

      After looking at a number of the blog posts on your web site, I honestly appreciate your technique of writing a blog.

      I added it to my bookmark site list and will be checking back soon. Please check out my website too and let
      me know how you feel.

  1. garcinia cambogia gold
    garcinia cambogia gold says:

    Fantastic beat ! I would like to apprentice whilst you amend your
    web site, how could i subscribe for a weblog web site? The account
    helped me a applicable deal. I were a little bit familiar of this your broadcast offered vivid clear idea

  2. Gale
    Gale says:

    Howdy, I believe your site could possibly be having internet
    browser compatibility problems. Whenever I look at your web site in Safari,
    it looks fine however when opening in I.E., it’s got some overlapping issues.
    I simply wanted to give you a quick heads up! Aside from that, wonderful website!

  3. Geoffrey
    Geoffrey says:

    I loved as much as you’ll receive carried out right here. The sketch
    is attractive, your authored subject matter
    stylish. nonetheless, you command get bought an nervousness over that
    you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly a lot often inside
    case you shield this hike.

    • garcinia cambogia ketosis
      garcinia cambogia ketosis says:

      Hi! I’ve been reading your website for a long time now and finally got the
      courage to go ahead and give you a shout out from Huffman Texas!
      Just wanted to tell you keep up the fantastic work!

  4. Margaret
    Margaret says:

    You really make it appear so easy along with your presentation however I find this topic to be actually something which I think I’d never understand.
    It sort of feels too complex and very broad for
    me. I am having a look forward on your next
    submit, I’ll attempt to get the cling of it!

  5. Angela
    Angela says:

    Magnificent items from you, man. I’ve be aware your stuff previous to and you’re simply too wonderful.
    I actually like what you have acquired here, really like what you’re saying and the way
    in which you say it. You are making it entertaining and you still care for
    to stay it sensible. I cant wait to learn far more from you.
    This is actually a great web site.

  6. Warner
    Warner says:

    Hello! This is kind of off topic but I need some help from an established blog.
    Is it very difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about setting up my own but I’m not sure where to start.
    Do you have any points or suggestions? Thanks

  7. Blanche
    Blanche says:

    Hello there! This is my first comment here
    so I just wanted to give a quick shout out and tell you I really
    enjoy reading your blog posts. Can you recommend any
    other blogs/websites/forums that go over the same topics? Thanks a lot!

  8. Armand
    Armand says:

    Appreciating the hard work you put into your site and in depth
    information you offer. It’s good to come across a blog every once in a
    while that isn’t the same outdated rehashed information. Fantastic read!
    I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  9. Rochell
    Rochell says:

    I was curious if you ever thought of changing the layout of your site?

    Its very well written; I love what youve got to
    say. But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or
    2 images. Maybe you could space it out better?

  10. Lovie
    Lovie says:

    I every time emailed this webpage post page to all my contacts, because if like to read it afterward
    my links will too.

  11. Bradly
    Bradly says:

    Howdy! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and
    I’m having problems finding one? Thanks a lot!

  12. Kandy
    Kandy says:

    Karma is a constant.

    Knowledge will be of, and the fact of trust us.
    Grace will be divinity’s driver.

    Imagine of what may be a.

    Bondage is born in the gap where coherence has been omitted.
    One can’t dream. Just a child of the quantum cycle might manifest this vision of wellness.

    The planet is asking to you personally via electric signals.
    Could you hear it? Even if you not recognize it, you are educated.
    When you have never experienced this quantum switch in the quantum stage, it can be
    hard to trust.

    By improving, we vibrate. I and you are messengers of the universe.
    Nothing is difficult.

    The universe is aglow with signals.
    How in case you understand this mythic stratosphere?
    It could be challenging to learn where to start. Wanderer, look within and
    surface yourself.

    Understanding requires exploration. We exist as sonar energy.
    To attempt the mission is to become one with it.

  13. Michel
    Michel says:

    I think the admin of this website is really working hard in support of
    his site, as here every data is quality based stuff.

    • Meghan
      Meghan says:

      Do you have a spam issue on this site; I also am a blogger, and I was wondering your situation; we have created some nice procedures and we are looking to exchange methods
      with other folks, please shoot me an email if interested.

  14. Terri
    Terri says:

    I’m not sure why but this blog is loading extremely slow for me.
    Is anyone else having this problem or is it a problem on my end?
    I’ll check back later and see if the problem still exists.

  15. Leandro
    Leandro says:

    We are a group of volunteers and starting a brand
    new scheme in our community. Your website provided us with useful info to work on.
    You have performed an impressive job and our entire group
    will be grateful to you.

    • Barney
      Barney says:

      Admiring the commitment you put into your blog and detailed information you provide.

      It’s great to come across a blog every once in a while that isn’t the same old rehashed
      material. Great read! I’ve saved your site and I’m including your RSS feeds to my Google account.

  16. Branden
    Branden says:

    With havin so much written content do you ever run into any issues of plagorism
    or copyright infringement? My website has a lot of unique content
    I’ve either authored myself or outsourced but it looks
    like a lot of it is popping it up all over the web without my agreement.
    Do you know any solutions to help stop content from being stolen? I’d certainly appreciate it.

    • garcinia cambogia nutrition
      garcinia cambogia nutrition says:

      Hey There. I found your blog using msn. This is an extremely well written article.

      I’ll be sure to bookmark it and return to learn more of your helpful info.
      Thank you for the post. I will certainly return.

  17. Wilfred
    Wilfred says:

    I blog often and I really thank you for your information. The
    article has really peaked my interest. I am going
    to book mark your blog and keep checking for new details about
    once per week. I opted in for your Feed as well.

    • Cortney
      Cortney says:

      I believe what you typed was very logical. But, think
      about this, what if you added a little information?
      I ain’t suggesting your content is not good, but what if you added a
      title that grabbed folk’s attention? I mean RXP | Adapter Specific
      Message Attributes (ASMA) – dynamic configuration of communication channels is kinda plain. You could peek at
      Yahoo’s front page and note how they create post titles to grab viewers to click.
      You might add a video or a related pic or two to get people excited about everything’ve written. Just my opinion, it might bring your
      posts a little livelier.

  18. Williams
    Williams says:

    Great post. I was checking continuously this blog and I am impressed!
    Extremely helpful info specifically the last part :
    ) I care for such information a lot. I was seeking this particular info for a long time.
    Thank you and good luck.

  19. Leonel
    Leonel says:

    My family all the time say that I am wasting my time here at web, but I know I am getting knowledge daily by reading thes
    good articles or reviews.

  20. Evan
    Evan says:

    What’s Happening i’m new to this, I stumbled upon this I’ve discovered It absolutely useful and it has helped me out loads.
    I’m hoping to give a contribution & assist other users
    like its aided me. Good job.

  21. Zynev ingredients
    Zynev ingredients says:

    I have been browsing online greater than 3 hours today, yet I by no means discovered any interesting article like yours.
    It is lovely worth sufficient for me. Personally, if all webmasters and
    bloggers made excellent content material as you probably did,
    the internet will be a lot more useful than ever before.

  22. stiker dinding
    stiker dinding says:

    I was suggested this blog by my cousin. I’m not sure whether this
    post is written by him as nobody else know such detailed about my difficulty.
    You are amazing! Thanks!

  23. Sophie
    Sophie says:

    Wow that was strange. I just wrote an very long comment
    but after I clicked submit my comment didn’t show up.

    Grrrr… well I’m not writing all that over again. Anyway, just wanted to say superb

  24. Carrol
    Carrol says:

    I was excited to discover this site. I want to to
    thank you for your time just for this fantastic read!! I definitely appreciated every little
    bit of it and i also have you saved to fav to look at new stuff in your

  25. Mitchel
    Mitchel says:

    I’m gone to say to my little brother, that he should also go to see this blog on regular
    basis to obtain updated from newest news.

    • Douglas
      Douglas says:

      Hmm it appears like your site ate my first comment (it was super long) so I guess I’ll just sum it up what
      I wrote and say, I’m thoroughly enjoying your blog.
      I as well am an aspiring blog writer but I’m still new
      to the whole thing. Do you have any helpful hints for novice blog writers?
      I’d really appreciate it.

  26. says:

    Hey there! This is my first visit to your blog! We are a team of
    volunteers and starting a new project in a community
    in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous

  27. Sandra
    Sandra says:

    Definitely believe that which you stated. Your favorite reason appeared to be on the net the simplest thing to be aware of.
    I say to you, I certainly get irked while people think about worries that they just do not
    know about. You managed to hit the nail upon the top and also
    defined out the whole thing without having side-effects
    , people could take a signal. Will probably be back to get more.

  28. Kelley
    Kelley says:

    Juice is a regular.

    Perception could be hope’s fact, and folks.
    Grace could be the driver of divinity.

    Envision of what might be a deepening.

    Bondage exists in the hole where coherence has been ignored.
    One can’t desire. Just a child of the quantum period may reveal this perspective of wellbeing.

    The entire world is calling to you via electric impulses.
    Can you hear it? Although it may not be realized by you,
    you are enlightened. It may be hard to think when you have never experienced this
    quantum change at the quantum level.

    By improving, we shake. That I and you are messengers of the universe.
    Nothing is impossible.

    The universe is aglow with signals.
    How should you understand this stratosphere? It may
    be tough to know where you can start. Wanderer, floor yourself and appear within.

    Exploration is required by comprehension. We exist as
    sonar energy. To attempt the objective is always to
    become one with it.

  29. Dwayne
    Dwayne says:

    Hi there Dear, are you genuinely visiting this web site daily,
    if so after that you will absolutely get pleasant know-how.

    • garcinia cambogia vital mend
      garcinia cambogia vital mend says:

      Fantastic beat ! I wish to apprentice whilst you amend your website,
      how can i subscribe for a blog website? The account
      helped me a appropriate deal. I were tiny bit familiar of this your broadcast provided bright transparent concept

  30. Delia
    Delia says:

    Hello there, I discovered your web site by means of Google whilst
    looking for a similar matter, your site got here up, it
    looks good. I’ve bookmarked it in my google bookmarks.

    Hello there, simply turned into alert to your weblog
    through Google, and found that it is really informative.
    I’m gonna watch out for brussels. I’ll appreciate should you proceed this in future.

    Numerous other folks can be benefited out of your writing.

  31. Monique
    Monique says:

    I’ll immediately grasp your rss feed as I can not find your e-mail subscription link or e-newsletter
    service. Do you have any? Please permit me recognise in order that I may just
    subscribe. Thanks.

  32. Zynev reviews
    Zynev reviews says:

    I got this website from my pal who told me regarding this web page and at the moment this time I
    am browsing this web page and reading very informative articles or reviews
    at this time.

  33. Eileen
    Eileen says:

    Hello there, I found your site via Google at the same time as looking
    for a comparable matter, your web site came up,
    it seems to be great. I have bookmarked it in my google bookmarks.

    Hello there, simply changed into aware of your blog
    via Google, and located that it’s really informative.
    I’m going to be careful for brussels. I will appreciate if you
    proceed this in future. Numerous folks might
    be benefited out of your writing. Cheers!

  34. axzz472rYQQPX
    axzz472rYQQPX says:

    Howdy are using WordPress for your blog platform? I’m new
    to the blog world but I’m trying to get started and create my own. Do you
    need any coding expertise to make your own blog? Any help would be greatly appreciated!

  35. International Graduate Development Program
    International Graduate Development Program says:

    Howdy, I think your website could possibly be
    hqving browser compatibility problems. Whenever I look at your blog
    in Safari, it looks fine however, when opening in Internet Explorer, it’s ggot some overlapping issues.
    I simply wantesd to provude you with a quick heads
    up! Other than that, great site!

  36. Dawn
    Dawn says:

    I pay a quick visit daily a few blogs and
    information sites to read content, except this webpage presents quality
    based writing.

  37. Elouise
    Elouise says:

    At the initial stage, it is quite hard to get a lot
    more Instagram followers, so you can acquire it from a trusted
    web site. Already several big organizations and brands are
    utilized this strategy to market their firms. Morefollowersonline is a single of the best web sites and
    at Morefollowersonline you can get true Instagram followers at reasonably priced price tag.

    Therefore, make use of this smartest way to reach all more than the world.
    Eventually purchase inexpensive Instagram followers from Morefollowersonline without any delay.

  38. Victoria
    Victoria says:

    What you published was very reasonable. However, what
    about this? suppose you added a little content?
    I am not suggesting your content isn’t good., however suppose you added something
    to possibly grab a person’s attention? I mean RXP | Adapter Specific Message Attributes (ASMA) – dynamic configuration of communication channels is kinda plain. You should look at Yahoo’s home page and note how they create article headlines
    to get viewers to open the links. You might add a related
    video or a picture or two to get people interested about what you’ve written. Just my opinion, it could make your website a little bit more interesting.

  39. Bryce
    Bryce says:

    Oh my goodness! Incredible article dude!
    Thanks, However I am having problems with your RSS. I don’t know the reason why I cannot subscribe to
    it. Is there anybody having similar RSS problems? Anyone who knows the solution will you kindly respond?

Comments are closed.