Message Mapping Vs Interface Mapping

What are the differences between Message Mapping and Interface Mapping?

Hi,
Message mapping
1) Transformation from one message structure to another message structure
2) Message Mapping is nothing but a set of rules for producing target XML from the source XML according to business requirement.These rules are nothing but relations between the source XML tags and target XML tags
3) 4 types(graphical, java, xslt, abap) mapping
4) You can check whether a complete message mapping functions at runtime once you have described it, by using the Test tab page.
Interface mapping
1) Interface mapping registers a pair of interfaces for a scenario and specifies the message mapping to be used
2) you can execute multiple mapping programs consecutively
3) To check whether an interface mapping that you have defined functions at runtime, test the interface mapping on the Test tab page.
Limitations
1) value mapping table cannot be accessed here
2) runtime constants of the mapping runtime are not set,but set to dummy values.
differences
message mapping you declare how the source message will be mapped to the the target message.
What source field will be mapped to the target field and any conditions for it to happen.
interface mapping you define what interfaces that will be communicating with each other. You will also see what message mapping the interfaces are using to exchange data. You need to do the message mapping before you do the interface mapping to get it correct.
Other releated things
->I think there can be Interface mappings without any Message mappings. This will work properly if both the source and target interfaces are of same type.
There might be less sense in these scenarios but they cannot be ruled out. They can help at times.
Interface mappings register your mapping program for an interface pair in the Integration Repository. If you require a mapping at runtime, it is sufficient to select the interface mapping for the interface pair at configuration time.
->The Integration Server uses the interface mapping to identify associated mapping programs for request messages, response messages, fault messages, or all three.
You can also create multiple interface mappings for the same interface pair.
For Multi MAppings Refer
http://help.sap.com/saphelp_erp2005vp/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm
Please reward points if it helps
Thanks
Vikranth

