Easy and efficient way to set dynamic attributes

My integration scenario is quite complex involving many different receivers and an integration process. For some receivers I have to set dynamic attributes.
I know that I can set them by using a UDF, however in my case I mostly use XSLT so this is not applicable.
Is there any other way to do this relatively easy so that I can avoid Java Mappings? Problem ist that I would need to use several Java Mappings to set the attributes where no transformation to the payload itself is taking place which seems to be too much for me. Especially when I consider that these Java Mappings are hard to maintain as they have to be imported again and again if any changes occur.
So my question is:
1. Do I really have to go for several Java Mappings just to set some dynamic attributes ?
2. If so, should I use different Java Packages or is it advisable to leave all Java Mappings in one package?

Hi Florian,
yes, you can!
set dyn atts in XSLT:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
<xsl:if test="REFERENCEQUALIFIER='MSU'">
     <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"></xsl:variable>
     <!--  mit dem folgenden Key-Key-Paar muss dann via UDF die Adresse aus den dyn. Attr. gelesen werden -->
          <xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/Mail', 'MAILADRESS_SU')"></xsl:variable>
          <xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $MAILADRESS)"></xsl:variable>
          <xsl:comment>Mailadresse SU ermittelt: <xsl:value-of select="$MAILADRESS"></xsl:value-of>
          </xsl:comment>
Hoffe es hilft.
Grüße
Mario
Edited by: Mario Müller on Oct 15, 2009 1:47 PM

