Multiple mappings

Hi,
Is it possible to create one descriptor that points to 2 tables? We've got an original and current table that is exactly the same (only name change). Is it possible to send through a trigger to set the table it should read from and only create one mapping?
Thank you

I assume you mean one class that can have instances in one table or another, not each instance stored in both tables (that would just be TopLink's normal multiple table support).
The best way to have one class go to two different tables is to create a subclass for the other table, otherwise given an instance TopLink will not know which table to store it to. Note you will map each subclass independently not using inheritance which requires the classes to share a root table. If you require relationships or queries to either of the classes you can define an interface descriptor and variable 1-1 mappings for this.
You could also handle this on the database a create a view that unions the two tables and view triggers to pick which table to send writes to.

Similar Messages

  • How can I Reconcile all tables on multiples mappings with scripting????

    I have OWB 9.2.0.2.8
    I have to reconcile all tables and external tables on multiple mappings.
    How can I do it with scripting language, please?
    Thanks very much in advance!!!!

    Good afternoon Claudio,
    Should be something like this:
    foreach mapName [OMBLIST MAPPINGS] {
      puts "Checking $mapName"
      foreach tabName [OMBRETRIEVE MAPPING '$mapName' GET TABLE OPERATORS] {
        puts "Reconciling $tabName"
        OMBRECONCILE TABLE '$tabName' \
          TO MAPPING '$mapName' \
          OPERATOR '$tabName' \
          USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID');
    }If you want to alter reconcile and/or matching strategy, check documentation on OMBRECONCILE in the OWB Scripting Reference.
    Good luck, Patrick

  • Multiple mappings without BPM

    Hi Gurus,
    I have to change an existing scenario in which I have to send message from SystemA to systemB like this.
    (SystemA)SoureceMsg to ErrorMsg &  ErrorMsg to MailMsg, TargetMsg(in SystemB)
    in this case the error message will not go to any system it just an intermediate message which just hangs in PI 7.0 system..
    I should not use BPM according the requirement and I should n't create temperory file for error message and pick it again to create the mailMsg.
    Once the source message is generated it should go all the way to create mail message.
    I have different existing mappings for
    1. SoureceMsg to ErrorMsg
    2. ErrorMsg to MailMsg 
    3.  SoureceMsg to TagetMsg
    Please guide me how to do it.

    Hi Srikanth,
    If the error message is created using file adapter then may be you can try using Response one way bean in module tab of the communication channel(file adapter) to route the message to mail adapter for creating the mail from it and you need to have configuration set up for this. Please refer the below links
    [File - RFC - FIle without BPM|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] for configuration required for response one way bean.
    [SAP help documentation|http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm] for configuration of response one way bean.
    Hope this will solve your purpose !!
    Luck,
    Amit

  • IDoc - IDoc interfacing with multiple mappings

    Hi,
    We want to use two different mappings for the same IDoc interface (based on a condition). So we use the ORDERS idoc for a sales scenario and also for a purchase scenario. The sending service is the same for both ORDERS messages, lets call it service SEND. Furthermore, for both ORDERS messages, the receiving service is also the same lets call it RECV.
    The problem is that we want to use a different mapping for the ORDERS sales scenario as for the ORDERS purchase scenario. The sending and receiving interface in both cases is the same.
    The receiver determination and interface/mapping determination is a problem in this case.
    One way to solve this is to use a party, but in the configuration of the party you can only use the same sending logical system name ONCE. So party A cannot have the same logical system name (SEND) as party B (SEND) for scheme ALE#LS.
    Another way would be to use different services, one for the first scenario and mapping and one for the second. Again the problem is that you need to enter adapter settings for both services (RECV1 and RECV2), but a logical system name can only be used in ONE service. If you want to assgin it to a second service, this is not allowed.
    Does anybody have a solution for this?
    thanks !

    Hi Alexander,
    why don't you try doing it in one BPM?
    something like this:
    one sender
    one receiver
    2 mapping programs
    <b>Receive step</b> -> <b>Swich Step</b> - if PO go to <b>Transformation step</b> one (mapping 1), else go to <b>Transformation step</b> two  (mapping for the SO) - <b>Send Step</b>?
    you can base you swith step on E1EDK14 segment qualifier = 013
    (As far as I remamber only Purches orders have it)
    but check it:)
    BTW
    if you use the Swith Step you probably want to use a Transformation step before the Swith step (mapping from ORDERS to dummy message with one TAG - indication if this is PO or SO based on content of the ORDERS) this way the swich step will work for sure  
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Deplying multiple mappings at a time

    Hi,
    I am new to owb, If i register the locations I have to deploy all the mappings. And it is taking long time deploy all the mappings in owb.
    Is there any way I can deploy them through unix script so that hanging of the owb client can be avoided and can increase the speed.
    Please do let me know .
    Thanks in advance.
    Prasanna.

    Hi,
    You can use OMB scripting to deploy mapping .. and this can be done in loop also.
    Check for OMBDEPLOY command .
    Thanks,
    Sutirtha

  • Filtering TP agreements to use multiple mappings

    So for a very specific reason we want to be able to separate the messages that are received from multiple trade partners for a custom message type (xml).
    i have been able to create the document type/trade partners and now i am facing the following thing:
    1.- if i create a single composite to receive the "messages" from all the tradepartners, i have been able to succesfully create it but i cannot find which is the definition that should be used or how to set the inbound header type so that in bpel i can see which trade partner is sending the message.
    2.- another option would be to create different projects and create the AQ "Message Selector Rule" but there nor examples or details of how setup the AQ properties. i tried "b2buser" with no other property and even with that i am not able to get any messages in the composite, much less does it detail how the rules must be set just (FROM_PARTY='XXXX' OR FROM_PARTY='YYYY').

    Hi,
    I'm not sure I fully understand the question but if you are able to identify the sending Partner you will obtain that information on the back-end as a b2b.property.
    Also note that patch # 20208668 offers a particular functionality (out of many others) that will allow you to dynamically identify an XML document and the Sender by using XPath.
    Cheers
    Tiago
    Oracle Fusion BPM & SOA

  • How to execute Multiple Mappings?

    Hi,
    I have 125 mappings in a project. I can validate,generate and deploy all the mappings at a time. But, in order to execute, I need to select each and every mapping in the deployment manager and then execute. Is there any simpler method to execute all the mappings at a time. Pls suggest.
    Regards
    Kishan

    Hi,
    For me, OWF is the key choice here. I don't know how many exactly, but I have a large number of mappings chained in OWF. Per doco: "The basic design elements for a process flow include activities and transitions. Activities represent units of work for the process flow." Give the number of mappings you mention, this seems to be the obvious choice.
    When you setup a flow you will see a picture that shows you what is first what is next and so on.
    I run OWF jobs manually, or via OEM. When you execute OWF jobs manually you will get back a log confirming that everything was there and it executed okay (or you will get errors), and you will also need to check runtime browser reports for success or execution time errors (this applies to OEM execution also). You will also need to get familiar with the OWF manager.
    I hope this helps.
    Thanks,
    Julian

  • Multiple message mappings in one integration scenario

    I am trying to send a message to a marketplace that uses a web service interface. First I have to map the SRM PO to OAGIS XML, then This must be embedded in the message of the web service which requires a further mapping. In the integration scenario in the repository it seems straight forward, however the configuration of the scenario in the directory seems a little strange. This becaue the middle step does not really have an eternal receiver, as it must stay in the integration engine until the final conversion. Is it actually possible to perform several mapping in series or must I use an integration process for the middle mapping?

    Andrew,
    I am addressing the same problem as follows.
    If you need a canonical mapping (such as OAGIS in your example) you need 2 mappings for 3 messages A(source) to B(canonical) to C(target). If you try to use XI (without BPM) as an action between the source and the target need to configure a channel in and out which as far as I can see is not possible.
    When setting multi-mapping you seem to only have the folowing options:
    Multiple source and multiple targets but this seems to limit you to one mapping program.
    Multiple mappings if I have only one source and one target.
    I think this is designed to map one or many sources to one or many targets in one mapping program.
    Also you can apply a series of mapping programs to a single source and target pair.
    If I understand Michal's solution you would define A as the source and C as the target. You then use multi mapping to get to the final result, but I think this is still on a single source and target. A second solution is to include multiple mappings as additional modules in the channel adpator.
    To take advantage of the canonical approach I am using a simple integration process with a receive and send step. All this realy does is get round the problem you highlight of having to have channels for the middle action in your integration scenario. This is an overhead but does allow you to add splitting and combining messages if needed in the future without much additional configuration.
    I can't see an easy option without BPM. Maybe there is an alternative but I can't find it. Maybe a next release of XI could include an interface mapping configuration that allows a sequnce of mapping betweem multiple pairs of maps:
    Seq  Source -
    Mapping Program   -
    Target
    1 -
      Message A  -
      Mapping Program 1 -
        Message B
    2 -
       Message B  -
      Mapping Program 2 -
        Message C
    I hope this helps.
    Regards
    Antony

  • The following fields have multiple writable mappings: field name

    Hi,
    I keep getting this error when I map
    tables to EJB 2.0 CMP.
    What does exactly mean ?

    It means that you have mapped multiple mappings/attributes in your bean to the same database fields. Single only one of the mappings can write the value TopLink requires to know which one it should use, you must make the other ones read-only.
    Check your mappings and make sure they are not mapping the same fields, make sure you check 1-1 mappings and they map the foreign key fields (TopLink does not require that you have attributes for the foreign key fields). You may also have incorrectly mapped a 1-1 target foreign key relationship.

  • Select One Choice-select multiple attributes into mutiple columns

    Select One Choice-select multiple attributes into mutiple columns does not work.
    read-only view object view1 - columns a, b, c
    updatable view object view2 - also columns a, b, c
    Select One choice has the capability to bind multiple columns to multiple columns. I understand how this wizard is to be used for these multiple mappings, i.e., view2.a mapped to view1.a, view2.b mapped to view1.b, etc., and using 'select multiple...' for the display attribute. When I complete the 'List Binding Editor" correctly, in this example, only column a will be updated. Columns b,c, etc. will not be effected.
    Has anyone solved this? Please do not reply telling me how to use the editor, I know how, it just is not working.
    Here is my jspx segment,
    <af:selectOneChoice value="#{bindings.Eis000tv1SlOffice.inputValue}"
    label="#{bindings.Eis000tv1SlOffice.label}">
    <f:selectItems value="#{bindings.Eis000tv1SlOffice.items}"/>
    Here is pageDef segment:
    <list id="Eis000tv1SlOffice" IterBinding="Eis000tv1Iterator"
    StaticList="false" ListOperMode="0" ListIter="OfficeSpaceV1Iterator"
    NullValueFlag="1" NullValueId="Eis000tv1SlOffice_null">
    <AttrNames>
    <Item Value="SlOffice"/>
    <Item Value="Floor"/>
    <Item Value="FloorArea"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="SlOffice"/>
    <Item Value="Floor"/>
    <Item Value="Area"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="SlOffice"/>
    <Item Value="Floor"/>
    <Item Value="Area"/>
    </ListDisplayAttrNames>
    </list>
    Here is the iterator:

    can u set as specified here
    -Djps.app.credential.overwrite.allowed=true http://radalcove.com/blog/?p=34

  • Multiple records from IDOC should be processed one by one Thru Web service

    Hi Experts,
    I have a requirement where in the idoc (custom one) will collect data from R/3 system at the frequency of One hour and send them to XI and from XI i need to call the Web serice which would post only one record at a time. In this case how should i manage by mapping. Its something like records from a Table needs to be posted sequentially thry Web service at the receiving end..
    Thanks for your replies in advance.
    Regards,
    Rajesh

    Hi,
    Please see the below links
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
    idocs - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Idoc - Multiple - interfaces - Idoc to multiple interfaces in XI
    Multiple mappings into one Im - Multiple message mappings in one integration scenario
    Multiple Idocs
    How to send Multiple Idocs?
    Regards
    Chilla..

  • Multiple SOAP fault support in PI?

    Hi Guys,
    We have a webservice that has multiple SOAP faults as part of the WSDL. Normally a sync WS will have a request, a response and a fault. My question is does PI support multiple faults?
    If i look at the SI, it lets me add multiple fault messages. Even in operation mapping, I get the option of doing the multiple mappings for multiple faults. But when I test, it throws up an error mentioning that the mapping does not exist in the cache. If I remove the multiple faults in SI (only provide one fault) and hence the same in OM, it works perfectly fine. But PI doesn't seem to like multiple faults in SI and OM and hence mess things up during runtime.
    So does PI really support multiple faults? Can it handle multiple faults being triggered from the target and route it to the source application?

    Ok, we analyzed this further and here is one answer:
    Synchronous service operations can absolutely handle more than one fault message. We checked this with ABAP-Proxy to  ABAP-Proxy and also ABAP-Proxy to SOAP Adapter.
    The problem we had before was due to a missing namespace information: in the response the namespace qualifier of the top level tag of the individual fault in the SOAP Envelope was not set.
    Here is my hypotheses about what happens: If there are more than one fault messages mapped in an operation mapping, the system must be able to find the correct one. To do that, not only the fault message tag name, but also its namespace must be set precisely in the response message. Otherwise the massage processing stops and a u2018missing mapping programu2019 is reported. Since the correct message mapping corresponding to the actual fault received could not be identified, in the error reported in the message log the system refers to the next best thing it has at that point which is the ID of the operation mapping. However, that is a bit misleading, since the operation mapping itself was found and there is nothing wrong with it.
    Hope that helps
    Eberhard

  • Multiple Mapping in XI 3.0

    Hi All,
    Any body tell that "HOW TO CREATE MULTIPLE MAPPINGS IN USING XI3.0"
    If you have any step by step procedure please provide me.
    Thanks & Regards
    Venkata

    Hi,
    There are "multi-mapping" and "executing multiple mapping programs".  Do not know which you are referring.
    The above reply refers to multi-mapping.  But, if you want to execute multiple mapping programs, you can develop each mapping program by itself, using Message Mapping, XSLT, java or ABAP.  Then, in Interface Mapping, you can assign those mapping programs in the order they should be executed.  The output of the 1st will be used as input to the 2nd, and so on.
    Regards,
    Bill

  • Multiple mapping steps in the message monitor

    All,
    I have an interface that has several different mapping steps for the one interface (first one is a java mapping, and then the second an XSLT) and XI only shows one mapping step in the message monitor (which encompasses all of the mapping steps).  The payload before is the payload before any of the mapping steps, and the payload after is the payload after all the mapping steps. 
    I would like to be able to see the payload at each separate mapping stage.  This would make it a lot easier when debugging problems in the later stages of the mappings.  Does anyone know if this is possible?
    Regards,
    Jason

    Hi Jason,
    Even I have tried to see the results of multiple mappings in SXMB_MONI. But I couldnt find a way till now.
    I believe there is no way to see the results of multiple mappings. The only possible way is to test your mapping locally in IR.
    Regards,
    Divija.

  • Multiple source databases

    Hello,
    I need to load data into dimensions and cube from multiple source databases. We have separate transaction databases for each country, but data must be loaded into common target schema. At the moment we have created mappings which loads data from one source database.
    What is the best way to populate, for example customers dimension from customers transaction tables (located in multiple source databases) if business identifiers can overlap?

    I would break this up into two pieces: the load from the source systems into the staging area, and then the load from the staging area into the target table, which you mentioned was a dimension.
    There is no reason you would have to use views or synonyms if you don't want to. You could approach this either with a SET operator, in this case a union, that brought all the sources together into the staging table. However, I would likely create multiple mappings for each source system. I would create a mapping for each table that you have to pull data from, and then create a separate process flow that controls all the tables being pulled from a particular source database. This allows you to schedule the extractions from the source systems independently of each other in case they need to run at different times. The end result of all of this will be a series of staging tables that are loaded from source tables from all the different locations. For each of the singular mappings, I would create a constant that defined the source of the data for this mapping, and load that constant into a column called SOURCE_SYSTEM, or perhaps COUNTRY, as you mentioned. Then, this SOURCE_SYSTEM/COUNTRY column + SOURCE_SYSTEM_ID would serve as the natural key.
    You can choose to persist these tables (as an ODS of sorts) or not... that is up to you and your requirements.
    Finally, I would create a single mapping that loads the final target table from the single staging table.
    Let me know if this doesn't make sense.
    Regards,
    Stewart Bryson

Maybe you are looking for

  • Dual Link DVI

    Hey guys, I have a MacMini which is a couple of years old now, it has ONLY a DVI connector on the back, no display port. I recently bought a Dell U271 monitor which is capable of going up to 2560x1440 using a Dual Link DVI cable under Linux.  If I ta

  • Folder mgt and uploading files

    HI Regarding Folder management, i can create folders in content management server and upload them required file . is that only possible through contentmgt server ? in liferay . when i login into my app . i can goto fileupload page and create folder a

  • Can I run pdf. on the iPad?

    Can I run *pdf. files on the iPad* that I have downloaded from the iPad browser or synced from the computer? _Thanks for reading_

  • Error in SAProuter installation

    Hi to all, I have followed all step for install a saprouter, but i have the follow error message: (when i start the service in "Computer Management") "Could not start saprouter service on local computer Error 14001: This application has failed to sta

  • Error 1310. Unable to update / repair / install

    For over a week, on start up of my computer Adobe Acrobat tries to do an update - and fails due to " error 1310. Error writing to file: C:\Program Files\Adobe\Acrobat 7.0\ActivX\AcroPDF.dll. Verify that you have access to that directory " But on canc