Similar Messages

  • Message Mapping vs Interface Mapping test tabs giving different results.

    Hi all,
    I am developing an interface that always requires an output file to be created (even if there is no data).  I have found a way to change my select statement in the JDBC sender to initiate the message even if there isn't any data (using UNION select -1 ID, '' col1, '' col2, etc.) and that seems to work fine.  I then put logic in the message mapping to suppress the row that contains the -1 ID value, which would result in an empty file when there is no other data, and should result in a file containing only the correct data when there is data.
    So, my problem: I am always getting empty files with this logic.  I tested the logic in the message mapping test tab and it worked perfectly, however when I test it using the interface mapping test tab it results in what becomes an empty file!
    My source and destination structures are fairly simple:
    Root
    --row
    ID
    col1
    col2
    The logic I use to suppress the ID = -1 row is:
    =removeContexts([]ifWithoutElse([keepss=true]Not([]equalsS([]ID, Constant([value=-1]))), SplitByValue([type=Each value]row)))
    Obviously, I'm stumped - any help would be appreciated!
    Edited by: Mike Morrison on Sep 23, 2010 5:04 PM

    Hi Mike,
    Can you quote the error log..u r getting error in message mappin or interface mapping?
    Please suggest the test results for both the mappings.
    Thanks,
    Sushama

  • Query Regarding Multi-Message Mapping in Interface Mapping.

    Hi All,
    I've a query that can we use Multi-Message Mapping in Interface Mapping if:
    One mapping structure is simple one-2-one mapping and
    Second mapping is calling a stored procedure.
    Please give me some links if the answer is YES.
    Thanks in Advance.
    Regards,
    Sreedhar.
    Edited by: Sreedhar Av on Oct 12, 2009 1:26 PM

    Hi,
    Your question not clear buddy..what i understood is..
    If you want execute multiple message mappings in Interface mapping we can ,just add two mapping programs in interface mapping.first mapping program output is input to the second mapping program.
    If first mapping program is very simple,if you want to execute stored procedure in second level mapping write used defned fun ction to conect to data base or create JDMC receiver communication channel ,cal the communictaion channel in udf.write stored procedure in UDF.
    SEARCH for more info in sdn how to perform DBLOOKUPS.
    regards,
    Raj

  • Message Mapping And Interface Mapping

    Hi,
    I have 2 software components.
    One is for sender and one is for receiver.I have created all the Data types,Message type and Message Interface fro sender in the first Software component and data types ,message type ,message interface for the receiver in the second software component .
    Now, in which Software component should i create Message Mapping and Interface Mapping?
    Thanks in Advance,
    mvk

    Hi,
    You could use the created Message type and Message interfaces in Sender as well as receiver software components for creating message mapping, interface mapping and integration scenario.
    Generally it makes sense to maintain the message mapping, interface mapping and integration scenario in receiver software component. The message mapping and Integration scenario is specifically based on the receiver end requirments, so its preffered on receiver software component.
    The sender side details could be reusable in case if you need those for another new receiver software component. If you maintain it in sender component, then that will lead to mix-up all the things on sender side even though its based on receiver end.
    I think this could help you.
    In PI7.1 now there is concept of Folders to maintain all the interfaces appropriatly and leads for reusability of existing objects.
    Please refer below links for more details,
    /people/thorsten.nordholmsbirk/blog/2006/07/25/structuring-integration-repository-content--part-1-software-component-versions
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed903cf6c4492ce10000000a114084/frameset.htm
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 26, 2008 8:33 AM

  • Diff b/w msg mapping and interface mapping

    hi
      i have some doubt's:
       1. diff b/w msg mapping and interface mapping
       2. What is product in SLD? usually who creates the product,technical,business system??
    thx in advance..

    hI Smartsoft General User  ,
    The following r excellent websites on mapping which differentiate msg mapping and interface mapping in detail:
    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 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
    How to Use ABAP Mapping in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    These r excellent websites in SLD:
    How To…Handle the SLD for SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    How To…Handle Caches in SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    http://www.sap-press.de/download/dateien/751/sap_press_exchange_infra_engl.pdf
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Use RFC message exception in Interface Mapping

    Hi,
    during my BP scenario I want to use the content of a RFC exception given back by my RFC in a interface mapping.
    Now I'm asking myself how to refer to a RFC exception as a source interface in an interface mapping (to use it in a message mapping was no problem).
    Do I have to specify a special message interface for the RFC exception?
    Thanks for any answer!

    Hi Christina,
    Cant believe that. Of course you need another interface.
    For example:
    synchr outbound-interface (output-message, input-message, fault-message)
    RFC is your inbound-interface in the interface mapping mapping. You should be able to choose Request, Response and Fault Type for the RFC.
    if nothing helps, send me screenshots (if-mapping, the other interface, the RFC) to [email protected]
    Regards,
    Udo

  • ERROR WHILE USING XSLT MAPPING IN INTERFACE MAPPING

    Hi,
      We are using an xslt mapping in our scenario but while i load the XSLT mapping in the interface mapping i get a message :
    Transformer configuration exception occurred when loading XSLT
    sorce interface :outbound and asyncronous.
    mapping : XSLT mapping (imported as a zip file)
    target interface: abstract,asyncronous.
    The xslt runs well in standalone and its well formed and there is no name space issue.
    please help if any one has faced such a situation while using XSLT mapping.
    regards,
    Anirban.

    Hi Anirban
    When you say it runs well <i>standalone</i> what exactly do you mean? Which XSLT processor are you using to run it? There are subtle difference between XSTL processors that can sometimes result in incompatibilities. For instance, I have seen XSLTs run correctly in XMLSpy but incorrectly (or at least slightly differently) in XI.
    Regards,
    Thorsten

  • Java Mapping : Read Interface Mapping detail data

    Hi,
    In various mappings techniques, you have access to a lot of message header information, even dynamic information.
    But as far as I could see, access to some ( important ) mapping data itself ( e.g. input message type / output message type ) is not possible ?
    ( you have sender interface and target interface in the header but no further details )
    Or does somebody know how to get access to the mapping environment runtime data ?
    Or did somebody found an ( undocumented ? ) api to read data from ID/IR ?
    In my case, I would only need access to the message datatype 'name' ( not actual structure but that could be nice for other advanced purposes ) to build a valid ( yet generic MAP ) XML output
    rgds
    Dirk
    rgds
    Dirk

    Hi Sandro,
    I indeed debugged the sproxy for the generation of a datatype ( start simple ) and at some point i get this huge URL that results in the WSDL file !!
    http://sapbebr014.be.getranet.com:53000/rep/read/ext/?service=READ&method=WSDL&KEY=<MyDataType>%7chttp%3a%2f%2f<mycompanyaspartofnamespace>%2ecom%2fxi%2f<myswvcname>&TYPE=ifmtypedef&VC=SWC&SWCGUID=<1b4b6a81808311db90dae6089e43162e>&WSDL_VERSION=http%3a%2f%2fwww%2ew3%2eorg%2fTR%2f2001%2fNOTE-wsdl-20010315&XSD_VERSION=http%3a%2f%2fwww%2ew3%2eorg%2fTR%2f2001%2fREC-xmlschema-1-20010502%2f&release=3.0&DOCU_LANG=EN&ADD_ENHANCEMENTS=false
    ( used by ABAP class cl_proxy_wsdl_index , method 'parse_url' )
    So that's not a bad start
    Dirk
    Message was edited by:
            Dirk Deberlanger

  • No namespace tag in target message (Test Interface mapping)

    Hi,
    I'm doing a <b>IDoc to file</b> scenario, and I'm using <b>external definitions</b> and a XSLT mapping. When I try to test the mapping in Interface Mapping he maps it but I <b>can't see the tree view</b>, I only get the source code...
    <?xml version="1.0" encoding="utf-8"?>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    I presume that there is a <b>namespace</b> tag <b>needed</b> like
    <ns:Desadv xmlns:ns="http://www.certione.com/RFDesadv/Schema">
    but I don't know what to do to have it added to the target message which is external definition Desadv with namespace http://www.certione.com/RFDesadv/Schema in the XSD...
    Any help would be appreciated!
    Kind regards..
    Message was edited by: Bart De Saedeleer

    Hello,
    Could you put your XSD definition ?
    And check your mapping because it seems that you don't have a root node in output.
    <?xml version="1.0" encoding="utf-8"?>
    <b><MYROOTNODE></b>
    <SenderID/><ReceiverID/><DocumentDate>20051028090653</DocumentDate>
    <DocumentNumber>456184</DocumentNumber><TestIndicator>     P</TestIndicator>
    <Version>1.0/SSCC</Version>
    <Desadv><MessageReferenceNumber>81749973</MessageReferenceNumber></Desadv>
    <b></MYROOTNODE></b>
    Regards,
    Chris
    Message was edited by: Christophe DUMONT

  • XSTL is not displaying in interface mapping

    I've created a XSLT transformation, next I've zipped *.xslt file into *.zip and imported (it is visible in Imported Archives). When I click "Display program" icon, I see popup with valid code.
    In message mapping I want to use this imported transformation. When I'm selecting XSL and then when I'm trying to select any XSLT I'm not able because nothing is displayed. When I tried to use drag and drop technique to paste my imported xslt I got an message:
    "IA_XSLT_PROXY_req has no program", where IA_XSLT_PROXY_req is a name of imported archieve.
    Any idea what is going on?

    Hi,
    Did you selected the option of XSL Mapping in Interface Mapping. Please select it from drop down list from where you select the ABAP MApping / Java Mapping. It will be in left side of lower window in Interface mapping. Please check it out.
    For more info about it you can refer to this weblog.
    /people/aashish.sinha/blog/2008/01/17/step-150-by-150-step-simple-approach-for-xslt-mapping
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Interface Mapping Not found in ID

    hi all,
    I am not getting the Interface mapping in interface detemination.
    I have cleared all the cache.
    My inbound mapping and interface mapping in IR are corret and activated.
    Please suggest me possible cause for the problem.I have to give a demo by today EOD.
    thanks and best Regards,
    Nidhi

    Hi,
    May I Kidnly request you to explain your scenario in more details.
    as per the information till you will not activate the Inteface Mapping, it will not be available in ID.
    Thus you need to temparory create the request side mapping with request side Message structure and don't mapp all the fields =, just mapp the header nodes. and use it in Interface Mapping.
    I think you don't wish to pass any data to receiver just to triger the event on receiver with call and the receiver will give back teh response to you.
    Thanks
    Swarup

  • ID-Error: Interface Mapping Not Found

    Hi,
    While doing the test configuration in Integration Directory, i'm getting the below errors, after pasting in the payload area & after executing step by step:
    Sender Agreement
    Also, once when i'm adding message interface to interface mapping in Integration Repository, i'm getting the error as:
    "Message Interface does not exits on any software components"
    afterwards this error not came once again.
    Plsssssssss help me to resolve the same.
    Regards,
    Balaji

    Hi Balaji,
    try to do a cache refresh,using tools>>clear SLD cache.
    also see if message mapping and interface mapping have been created properly and activated.
    Check the following:
    --> The o/b and i/b interfaces in the mapping program are same as used to create the interface det. object.
    --> THe Interface mapping shld be active...
    Refer to the topics at the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm
    Reward points if this helps
    Regards
    Vani.

  • Why no interface mapping?

    Hi Xier,
    Secnario as following:
    1. JDBC sender send message to BPM.
    2. BPM call Sync ABAP Proxy
    3. BPM get proxy response
    4. BPM use JDBC receiver write data back to DB.
    So we need to define interface Determination for step 1.
    we input Inbound Interface, but the interface mapping is optional, which show "Not Specified" in Receiver determination.
    My question is why here don't need to input interface mapping, this interface mapping should transform JDBC sender interface structure to BPM's abstract interface structure. Why it's not mandatory?

    Hi,
    Since the Message type of both the Inbound Interface and the Abstract Interface are same it is not mandatory to do mapping explecitly.
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution

  • Exchanging data between interface mapping and message mapping possible?

    Hi,
    please have a look at my interface mapping:
    source message -
    >
    mapping programs
    1. Java mapping
    2. XSL mapping
    3. message mapping
    > target message
    in my scenario a Java Class (1) is called for the interface mapping. There, some information ist read from the xml structure. Next, a xslt mapping (2) takes place that strips some information. The remaining data is passed to the message mapping (3)
    The reason for this is that the source message consists of a xml message inside an xml message.
    I am looking for a way to access the informationen gained in step 1 (Java class) in the message mapping (step 3). I was hoping that the global container (used by user-defined function within message mapping) is accessible from the java mapping, but I could not find out how.
    Anybody with some ideas how to pass information from step 1 to step 3? I cannot put the Information in the xml that is passed to the message mapping, because the schema of the inner xml cannot be changed.
    Thanks very much, best regards,
    Wolfgang

    Hi Wolfgang!
    I have used the "Dynamic Configuration" section in the XI Message header for this issue. You could write something into the Dynamic Configuration Section in step 1 (Java-Mapping) and read it out again in steps 2 or 3. You could use a section for a adapter you are not using in your interface for the real receiver. So if you have a File-Receiver Adapter at the "end" you could use some section of the e.g. SOAP adapter not to interfere with your receiver-adapter when using Dynamic Configuration Settings there ...
    See also: http://help.sap.com/saphelp_nw04/helpdata/de/43/09b16006526e72e10000000a422035/content.htm
    or
    http://help.sap.com/saphelp_nw04/helpdata/de/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    Best regards,
    Andi

  • Two Message Mappings in one Interface Mapping without using BPM

    Hello Experts,
    I have this scenario, please help me
    I have to execute two mappings of which one is a java mapping and then the other is a message mapping sequentially.
    The mapping is something like below
    Message1  -> (java Mapping) -> Message2
    Message2
    Message1 -> (Message Mapping) -> Message3
    Based on the value in Message2 I have to map Message1 to Message3
    I am not an expert in java so please give me options that doesn't involve changing of java code.
    The above 2 mappings have to be implemented in only one interface mapping.
    Suggestions please.

    Hi Ravi!
    You say message2 dependes on message1 and message3 is mapped from message1 but using also values from message2? But this means, that whole mapping dependes only on message1!
    So change your mapping and use the one not based on message2, but message1. Put these as a condition in interface determination and based on these values use the correct mapping.
    Peter
    p.s. I'm not sure, if I got your requirement correctly, but your target message dependes only on message1 (since message2 dependes on it too), so this whole mapping can be done as 1. Unfortunately, you'll probably have to change your java part. Bur definetely, Raj is right.
    Edited by: Peter Jarunek on Feb 20, 2008 5:36 PM

Maybe you are looking for