Similar Messages

  • I forgot my security password and didn't set up a rescue email address. I tried calling apple but they tried charging me to reset the questions. Is there an easier and cheaper way to reset them?

    I forgot my security password and didn't set up a rescue email address. I tried calling apple but they tried charging me to reset the questions. Is there an easier and cheaper way to reset them?

    Probably not; if you want, you can try using this form, but will likely be told to phone instead.
    (100460)

  • TS2097 I inserted a new DVD, it is working but not coming out. Whenever I try to eject it, it does not come out. Apple should provide us the easy and manual way to eject CD/DVD or?

    Hello,
    I inserted a new DVD in my mac book pro, its working and the drive is reading the dvd but unfortunately is not coming out. I have tried several ways mentioned on all over the net and apple community websites but nothing has worked so far.
    I need a easier and manual way to eject the DVD. Where is apple's help?
    Please help me. This is one of the weaknesses Apple should work on because it is causing us pain and loss of efficiency which is not apple's quality.
    Thanks

    Thanks for asking, actually I just found a trick on a website.
    It siad that restart MBP while holding eject button, I did it and DVD came out right away.
    I hope that this works out for everyone.
    But still there is a need for a manual eject system so that people don't worry about stucking the DVD or CD in th drive.
    Thanks anyway dear.

  • Easier and better ways to solve current problems with Acrobat?

    Is there no better and easier way to solve the problems (installation, re-installing and crashing) with Acrobat? I really think that the ball is in Acrobat's corner right now, because I should not (for example) need to deactivate and re-activate my subscription in order to get AcrobatPro XI to work on my computer, let alone deinstalling an older version that (for now) does work, risking that in the end neither of them work. I need the (great) AdobeCloud applications to do my work as a freelancer, and I really cannot afford this kind of trouble with my applications, nore loose time repairing them. These are difficult times as it is.
    Regards,
    Marc

    Sorry, I can't. When I installed it there was no message that said I had to deinstall the old version first, and with other Adobe CC applications there had been no trouble at all, so I installed it with The previous version still on my computer.
    After installing, neither of them would start up properly, so I deinstalled version XI, after which the old version worked again, but my Adobe Application Manager does not let me download the XI version a second time, so I cannot try again.
    Regards,
    Marc
    Op 7 dec. 2012 om 00:41 heeft David Kastendick <[email protected]> het volgende geschreven:
    Re: Easier and better ways to solve current problems with Acrobat?
    created by David Kastendick in Acrobat Installation & Update Issues - View the full discussion
    The description of the issue you originally presented isn't something that I've seen happen to Acrobat when installed as a part of Creative Cloud.
    Could you provide a specific description of the behavior that occurs when you launch Acrobat XI now?
    Thanks,
    David
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4902597#4902597
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4902597#4902597
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4902597#4902597. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Acrobat Installation & Update Issues by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Step by step what's an easy and fast way to transfer photos and videos from my iphone to my imac?

    step by step what's an easy and fast way to transfer photos and videos from my iphone to my imac?

    Same as you would from any digital camera.  Open iphoto, connect iphone, import photos
    iOS: Importing personal photos and videos from iOS devices to your computer

  • Simple and efficient way to display image on jpanel

    AOA
    What may be the simple and efficient way
    to display a strored jpg image on a jpanel in an application.
    i will appreciate more than one ways.
    thanks

    JPanel panel = new JPanel() {
         public void paintComponent(Graphics g) {
                   g.drawImage(......);
    };

  • Is there any way to set ServletRequest attributes?

    Hello all,
    I have a central servlet that accepts requests and routes them to handlers based on their "action" parameters. The problem I have is what to do when there is no handler registered to deal with a particular action.
    In my mind the most elegant solution would be to set the request's "action" parameter to "errorPage", set an error message in a context attribute, and let the servlet resume normal operation, routing the request to a servlet registered to return error pages. So my ideal solution would look something like:ActionHandler handler = handlerPool.getHandler(action);
    if (handler = null) {
        request.setParameter("action", "errorPage");
        context.setAttribute("errorMessage", "No handler is available for the " +
                "specified action (" + action + ").);
    }But of course there is no ServletRequest.setAttribute(String, String) method. There doesn't appear to be a way to manipulate request parameters at all, or even to create new requests.
    If anyone has any ideas or knows of a better way to do this, please let me know.

    Well don't I feel like a nOOb :P. At least I figured it out quickly. The solution is to pass on a subclass of ServletRequestWrapper wrapped around the client's request. Something like this:if (action == null) {
        MutableServletRequest r = new MutableServletRequest(request);
        r.setParameter("action", "errorPage");
        request = r;
    }The subclass looks like this:public class MutableServletRequest extends ServletRequestWrapper {
        ServletRequest request;
        private HashMap parameters = new HashMap();
        public String getParameter(String name) {
            String result = parameters.get(name);
            if (result == null) {
                return super.getParameter(name);
        public String setParameter(String name, String value) {
            String oldValue = getParemeter(name);
            parameters.put(name, value);
            return oldValue;
    }Well, I hope this was informative, sorry to clutter up the forum.

  • Simple and efficient email email set up. Can it be done?

    Ok I have read thru the Recent Mode and Gmail cc'ng issues threads. Found some work-around solutions but nothing really efficient. Both my MBP (POP to Mail client) and iPhone are online most of the time and downloading from my Gmail with POP.
    These are my 3 simple goals for an efficient email set up:
    a) Incoming mail delivered to both devices.
    b) When an email is deleted on either device it goes away on the other one as well. Ideally it stays on the gmail server.
    c) No silly cc'ing the iPhone on all messages sent from Mail or the Gmail web interface.
    Sounds pretty simple huh? Can it be done? Would an IMAP account (such as mac.com) be needed?

    It sounds like you need an IMAP mail account, and GMail ain't it. Try looking into Fastmail.fm.

  • Why do my folders in my finder keep changing size and the way I set them up ....??!?!?!?!

    I cant seem to post a picture here but they are dis proprtionate to each other and ALL over the place, I set them up to be set up a certain way and it keeps changing. It is really getting me angry!!!! Any help??

    Good grief!!!!  I see what you mean now.
    Hold down the option key>Finder>Go>Library>Preferences.  Trash the com.apple.finder.plist file, repair permissions and restart your computer.   Empty the trash. 
    Open up your messed up document folder and click on the gear like icon in its menu>Arrange by - select your arrangement>Show View Options.  Click the Use As Default button.  Your arraingements should now stick.

  • Seek easy and safe way for average users to manage the contents of Portal.

    Dear all,
    My boss today requested me to provide a easy, safe way for average users in my company to manage the contents of Portal themselves.
    My boss request users can upload files, documents, images and text into Portal.
    I know that Oracle Portal provides security control for editing Portal. But it also provides a quite complex operations for manage the contents of Portal.
    I am afraid average users cannot manage it easily.
    Can anyone have experience on the issues and can you give me suggestion?
    Thanks a lot
    George (HK)

    Hi Vijay.B,
    We can give privileges to manage the contents of the portal page.
    Create a group and add the users into that group and for the page level privilege >>add this group as manage.
    The members of the group can manage the page.I know the above is the standard strategy for users to manage the portal contents.
    But, as an average user, I think it is still to complicated to manage.
    For my case, I need to provide a means for average users to add news to the portal, so my priliminary idea is that I will create a portlet for news entries such as news heading, hyperlinks, text and save the entries in DB. Then, on the homepage of Portal, I will create another portlet for displaying the news headlines with hyperlink pointing to the actual URL.
    thanks
    George
    Regards,
    Vijay.B

  • I want to document everything I eat for my diet, what is the simplest and efficient way to do this, especially the wording

    I dont know if I should add it to notes, or calendar date. By the way, I tried the app, lose it. I didnt like it. I especially interested in the terminology. I find with Siri, the proper word sequence is critical.

    I work with program/process design for large federal projects.
    I am working on modifying one of the processes needed for a database copy.
    The one thing I learned years ago, and have re-learned during this process, is that nothing beats a documentation process you create yourself.  You already learned that someone else's brain-child of a recording process does nto always work for another.
    I have 2 Excel spreadsheets used to "incrementally build" the final list of commands I need, but it uses several TABs on two separate Excel spreadsheets and many cell-fomulas on one TAB that refer to other TABs.
    In short, ask yourself how you would record the food/calories you eat, and start building the process.  You may be very surprised at how talented you really are at creating effective processes.

  • Trying to set dynamic attribute with Image URI

    vo.getCurrentRow().setAttribute("XXStatusLightAttr",<Img Src="/OA_MEDIA/green_circle.gif"/>)
    is not working >please Suggest
    Whats wrong in this
    if(!vo.isPreparedForExecution()){
    vo.executeQuery();
    if (vo != null)
    vo.addDynamicAttribute("XXStatusLightAttr"); //Adding ViewAttribute to VO
    vo.reset();
    vo.next();
    //Starting do-while for setting value in all the table row...
    do
    String str=vo.findAttributeDef("XXStatusLightAttr").toString();
    System.out.println(str);
    vo.getCurrentRow().setAttribute("XXStatusLightAttr",<Img Src="/OA_MEDIA/green_circle.gif"/>);
    vo.next();
    while (vo.hasNext());
    vo.first();
    Please Suggest

    The button calls a procedure which can take several minutes to complete. It calculates and stores values for display. I'd like to open up a modal window so that the user has more concrete feedback that the calculation process is underway. I'd also like to tie it to the refresh of a particular region on the page that shows a list of the stored calculations.

  • Easy and best way to time lapse in FCE please

    hi there friends...
    Can you assist??
    I have a hour long (one continuise shot) and would love to make in to time lapse...
    Best way??
    Regards,
    Chris

    This may help:
    http://discussions.apple.com/thread.jspa?messageID=11282319&#11282319
    Al

  • Is there an easy and safe way to install Flash Player?

    I am getting this notice trying to down load from the updater on Windows 7 Home Premiu.
    "Installation encountered errors
    Actionlist not found"
    Do I need to hire someone to download Adobe Flash, because I am not good at this.
    thanks

    Download and run the offline installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header (under the heading Progress bar hangs...).

  • Extended receiver determination and Dynamic attributes

    Hello,
    is it possible to access dynamic attributes within an extended receiver determination? Can I modify / set dynamic attributes of an XI message within an UDF in the extended receiver determination mapping?
    In detail: In my scenario I want to use an extended rec. determination, make a lookup in a DB inside the determination in order to define the receiver, and based on the lookup result I want to add some information as dynamic attributes to the XI message, which then can be accessed in the interface determination as conditions.
    Thanks,
    Chris

    Hi,
    In my scenario I want to use an extended rec. determination, make a lookup in a DB inside the determination in order to define the receiver, and based on the lookup result I want to add some information as dynamic attributes to the XI message, which then can be accessed in the interface determination as conditions - See you can do a DB lookup in a msg mapping........but by the time you have reached msg mapping your receiver determination will be done......so  your receiver is already decided............Extended recever determination is for dynamically choosing a recever based on source msg's data.........
    Regards,
    Rajeev Gupta

Maybe you are looking for

  • About getting the values from a FM

    Hi experts,                  I have used the function module 'HR_READ_INFOTYPE' to get all the field values of the infotype 0008 (Basic Pay). I have given the infty as 0008 in exporting and infty_tab as p0008 in tables. But it shows a run time error

  • Display a particular range of records in a table

    Hi, I have a table in my Form which displays about a 100 records with 10 records at a time. There is also a delete button for every record. If the user deletes a record, for example: from the 40-50 record range, the user is taken to a different scree

  • Webi rich Client Drivers Issue

    Hi, I am facing errors when i try to run the query in WEBI Rich client whereas when I run these queries directly on the server I am not getting any error messages. Based on the error messages, I think I might need to install some drivers. Can anyone

  • How to always playback DV as "high quality"

    Is there an Applescript or a preference setting to always use the High Quality setting for DV playback? Apple introduced this feature back with 400MHz was considered fast (and High Quality was a real strain on the CPU). But any modern Mac >1GHz can p

  • Service based Inv verifiaction field hiddden in Service line Po

    We have Ser based IV box active in the vendor master, however this field does not show in the PO (Invoice tab). This field is not available in customizing for "Define Screen Layout at Document Level" (PT9F). I was wondering if there is a place where