Access dynamicConfiguration in PI7.1 userdefined Mapping

Hi All,
how can i access the DynamicConfiguration for reading the adapter specific message attributes in a user defined mapping in PI7.1.
when trying to do it like in PI7.0 i get an exception that the parameter with the key StreamTransformationConstants.DYNAMIC_CONFIGURATION doesn't exist.
br,
martin

Try this code
DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
    u201Chttp://sap.com/xi/XI/System/Fileu201D,
    u201CFileNameu201D);
String valueOld = conf.get(key);
if (valueOld != null) {
    String valueNew = valueOld.replaceAll(u201Cinputu201D,u201Doutputu201D);
    conf.put(key, valueNew);
in Sap docs they havespecified this method only for PI7.1
http://help.sap.com/saphelp_nwpi71/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
Edited by: Progirl Progirl on Dec 5, 2008 5:35 PM

Similar Messages

  • UIXInclude getAttribute Illegal access of the include attribute map out

    Using JDeveloper 11.1.1.6.0
    I've been digging into the reason why I've been getting this in my logs. At first, I thought it was because of a declarative component, but after further digging, it was actually the region which I'm using inside a declarative region's facet.
    <UIXInclude> <getAttribute> Illegal access of the include attribute map outside of the include context
    Searching google only gets me to this link:
    [ Oracle® Fusion Middleware Error Messages Reference|http://docs.oracle.com/cd/E16162_01/core.1112/e22506/chapter_adf_faces_messages.htm]
    Has anyone encountered this same log? If you have, can you share what is causing it?
    Thanks.
    -Marvin

    Found the issue.
    Too bad I had to realize it the hard way. When the declarative component is trying to point to an attribute that doesn't exist, then you get this message in your log. Feel bad for the af:region for getting blamed... (but hey the documentation said contact support so that didn't help as well).
    Killed the unneeded and anonymous attribute element and everything is back to normal.
    -Marvin

  • After moving shared profiles to Windows 7/32 Pro PC, I can't access them from XP box mapped to the profile share (P:\Profiles...) after editing profiles.ini to point to the network share. I can edit files in the profile directory from XP.

    Previous configuration: Shared profiles located at D:\profiles\ on PC1 (XP Pro SP3). 2nd PC (PC2 also XP Pro SP3) mapped to \\PC1\Profiles via mapped drive P: and using absolute reference in profiles.ini on PC2. Remote profiles work OK on PC2.
    New PC added (PC7) to eventually replace PC1 (Windows 7/32 Pro). Profiles moved to D:\Profiles on that box. Firefox and Thunderbird work fine on PC7 with the local profiles. Profiles.ini edited on PC1 to point to the network share and will not access the remote profiles. Access permissions are set to full for everyone. I can write and edit to files in the profile directories from PC1.
    I tried adding a profile with the profile manager and tried to force it to use the network share, but it still located the new profile down in the default directory ...\application data\Mozilla\Firefox\

    Well, try this (I was able to fix my with these steps):
    Go Utilities > Disk Utility
    Select your Startup Disk, e.g. Macintosh HD
    Then, under the First Aid Tab, click Verify Disk Permissions.
    If there are errors, then click repair Disk Permissions.
    After it is done, restart the computer and see if your problem is resolved.
    I hope this help.
    Zeke
    www.ZekeYuen.com/blog/

  • Accessing XI SOAP Header in Mapping

    We want to access the SOAP envelope information in the XI mapping.  We need to query some values based on the following XPath:
    /SOAP:Envelope/SOAP:Header/SAP:HopList/SAP:Hop/SAP:Engine
    Is there a way to access the XI SOAP Header?  Can we do this through a User defined function?  Another option we have is to get the Host name through Java.  But accessing the SOAP Header would probably add some more value - especially if we need to access other values.
    Based on the integration server value, we need to do different mapping for certain fields.  We can use Value Mapping.
    Thanks,
    Jay Malla
    Licensed To Code
    Genentech SAP XI Team

    Hello Jay,
    Did you solved your issue? I have the same problem and don't know how to find a solution.
    If you did, please contact me. My e-mail is [email protected]
    Regards

  • Accessing Party identifiers using value mapping

    Hello
    Does anyone know if it is possible to access identifiers defined under a party using a value mapping (in my case from an xslt mapping calling a java function, but it doesn't really matter I guess).
    For party ADVDENV_US I have the following identifiers:
    http://sap.com/xi/XI    XIParty    ADVDENV_US
    INTERNAL                 GLN       1806367142
    At runtime I have value 1806367142 and I would like to retreive the value ADVDENV_US in order to perform dynamic receiver determination... would that work?
    Thanks
    Greg
    Edited by: Grégory VIAL on May 19, 2008 8:06 AM

    Grégory,
    If you wish to use identifier during the java mapping then check in below mention value mapping java docs.
    https://help.sap.com/javadocs/NW04S/current/pi/index.html
    Gaurav Jain

  • Access Message ID in graphical mapping

    Hi,
    I could not find a solution: How do I access the Message ID in the graphical mapping?
    During Runtime, I need to get the Message ID in graphical mapping and map it to a field in the target rfc.
    Can I do this either direct in mapping or is there a parameter in UDF?
    thx
    holger

    search in sdn before posting...
    http://wiki.sdn.sap.com/wiki/display/Snippets/UDFtoReadMessageIDofaPIMessage
    Regards,
    Raj

  • Access Receiver Determination value in mapping

    Hi Everyone,
    We have a need to access the receiver determination value from our mapping. Is this information stored in a global variable that we can access from a UDF in our mapping?
    Cheers.

    Joe,
    Could you plz brief your reqmt?
    raj.

  • Accessing value of a textfield mapped to an infobus column

    I am attempting to access the text value of a textfield mapped to an Infobus column.
    In this instance, I am trying to get an account type from the appropriate textfield to pass it to a new query.
    I have tried using getText - this returns a string of "oracle.sql.STRUCT@nnnn" (where nnnn is an hexidecimal bnumber)
    I also tried creating a method on the textfield using code I found here to retrieve the dataItem, map it to an immediate access control and retrieve the value using getValueAsString().
    This approach also returns "oracle.sql.STRUCT@nnnn" of course the numbers are different but as far as I can see, I have know way of knowing if this is the same class or not.
    What I am wanting to do is this....
    jpLookup.getRowSetInfo().setQueryCondition("ACCOUNTTYPENAME" = '"+tfType.getFieldContents()+"'");
    jpLookup.getRowSetInfo().executeQuery();
    for testing, I took out the internal single quotes so I could see what was being generated through the sql error dialog. With them in place, I simply get an empty result set since I don't have any account types of 'oracle.sql.STRUCT@nnnn'
    SO, could someone point me in the right direction??

    TextFieldControl tField = new TextFieldControl();
    ((ImmediateAccess)tField.getDataItem()).getValueAsString();
    Linda

  • Accessing ECC tables from XSLT mapping

    Hi All,
    I have requirement where I need to access a SAP table from PI XSLT mapping.
    Pls provide inputs on how to achieve it.
    Thanks,
    Navneeth K.

    Hello,
    You can refer to this document found in SAP Help
    http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
    And a sample blog
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    In your case, the idea is to call a java class inside the xslt mapping. So to access the ECC table, you can use a Java Mapping Class so that it would be easier to implement an RFC lookup.
    Hope this helps,
    Mark

  • Getting access to xiContext object in mapping

    Can someone please tell me how you get access to the xiContext object in XI mapping?

    What do you by "xiContext object"?

  • How to access via javascript with Oracle Maps to a external Geometry Cache

    If i've defined CTR_10000 as a Web map cache in mapviewer 10.1.3, what is Oracle Maps javascript code to access that
    Layer?
    I've tried:
    vat ctr10kLayer = new MVThemeBasedFOI('ctr10kLayer','CTR_10000');
    ctr10kLayer.enableAutoWholeImage(true);
    ctr10kLayer.setVisible(false);
    mapview.addThemeBasedFOI(ctr10kLayer);
    but dowsn't works,
    Any Suggestion?

    Here's an example (on 10133P5) using demis.nl's wms reference demo site.
    You will have to change the adapter class if you're using 10.1.3
    and use a proxy if necessary and set the tile_storage path
    for your environment
    map tile layer definition
    SQL> select name, is_internal, definition, base_map from user_sdo_cached_maps where name='DEMIS_
    NAME IS_I
    DEFINITION
    BASE_MAP
    DEMIS_WMS NO
    <map_tile_layer name="DEMIS_WMS" image_format="PNG" http_header_expires="168.0"
    concurrent_fetching_threads="3">
    <external_map_source url="http://www2.demis.nl/mapserver/wms.asp" request_met
    hod="GET" timeout="15000" adapter_class="mcsadapter.WMSAdapter" transparent="tru
    e" clipping_buffer="0">
    <properties>
    <property name="service" value="WMS"/>
    <property name="srs" value="EPSG:4326"/>
    <property name="format" value="image/png"/>
    <property name="layers" value="Countries,Borders,Coastlines"/>
    <property name="transparent" value="true"/>
    </properties>
    </external_map_source>
    <tile_storage root_path="/tilecache/"/>
    <coordinate_system srid="8307" minX="-180.0" minY="-90.0" maxX="180.0" maxY="
    90.0"/>
    <tile_image width="256" height="256"/>
    <zoom_levels levels="10" min_scale="5000.0" max_scale="5.0E7" min_tile_width=
    "0.003057205631621593" min_tile_height="30.572056316215935">
    <zoom_level level="0" name="" description="" scale="5.0E7" tile_width="30.
    572056316215935" tile_height="30.572056316215935"/>
    <zoom_level level="1" name="" description="" scale="1.7969068E7" tile_widt
    h="10.98702717691827" tile_height="10.98702717691827"/>
    <zoom_level level="2" name="" description="" scale="6457748.0" tile_width=
    "3.948532710638615" tile_height="3.948532710638615"/>
    <zoom_level level="3" name="" description="" scale="2320794.0" tile_width=
    "1.4190288973267207" tile_height="1.4190288973267207"/>
    <zoom_level level="4" name="" description="" scale="834050.0" tile_width="
    0.5099724714107979" tile_height="0.5099724714107979"/>
    <zoom_level level="5" name="" description="" scale="299742.0" tile_width="
    0.1832745860867039" tile_height="0.1832745860867039"/>
    <zoom_level level="6" name="" description="" scale="107721.0" tile_width="
    0.06586504956878192" tile_height="0.06586504956878192"/>
    <zoom_level level="7" name="" description="" scale="38713.0" tile_width="0
    .023670720323393343" tile_height="0.023670720323393343"/>
    <zoom_level level="8" name="" description="" scale="13912.0" tile_width="0
    .00850636894942392" tile_height="0.00850636894942392"/>
    <zoom_level level="9" name="" description="" scale="5000.0" tile_width="0.
    003057205631621593" tile_height="0.003057205631621593"/>
    </zoom_levels>
    </map_tile_layer>
    SQL>
    Html code to use it. Modify it for your installation and MV version
    <html>
    <head>
    <script language=javascript src="/mapviewer/fsmc/jslib/oraclemaps.js"></script>
    <script language=javascript>
    var mapview;
    function showMap()
    var baseURL = "http://localhost:8888/mapviewer";
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(new MVMapTileLayer("mvdemo.demis_wms"));
    var mapCenterLon = -100.45;
    var mapCenterLat = 39.6706;
    var mapZoom = 0;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("EAST");
    var markerFOI = new MVFOI('markerfoi', mpoint, 'mvdemo.m.star',null,15,15);
    mapview.addFOI(markerFOI);
    mapview.display();
    </script>
    </head>
    <body onload="javascript:showMap();">
    <h2>WMS map tile example</h2>
    <div id="map" style="width: 100%; height: 70%"></div>
    </body>
    </html>

  • DFS and Windows 7 x64 strange behavior when trying to access a DFS link through mapped drive

    I've manually mapped a network drive (Q Drive) to a DFS location. Whenever I go into "My Computer" and open the Q Drive it shows the DFS links but when I double click one of the links it randomly takes me back to the "My Computer" starting point showing my standard drive letters. If I click through the Q drive and the DFS several time it all of the sudden works. Sometimes this circle of clicking can go on for 5-10 times before it works properly.
    I'm running the x64 edition of Windows 7.  Any suggestions on how to make this work properly? Its very annoying.

    GPO mapped namespace where you can't connect through the mapped drive letter but can connect through the DFS UNC namespace? Do you use access based enumeration?
    I personally think it has something to do with network bandwidth, the security token and offline files. =)
    You can access the namespace itself but not any of the linked shares (try checking the ACL:s on the shares and you get permission denied, but you still see them, ie they are listed).
    I found a post sometime ago about corrupted/trunkated security tokens. If the member was part of too many AD groups the token was trunkated and corrupted. That was going to be my next move. Sniff the traffic and see what actually happens when the issue occur
    if theres something to be learnt there. Since it works correctly through the UNC adress but not through the drive letter you ough to be able to see what is different between the two requests.
    http://blogs.technet.com/b/askds/archive/2008/05/14/troubleshooting-kerberos-authentication-problems-name-resolution-issues.aspx
    One thing I noted was that it only happened to remotely connected computers on slow 3G connections (we use Direct Access). Never on LAN-connected computers with GB access or remote computers with fast (>15Mbps) access. We also use folder redirection,
    which I think could be part of the problem, ie the share never goes online, atleast for us the issue was itermittent, it never happend all of the time, just from time to time. And if I disconnected and reconnected it could fix the issue for that particular
    sessions, usually it didn't but occasionally it did (just pulling the network cable and put it back). Check the offline/online status the folders show up as offline even though they are online.
    Enough of my ramblings. Sorry to hear you still have the problem and I hope you find a way to solve it.

  • Accessing index directly from backing map

    Hi Guys,
    I have an interesting problem and would greatly appreciate some input.
    I am trying to find the minimum or maximum values of a specific field from data held
    in the backing map for a cache.
    I have seen examples of PofValue being used to extract individual entries - or being used in
    Iterators, working through the entries in the backing map.
    However, I was wondering if there is a faster way to do this, given that the field I'm interested in
    has an ordered index created against it.
    My thoughts were along the lines of trying to extract the Mapindex entries for the field, and just then
    taking the first value (which, I'm assuming, would be the smallest since the index is ordered).
    Does this make sense, or do I need to abandon the idea of using the pre-existing index and just iterate through
    the PofValues? Is it even possible to access the index entries for values directly from the backing map?
    Many Thanks,
    Adrian.

    Hi Adrian,
    you should be able to write an index-aware filter which makes this really fast, provided that you have a sorted index on the particular attribute which sorts according to the same order (or reverse) according to which you want the least or highest value. The following Filter implementation filters for the entries with the least extracted value:
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    import com.tangosol.util.Filter;
    import com.tangosol.util.MapIndex;
    import com.tangosol.util.filter.ExtractorFilter;
    import com.tangosol.util.filter.IndexAwareFilter;
    public class LeastExtractedValueFilter extends ExtractorFilter implements IndexAwareFilter {
       public LeastExtractedValueFilter(ValueExtractor extractor) {
          super(extractor);
       public LeastExtractedValueFilter() {
       @Override
       protected boolean evaluateExtracted(Object extractedValue) {
          throw new UnsupportedOperationException("This filter is only usable with a sorted index");
       @Override
       public Filter applyIndex(Map mapIndexes, Set candidateKeys) {
          MapIndex mapIndex = (MapIndex) mapIndexes.get(m_extractor);
          if (mapIndex != null && mapIndex.isOrdered()) {
             SortedMap reverseMap = (SortedMap) mapIndex.getIndexContents();
             if (reverseMap.isEmpty()) {
                candidateKeys.clear();
             } else {
                candidateKeys.retainAll((Set)reverseMap.values().iterator().next());
             return null;
          throw new UnsupportedOperationException("This filter is only usable with a sorted index");
       @Override
       public int calculateEffectiveness(Map mapIndexes, Set candidateKeys) {
          MapIndex mapIndex = (MapIndex) mapIndexes.get(m_extractor);
          if (mapIndex != null && mapIndex.isOrdered()) {
             return 1;
          throw new UnsupportedOperationException("This filter is only usable with a sorted index");
    }You can then try to extract whatever you want from the candidates in a parallel aggregator, e.g.:
    import java.io.IOException;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Set;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import com.tangosol.io.pof.PortableObject;
    import com.tangosol.util.InvocableMap;
    import com.tangosol.util.ValueExtractor;
    import com.tangosol.util.InvocableMap.EntryAggregator;
    import com.tangosol.util.InvocableMap.ParallelAwareAggregator;
    public class FirstEntryExtractorAggregator implements ParallelAwareAggregator {
       public static class Parallel extends FirstEntryExtractorAggregator implements PortableObject, Serializable {
          public Parallel() {
             super(null);
          public Parallel(ValueExtractor extractor) {
             super(extractor);
          @Override
          public void readExternal(PofReader in) throws IOException {
             extractor = (ValueExtractor) in.readObject(0);
          @Override
          public void writeExternal(PofWriter out) throws IOException {
             out.writeObject(0, extractor);
       protected ValueExtractor extractor;
       public FirstEntryExtractorAggregator(ValueExtractor extractor) {
          super();
          this.extractor = extractor;
       @Override
       public Object aggregate(Set entries) {
          if (!entries.isEmpty()) {
             InvocableMap.Entry entry = (InvocableMap.Entry)entries.iterator().next();
             return entry.extract(extractor);
          return null;
       @Override
       public Object aggregateResults(Collection collResults) {
          Comparable least = null;
          for (Object object : collResults) {
             least = leastOf(least, object);
          return least;
       private Comparable leastOf(Comparable least, Object other) {
          if (other == null) return least;
          Comparable compOther = (Comparable) other;
          if (least == null) return compOther;
          return compOther.compareTo(least) > 0 ? least : compOther;
       @Override
       public EntryAggregator getParallelAggregator() {
          return new Parallel(extractor);
    }You would then run this as:
    Object leastExtractedValue = cache.aggregate(new LeastExtractedValueFilter(extractor), new FirstEntryExtractorAggregator(extractor));Best regards,
    Robert
    Edited by: robvarga on Sep 21, 2010 3:00 PM
    Edited by: robvarga on Sep 21, 2010 7:44 PM

  • Accessing ora:getpreference inside xslt map

    Hi
    I need to access preferences values of the BPEL Suitcase Descriptor using ora:getpreference inside xslt map. I tried but it dosent work in xslt. Could any one please advise as to what is the way to access preferences values from inside a xslt.
    Thanks
    Buddhadev

    is the bpws:getVariableData() function also not usable inside an XSL Mapper?
    JDeveloper allows it. There is no error at compile and deploy times. It seens to be odd that those functions are there, but we cannot use them. Could any one explain this behavior?
    I got the following error when trying to use ora:getPreference() or bpws:getVariableData():
    (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/
    I need to call these functions to build a request from a variety of sources: process input, deployment descriptor preferences, variables, etc.... The real use case is more than one-to-one mapping/transformation.
    If these functions are not usable inside an XSL Mapper, JDeveloper should not show them as available options.
    Edited by: user9520923 on Sep 16, 2008 1:36 PM
    Edited by: user9520923 on Sep 16, 2008 2:02 PM

  • 0xc0000005 access violation running app from mapped drive but no problem from UNC or local

    I have an application (.exe - 32 bit) that is giving the access violation error when run from a mapped (net use) drive on a shared folder.   NO error if I run it using the FULL UNC path name and NO error if I copy it to my local drive and run it.  
    The error is below.   I have run scans for virus and malware, etc. and come up with nothing.  I have run diagnostics on my memory and nothing is wrong with the hardware.  Also, if I create a new user profile, the app will run fine under
    that profile - initially.   The problem seems to come up after I install something new.  I know the new software is not infected (VS 2013) and the software installed before the new profile test was not the same software.   
    I didn't give all the info below because it's legacy software few would know about and I do NOT have the source code.   It is 32 bit and has worked fine for 15 years or more - without this problem.    Thanks in advance for any help
    you can provide.
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x7501e4e4
    Faulting process id: 0x31d8
    Faulting application start time: 0x01d07f8a4598879e

    Hi Johnny,
    We wonder if you get this error on all PCs or only on your Windows 7 PCs.
    If your application happens to hit a page of memory that is not present, a standard page fault will trigger, telling Windows it needs to fill that page. If the network happens to be down at that moment, Windows will be unable to satisfy the page-fault. So
    Windows throws an EXCEPTION_IN_PAGE_ERROR (0xC0000005). Since you mentioned that it works under new user profile initially and already tested your memory, the most typical causes for the ‘0xC0000005: Access Violation’ error are: corrupt registry, malware,
    updated software/device driver.
    Check your issue with malware, VS 2013 and firewall closed under new account.
    If this issue happened recently, you could simply restore your system to earlier point then check your issue.
    Check your issue under clean boot and safe mode with network (using new account)
    https://support.microsoft.com/en-us/kb/929135
    Regards,
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • How do I save multiple PDFs on my IPad

    Just installed PDF reader on my the IPad.  It will not allow me to place another document in the app

  • Error while GR against scheduling agreement

    Hello, I am doing the GR against the scheduling agreement, but system doesn't allow me to do GR. I get the error message as 'Transaction cannot be posted due to errors in price determination' error ME573. What can be the cause of this error? Thanks,

  • Spinning ball fatigue.

    I posted this on the iMac board as well relative to this happening since upgrading to one of the new 27'' iMacs: iPhoto has become really sluggish and clumsy in editing, transiting to the next photo viewing, even sizing the window. All this since cha

  • When the computer sleeps

    I'd like to create a workflow that runs every time the computer goes to sleep. Is it possible to do this?

  • Wifi and Marketplace not working on Lumia 610

    Hi, So as the title suggests, my wifi and marketplace aren't working on my Lumia 610. I have it maybe two months, and just today the Wifi stopped working. Laptops, other smartphones and an iPod are all connecting to the modem just fine. Just my phone