Problem in the ABAP mapping

hi all ,
We are facing a strange problem in ABAP mapping , we are uisng the  below syntax
    if_node_collection = if_idocument->get_elements_by_tag_name( 'E1MVKEM').
    l_rows = if_node_collection->get_length( )
It is not showing the exact no of  E1MVKEM segments. Suppose it has 3 segments l_rows is '2'. Now in our custom code ( we have created a DOM from the XML) then used the same syntax, it is working fine ...
Has anybody faced the same problem b4????
Kind Ragards
Goutam

Solved

Similar Messages

  • Setting the content type inside the ABAP mapping.

    Hello All,
    Can any one help me by telling me how to set the content-type inside ABAP mapping. I have searched a large no of blogs and help.sap.com for the same.
    My requirement is I want to change the MIME type of the Main Document in side SXMB_MONI so that can change the content type of Main document which is application\xml by default.
    I would appreciate an early response regarding the same.
    Abinash

    Hello Raj,
    The output of my ABAP mapping is a flat file. So when I try to open the file with content type application/xml in the message monitor it shows the file has some error which is natural. The way to get around this problem is change the content type to application\txt from application\xml.
    I am not finding an option to set the content type inside the ABAP mapping for the same.
    Abinash

  • XML to ABAP - where the ABAP mapping?

    Dear experts,
    I have to do an ABAP mapping which I have never done before.
    I found blog:
    /people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
    which shows the ABAP code.
    I use PI 7.1
    Questions:
    - But where in XI/PI do I implement this code?
    - How can I test the code while I write it?
    - Can I pick up the XML file to map from an FTP server?
    Thank you very much for your help!
    Best regards,
    Peter

    Hi,
    I dont think you really need to develop ABAP Mapping , you can achive this requirement using standard Graphical Mapping.
    But let me know which IDoc/rfc or table you want to update information.
    if it is bapi use RFC  IDoc go with IDoc adapter.
    elase try with proxies.
    normally it is not a best practive to implement ABAP Mapping,sometimes you experience perfromace issues.
    Regards,
    Raj

  • Problem with the ABAP List output while running program in background.

    Hi ,
        This is Sudhir S . I am trying to run a report in background which has 60 columns , but only 13 are displayed when we view it through the spool abap list .
    But when I run in foreground all the 60 columns are displayed. Since the data which I am trying to fetch is large I am running the report as a background job .
    I just need to know what can be done to get the 60 columns in spool abap list output.
    waiting for your  reply.
    <removed by moderator>
    With Regards
    Sudhir S
    Edited by: Thomas Zloch on Oct 6, 2010 1:51 PM - please do something else while waiting, all posts have the same priority here

    Hi,
    Check if SAP note 1226758 resolves this problem.
    Regards,
    Aidan

  • Problem in the iFS map drive...!

    Thanks for your concern:
    As you know, in window explorer,iFS map drive is very convenient facility.According to install procedure in some documents, i installed these on client-pc and rebooted. But there was no notification for which machine is iFS server when i mapped iFS server to map-drive in local.In set&admin guide,there might be some notification beside machine name in map-network drive diallog box as like "iFS server".
    what's wrong?. but,in program group of start menu,iFS utilities are generated correctly.
    Only in mapping iFS drive,these problems are occured.
    I wonder:
    1.When iFS server is started with ifsstart command, Are there any droped,but essential,agent or protocol by my mistake?
    thanks......
    null

    Something wrong in IfsProtocols.log file..
    What should I do?
    IfsProtocols.log
    Wed Aug 23 15:56:36 JST 2000
    IfsException in starting ServerManager; FATAL
    oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
    oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
    oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
    java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
    Server Manager exiting.
    Wed Aug 23 15:58:18 JST 2000
    Server STARTED: IfsProtocols(37416) not managed
    Attempting to load agent FtpServerAgent
    Agent FtpServerAgent loaded
    Attempting to start agent FtpServerAgent
    Agent FtpServerAgent started
    Attempting to load agent CupServerAgent
    Agent CupServerAgent loaded
    FtpServerAgent: Start request
    Server STARTED: IfsAgents(37415) not managed
    FtpServerAgent: passing credentials
    FtpServerAgent: starting timer
    FtpServerAgent: Timer timeouts remaining set to 4
    Attempting to start agent CupServerAgent
    Agent CupServerAgent started
    Attempting to load agent NtfsServerAgent
    Agent NtfsServerAgent loaded
    CupServerAgent: Start request
    CupServerAgent: passing credentials
    CupServerAgent: starting timer
    CupServerAgent: Timer timeouts remaining set to 4
    Attempting to start agent NtfsServerAgent
    Agent NtfsServerAgent started
    Attempting to load agent WcpServerAgent
    Agent WcpServerAgent loaded
    NtfsServerAgent: Start request
    NtfsServerAgent: passing credentials
    NtfsServerAgent: starting timer
    NtfsServerAgent: Timer timeouts remaining set to 4
    Attempting to start agent WcpServerAgent
    Agent WcpServerAgent started
    Attempting to load agent ImapServerAgent
    WcpServerAgent: Start request
    Agent ImapServerAgent loaded
    WcpServerAgent: passing credentials
    WcpServerAgent: starting timer
    WcpServerAgent: Timer timeouts remaining set to 4
    Attempting to start agent ImapServerAgent
    Agent ImapServerAgent started
    Attempting to load agent SmtpServerAgent
    Agent SmtpServerAgent loaded
    ImapServerAgent: Start request
    ImapServerAgent: passing credentials
    ImapServerAgent: starting timer
    ImapServerAgent: Timer timeouts remaining set to 4
    Attempting to start agent SmtpServerAgent
    Agent SmtpServerAgent started
    SmtpServerAgent: Start request
    SmtpServerAgent: passing credentials
    SmtpServerAgent: starting timer
    SmtpServerAgent: Timer timeouts remaining set to 4
    Server STARTED: CupServer(37600) managed by IfsProtocols(37416)
    CupServerAgent: Server STARTED: CupServer(37600) managed by IfsProtocols(37416)
    Server STARTED: FtpServer(37619) managed by IfsProtocols(37416)
    FtpServerAgent: Server STARTED: FtpServer(37619) managed by IfsProtocols(37416)
    Server STARTED: WcpServer(37621) managed by IfsProtocols(37416)
    WcpServerAgent: Server STARTED: WcpServer(37621) managed by IfsProtocols(37416)
    FtpServerAgent: timer expired with internal status of Starting...
    FtpServerAgent: remaining timeouts reduced to 3
    FtpServerAgent: Server Created with internal status of Starting...
    FtpServerAgent: stopping timer
    WcpServerAgent: timer expired with internal status of Starting...
    WcpServerAgent: remaining timeouts reduced to 3
    WcpServerAgent: Server Created with internal status of Starting...
    WcpServerAgent: stopping timer
    CupServerAgent: timer expired with internal status of Starting...
    CupServerAgent: remaining timeouts reduced to 3
    CupServerAgent: Server Created with internal status of Starting...
    CupServerAgent: stopping timer
    ImapServerAgent: timer expired with internal status of Starting...
    ImapServerAgent: remaining timeouts reduced to 3
    NtfsServerAgent: timer expired with internal status of Starting...
    NtfsServerAgent: remaining timeouts reduced to 3
    SmtpServerAgent: timer expired with internal status of Starting...
    SmtpServerAgent: remaining timeouts reduced to 3
    Server STARTED: ImapServer(37647) managed by IfsProtocols(37416)
    ImapServerAgent: Server STARTED: ImapServer(37647) managed by IfsProtocols(37416)
    ImapServerAgent: Server Created with internal status of Starting...
    ImapServerAgent: stopping timer
    Server STARTED: SmtpServer(37658) managed by IfsProtocols(37416)
    SmtpServerAgent: Server STARTED: SmtpServer(37658) managed by IfsProtocols(37416)
    SmtpServerAgent: Server Created with internal status of Starting...
    SmtpServerAgent: stopping timer
    NtfsServerAgent: timer expired with internal status of Starting...
    NtfsServerAgent: remaining timeouts reduced to 2
    Server STARTED: NtfsServer(37667) managed by IfsProtocols(37416)
    NtfsServerAgent: Server STARTED: NtfsServer(37667) managed by IfsProtocols(37416)
    NtfsServerAgent: Server Created with internal status of Starting...
    NtfsServerAgent: stopping timer
    null

  • Help! I have problem with the ABAP trial version SP11

    I have downloaded the two rar file but failed in extracting them. the setup file is reported as damaged during extracting. I tried many times of re-extract and re-download. but fail always. What could be the problem?

    When you download, the internet connection should NOT be interrupted. If it drops for few seconds also download files will be corrupted..you need to download again..
    Raja T

  • ABAP Mapping : Link to the repository

    Hello,
    I'm taking a look at PI Mapping with ABAP. In the documentation I find how I have to program the ABAP part, but I am missing the link with the messages defined in P.
    I made a class 'ZA_CL_KCL_MAPPING' with interface IF_MAPPING in it.
    I made the changes to the exchange profile, putting 'R3ABAP|ABAP-Class;R3XSLT|XSL (ABAP Engine)' in 'com.sap.aii.repository.mapping.additionaltypes'.
    What is the step by step process to make my ABAP mapping really work ? Where do I put my missing link .
    Thanks in advance.
    Kris

    Try giving this entry in Exchage Profile under  IntegrationBuilder>IntegrationBuilder.Repository>com.sap.aii.repository.mapping.additionaltypes
    R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)
    Close IR and Reopen. Now in interface mapping you can select the ABAP Mapping Type. Then give your abap class name there exactly what you defined in SE38.
    Activate and test using Test tab of Interface Mapping. Use some sample payload of Source XML which you should be knowing.
    Note:- Message Mapping is not required.
    Regards,
    - Gujjeti.
    Edited by: Praveen Gujjeti on Mar 23, 2009 7:35 PM

  • Has any one ever met this kind of ABAP-mapping problem ??

    Dear all,
    our scenario is:     
    (remote)MQ(ssl connection)->(local)MQ-(jms)>XI---(proxy)>ECC
    I met a very strange question during mapping which we use  abap mapping inside xi.
    the message come out from the abap mapping step.after the abap-mapping, the generated target message still has the source message concatenated with. it occurs only when all servers integrated together, but not occurs when we mannully put the source msg at local MQ (means this way, it works all right).
    even during error case, it still can go through all the remaining steps of IE, and the out bound jms adapter then goes into the
    target SAP ECC system, but of cause at the final step, it will reach u2018CX_ST_GROUP_MISSING_CASEu2019 error (this is because the message is not a valid xml file, and abap proxy can not consume it...
    sample file after abap mapping:
    <?xml version="1.0" encoding="utf-8"?>
    <ns:MT_MQIVMessage xmlns:ns="urn:ianes:mqiv">
         <MQIVMessage>
         <MQIVPayload> ..data..</MQIVPayload>
         </MQIVMessage>
    </ns:MT_MQIVMessage>
    <?xml version="1.0"?>
    <ns:MT_K2 xmlns:ns="urn:ianes:prp:ipsc">
         <header> .header.</header>
         <data>..data...</data>
    </ns:MT_K2>

    Dear expert,
    after detail analysis, i found the 1st place that the soap header was wrongly set...
    in call adater setp...
    <SAP:Sender>
      <SAP:Service>BS_PRP</SAP:Service>
      <SAP:Interface namespace="urn:ianes:ext:ips">MI_MQIV_outb</SAP:Interface>
      </SAP:Sender>
      <SAP:Receiver>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>BS_SAP</SAP:Service>
      <SAP:Interface namespace="urn:ianes:prp:ipsc">MI_K3</SAP:Interface>
      </SAP:Receiver>
      <SAP:Interface namespace="urn:ianes:prp:ipsc">MI_K5</SAP:Interface>
      </SAP:Main>
    you can see the k5  was wrong set to k3
    correct soap header should be this
    <SAP:Sender>
      <SAP:Service>BS_PRP</SAP:Service>
      <SAP:Interface namespace="urn:ianes:ext:ips">MI_MQIV_outb</SAP:Interface>
      </SAP:Sender>
    - <SAP:Receiver>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>BS_SAP</SAP:Service>
      <SAP:Interface namespace="urn:ianes:prp:ipsc">MI_K5</SAP:Interface>
    - <SAP:Mapping notRequired="M">
      <SAP:ObjectId>RXmJZiHCMPynqzPehi20YQ==</SAP:ObjectId>
      <SAP:SWCV>z+4XcK+qEduCcMP2oNwEVQ==</SAP:SWCV>
      <SAP:SP>-1</SAP:SP>
      </SAP:Mapping>
      </SAP:Receiver>
      <SAP:Interface namespace="urn:ianes:prp:ipsc">MI_K5</SAP:Interface>
      </SAP:Main>
    i guess this is the root of error, does any one give some hints on this ?
    Thanks
    Wu

  • ABAP Mapping in PI 7.1

    Hi
    I am looking for the ABAP mapping scenario, Can anyone send me the link
    Thanks
    PR

    Hi PR,
    I don't think there are many examples on ABAP mapping for 7.1, but there is hardly any difference from previous versions. So, search for an example based on 7.0.
    If you face any problem, you can come back to the forum anytime
    regards,
    Neetesh

  • Exception handling in BPM and ABAP mapping

    Hello all,
    We have a BPM with this structure:
    . REC (receiver)
    . <begin BLOCK1>
      . TRANSFORMATION1 (Abap Mapping)
      . <begin EXCEPT> (exception branch)
        . CONTROL (Cancel Process)
    . <end EXCEPT>
    . <end BLOCK1>
    The same exception is assigned to the block; to the mapping and to exception branch.
    The problem is that, when in the Abap Mapping the exception CX_MAPPING_FAULT is raised, the exception branch seems to be ignored and so, the BPM doesn't finish.
    This problem only occurs in some of ours BPMs, because the same thing, when done in other BPMs, works fine.
    I know i can change the BPM to turn around this problem, but i would very much like to know the solution to this.
    Please, help us with this posting.
    thanks in advance
    Filipe Barreira

    Hi again,
    We are in SP19, witch invalidates the note 921757 listed.
    Also, i made an abap mapping witch only raises the exception. So i think it is not an ABAP error.
    Also the XML seems to be correct, because this is a duplicates check routine. A message (with the same data) already entered previously (we trying to avoid another entry).
    In the trace analysis for the message, it is stated that the exception has occurred:
      <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping-Namespace:http://xi.es/suministros</Trace>
      <Trace level="1" type="T">Mapping-Name:IM_SALIDAS_TESTE1</Trace>
      <Trace level="1" type="T">Mapping-SWCV:7CE651C00ABC11DBCBF0C8E8C0A901F6</Trace>
      <Trace level="1" type="T">Mapping-Step:1</Trace>
      <Trace level="1" type="T">Mapping-Type:R3_ABAP</Trace>
      <Trace level="1" type="T">Mapping-Program:ZCLTD_MM_SALIDAS_CARGA_TESTE</Trace>
      <Trace level="1" type="T">Creating Abap mapping. Classname =ZCLTD_MM_SALIDAS_CARGA_TESTE</Trace>
      <Trace level="1" type="T">CALL APPLICATION MAPPING.</Trace>
      <Trace level="1" type="T">Application error in mapping program ZCLTD_MM_SALIDAS_CARGA_TESTE, error code: , error text:</Trace>
      </MappingTrace>
    the problem is that the process keeps running.
    regards Filipe Barreira

  • Abap mapping for content conditions routing in a flat-flat scenario

    Dear Experts.
    I have a flat-flat file scenario. Based on the content of the input file, I need to route data to the receiver.The source flat file will have several IDOC details.
    Assume two fields FIELD1 and FIELD2 in different segments of the IDOC. My requirement is if FIELD1 of an IDOC = "XYZ" and FIELD2 of the same IDOC = "PQR", then this  IDOC's details has to be passed to the receiver.
    I have tried to implement the above condition at interface determination in graphical mapping.
    In the graphical mapping,  the problem is:
    Assuming there are 3 idocs in the input file.
    FIELD1 of IDOC[1] = 'XYZ' and FIELD2 of IDOC[1] = 'PQR'
    FIELD1 of IDOC[2] = 'LMN' and FIELD2 of IDOC[2] = 'RST'
    FIELD1 of IDOC[3] = 'ABC' and FIELD2 of IDOC[3] = 'DEF' .
    Now, if none of the IDOCs in the input file satisfy my requirement,the message mapping should not be called at all. But in my case its failing because FIELD1 of IDOC[1] and FIELD2 of IDOC[3] together are satisfying the condition and hence the message mapping is getting called.
    And I need to check this condition IDOC wise. Both the conditions has to be satisfied in the same IDOC.
    The question is very similar to the one posted by SHOBHA HB. (Topic:Receiver determination(or Interface determination) and conditional routing )
    but, due to complexities in the graphical mapping,  we have decided to go for the ABAP mapping instead.
    Kindly help, by mentioning the steps I should follow for this interface, the logic basically. I already have paths to some basic ABAP mapping documents from SDN, so, kindly refrain from posting general URLS for definition or history of ABAP mapping.
    IF you could guide me on this interface, It would be really helpful.
    regards,
    giri raj

    Hi,
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    This document will help you to create ABAP Mapping .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf
    How to Use ABAP Mapping in Exchange Infrastructure 3.0 (NW2004)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    SAP Network Blog: How to call XI ABAP Mapping via RFC
    /people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
    SAP Network Blog: Testing ABAP Mapping
    /people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    An ad-on
    /people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
    Regards

  • Unicode in ABAP-Mapping (u00E9 becomes u00C3u00A9)

    Hello all,
    I implemented this guide to create a flatfile from an IDoc. It works fine, but some characters are not mapped correctly: an "é" for example becomes "é" and an "ú" becomes "ú". Is this a Unicode problem or something? If yes, how can I use Unicode in ABAP mapping?
    As the XML-IDoc is transfered correctly to XI the problem is not in communication channels... it's in the ABAP mapping.
    Best regards,
    David

    Hi David,
    As michal said the problem needs to be isolated whether it is at the mapping level or at the file adapter level.
    In case it the file adapter then you can mention the encoding standard and if its at the abap mapping the your objects should be unicode enabled.
    Regards
    joel

  • [ABAP Mapping] No output

    Hey,
    try to do a scenario like "How to use ABAP mapping in SAP XI 3.0", but got no output.
    Is it correct that we don't need a namespace for abap mapping? In the "How to" document the namespace field is empty, but in sxmb_moni he says:
    <b>  <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)</SAP:AdditionalText> </b>
    But he takes the ABAP mapping, because in ABAP code I create following trace node:
    <i>  DATA: l_trace TYPE string.
      CONCATENATE 'Chris Sender Service = ' l_sender_service INTO l_trace.
      trace->trace( level = '1'
      message = l_trace ).</i>
    And in sxmb_moni he got it:
    <i><Trace level="1" type="T">Chris Sender Service =BS_Reisebuero2</Trace> </i>
    In sxi_mapping_test he writes, that the mapping was successful, but didn't create the output structure. Do I have a wrong ABAP code? Could it be, that I have a wrong append_child??
    Here it is (it equals the how to):
    <i>
    METHOD if_mapping~execute.
    initialize iXML
      TYPE-POOLS: ixml.
      CLASS cl_ixml DEFINITION LOAD.
    create main factory
      DATA: ixmlfactory TYPE REF TO if_ixml.
      ixmlfactory = cl_ixml=>create( ).
    create stream factory
      DATA: streamfactory TYPE REF TO if_ixml_stream_factory.
      streamfactory = ixmlfactory->create_stream_factory( ).
    create input stream
      DATA: istream TYPE REF TO if_ixml_istream.
      istream = streamfactory->create_istream_xstring( source ).
    parse input document =================================================
    initialize input document
      DATA: idocument TYPE REF TO if_ixml_document.
      idocument = ixmlfactory->create_document( ).
    parse input document
      DATA: iparser TYPE REF TO if_ixml_parser.
      iparser = ixmlfactory->create_parser( stream_factory = streamfactory
      istream = istream
      document = idocument ).
      iparser->parse( ).
    **********get source elements**********************************
    get message content of tag <carrid>
      DATA: carrid TYPE REF TO if_ixml_node_collection.
      carrid = idocument->get_elements_by_tag_name( 'carrid' ).
    get message content of tag <connid>
      DATA: connid TYPE REF TO if_ixml_node_collection.
      connid = idocument->get_elements_by_tag_name( 'connid' ).
    get message content of tag <fldate>
      DATA: fldate TYPE REF TO if_ixml_node_collection.
      fldate = idocument->get_elements_by_tag_name( 'fldate' ).
    ***********get meta datas****************************************
    get XI header data (here: "Sender Service")
      DATA: l_sender_service TYPE string.
      l_sender_service = param->get( if_mapping_param=>sender_service ).
    add trace (appears in message monitoring)
      DATA: l_trace TYPE string.
      CONCATENATE 'Chris Sender Service = ' l_sender_service INTO l_trace.
      trace->trace( level = '1'
      message = l_trace ).
    build up output document =============================================
    create output document
      DATA: odocument TYPE REF TO if_ixml_document.
      odocument = ixmlfactory->create_document( ).
    create element SXIDEMO_AIRL_FLIGHT_CHECKAVAIL and add it to the document
      DATA: sxidemo TYPE REF TO if_ixml_element.
      sxidemo = odocument->create_simple_element(
                           name = 'SXIDEMO_AIRL_FLIGHT_CHECKAVAIL_chris'
                           parent = odocument ).
    add FLIGHT_KEY node to the output document
      DATA: flight_key TYPE REF TO if_ixml_node.
      flight_key = carrid->get_item( index = 0 ).
      DATA irc TYPE i.
      irc = sxidemo->append_child( flight_key ).
    ***********add elements to output document *******************
    add carrid node to the output document
      DATA: outcode1 TYPE REF TO if_ixml_node.
      outcode1 = carrid->get_item( index = 0 ).
      irc = flight_key->append_child( outcode1 ).
    add connid node to the output document
      DATA: outcode2 TYPE REF TO if_ixml_node.
      outcode2 = connid->get_item( index = 0 ).
      irc = flight_key->append_child( outcode2 ).
    add fldate node to the output document
      DATA: outcode3 TYPE REF TO if_ixml_node.
      outcode3 = fldate->get_item( index = 0 ).
      irc = flight_key->append_child( outcode3 ).
    Testen einer manuellen eingabe
      outcode1 = odocument->create_simple_element(
                              name = 'passengerName'
                              value = 'Christian Riekenberg'
                              parent = flight_key ).
    render document ======================================================
    create output stream
      DATA: ostream TYPE REF TO if_ixml_ostream.
      ostream = streamfactory->create_ostream_xstring( result ).
    create renderer
      DATA: renderer TYPE REF TO if_ixml_renderer.
      renderer = ixmlfactory->create_renderer( ostream = ostream
      document = odocument ).
      irc = renderer->render( ).
    ENDMETHOD.
    </i>
    thanks
    chris
    Message was edited by:
            Christian Riekenberg

    Hi,
    I took a working scenario, that is runnable with java- and graphical mapping.
    Just change it to ABAP-Mapping.
    I just had forget to include the namespace into abap mapping. So the output has to look like:
    <ns1:SXIDEMO_AIRL_FLIGHT_CHECKAVAIL <b>xmlns:ns1="urn:sap-com:document:sap:rfc:functions"</b>>
    That was the missing namespace. Another problem was my created structure. I used the function append_child with a wrong input.
    Your tip, that I'm able to use the debugger in
    sxi_mapping test was great. So points for you!
    Message was edited by:
            Christian Riekenberg

  • ABAP Mapping for Large Messages

    Hi Folks,
    We are exploring different options for dealing with the fact that XI will choke on very large messages/files. One of the options that we are considering is a third party tool that bypasses XI. However, we've just learned that it may be possible to solve the large message problem by using ABAP Mapping, because supposedly, by doing so, one would bypass the large message being converted to XML as it comes into XI. The scenario involves messages coming into XI on their way to SAP R/3. Does the ABAP Mapping option appear to be viable to you experienced folks out there?
    Thanks
    Nic

    Hey
    tunneling as per the term is used mainly for IDOC but we use the term bypass to implement the same concept but with other interfaces.
    see if u have simple 1-1 mapping then u can do a bypass scenario in which u are not doing anything in IR,u simple do the configurations in ID.
    you can not drastically increase the performance just by choosing some specific mapping.mappin is not made for this .
    for best performance you can design a bypass JDBC to IDOC scenario(but then you wont be able to do any message mapping.
    have a look at the following for bypass scenario
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    if u want to do message mapping then design a JDBC to Proxy scenario.
    proxy is mainly used to enhance performance and would be the best bet for u i guess
    Thanx
    Aamir suhail
    Message was edited by:
            Aamir Suhail

  • Performance in XI / PI ABAP mapping class

    Hi,
    I have to do some ABAP mapping for XI / PI scenarios. First of all number of messages is huge, messages can be very large,
    so my question is where to pay special attention because of performance. Is there some blog on net with suggestions? I saw and read lot of ABAP mapping blogs, but I have never found one where is it performance explained.
    br
    mario

    Hi there.
    The performace problem of the ABAP Mappings in XI/PI is not related to the code itself. When coding, just keep in mind alll you have said: "messages are huge, and lot's of messages". This way, you should keep the code as sharp as possible within the class methods you will use.
    Now, the real problem in ABAP mapping is ther ABAP mapping itself. Don't forget that PI usually (and ideally)  processes the message mappins (or java mappings) in the java stack. If you are creating an ABAP mapping, you are telling PI to send the work to the integration server (ABAP stack), and then retrive the result from it.
    If you can, use message mapping or java mapping for best performance. If you cannot, use ABAP mapping but having all this in mind. Hope this helped.
    Regards,
    Valter Oliveira.

Maybe you are looking for

  • Invoice verification with reference to material document

    Dear Experts; i want to make invoice verification (MIRO) with reference to good receipt document not the all quantity in the purchase order. is this possible ???

  • How to insert new row in JTable?

    In my application,I have a jTable. And the form dose not have a Nevigation bar. After I retrieve a record into the jTable, I want to add a new row after the retrieved record. But I could not create a new row by pressing the down key at the last row o

  • Error in add_service-ref

    I'm using JDeveloper 10.1.3.2 and working on the WebCenter Framework Tutorial. In Step # 6: Testing the Portlet I am getting the following error: When I select and drag the MyJavaPortlet (from Component Palette -> TutorialProducer) and drop it on the

  • My battery life on my iphone 4 has been TERRIBLE since the most recent iOS update!

    My battery life on my iphone 4 has been TERRIBLE since the most recent iOS update.  Is anyone else experiencing this?  At night I use a white noise app, and up to the most recent update, I never was below half battery in the morning.  Now my phone is

  • SUS or EBP

    Hi experts i'd like to know if, in order to create a vendor evaluation, i need to install SRM-EBP or SRM-SUS. regards andrea