Different mapping programs for same source and target

Hi All,
  I have to map the incoming idoc to xml messages.
  But based on customer numbers in incoming idoc i have to use different mapping programs and map to same xml messages.
1 source message     - n mapping programs       - 1 target message
                                (based on cust numbers)
I dont want to harcode the customer numbers to find out the mapping programs.
Can anyone guide me in this on how to achieve this functionality...
thanks
Giridhar

Hi,
have you tried to use Conditions in the Interface Determination?
You can add multiple lines in the 'Configured Inbound Interfaces' and attach different mappings to each of them by picking a condition (basically using an XPath Expression).
Check this Help Document,
the section 'Multiple Identical Inbound Interfaces with Conditions' describes what I believe is your scenario.<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea20e737f33ee9e10000000a1553f7/frameset.htm">Multiple Identical Inbound Interfaces with Conditions</a>
regards,
Peter

Similar Messages

  • Issue in mapping the same source and target fields

    Hi All,
    I am working on PI 7.0 and currently I am connecting to PI 7.0 via citrix desktop . Problem here is : in the mapping , direct mapping option that is available to map the same source and target fields is disabled . I do know that this is due to some java version issue .
    What I want to know is there any possibilty of solving this issue without installing an updated java version ?
    Regards
    Vinay P.

    I've faced the same for many times and all of that were due to Java version.
    1st of all, you have to check the authorizations you have. If you have enough (DEVELOPER_J2EE, CONTENT_ORGANIZER_J2EE, and so), and - obvious but very often forgotten - you have to assure you're trying to change it in the message mapping change mode On.
    Then, last shot should be downgrade your Java version.
    The 1.4.2 JRE version allow you to use not only the Mapp the Identical field but also Dependencies, Clear Mapping and some other tools/buttons. As mentioned above, if there's a fix in the new Java releases, I do not know (hope so) and would appreciate if you could let us know.
    Tks.

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • Styles looking different in RH8 for Word source and Webhelp

    Hi All,
    I am using RH8 for Word. There are close to 900 topics in my project. My problem is that the styles that I used in my RH Word documents and the styles displayed after generating Webhlep are looking different. Also, that is not consistent with all the topics; some are generated exactly as the styles are in RH Word documents, but some are generated differently. An example might help you clearly understand.
    Example
    I have used the following styles in my RH Word documents:
    ·                                 Normal for body text
    ·                                 Heading1 for headings
    [to see the below images clearly please zoom in the browser display]
    The following figure shows topic1 when the styles are applied in RH Word:
    This is another topic2 when the styles are applied in RH Word:
    Output for topic1 in webhelp:
    Output for topic2 in webhelp:
    As you can see, the styles applied in topic1 and its output matches, whereas it is different for topic2 in Word and in Webhelp. I am not using any templates in RH Word. Can anyone please explain why this inconsistency. Is there a way to resolve this. I will be glad to provide you more information if required.
    Thank you,
    Vinay

    Hi again
    Well, one might assume that you knew where the WebHelp output folder was because you are reporting the images aren't showing when you view WebHelp. So the question now becomes: How exactly are you viewing the WebHelp? Are you clicking the "View Result" button after you generate? Are you viewing after you publish it to the Web Server? (That doesn't sound right as you are saying the "keeper" won't push it until the image issue is resolved. This would seem to infer that you aren't involved other than to post and act as an intermediary?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • No mapping for Same structure in source and target

    Hi Experts,
    I want to transfer the source structure to two receivers . Here source and target structures are same so i dont need mapping.
    My question is how many DT,MT and MI required .. mapping required or not.
    Thanks in Advance
    CS

    hi  CS,
                 here in  your  scenario as  u  have  told  that  source  and reciver  are of  same  structure . definitely you didn't need  any  mapping . and you have to create two data type(one for sender and  one for receiver) , two message  types(one for sender and one for receiver)) , and  two message  interfaces(one for sender and one for receiver).
    while creating message types it asks for data  type and while creating message interface it asks for message type only . as the structures of sender and receiver are same then inspite of having two receivers  we  have to create  ony one message interface on sender side . later the adapter will take  care of further proceedings
    but  in  case of configuration you have to import three business systems . one for sender and  two for receiver systems . and  you have to configure the communications  channels  accordingly. as per the receivers accepting the structures you have to use the relevant adaptors .

  • How to create Same file names for source and target.

    hi
    Can any body send Procedure for below requirement.
    how to create the dynamic file names for a source and save the file with same name in the Target, because it has to identify that which sender had sent the file and the target file should be again sent back to the customer as a link.
    Please help me.
    Thanks

    Hi,
    See the below link
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - sender file name as receiver file name
    Regards
    Chilla

  • The source and target structure have a different number of fields

    Hi,
    I am new to workflow and I am trying to create an attachment in Workflow (SAP ECC 6.0) and pass it through to a User Decision (User Decision works fine) however the workflow is failing on the attachment step with u2018The source and target structure have a different number of fieldsu2019. The bindings check ok. Please see details below.
    I have used document u2018Creating Attachments to Work Items or to User Decisions in Workflowsu2019 by Ramakanth Reddy for guidance. Thanks in advance.
    1) Workflow containers (SWDD)
    WORKITEMID (import)
    ZSWR_ATT_ID (export)
    SOFM (export)
    2) Task Container (PFTC)
    1 Import parameter defined u2013 WORKITEMID (swr_struct-workitemid)
    2 Export parameters defined
    - SOFM (Ref. obj. type SOFM)
    - ZSWR_ATT_ID  (swr_att_id-doc_id)
    Binding task -> Method
    Binding for 1 parameter (import) defined
    Task <- Method
    Binding for 2 parameters (export) defined
    3) Z  BOR object created with a Method, Method Parameters and Event (SWO1)
    1 import parameter defined
    2 export parameters defined
    Method calls FM SSF_FUNCTION_MODULE_NAME, CONVERT_OTF, SCMS_XSTRING_TO_BINARY and SAP_WAPI_ATTACHMENT_ADD
    Workflow is triggered by FM SAP_WAPI_CREATE_EVENT, Return_code = 0
    Event_id = 00000000000000000001
    Test results
    A) Triggered by ABAP/ FM SAP_WAPI_CREATE_EVENT - SWI2_DIAG results
    Work item  14791: object <z bor object name> method <method name> cannot be executed. The source and target structure have a different number of fields (this message is repeated 3 times). Error handling for work item 14791. No errors occurred -> details in long text (message is repeated 3 times).
    Message no. WL821, OL383, WL050 in long text
    B) Z BOR Test method <execute>
    Enter workitem id.
    Runtime error - Data objects in Unicode programs cannot be converted. The statement "MOVE src TO dst" requires that the operands "dst" and "src" are convertible. Since this statement is in a Unicode program, the special conversion rules for Unicode programs apply.                                        
    In this case, these rules were violated.   
    Program                             SAPLSWCD                
    Include                                LSWCDF00                
    Row                                    475                     
    Module type                        (FORM)                  
    Module Name                      MOVE_CONTAINER_TO_VALUE           
    C) Z BOR Test method <debugging>
    Enter workitem id.
    SAP_WAPI_ATTACHMENT_ADD, return_code = 0, message_lines  = Attachment created            
    both  swc_set_element container work ok
    Runtime error occurs after end_method executed. Data objects in Unicode programs cannot be converted.
    D) Workflow test
    Enter workitem id <execute>
    Task started> Workflow log> Status = Error
    Workflow errors in Attachment step (however Office document can be viewed in details for step).

    Problem has now been resolved. Problem was related to use of swr_att_id structure and swc_set_element statement in BOR program - problem resolved by only setting w/f container to swr_att_id-doc_id.

  • Is it possible to have source and target schema in the same DB instance ?

    Hi All,
    I'm using Oracle 11gR1.
    I have switched source locations from other server to the one with OWB.
    During deploy I get VLD-3064 and I can't deploy mapping because of many 'table or view does not exist' warnings.
    Is it possible to have source and target schemas in the same instance ??
    How to do it ?
    Regards,
    Martin

    Hi Jörg,
    Thanks for your help and quick answer.
    I'd like to clarify a little your answer :
    1. Are the any special privilages I need to set ? Currently I have only 'RESOURCE' and 'CONNECT' (I think I didn't have to add any other privs when that schema was located on other instance...)
    2. Also VLD-3064 states that : 'Owning and referenced location of this connector are on the same database instance. Unless explicitly referenced in configuration settings no generated code will use the dataabase link resulting from deployment of this connector'. Does it mean I have to put something in configuration ?
    Thanks,
    Martin

  • LMDB - SLD "Source and target system have the same object server name"

    Hi,
    the system is a SM7.1 SP1
    For some reason (Object-Server-Name changed), the job that syncs the sld and lmdb cancels...
    I set the LMDB-Object-Server-Name to its original Name...
    Now i've deleted the sync-config in the solman_setup and try to start a new sync, but i get the following error, when i try to configure the source-system:
    'Source and target system have the same object server name: CISM318'
    But the names are different: 'SM3' (LMDB) and 'CISM318' (SLD)
    Any suggestions ?
    best regards
    Christoph
    Edited by: Christoph Bastian on Aug 26, 2011 9:37 AM
    Edited by: Christoph Bastian on Aug 26, 2011 11:18 AM

    problem solved...
    Apparently the sync needs some hours to finish a object-server-name-change...
    best regards
    Christoph

  • Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.

    I am using VS 2012 and BizTalk 2013 and attempting to deploy an application to BizTalk when I get these errors:
    Error 47
    at Microsoft.BizTalk.Deployment.Assembly.BtsMap.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsArtifactCollection.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    0 0
    Error 49
    Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    Error 46
    Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    I also tried to Import a MSI file from our test environment to see if that would work...got the same errors.  After spending hours (not kidding) looking for an answer, all I could find is that a hotfix would work.  So, I got the hotfix from Microsoft
    Support and applied it then rebooted.  Still getting the same errors.  I'm absolutely at a stand still.  Interesting that I got this application to deploy yesterday and then the next time I deployed it I started getting these errors.  I'm
    ready to pull my hair out!
    Is there an answer for this out there somewhere?  Any help would be appreciated.
    Thanks,
    Dave

    Hi Dave,
    Which hotfix have you applied? I don't think a hotfix of this issue is available for BizTalk 2013 yet. You should create a
    support ticket with Microsoft to get a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Keeping table name same in source and target

    is it possible to keep the table name the same in source and target (they're on sepearte databases). Seems like OWB wants to rename the output table (usually adds 1 on the end). When I tried to rename I got a message saying that table name exists.

    In my mapping.
    First I defined a source and a target. The table on the target doesn't exist yet.
    I open mapping editor...drag the table from my source. Let's call it TABLE_A. Then I add Table operator to the mapping (choose create unbound operator with no attributes option). For the name I choose TABLE_A...however when I click OK it then changes the name to TABLE_A_1.
    So I double click on the table and change the name to TABLE_A and then I get the message that the table already exists.

  • Parametrized relation connections - don't work when source and target are different

    Hi All,I have next problem:I am using parametrized relation connection firstConnection (user and (encripted)password are taken from parameter file). Here are values from param file: $DBConnection_source=firstConnection$DBConnection_source=firstConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC==  This is (source and target are same) working fine for years.
     But now I need two different connection, i.e. source is (existing)   firstConnection and target is secondConnection. On both instances I have  same user 
      (svaba) with same password. I created second parameterized connection with  user = $ParamUser    and password = $ParamPwd     Now, parameters are: $DBConnection_source=firstConnection$DBConnection_source=secondConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC== When run workflow, got error: ORA-01005: null password given: logon denied.I triede to change connections by entering values for password (not use parameters for password) got error: ORA-01017:invalid username/password:logon denied.When I am using same (parametrized) connection for source and target (any of these two) everything is fine. That is sign that connections are good. Does someone have any idea about this problem

    Hi All,I have next problem:I am using parametrized relation connection firstConnection (user and (encripted)password are taken from parameter file). Here are values from param file: $DBConnection_source=firstConnection$DBConnection_source=firstConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC==  This is (source and target are same) working fine for years.
     But now I need two different connection, i.e. source is (existing)   firstConnection and target is secondConnection. On both instances I have  same user 
      (svaba) with same password. I created second parameterized connection with  user = $ParamUser    and password = $ParamPwd     Now, parameters are: $DBConnection_source=firstConnection$DBConnection_source=secondConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC== When run workflow, got error: ORA-01005: null password given: logon denied.I triede to change connections by entering values for password (not use parameters for password) got error: ORA-01017:invalid username/password:logon denied.When I am using same (parametrized) connection for source and target (any of these two) everything is fine. That is sign that connections are good. Does someone have any idea about this problem

  • Entering Source and Target Values in Value Mapping

    Hi,
    Is there any auomative way of entering source and target values in Value Mapping or FixValues instead of manually entering the values.
    I have around 400 values to be entered on both sides.....just thinking of an easy way to do it....
    Thanks for suggestions.
    Regards,
    Bharani

    Hi,
    Use value mapping replication
    chk this link as to what SAP docs say on value mapping replication
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value Mapping replication - Value Mapping replication
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    ValueMapping using the Graphical Mapping Tool
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards,
    Swathi

  • Can source and target tables be the same

    Hi there,
    I need to restate profit center column in the delivery fact table. Historical Profit Centers need to be populated since today is the first time we brought in Profit Center field from LIPS table. The source for the delivery fact table is SAP LIPS table. so what I did is:
    joined the LIPS and delivery fact table on (LIPS.delivery number = deliveryfacttable.delivery number & LIPS.delivery line item number = deliveryfacttable.delivery line item number) to get the profit center.
    So the source and the target delivery fact table are the same. Is this a good practice becuase Data services warns me that the source and target tables are the same.
    Please let me know a better alternative approach to this OR a better approach to restate fields for historical data. Thanks in advance.
    Regards,
    samqiue

    Arun,
    actually the LIPS resides on another server and in order to fetch data I have to write an R3 ABAP data flow, so I cant use it directly in a lookup.
    Except what Im thinking based on your reply to use a lookup table is: that I will extract 3 colums (delivery number, delivery line item number and profit center) to a table and then use the lookup.
    Thanks.
    Regards,
    samique

  • Source and Target Table in the Same schema........will that work in ODI

    Hi ,
    Is it possible to have my source and target tables in the Same achema.......will it have any performance issues or some other issues in our ODI.......
    I would like to know whether it works well or not .........
    ( To my understanding it wont have any issues ......But I am not 100 % sure on my judgement)
    Thanks
    AK

    Yes, you're correct.
    Just be sure about you load strategy, it means, if you need only to insert use the KM Control Append, but if need update too, try the IKM Oracle Incremental Update... I believe that will work better for millions of lines.
    Anyway be sure that your database has the necessary tablespaces to manage huge data volume.

Maybe you are looking for