How do dynamic attributes work  ?

A dynamic attribute can be assigned to a Identity Server configured role or organization. When the role is assigned to a user or a user is created in an organization, the dynamic attribute then becomes a characteristic of the user. For example, a role is created for an organization's employees. This role might contain the organization's address and a fax number, two things that remain static for all employees. When the role is assigned to each employee, these dynamic attributes are inherited by them.

i think the .pst files are presets, not actual instruments.
the easy way to add instruments is to get some soundfonts. here are 5000+
http://www.bulletsandbones.com/GB/PlugInsSoundFonts.html
http://www.bulletsandbones.com/GB/GBFAQ.html#installsoundfonts
http://www.bulletsandbones.com/GB/GBFAQ.html#usesoundfonts

Similar Messages

  • How does Dynamic Proxy work?

    I don't know how Dynamic Proxy works,
    can anyone give me a simple example?
    thanks in advance!

    http://enterprisedeveloper.com/developers/javaspecialist/Issue005.html

  • How does Dynamic Quorum work for a two Node DAG

    Hi All,
    I have a two node DAG with a FS witness server. One of the node is 'down' (I have kept it like that), cluster has quorum and all services are online.
    What I'm trying to understand is if a node's State=Down, isn't the Dynamic Quorum Group Manager suppose to trigger and set the DynamicWeight to '0' for that server.
    In my case its not doing so, please let me know if this the way it is, or something is not quite right and I need to fix it.
    Troubleshooting info below:
    PS C:\Windows\system32> Get-ClusterNode | ft name, dynamicweight, state, nodeweight,id -AutoSize
    Name DynamicWeight State NodeWeight Id
    exch1 1 Down 1 1
    exch2 1 Up 1 2
    PS C:\Windows\system32> (Get-Cluster).WitnessDynamicWeight
    1
    PS C:\Windows\system32> Get-ClusterResource
    Name State OwnerGroup ResourceType
    Cluster IP Address Online Cluster Group IP Address
    Cluster Name Online Cluster Group Network Name
    File Share Witness (\\fs1... Online Cluster Group File Share Witness
    (Validation test)
    Validate Quorum Configuration
    Description: Validate
    that the current quorum configuration is optimal for the cluster.
    Validating cluster quorum settings.
    Witness Type: File Share Witness
    Witness Resource: \\fs1.contoso.com\dag1.contoso.com
    Cluster managed voting: Enabled
    Voter Name
    State
    Assigned Vote
    Current Vote
    File Share Witness (\\fs1.contoso.com\dag1.contoso.com) (\\fs1.contoso.com\dag1.contoso.com)
    Online
    1
    1
    exch1
    Down
    1
    1
    exch2
    Up
    1
    1
    This quorum model will be able to sustain failures of 1 node(s) if the file share witness remains available
    and 0 node(s) when the file share witness goes offline or fails.
    This quorum configuration can be changed using the Configure Cluster Quorum wizard. This wizard can be started from the Failover
    Cluster Manager console by selecting the cluster name in the left hand pane, then in the right "actions" pane selecting "More Actions..." and then selecting "Configure Cluster Quorum Settings...".
    When all servers were up
    node/2+1 = 2/2+1=2 required for quorum and we have 3 votes
    When 1 server gone 1/2+1=1 quorum should recalculate to this. But its still considering 3 votes out of 1down server+1up server+1witness. Ideally I should be able to loose the witness too aftersome time  and still maintain quorum(unlike what
    the validation test is saying).
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

    Hi Simon,
    Thanks for your response.
    I have done some study, testing and what I figured out is this.
    Split brain syndrome is prevented by always requiring a majority of the DAG members (and in the case of DAGs with an even number of member, the DAG witness server) to be available and interacting for the DAG to be operational.
    All DAGs with an even number of members must use a witness server.
    Hence a 3 node cluster behaves differently than a 2 node. Exchange 2013 DAG kind of forces you to have a witness server always.
    You can specify only a name for the DAG and leave the Witness server and
    Witness directory fields empty. In this scenario, the task will search for a Client Access server that doesn't have the Mailbox server role installed. It will automatically create the default witness directory and share on that Client Access
    server and configure the DAG to use that server as its witness server.
    You can
    'overridde the quorum configuration using Windows2012 Failover Cluster Manager', however using it to modify a DAG is not recommended.
    If you open Failover Cluster Manager in Administrative Tools, you’ll find the Database Availability Group (DAG), cluster networks and so on. Don’t try to manage the DAG
    using the Failover Cluster Manager, as this isn’t supported. The Exchange Management Console (EMC) or the Exchange Management Shell (EMS) are the only ways to manage the DAG.
    Unless you’re doing a DC switchover and/or being assisted by Microsoft Support services (premier)
    Now back to the point:
    When we are left with 2 nodes and 1 witness server for Exchange HA. The Dynamic Quorum functionality kind of stops dealing with it. As 2nodes/2+1=2votes this means we need to have atleast 2 votes to have quorum.
    So if we assume Dynamic Quorum triggers and removes 2 votes, 1 from Witness and 1 from nodeB.
    Then the new formula we have is 1node/2+1=1vote which would mean this would allow us to loose both the witness and the nodeB. And nodeA will be the last man standing as in this
    article.
    However having this scenario in a two node cluster brings in the split-brain problem. As if there is a full disconnect of nodeA site and nodeB+Witness can talk, they form quorum , nodeB mounts the database. Which is undesirable.
    Hence Dynamic Quorum keeps the votes to 3 in a 2nodes+1witness scenario contrary to what is expected and in turn keeps everything running fine till we have 2votes available, just like 2010,Windows2008 days.
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • How can I bind a dynamic attribute of a context node to ALV?

    Hi all,
    I'm trying to show data with Webdynpor ALV, but i met a question which blocked me. The situation is that there is a static context node and it's mapped to WD ALV, while programming I create a dynamic attribute to the context node. The dynamic column can be shown on the UI, but there is no any data in it. How can i deal with it?
    Thanks a lot!
    Edited by: Julia Zhu on Dec 3, 2009 7:48 AM

    Hi Julia,
    Welcome to SDN.
    Post it in the ABAP webdynpro forum to get quick replies. Web Dynpro ABAP
    Also search in sdn as there are chances that somebody has already posted the queries related to same issue.
    Regards,
    Swarna Munukoti.

  • ADF dynamic ViewObject based on query. how to get attributes?

    hi.
    i have an read-only view object based on query like this:
    SELECT :func(:paramm) as EMP_SAL from dual
    and set :func & :paramm parameter by vo.setNamedWhereClauseParam(..) function.
    but i couldn`t get EMP_SAL attribute after executeQuery command.
    in another case i would set new whole Query by vo.setQuery(..) but the problem exists.
    please help me. how to get attribute in such vo objects!
    thanks!
    Morena!

    thanks to Quick reply!
    i seek into code and found a uninitialized Parameter in view object. error has gone after correct the problem!
    and now could get the attribute value.
    thanks so much!
    /\/\ o r e n a!

  • Dynamic Attributes with UDF - NullPointerException

    Hello,
    I want to set the file name of an file receiver by means of setting dynamic attributes in an UDF.
    I use the following code and map the output to the root node of the target message (one input variable is var1)
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String myFileName = var1;
    conf.put(key, myFileName);
    return "";
    When I want to test the mapping using the test tab I get a null pointer exception:
    Exception:[java.lang.NullPointerException] in class com.sap.xi.tf
    Could the reason be, that setting dynamic attributes does not work when testing a mapping as the mapping has to be called by the IE runtime or is there any other reason?

    Hi Florain,
    I can understand, but that is how it is designed because the filename paramter can be picked up only during the runtime. But if you use other parameters like interface, sender name etc you can test it in mapping. Please go to test tab and click on parameters  tab. There you see few parameters for runtime also. You can put some value there and then you can test the mapping and you will not receive that error. You dont have filename there, so thats the reason why you are getting error. Hope in next release SAP would come up with this option.
    Regards,
    ---Satish

  • Spec oversight? Using dynamic-attributes in XML tag files

    I have a couple of tagfiles that generate form elements with specific conventions for the 'name' and 'value' attribute. Basically, a data binding framework.
    Dynamic attributes are useful because you can delegate all the usual html attributes to the generated HTML form element: SELECT, INPUT, id, class etc.
    The usual way to do this is to concatenate all the "pass-through" attributes to a string, and append this string to the element generated:
    <input type="hidden" name="foo" ${dynattrs}/>I'm wondering how to do this in a tagfile in XML format (mytag.tagx), since the XML format forbids syntax like in the example above.
    jsp:attribute won't help much, if it's nested inside a c:forEach: it won't apply to the right element.

    Ran into the same problem with 'optional attributes'. (see post "JSP 2.0 Tag files outputting elements with conditional attributes" http://forum.java.sun.com/thread.jspa?forumID=45&threadID=681033)
    Found a solution that is not very elegant but does work and saves you the trouble of reverting to Java Tags. Consider the following tag-file that outputs an html input-tag with conditional attributes:
    <?xml version="1.0" encoding="utf-8"?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
         xmlns:c="http://java.sun.com/jsp/jstl/core">
         <jsp:directive.attribute name="name" required="true" type="java.lang.String"/>
         <jsp:directive.attribute name="id" required="false" type="java.lang.String"/>
         <jsp:directive.attribute name="value" required="false" type="java.lang.String"/>
         <jsp:directive.attribute name="disabled" required="false" type="java.lang.Boolean"/>
         <jsp:directive.attribute name="hint" required="false" type="java.lang.String"/>
         <jsp:directive.attribute name="cssClass" required="false" type="java.lang.String"/>
         <jsp:text><![CDATA[<input type="text" name="]]><c:out value="${name}"/><![CDATA["]]></jsp:text>
         <c:if test="${!empty id}"><![CDATA[ id="]]><c:out value="${id}"/><![CDATA["]]></c:if>
         <c:if test="${!empty cssClass}"><![CDATA[ class="]]><c:out value="${disabled?(cssClass + '-disabled'):cssClass}"/><![CDATA["]]></c:if>
         <c:if test="${disabled}"><![CDATA[ disabled="disabled"]]></c:if>
         <c:choose>
              <c:when test="${!empty value}"><![CDATA[ value="]]><c:out value="${value}"/><![CDATA["]]></c:when>
              <c:when test="${!empty hint}"><![CDATA[ value="]]><c:out value="${hint}"/><![CDATA[" onfocus="if(this.value==']]><c:out value="${hint}"/><![CDATA[')this.value='';"]]></c:when>
         </c:choose>
         <jsp:text><![CDATA[/>]]></jsp:text>
    </jsp:root>In answer to your question: Yes, it looks like an oversight. Using the jsp:attribute tag in a c:forEach doesn't work because the attribute is then applied to the forEach tag. You would have to put the attribute-tag inside a jsp:body tag (inside the forEach). Then it would apply not to the forEach tag but to the tag enclosing the forEach. However, this doesn't work either, or at least it doesn't work in Tomcat 5.5. Could be a bug though, JSP 2.0 is still very buggy (for instance, using a tagfile inside another tagfile from the same taglib doesn't seem to work either...)
    Anyway, if you ever find a good solution please let me know by posting to this topic!
    TIA

  • Dynamic attributes in Bid

    Hi friends,
    I need to know / confirm dyanamic attributes manual evaluation process.
    1. A purchaser creates a bid invitation with dynamic attribute for "text". Evaluation
        for this attribute is "Manual"
    2. Bidder puts his comments against this attribute & submit bid
    3. Purchaser opens vendor bid and has to give weighings to the bidder comments.
        Purchaser clicks on "change" mode
    4. Purchaser goes to "weighing" tab
    5. Under valuation column, I am able to put valuation figure, but there is no option
        to save the same.. because of which i am not able to consider this attribute for
        bid evaluation analuysis.
    Please let me know if this is the right way of doing manual valuation of dynamic attributes or there is some other way. If its the right way, how can I save the valuation figures?
    Your response will be highly appreciated and point will be awrded for appropriate responses.
    Best regards,

    Hi
    It seems to be a bug in the system.
    <b>Please go through the followin SAP OSS Notes, which will definitely help -></b>
    Note 850054 - Text value in the weighting set is not updated
    Note 965519 - Dynamic attributes: fixed values not updated
    Note 836931 - Bid invitation: Manual valuation of default fields
    Note 1061034 - RFx functional issues
    Note 904152 - Error/termination for units of measurement of attributes
    Note 1021976 - Dynamic attribut with fixed values not saved
    Note 769942 - Deleted dynamic attributes are not taken into account
    Note 921195 - Unit of measure is not converted on weighting screen
    Note 876525 - Weighting for the "PRICE" default field is active by default
    Note 873297 - Multiple quotation work areas are created in cFolder
    Note 789687 - DynAttr. Enhancement of description length to 60 characters
    <u>Other related SAP OSS Notes -></u>
    Note 912891 - Dynamic attributes displayed without fixed values
    Note 1036584 - SRM bid invitations: header / item flag in dynamic attribute
    Note 1016042 - BBP_BID_INV: Back Button is not displayed in Attributes
    Do let me know.
    Regards
    - Atul

  • How to dynamically resize taskflow popup set as inlineDocument.

    I've been trying to figure out how to dynamically set the WindowHeight and WindowWidth of a taskflow deployed as a inlineDocument popup. Sadly, neither the forums nor google came to the rescue so I had to actually figure this one out on my own. But at least now is my opportunity to work up some forum karma! :)
    Sample workspace containing the solution is here: http://www.williverstravels.com/JDev/Forums/Threads/2337969/MaxPopupSize.zip
    General Strategy for Solution:
    - Pull the browser height and width using Javascript
            function browserSize(evt)
              var button = evt.getSource();
              var agent = AdfAgent.AGENT;
              var windowWidth = agent.getWindowWidth();
              var windowHeight = agent.getWindowHeight();
              AdfCustomEvent.queue(button, "customEvent",
                width: windowWidth,
                height: windowHeight
              true);
              evt.cancel();
            }- Using a clientListener and serverListener, pull this information into a managed bean and set height / width in button's setWindowWidth(), setWindowHeight() attribute.
      public void onButtonClick(ClientEvent clientEvent)
        Double dw = (Double)clientEvent.getParameters().get("width")-100;
        Double dh = (Double)clientEvent.getParameters().get("height")-100;
        this.popupButton.setWindowWidth(dw.intValue());
        this.popupButton.setWindowHeight(dh.intValue());
        ActionEvent aE = new ActionEvent(this.getPopupButton());
        aE.queue();  
      }- Due to JSF Lifecycle complications, the managed bean will need to call a different button than the one which holds the client and server listener. It will be the second button (popupButton in the code above) which then calls the popup.
    Props to Frank for the client / server listener tutorial: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf
    Props to Martin Deh for the javascript insights: http://martindeh.blogspot.com/2011/03/dynamic-resizing-for-popup-dialogs.html
    Hope this helps someone down the road.
    Will

    Thanks LovettWB ...
    Your question helped me a lot...  I am able to pass these two parameters width/height to my bean and am able to set it to pop-up :)                                                                                                                                                                                                                                                                                                                                   

  • JSTL pass through dynamic-attributes

    Folks,
    Hi. I'm just learning Java, JSP & JSTL, and I've hit a bit of a curly one.
    What's the best way to pass dynamic-attributes from a JSTL tag to another JSTL tag? Is there a way to pass them directly as a Map?
    I wrote a generic-html-table-maker custom JSTL tag called "tabulator.tag" (based on one of the examples in JavaServer Pages by Hans Bergsten).
    "tabulator.tag"
    <%-- format contents as a HTML table --%>
    <%@ tag body-content="empty" dynamic-attributes="dynattrs"  
          import="java.util.*" %>
    <%@ attribute name="content" required="true" type="java.util.Map" %>
    <%@ attribute name="caption" %>
    <%@ attribute name="headers" type="java.lang.Boolean" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <table
      <c:forEach items="${dynattrs}" var="a">
        ${a.key}="${a.value}"
      </c:forEach>
    >
      <c:if test="${!empty caption}">
        <caption>${caption}</caption>
      </c:if>
      <c:if test="${headers}">
        <tr>
          <th>Name</th>
          <th>Value</th>
        </tr>
      </c:if>
      <c:forEach items="${content}" var="row">
        <tr>
          <td>${row.key}</td>
          <td>${row.value}</td>
        </tr>
      </c:forEach>
    </table>This works fine when called from directly from jsp as below:
    "tabulator_test.jsp"
    <%-- format request headers as a HTML table --%>
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="my" tagdir="/WEB-INF/tags/mytags" %>
    <my:tabulator
      headers="true" caption="Tabulated Request Headers" content="${header}"
      border="1" cellspacing="0" cellpadding="2"
    />BUT... Now I'm trying to write a "requestHeaders.tab" just to "centralise" the table attributes... but I can't figure out how to pass the dynamic-attributes (containing the html table attributes) from "requestHeaders.tab" through to tabulator.tab
    "headers2.tab" (aka "requestHeaders.tab")
    <%-- format request headers as a HTML table --%>
    <%@ tag body-content="empty" dynamic-attributes="dynattrs" %>
    <%@ attribute name="caption" required="true" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
    <%@ taglib prefix="my" tagdir="/WEB-INF/tags/mytags" %>
    <%-- build a string of the dynamic-attributes --%>
    <c:set var="s">
      <c:forEach items="${dynattrs}" var="a">
        ${a.key}="${xmlEncode(a.value)}"
      </c:forEach>
    </c:set>
    s: ${s}
    <%-- and pass them to tabulator --%>
    <my:tabulator content="${header}" caption="${caption}" ${s} />... throws the below Tomcat Error when called by ...
    "headers2.jsp"
    <%@ page contentType="text/html" %>
    <%@ taglib prefix="my" tagdir="/WEB-INF/tags/mytags" %>
    <html>
      <body>
        <my:headers2 caption="Request Headers"
          border="1" cellspacing="0" cellpadding="5"
        />
      </body>
    </html>
    Apache Tomcat/5.5.17 - Error report
    exception
    org.apache.jasper.JasperException: /WEB-INF/tags/mytags/headers2.tag(14,55) Unterminated <my:tabulator tag
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: /WEB-INF/tags/mytags/headers2.tag(14,55) Unterminated <my:tabulator tag
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
                           ....This is just an intellectual exersice, but it's sucked me in... any help be greatly appreciated.
    Thanx. KRC>

    This always requires some work around. I have done two things in the past:
    1) Create a variable on the page or request scope that contains the dynamic attributes you want to use:
    <!-- JSP Page -->
    <my:requestHeader content="${header}" border="0" cellspacing="1" cellpadding="2" />
    <!-- Request Header -->
    <%@ tag body-content="empty" dynamic-attributes="dynamicAttributes" %>
    <%@ attribute name="content" required="true" type="java.util.Map" %>
    <c:set var="HtmlTableDynamicAttributes" value="dynamicAttributes" scope="page"/>
    <my:htmlTable content="${content}"  />
    <!-- HTML Table -->
    <%@ tag body-content="empty" dynamic-attributes="dybamicAttributes" %>
    <%@ attribute name="content" required="true" type="java.util.Map" %>
    <!-- if no dynamic attributes directly sent, re-assign those stored by
         requestHeader tag -->
    <c:if test="dynamicAttributes == null">
      <c:set var="dynamicAttributes" value="HtmlTableDynamicAttributes"/>
    </c:if>
    //then do table work using "dynamicAttributes"Another way I had done it was to create a tag that needs to be nested in the <my:htmlTable> tag that assigns attributes as needed. So the my:htmlTable tag might need to be called like this:
    <my:htmlTable content="${content}">
      <my:htmlTableAttribute name="${key}" value="${value}"/>
    </my:htmlTable>Finally, after thinking about this in this email, I wonder what scope the variable created by dynamic-attributes="dybamicAttributes" is stored in. I assumed it was a scope too small for the next tag to see. But maybe you could just try to see if the variable is present:
    <!-- JSP Page -->
    <my:requestHeader content="${header}" border="0" cellspacing="1" cellpadding="2" />
    <!-- Request Header -->
    <%@ tag body-content="empty" dynamic-attributes="dynamicAttributes" %>
    <%@ attribute name="content" required="true" type="java.util.Map" %>
    <my:htmlTable content="${content}"  />
    <!-- HTML Table -->
    <%@ tag body-content="empty" %>
    <%@ attribute name="content" required="true" type="java.util.Map" %>
    Dynamic Attributes Seen?  da="${dynamicAttributes}"</br>
    //then do table work using "dynamicAttributes"

  • Create a dynamic attribute for each user

    Hi All,
    I request you all to let me know how to give an approach to the following requirement.
    REQUIREMENT: I have to create a dynamic attribute in UME for each user and the read the attribute on lead selection of a table having list of Users.
                             On lead selection, the dynamic attribute value should be either true or false. Based on this value the rest of the application specific operations wil be taken care.
                              If a particular User does not have the dynamic attribute associated to it, then we need to create the same.
    Looking forwarrd for your help.
    Regards
    Dipendra

    //@@begin javadoc:UMSavePropertiesByNode()
         /** Declared method. */
      //@@end
      public boolean UMSavePropertiesByNode( )
        //@@begin UMSavePropertiesByNode()
              try {
                   if (wdContext.currentUserDataElement().getVaIUserMaint().setAttribute("com.sap.security.core.usermanagement", this.getUMPropertyName(null) + ".TableColumns", this.getPropertiesByNode())) {
                        wdContext.currentUserDataElement().getVaIUserMaint().save();
                        wdContext.currentUserDataElement().getVaIUserMaint().commit();
                        msg.reportMessage(IMessageTableUtilsComponent.UMPROPERTY__SAVE__FIELDS__SUCCESS, null, false);
              } catch (UMException ex) {
                   wdContext.currentUserDataElement().getVaIUserMaint().rollback();
                   msg.reportMessage(IMessageTableUtilsComponent.UMPROPERTY__SAVE__FIELDS__ERROR, null, false);
                   return false;
              return true;
        //@@end
      //@@begin javadoc:UMLoadFieldsProperties()
         /** Declared method. */
      //@@end
      public petrobras.com.br.classes.FieldsTable UMLoadFieldsProperties( petrobras.com.br.classes.FieldsTable fields )
        //@@begin UMLoadFieldsProperties()
              String properties[] = wdContext.currentUserDataElement().getVaIUserMaint().getAttribute("com.sap.security.core.usermanagement", this.getUMPropertyName(null) + ".TableColumns");
              if (Compare.getLenght(properties) > 0) {
                   //msg.reportWarning("[UMLoadFieldsProperties]: properties.length = " + properties.length);
                   for (int i = 0; i < properties.length; i++) {
                        int attrPos = Integer.parseInt(properties<i>.substring(properties<i>.indexOf("(") + 1, properties<i>.indexOf(")")));
                        String attrName = (String) properties<i>.substring(properties<i>.indexOf(")") + 1, properties<i>.indexOf("="));
                        int attrValue = Integer.parseInt(properties<i>.substring(properties<i>.indexOf("=") + 1, properties<i>.indexOf(";")));
                        Field item = fields.getField(attrName);
                        if (item != null) {
                             item.setPosition(attrPos);
                             item.setVisibility(WDVisibility.valueOf(attrValue));
                             fields.removeFieldByName(attrName);
                             fields.addField(item);
              return fields;
        //@@end
    regards,
    Angelo

  • How to dynamically determine Receivers within BPM

    I’m trying to design a way to determine my receivers within my BPM process during runtime.   My Scenario is as follows:
    SAP IDOC
        V
      XI
                 XI uses JAVA Mapping MT1 to determine vendors and if customer receives PIDX
                             JAVA Mapping MT2 to creates the PIDX output file if required
      V
    SENDs to required Vendor (PIDX if required otherwise email)
    My problem is how to dynamically determine the appropriate receiving vendor for my PIDX.
    I can not use the condition editor on the standard Receiver Determination because the output message (PIDX) doesn't have specific enough information to determine the vendor.
    Other than the customer number there are no other values and we don't want to use customer number because each vendor can have multiple customer numbers (hundreds).
    I've tried various attempts but none seem to work.  This could also be because I have limited knowledge of BPMs and this is my first complex development.  Below are the different attempts I've made at dynamically determining the receiver.  Any input would be appreciated.
    Receiver Scenario 1 
      I developed an interface mapping with MT1 as input and the SAP Receiver Determination as output.  The problem is for me to use this, the interface mapping had to reference the PIDX output (MT2 instead of MT1) which has no data that I can use to determine the receiver.
    Receiver Scenario 2
    I added a receiver step right before my send step and used the receiver list.  This appears to send the PIDX to everyone in the list and there is no way to evaluate or eliminate a name from the list. 
    Receiver Scenario 3
    I created a context object in the Integration Builder and assigned it to a field in MT1.  I then added a switch step with a branch for each vendor.  Within each specific branch there is a Send step that has the context object name I created in the "Send Context" field.  However, on the configuration side I’m unable to access the context object which I created on the design side.  Whenever I open the condition editor and select the radiobutton for "Context Object" the list  does not include the context object I created in the Integration Builder.

    Hi,
    Try using the enhaced receiver determination concept.
    Maybe based on certain field values you can write a UDF which calculates the receiver.
    Try this Blog out
    Link : [
    http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]
    Regards,
    Abhishek
    Award if helpful.

  • Dynamic Attribute in AS2 Receiver

    Hello,
    in the Seeburger AS2 Receiver channel I have found "AS Message ID" in the last of possible Dynamic Attributes. How do I set this one, so what is the name of the dynamic configuration key. Any idea on this?

    Let me expalin you the complete thing.
    In mapping i m using this UDF for dynamic subject.
    DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
    DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
    Date dCurrentDate = new Date();
    String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
    String strSubject="Literal"+ "_" + strCurrentDate;
    // Dynamic Subject
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
    conf.put(keySubject,strSubject);
    return "";
    In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
    Parameter name  http://seeburger.com/xi/common/dtSubject
    Parameter value  @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
    In moni I can see the dynamic configuration tab(neither Tab nor value)
    But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
    Hope i have cleared you..
    Thanks
    Jaideep

  • Need Dynamic attributes for XI adapter to use in Dynamic Configuration ..!!

    Hi Friends,
    We are planning send message to different receivers through XI adapter by using Dynamic Configuration.
    Can anyone please tell me what are the dynamic attributes used for XI adapter.
    In my scenario, I want to pass the Service Number and Path prefix of XI adpater dynamically by using sender ID from Idoc payload.
    I know how to use the dynamic configuration UDF in message mapping. But I don't know the dynamic attributes which we can pass to Service Number and Path prefix of XI adpater.
    Kindly suggest ..
    Thanks
    Deepthi.

    Hi Sourabh,
    >> You need to set these attributes explicitly in the adapter configuration..
    Can you please elaborate on this like how to implement this? Do we need to use any module configuration in the adapter?
    We will use XI adapter only while sending the data directly from IE without using any feautures of AE (like adapters, modules etc). It is like directly sending data from ABAP stack without using J2EE stack. That is the reason we can't use any Modules in XI adpater and it is in disabled by default.
    When I checked in SXMB_MONI.. as you said details are found in
    - <SAP:Attribute>
      <SAP:Name>host</SAP:Name>
      <SAP:Value>10.190.25.16</SAP:Value>
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>httpDestination</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>path</SAP:Name>
      <SAP:Value>/rcvA/receiver</SAP:Value>
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>port</SAP:Name>
      <SAP:Value>8210</SAP:Value>
      </SAP:Attribute>
    XI adapter uses mainly three parameters Host, Port and Path.
    I want to pass any two of these values dynamically to achieve my solution. Can you please suggest your solution how we can implement it.
    -Deepthi.

  • Deferred EL in dynamic attributes

    According to the Sun Java EE 5 tutorial, using deferred EL ( #{} syntax) is forbidden for usage in a tag's dynamic attributes.
    What's the exact use of making this illegal? (what problem does this rule solve?)
    Anyway, I'm asking since I have developed lots of JSF 1.1 components with dynamic attributes that accept EL expressions. Technically it's not a problem. In the tag handler, I just itterate over all collected attributes, check if they're EL using the JSF API and if so create a value binding for them.
    However, in JSP 2.1/JSF 1.2 the container prevents the "#{...}" string from reaching my tag handler code. This is very nasty. I can of course disable container evaluation for the entire page, but this is quite an ugly solution.
    Is there any neat workaround for this problem?

    When in doubt, check
    the 2.1 spec. I'm guessing that the tutorial has a
    doc error.You're right, I checked the (may 2006) JSP 2.1 spec, and on page 2-72, section 3 it says:
    Dynamic attributes must be considered to accept request-time expression values
    as well as deferred expressions.So, the tutorial is definitely wrong.
    Maybe someone should notify Sun about this? It seems most people would resort to reading tutorials first instead of wading through the spec. Especially if a Sun tutorial states something, many people will probably consider it 'official'. Perhaps even the Tomcat folks have read said tutorial instead of the spec. Using an EL value in a dynamic attribute in Tomcat 6 causes a translation error.
    Btw, I'm not 100% sure how to interpret this note from the spec:
    Note that passing a String literal as a dynamic attribute will never be considered
    as a deferred expression.What other way is there to pass a deferred expression than through a String litteral?

Maybe you are looking for

  • Problem with Hp Printer

    Hey guys, I own a Hp LaserJet 3015 Printer and work with it with my MacBook Pro for now even a year. But since yesterday it won't work any more. My Mac shows the printer up into the printer preferences as installed and ready to print... but when I tr

  • Repeatedly receive error message from CC desktop app

    Download Error The Creative Cloud installation is no longer functioning, please uninstall and download again from https://creative.adobe.com/products/creative-cloud I seem to get this message about once every week or two.

  • How to structure several scenes (in symbols) on the main stage timeline

    Hi, I'm new to edge animate but have a Flash background and I'm working in Edge Animate on a game which is structured in several scenes. Each scene I did put in a symbol. Now I wonder how to build the main timeline or the "story - controller" so to s

  • Oracle 9.2.0.7 vs Oracle 10.2.3 with COMPATIBLE parameter set to 9.2.0.7

    Hi, First off, I am NOT an oracle DBA (or even a DBA!), so please excuse my ignorance or errors contained within this post. My client is currently planning to upgrade their 9.2.0.7 database server to 10.2.3. Reading through the oracle upgrade documen

  • Recordings Vanished

    Hi, I have a silver box (not sure what gen but I've had it about 3 years It says Model STB/CPU: PACE Pace_DiT7421_05_L4/297.) I have/had quite a few recordings on it, some marked to keep, others not, but I go through it fairly often and delete stuf