Mapping Doubt

Hi,
What is benefit of going for message mapping over XSLT mapping in most of the scenarios during development?
1) Performance wise message mapping is better as it uses queues. If large message structures are to be processed it can done faster whereas XSLT uploads the whole structure into the memory and consumes lot of space.
2) Message Mapping is easy to use compared to XSLT.
3) Message Mapping has graphical interface so knowledge of programming is not required.
we have to chose one of these above option . can you answer this question if you have any idea.
Regards,
Ranjan

Hi,
below answer is the perfect reason why we go for Message Mapping.
1) Performance wise message mapping is better as it uses queues. If large message structures are to be processed it can done faster whereas XSLT uploads the whole structure into the memory and consumes lot of space.
2 and 3 answers also relevent.
Regards,
raj

Similar Messages

  • ABAP Mapping doubt

    Hi.
    I'm trying to do an abap mapping. I've read weblogs from Robert Eijpe. The samples contained in the weblog worked fine but i have a doubt.
    ABAP class had a parameter called SOURCE. This parameter contains the XML but i think is contained in only one line. In the sample weblog, the XML is contained in an internal table.
    Question is ... how can i transform this SOURCE of 1 line into an internal table?
    Thanks.

    Hi Inigo,
    Please look at this..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/frameset.htm
    Hope it helps you!
    cheers,
    Prashanth

  • Message Mapping Doubt

    Hi Experts,
    Im stuck up with a message mapping issue. Need your advice if I can handle this in message mapping or should I changed the FCC.
    FILE to RFC scenario.
    Input file sample.
    1|OPENED|153-01-19|T001|005151|0237|20100705|17:35:55|001     |20100705
    101|A005152|1|20100705|11:46:38|001     ||||001||1|N|SALE
    111|WCAKE004|1.000|42.00|42.00||G||0.00|LIQUOR|||N|42.00|0.00|$|0.00|WCAKE004
    111|WCAKE004|-1.000|42.00|42.00||G||0.00|LIQUOR|||N|-42.00|0.00|$|0.00|WCAKE004
    111|WCAKE005|1.000|38.00|38.00||G||0.00|LIQUOR|||N|38.00|0.00|$|0.00|WCAKE005
    121|38.00|0.00|0.00|0.00|0.00|I|N||0.00|0.00
    131|T|CASH|S$|1.0000000|38.00||||38.00
    141|G|0.00
    1|CLOSED|153-01-19|T001|005162|0237|20100705|17:35:55|001     |20100705
    After the FCC the message comes into XI in the format (Source message) .
    GMRSTORES
    --CODE1
    1
    OPENED etc..
    --CODE101
    101
    A005152
    1 etc..
    --CODE111
    111 etc..
    --CODE111
    111 etc..
    --CODE111
    --121
    --131
    --141
    --1
    The problem is on the target side when I try to map the Code111 (line item) to the targert RFC it comes only once or all the Code111 nodes comes under the same "ITEM_LI" The target RFC structure is like.
    --/POSDW/CREATE_TRANSACTIONS_EXT
    IT_TRANSACTION
    ITEM
    RetailLIne Item
    ITEM_LI (here is the problem I expect 3 ITEM_LI nodes for each CODE111)
    Pls advice.
    Thanks
    Prasanna

    The problem is on the target side when I try to map the Code111 (line item) to the targert RFC it comes only once or all the
    Code111 nodes comes under the same "ITEM_LI"
    here is the problem I expect 3 ITEM_LI nodes for each CODE111
    1) Ensure that you have raised the Context of the source node (CODE111) to a higher node.
    2) Is your mapping logic proper..... is the ITEM_LI node or its parent node mapped properly so that when the CODE111 repeats, the target is also able to repeat?
    3) did you check the max occurence of ITEM_LI node.....it should be more than 1
    Regards,
    Abhishek.

  • File to IDOC. Mapping doubts...

    Hi XI Gurus..
    I'm doing a file to IDOC scenario.. I've a filed called Master Number and Sequence number..
    First I've to sort the file based on Master number. based on this sorted file I must sort the sequence numbers.
    For example:
    0011232      01
    0011232      00
    0011231      01
    0011232      01
    0011231      00
    after first sort
    0011232      01
    0011232      00
    0011232      01
    0011231      01
    0011231      00
    after second sort
    0011231      00
    0011231      01
    0011232      00
    0011232      01
    0011232      01
    Now in mapping I must create one IDOC for every set of Master number. In the IDOC a segment must repeat for every sequence number.. i.e For 0011231 there must 2  sequence segments i.e 00 and 01, and 0011232 also must have 2 sequence segments i.e 00 and 01

    hi,
    please try the following mapping,
    for creating the IDOC based on Message  Number
    message No-->removecontext->sort>spiltbyvalue(for value change)-->collapscontext---->EDIDD(IDOC TAB).
    to create the SEGMENT based on the Sequence number please try the following mapping.
    Sequence no-->removecontext---->sortbykey(key as messageNo)
    >formatbyexample(first queue is message no and second queue is sequence no)---->splitbyvalue(for  each value)-->segment(IDOCsegment).
    regards,
    navneet

  • File to IDOC aggsales mapping doubt Urgnt

    Hello,
    Im working for a retail client and the requirement is the File to IDOC scenario where Im stuck up in the mapping.
    The inbound is a flat file of structure
    EDI_DC40
    E1WPU01
    E1WPU02
    E1WPU03
    E1WPU04
    The target IDOC structure is as follows
    WPUUMS01
    --IDOC
    EDIDC40
    E1WPU01
    E1WPU02
    E1WPU03
    E1WPU04
    The problem is with the target segment E1WPU03. This E1WPU03 is actually an optional one in the source inbound flatfile.
    So the source will be like this
    EDI_DC40
    E1WPU01
    E1WPU02
    E1WPU03
    E1WPU04
    E1WPU02
    E1WPU04
    E1WPU02
    E1WPU03
    E1WPU04
    So in the target I need to create the 03 segment if and only if it occurs in the source.
    I tired these following but didnt work for me.. what happens is The 03 segment which should come in the third 02 segment actually comes int he second one.
    any suggestions if this is possible in message mapping or should I go for an xslt
    I tried this one.
    SourceE1WPU03 >exists> if withoutelse>then "constant'> targetE1WPU03
    Thanks
    Prasanna

    > any suggestions if this is possible in message mapping or should I go for an xslt
    No, this is not possible with graphical mapping tool.
    You need to have a pre-mapping for this.
    I recommend Java mapping with SAX parser.
    you can easily change the input structure to:
    EDI_DC40
    -E1WPU01
    --E1WPU02
    ---E1WPU03
    E1WPU04
    --E1WPU02
    E1WPU04
    --E1WPU02
    ---E1WPU03
    E1WPU04

  • Header Mapping Doubt

    Hi All,
    I have gone through this URL and i couldnt get clear my self
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/1f17419b24f06fe10000000a1550b0/frameset.htm
    In which case we will apply the Header Mapping concept and can any one give me clear Exapmle
    Let us assume my Inetrface is File--Idoc
    Regards

    Hello Suman,
    This may answer your question,
    The header mapping is important when configuring cross-company processes in which the business partners want to replace the names of their internal business systems with neutral representatives (party, business service).
    Business partners involved in cross-company processes do not generally publish the names of their internal business systems (and integration processes), but instead mask them using business services. Business services represent the internal system landscape externally.

  • Column-map doubt (CMP 2.0)

    Hi
    weblogic 6.1
    CMP 2.0
    Oracle 8i
    Lets say i have 2 tables called
    Company - with companyId as PK
    Employee - with empId and companyId as Composite PK
    (empId is unique within a company only)...and CompanyId is Fkey to
    companyId in Company...
    I have 2 relation ship roles for the relationship
    Company-Employee (1 to many)
    1 - Company-has-Employees
    2 - Employee-belongsto-Company
    My question is how to form the <weblogic-rdbms-relation> element for
    weblogic rdbms descriptor?
    I currently use weblogic-rdbms20-persistence-600.dtd ...is there any
    for 6.1 ?
    Please send a cc of the reply to [email protected]
    Thanx
    Senthil

    Subramaniam
    CompanyId is a column of the composite primary key in Employee. CompanyId is
    the foreign key in Company.
    <weblogic-rdbms-relation>
    <relation-name>Company-Employees</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>Employee-Belong-To-Company</relationship-role-name>
    <column-map>
    <foreign-key-column>CompanyId </foreign-key-column>
    <key-column>CompanyId </key-column>
    </column-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    Deepak
    Senthil Subramaniam wrote:
    Hi
    weblogic 6.1
    CMP 2.0
    Oracle 8i
    Lets say i have 2 tables called
    Company - with companyId as PK
    Employee - with empId and companyId as Composite PK
    (empId is unique within a company only)...and CompanyId is Fkey to
    companyId in Company...
    I have 2 relation ship roles for the relationship
    Company-Employee (1 to many)
    1 - Company-has-Employees
    2 - Employee-belongsto-Company
    My question is how to form the <weblogic-rdbms-relation> element for
    weblogic rdbms descriptor?
    I currently use weblogic-rdbms20-persistence-600.dtd ...is there any
    for 6.1 ?
    Please send a cc of the reply to [email protected]
    Thanx
    Senthil

  • BPM - doubt in N:1 mapping of IDOCs

    Is there any DETAILED document on Mapping multiple Idocs into a single Idoc package using BPM.My doubt is in the latter part in this process(During Receiver Determination) :
    Scenario : CRM->XI->R3
    We will download the CREMAS03 and then make changes in the xml so that it can hold multiple IDOCs.
    and then we will be collecting the Idocs(say 3 idocs at a time)...that is, appending the IDOCS(CREMAS03) into a multiline container of type CREMAS03.
    In the transformation step, the multiline container containing CREMAS03 IDOCs is transformed to IDOC PACKAGE(N:1 Mapping).
    In Integration Directory,We will create 2 RECEIVER DETERMINATIONS :
    1.CRM->BPM :
    Receiver Service  :BPM Object
    Inbound Interface :CREMAS
    Interface Mapping :Maps the Outbound interface (vendor_out_interface) to CREMAS(Abstract Asynchronous)
    2.BPM->R3 :(I have my doubt here!)
    Sender Service     : CREMAS_COLLECT_PACKAGE(BPM Object)
    Outbound Interface : CREMAS_package(Abstract Async, Message is the modified Multi-CREMAS PACKAGE)
    Receiver Service   : R3
    Inbound Interface  : CREMAS.CREMAS03
    Interface Mapping  : NONE (WHY is that No Interface mapping is needed ???...Please elaborate)
    1.HOW will the XI engine MAP the CREMAS_package to CREMAS.CREMAS03 at the end of BPM PROCESS ?
    2.In BPM we have Transformed the individual Idocs into a IDOC Package BUT then at BPM->R3 Receiver Determination WHY are we mapping the CREMAS Package into Individual CREMAS Idoc ??
    3.Does the R3 receive the IDOCs as a Package OR does it receive it as individual Idocs ?And when we say a Package does it mean it will contain 1 Control record & multiple Data Records(EDID) ??
    4.If the R3 receives the IDOCs as a PACKAGE, THEN How does the R3 System separate the Idocs into Individual Idocs ??
    Is there any specific configuration in the partner profile at the R3 side to process A IDOC package ??.
    5.Also when I compare Posting Function Module IDOC_INPUT_CREDITOR and IDOC_OUTPUT_ORDERS , It seems that IDOC_INPUT_CREDITOR    can process multiple Idocs at a time while IDOC_OUTPUT_ORDERS CAN process only ONE IDOC at a time.Am I right ?)
    It would be great if someone has the patience to give a detailed reply.Looking forward to the reply !!
    Thanks,
    Arun.

    Hi Arun,
    You dont need a BPM for ur requirement. All you need to do is IDOC Message pacakages. where the IDOC are sent as a single package. here is the link to the page that details on hwo to do idoc packaging.
    http://help.sap.com/saphelp_nw04/helpdata/en/99/2653429392ab53e10000000a1550b0/content.htm
    you also refer to Michals weblog on IDoc pacakaging. But the approach i have jsut mentioned to you is more efficent and the one suggested by SAP. Michel was supposed to write one more weblog describing this approach.
    Cheers,
    Naveen

  • Doubt in Multi mapping

    Hi
    Suppose i want 1:2 transformation. Both the destinations are of the same type. (say two database tables have to be updated int he receiver end, )
    1. I can create one business service with two receiver interfaces. And go for multimapping.
    or
    2. I can create 2 separate business services for the two target interfaces and proceed in the usual way.
    I would like to know when to go for multi mapping in terms of configuration.

    Hi Aarti,
    You can go through these two blogs for clearing doubts on Multi mapping
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Pravesh

  • Mapping Best Practice Doubt

    Dear SDN,
    I have a best practice doubt.
    For an scenario where it is needed to mapping a value to another value, but the conversion is based on certain logic over R/3 data what is the recommended implementation:
    1.  Use Value Mapping Replication for Mass Data   or
    2.  Use XSLT ABAP Mapping calling an RFC ??
    Best regards,
    Gustavo P.

    Hi,
    I would suggest you use XSLT ABAP mapping or,
    Use the RFC LookUp API available from SP 14 onwards to call the RFC from your message mapping itself.
    Regards
    Bhavesh

  • Doubt on Message Mapping

    hi Experts,
    I have small doubt in Message Mapping.
    My doubt is in my Scenario if X=1 i want to go for message mapping1,if X=2  want to go for message mapping2,if X=3 i want to go for mapping3.
    How it possible

    Kalam,
    You can use dynamic interface determination. Please see this thread for this:
    Re: Dynamic interface determination
    Regards,
    ---Satish

  • Doubt in fields - message mapping (file 2 idoc scenario)

    while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names
    ( i am following this wiki help
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& )
    cremas04 idoc
    vendorNo LIFNR
    vendor name Name1
    Pur_org   ? ( I could not able locate field with the similar desc in idoc MT side)
    Company code  ?
    Acc_Grp  ?
    Search term MCOD1
    Address ADRNR
    City ORT01
    Pin_code PSLTZ
    could you help me out with this?
    Message was edited by: praba
            praba

    hi,
    I got the answer.

  • EXCEPTION_DURING_EXECUTE- Error in Mapping. Doubt about IE and AE

    Hi every one,
    I got an error related to mapping,in one of my scenarios, as <b>EXCEPTION_DURING_EXECUTE</b>
    As per my knowledge,
    <b>IE lies on ABAP stack. AE lies on Java Stack.</b>
    Mapping is done in Java stack.(we r using inbuilt Mapping tool of XI). <b>And so all the mapping errors should be in AE only, right?</b>.
    <u>But y this error is displayed in IE.(sxmb_moni)?</u>
    Please explain.
    Thanks,
    -Naveen.

    Hi,
    <i>And so all the mapping errors should be in AE only, right?.</i>
    No, only adapter related errors will be in the AE. Because message is part of Integration engine Pipeline.
    AE/Adapter Engine comes to picture when Collaboration agreement is happening. After that message will be in the Integration Engine.
    Hope this helps,
    Regards,
    Moorthy

  • Mapping IDoc to File Doubt

    Hello!!
    I have send the IDoc CHRMAS.CHRMAS04 from my R/3 to another system via file adapter.
    My problem is I have to pass several fields of the idoc to a complex structure on the XML with the structure:
    <ITEM>
       <FIELDNAME>Weight</FIELDNAME>
       <FIELDVALUE>17.0 </FIELDVALUE>  
    </ITEM>
    <ITEM>
       <FIELDNAME>Colour</FIELDNAME>
       <FIELDVALUE>Blue</FIELDVALUE>  
    </ITEM>
    Somebody knows how to map for each segement of the IDoc an ITEM substructure?
    I hope will be clear enough.
    Thanks and regards,
    Manuel.

    And in which way is this workflow related?
    Regards,
    Martin

  • Doubt in Mapping

    Hi,
    Suppose I'm working with Graphical Mapping. Is it possible to apply Java Mapping/XSLT Mapping for a subset of fields in the source. As per my knowledge I believe it is not possible.
    Please let me know your suggestions. Thank you.
    Regards
    Bhanu
    Intelligroup.

    Hi,
    have u referred the link which is given by me.
    U can either go for any of the mapping:
    1) Graphical mapping
    2) Java mapping
    3) XSLT mapping
    4) ABAP mapping.
    based on the criticality of requirement u can go with any of the mapping.
    java mapping:
    refer the few of the weblog which can give u better understanding:
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
    refer Mapping Performance:
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    chirag

Maybe you are looking for