How to use pluggable mappings in OWB10gR2

Sorry, yet another newbie question... (btw, boy I really wish the Users Guide was a lot more informative...)
I've created a simple pluggable mapping called "closed_date" that takes a few input data elements (closed date, account status, time since last reported) and does some simple expression logic to come up with a final "closed date" output attribute and an "open account indicator" field.
Now, when I'm trying to actually use the pluggable mapping inside of an ETL map, I get the following error:
"API8003: Connection target attribute group is already connected to an incompatible data source. Use either a Joiner or Set operator to join the upstream data first before connecting it to this operator"
Basically, all of the data is coming out of a big JOINER operator where I join 4 or 5 tables. Then I want some of the attributes to go directly to the target dimension operator, but I also want this pluggable mapping to sit between the JOINER and Dimension to do the translation.
What am I doing wrong - the expressions in the pluggable mapping are exactly the same as the ones I removed from the process flow (when it worked fine)?
Thanks,
Scott

bump!

Similar Messages

  • How to use Value Mappings for simple translations?

    Hello,
    I want to use Value Mappings for simple translations in mappings, e.g. from IDoc to Inhouse structures.
    For example unit of quantity:
    IDOC    -->    INHOUSE
    PCE               P
    ABC               A
    How can I use Value Mapping for this? What should be used as Agency, what should be used for Scheme? What about groups? I tried the following: I created a new Value Mapping in Integration Directory:
    - Source Agency: DELVRY05
    - Source Scheme: MENEE (IDoc field name)
    - Target Acency: INHOUSE_DESADV (Name of structure)
    - Target scheme: UNIT (Name of field)
    Then, in the table, I added several lines for translating PCE to P and ABC to A and so on. But I have to define a group name for each line. I used INHOUSE. But than I get one INHOUSE group for each line.
    This seems very complicated for simple translations from A to B. I don't want to use FixValue in Message mappings.
    Any help appreciated.
    Thanks,
    Christoph

    Hello,
    @pavan kumar: Thanks, but I know all Blogs about Value Mappings. That does not help me. And I refer to PI 7.1.
    Lets get it very simple: I want to have exactly the same functionality of "FixValues" as ValueMappings. In 7.1, I need to define a Group for every row / line in the conversion table (e.g. for units of measurement conversion between IDoc and FlatFile). That does not make sense for me, as the Group is always the same, e.g. "Unit of measurement". So I will get dozens of same groups called "Unit of measurement".
    I don't really understand the concept of Groups. Maybe this is just not appropiate for my intenses? Maybe the Group has to be defined as one specific value of Unit of measurement, e.g. "pieces"?
    CHRISTOPH

  • Pluggable mappings - how to get them to work (OWB 10gR2)

    Hi,
    I'm trying to create some pluggable mappings that I can share between a dimension and fact load. For example, I want to take my incoming data and do some set of operations on it (nothing too complex, all just a basic "expression" operator). I need to exactly duplicate this code between a dimension mapping (to generate dimension values), and a cube load (so OWB can look up the proper surrogate keys).
    Therefore, to make sure the logic stays 100% the same between the dim and fact loads, I'd like to use pluggable mappings. Then if I change the logic for the pluggable mapping, it automatically updates both the dim and fact load (and makes the logic 100% accurate between the dim and fact load ETL jobs)
    The problem I'm running in to is this: everything works 100% ok in the dimension load, where basically the pluggable mapping feeds directly into a single target operator, and that target operator has no other inputs.
    However, in the fact load, I can't get pluggable mappings to work (at all). The only difference is that, in the fact load, I have data from both the pluggable mapping AND from other sources going into a single operator (AGGREGATOR in my case). Those "other sources" are all the other dimensions that don't have pluggable mappings, plus the numeric fact columns.
    When I try to connect the pluggable mapping to the AGGREGATORI get the following error message:
    "API8003: Connection target attribute group is already connected to an incompatible data source. Use a Joiner or Set operator to join the upstream data first before connecting it to this operator"
    I'm not sure how to resolve this. A "joiner" won't help - if I have 10 dimensions coming in to an aggregator, and I'm processing 50 million rows, I sure can't try to add suitable join fields to each dimension and then try to join ten 50 million row sets. And a Set operator doesn't help at all either.
    Any way for me to get around this?
    Thanks,
    Scott

    Hi everyone,
    I have attempted to use pluggable mappings because i have a source system with 30 similar tables that need similar transformations (and extraction operations) performed on them. At the moment there is only a business need in our DW environment for 3 of them, and I have created 3 mappings using a common (nested) pluggable mapping. I have found the functionality "flaky". My two specific concerns are that the design centre sometimes doesnt update the mapping that uses the pluggable mapping (the code generated doesnt include the newly updated PM code). Concern 2 is that sometimes I cant even add PM's to the design canvas. I haven't rigorously attempted to solve these problems yet (because they arent a priority yet) but I AM going to watch this thread with interest.
    Gene

  • Embedded pluggable mappings

    I see this defined in the manual but I cannot find any examples on how to create this.
    Can someone provide me with more information?
    What's the use of embedded plugmaps since they cannot exist outside the surrounding mapping. They do not exist as standalone plugmaps, can we share them between mapping having the same surrounding conditions?

    Pluggable mappings are basically reusable bits of code. An example could be an in-line view, which could exist as a pluggable mapping which can then be added (via Pluggable Mapping oprator) to a normal mapping. I also use pluggable mappings to break up a large mappings into smaller more manageable bits.
    They are created via the Pluggable Mappings branch in the Project Explorer.
    FYI there are many bugs with pluggable mappings in versions prior to 10.2.0.3 and a few still in 10.2.0.3.
    Si

  • How can i get getwayed url string using pluggable nav in news portlet?

    hi.
    How can i get getwayed url string using pluggable nav in news portlet?
    A code just like below is what I want.
    <param value="param=http://.../portal/server.pt/gateway/PTARGS_.../http/...">
    I tryed the following, but didn't work as I wanted.
    1.<param value="<pcs:valueexpr='var'/>">
    -> transformed. but I want the prefix 'param=' in the enquoted string's too.
    2. <param value="param=<pcs:valueexpr='var'/>">
    -> not transformed.
    Any idea?
    Hiroyuki

    Hi all,
    We have HPROF functionality in our latest roadmap, so you will see that feature in our next major release called JRockit R28.
    I recommend, above from the MemLeak documentation suggested by Makiey, the following information on how to use JRockit tools.
    Performance Tuning & Profiling:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_02.html
    Using JRockit tools:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_03.html
    Diagnostics & Troubleshooting
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_04.html
    Best Regards,
    Tuva
    JRockit PM

  • HELP: do u know how to use forms pluggable java component...

    Hi all,
    I'm looking for a sample for using java component within Forms: how to installl them? how to use them? ...
    Cyryl from france

    Did you already check the demos on OTN at:
    http://otn.oracle.com/sample_code/products/forms/content.html
    Check the viewlets to see how to develop and deploy them and you can even get code to use them.

  • How to use the out parameter of a transformation

    Hi All,
    I have a requirement where I need to move all the transformations from process flows to map.SO for each transformation I need to have 1 map which calls this transformation.I have 1 transformation which has both input and output parameter.If I use this transformation in mapping then how to use the out parameter of thsi transformation.This out parameter needs to beused in other mappings.Can soemone please help me.
    Thansk in advance

    Hi,
    I'm not quite sure what you are trying to do.
    What works: Connect the outgroup of a pre- or post-mapping process operator to the mapping output parameter operator..
    What does not work: Connect the outgroup of an operator that can return more than one row (e.g. table operator, filter, joiner ,...) to the mapping output parameter operator. The mapping output parameter just returns "one row", like a pl/sql function call.
    You cannot pass a "data stream" from one mapping to another. Maybe the pluggable mappings is what you are looking for.
    Regards,
    Carsten.

  • OWB 10.2 - Pluggable Mappings Implementation: Black-Box, White-Box, ...

    Hi,
    We recently migrated from OWB 10.1 to version 10.2, and for the moment I'm investigating the new feature 'Pluggable Mappings'.
    When looking at the OWB documentation I can find 3 different data transformation logics: black-box, white-box and system-managed.
    But when going to the OWB 10.2 design client I can't find anywhere this property on the pluggable mappings?
    Can anybody help?
    Thanks a lot in advance!
    Bart

    I haven't seen that in the OWB manual but perhaps it just refers to how you can treat a pluggable mapping.
    As a pluggable mapping is in effect a reusable component it can be tested independently.
    Black box testing usually refers to testing with no knowledge of the inner workings of the component i.e. you test by passing specific inputs and ensuring you get desired outputs, what the component did in the middle is irrelevant to your test.
    White box testing means that you test every path through the component so it requires a detailed understanding of the inner workings.
    Not sure about system managed, perhaps that just means a system test where you test the whole application.
    Pluggable mappings are useful to split large or complex mappings into smaller more manageable parts or to create a reusable component that you include in several mappings but only need to build/test once.
    Si
    PS. prior to 10.2.0.3 I encountered many bugs with pluggable mappings.

  • How to use a jdbc driver in caf

    Hi, all.
         I tried to make a ws to access DB with CAF, but I had no idea how to use a jdbc driver(.jar).
        Can anyone do me a favor? Thx 
        PS: my server is ce7.1
    Edited by: Louis HUANG on Jul 27, 2009 1:09 PM

    hi
    If you want to interact with db tables in caf,try like this.
    it may work..
    Using EJB call database tables using jdbc driver.
    Expose EJB as webservice.
    and using External service option of caf utilise this webservice in caf,do the necessary mappings..
    you can search in sdn,how to call DB tables in EJB..
    Regards
    sowmya.

  • How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0).

    Hi,
    I am looking for this document: How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0), and not able to find it.
    Can anybody please point me the location, to look for, or post the document.
    Thanks,
    Namadev

    Hi Namadev Chillal  ,
    These r the links containing PDF docs which u r looking for:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

  • How to use conditional success Screen in SMP2.3 HWC?

    Hi All,
      Do anybody have reference for conditional success screen,
    I gone through this link SUP 2.2 Conditional Navigation Issue
    but i didnt able to do how to use conditional success Screen.
    If anybody have reference please provide me.
    Regards,
    Sravanya

    That works. Follow the below steps.
    1. Create a key on the selection screen: click on the selection screen>properties>keys>Add a key,ex. "value".
    2. MenuItem>In the properties of menu item>Parameter mappings>map the key with the key created in last step.ie. "value" instead of the key of the choice box.
    3. Get the value selected from choicebox:
    function customValidateScreen(screenKey, values) {
      if(screenKey === "Selection")
      var form = document.forms[screenKey + "Form"];
      if(form){
      SelectionValue = form.ChoiceboxKey.value;
    //ChoiceboxKey is the key of choicebox.
    //Declare a global value "SelectionValue "
    3. Map PK from program:
    customBeforeSubmit = function(screenKey, actionName, dataMessageToSend) {
      if(screenKey =="Selection" && actionName=="GoToChart" ){
      var myNewValue2 = new MessageValue();
      myNewValue2.setKey("Value");// Key created in the screen "Selection"
      myNewValue2.setValue(""+SelectionValue );
      myNewValue2.setType("TEXT");
      var mvc = dataMessageToSend.getValues();
      if( mvc ) {
      mvc.add( myNewValue1.getKey(), myNewValue1 );
    // So in the above way the data from choice box is send to online request.
    To do the conditional navigation you have to use the global value created,ex.
    hwc.customConditionalNavigation = function(currentScreenKey, actionKeyName, defaultNextScreen, conditionName, incomingDataMessage) {
      if( conditionName === 'Data'&& SelectionValue == "PieChart") {
             return false;
         }else{
        return true;
    Hope you understand how I did this.
    Midhun VP

  • Generating multiple target xmls from one source xml using xslt mappings

    Hi,
    I need to create more than one xml file from one source xml file using xslt mappings in file to file scenario.
    Can you please let me know how this can be achieved.
    Thanks,
    Rajesh

    Rajesh,
    If you must use the XSL Transformation then you can find a nice simple example here.  It's based on the Xalan XSLT Processor which to my knowledge is incorporated in PI7.1.  I've not actually tried this but it makes for an interesting mapping case so please let us know the results: 
    [XSLT Split for multiple XML file output|http://abbeyworkshop.com/howto/xslt/xslt_split/index.html]
    The XSL file will require a namespace addition:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:redirect="http://xml.apache.org/xalan/redirect" extension-element-prefixes="redirect" version="1.0">
    The redirect prefix is used for the write tags in the XSL file.
    The details cover the transformation of the source file:
    1:<student_list>
       2:    <student id="1">
       3:        <name>George Washington</name>
       4:        <major>Politics</major>
       5:        <phone>312-123-4567</phone>
       6:        <email>gw_at_example.edu</email>
       7:    </student>
       8:    <student id="2">
       9:        <name>Janet Jones</name>
      10:        <major>Undeclared</major>
      11:        <phone>311-122-2233</phone>
      12:        <email>janetj_at_example.edu</email>
      13:    </student>
      14:    <student id="3">
      15:        <name>Joe Taylor</name>
      16:        <major>Engineering</major>
      17:        <phone>211-111-2333</phone>
      18:        <email>joe_at_example.edu</email>
      19:    </student>
      20:</student_list>
    Using this transformation:
    2:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3:    xmlns:redirect="http://xml.apache.org/xalan/redirect"
    4:    extension-element-prefixes="redirect"
    5:    version="1.0"
    6:>
    7:<xsl:output method="xml"/>
    8:
    9:<xsl:template match="/">
    10:    <xsl:apply-templates />
    11:</xsl:template>
    12:
    13:<xsl:template match="student_list">
    14:    <xsl:apply-templates />
    15:</xsl:template>
    16:
    17:<xsl:template match="student">
    18:    <xsl:variable name="filename" select="concat(@id,'.xml')" />
    19:    <redirect:write select="$filename">
    20:        <student id="{@id}">
    21:            <xsl:apply-templates />
    22:        </student>
    23:    </redirect:write>
    24:</xsl:template>
    25:
    26:<xsl:template match="name | major | phone | email">
    27:    <xsl:copy-of select="." />
    28:</xsl:template>
    29:
    30:</xsl:stylesheet>

  • Using multi mappings in a synchronous intergace mappings scenario.

    Hi XI Gurus
    I have a synchronous soap --> XI --> Sync. RFC scenario (non BPM) which works fine.
    My requirement is to add another mapping object  using multi mappings in this scenario, but since XI has a limitation which prohibits me to use multimappings as interface mapping used  is a synchronous one.
    Can this be achieved using a BPM ?
    Is it possible to use two asynchronous message mappings instead of one synchronous Interface mappings?
    Thanks,
    Lovein

    Hi Pratheek ,
    Thanks for your reply.
    To explain the issue in other words..
    I would like to use a asynchronous interface mapping instead of synchronous one being used currently to access RFC.
    I need to use asynchronous Interface mapping as the multi mappings are not supported by synchronous Interface mappings in XI
    as has been described on help.sap.com "If you want to map multiple messages to each other by using a multi-mapping, you can only specify asynchronous interfaces" on link
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm]
    So the burning issue boils down to if I can break a synchronous call (RFC request/response in my case) in to 2 asynchronous ones.
    If a BPM is needed to achieve the goal then can you guide how that can be done.
    Thanks,
    Lovein

  • Powershell 4.0 How to use Add-Printer to add printer for all users (machine)

    Is there a way I can use Powershell 4.0 Add-Printer cmdlet to add a printer for all users (machine)?  I tried from an admin account but it only adds a printer for the currently logged on user.
    thanks.

    Adding a printer for all users requires having access to their profiles (and registry hive for user) to save the mapped printer information. Your best bet is to either use Group Policy Preferences or write a user logon script that ones when they log in and
    maps the printer if not already mapped. 
    Group Policy Preferences Example
    I wrote an article a while back that shows how to use a GPO logon script to map a printer. It doesn't use V4, but the process would be the same as far as a GPO goes.
    http://learn-powershell.net/2012/11/15/use-powershell-logon-script-to-update-printer-mappings/
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • How to use customized exception

    Hi all,
    I have a problem using struts-action-mappings.
    I have a method for update in my app module, and i'm using that method with data action.
    In that method, I have to throw my customized exception to user if there is error. I just don't know how to catch the exception and display it in page.
    I've read about struts page flow diagram elements and know there are Exceptions and Global Exceptions. But i still don't know how to use them.
    What i want to know is can I relate my custom exception with Exceptions/Global Exceptions in struts diagram? And if so, can anybody show me an example for it?
    Thanks

    1.Create a method GET_ACTORS using RH_GET_ACTORS,
    2.Create a container element 'Actors' type string with multiline.
    3.Create Task, where you can call the Method GET_ACTORS  and pass the Container values of 'Actors' from Method->Task->Workflow
    4.Create a Step type before creating the Step mail and include the previous Task.
    5.Now you can create the step Mail. Give the Recipient Type as 'Expression'-> Select the Container Element 'Actors' from WF container
    But remember the values should be Passed from the task to Workflow in Binding correctly.
    Regards,
    Sriyash

Maybe you are looking for