How to debug ABAP mapping

Hello
I've built a ABAP mapping based on How To convert an IDoc-XML structure to a flat file and vice versa in XI 3.0, however it runs into exeception when I tested it in SXI_MAPPING_TEST with error;
- <cls:CX_SY_NO_HANDLER id="o265">
- <CX_ROOT>
  <TEXTID>1F09B73915F6B645E10000000A11447B</TEXTID>
  <PREVIOUS href="#o266" />
  <KERNEL_ERRID>UNCAUGHT_EXCEPTION</KERNEL_ERRID>
  <IS_RESUMABLE />
- <INTERNAL_SOURCE_POS>
  <PROGID>217</PROGID>
  <CONTID>5192</CONTID>
  </INTERNAL_SOURCE_POS>
  </CX_ROOT>
  <CX_NO_CHECK />
- <CX_SY_NO_HANDLER>
  <CLASSNAME>CX_SY_REF_IS_INITIAL</CLASSNAME>
  </CX_SY_NO_HANDLER>
  </cls:CX_SY_NO_HANDLER>
I want to debug into the mapping class, someone said jsut set break point in the mapping class and run sxi_mapping_test, then I would be able to debug. However this doesn't work, the execution doesnot stop at the break point (I set session break point, not external break point). Somebody can help?
Thanks
Eric

The trace I got is like:
  <?xml version="1.0" encoding="iso-8859-1" ?>
- <Top>
  <First>BeginTrace</First>
  <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
  <Trace level="2" type="T">......attachment XI_Context not found</Trace>
  <Trace level="3" type="T">Mapping is determined</Trace>
  <Trace level="1" type="T">Interface Mapping http://mynamespace/xi OM_Order_to_Simple</Trace>
  <Trace level="3" type="T">Object ID of Interface Mapping F1B943B7E3EB382FB1334066F113E0E6</Trace>
  <Trace level="3" type="T">Version ID of Interface Mapping EAA847208A4B11DD96D8F1C80AD60A0B</Trace>
  <Trace level="3" type="T">Mapping Steps 1 R3_ABAP Z_ABAP_MAPPING_IDOC_TO_FLAT</Trace>
  <Trace level="3" type="T">MTOM Attachments are Transferred to the Payload</Trace>
  </Top>

Similar Messages

  • ** How to debug ABAP Mapping at run time?

    Hi Friends,
    We have created one class using the interface IF_MAPPING and the method EXCUTE. Inside the class we have written coding. We refer this class in the interface mapping as mapping program. But, while execute the scenario, how do I debug my class ? (If it is proxy, we will mention the user name in XI adpater CC, refer the same user in ABAP external debuggine, but in the abap mapping class how do i refer..?
    Kindly help me friends.
    Kind Regards,
    Jeg P.

    Hi,
    maybe you could do it like described in this thread:
    Error when using ABAP mapping
    Regards
    Patrick

  • How to test ABAP mapping used in a Integration Process node

    Hi,
    anyone can suggest me how to debug an ABAP mapping used into a transformation node belonging to an Integration Process ?
    Thanks.
    Francesco

    Hi, Francesco.
    I've debugged ABAP Mapping with SXI_MAPPING_TEST transaction.
    If you have creted a scenario including your ABAP Mapping, you only hace to put the correct sender/sender interface and receiver/receiver interface. You have to put some XML document as an input.
    I wrote in my code the Break-point instruction an debugged the process without problems.
    regards,
    Francisco

  • How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0).

    Hi,
    I am looking for this document: How To Guide on ABAP mapping (How to Use ABAP-Mapping in XI 3.0), and not able to find it.
    Can anybody please point me the location, to look for, or post the document.
    Thanks,
    Namadev

    Hi Namadev Chillal  ,
    These r the links containing PDF docs which u r looking for:
    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
    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

  • Can somebody post link to How to Use ABAP-Mapping in XI 3.0?

    Hello,
    can somebody post a real link to the document How to Use ABAP-Mapping in XI 3.0. All the links to this documnet in the existing posts are not valid.
    Thanks for your information
    Jayson

    Hi
    Following weblog might help you.
    Testing ABAP Mapping - Testing ABAP Mapping
    XML DOM Processing in ABAP part I -  Convert an ABAP table into XML file using SAP DOM Approach.
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    SDN TV demo to create and test ABAP mapiing - https://media.sdn.sap.com/SDNTV/main.asp?mediaId=128
    How to guide for ABAP mapping.
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&
    Also check these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    Testing ABAP Mapping
    Using ABAP XSLT Extensions for XI Mapping
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 9, 2008 6:27 AM

  • How to get ABAP mapping option in Interface Mapping

    Hi
    experts
    How to get ABAP mapping option in Interface Mapping . i need to do abap mapping . i didnt find the option
    plz help me

    Hi,
    If u2018ABAP-classu2019 and u2018XSL(ABAP ENGINE)u2019 does not appear under the u2018Mapping Program Typeu2019 in Interface Mapping, one has to make an additional entry in the Exchange Profile. 
    Only a user with the J2EE security role (administrator) can make the following settings in the Exchange Profile.
    It is achieved in the following manner:
    1) Open http://<host>:<port>/exchangeProfile/index.html
    2)Choose IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes
    Add: R3_ABAP|Abap-class;R3_XSLT|XSL (ABAP Engine)
    To check whether the data has been successfully read from the exchange    profile:
    1- Open http://<host>:<port>/rep/support/admin/index.html
    2- Choose Administration of Properties -> All Properties
    3- If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not visible, press REFRESH button
    After doing above check in IR, if still don't find the option for ABAP mapping then refresh the cache.
    Award points if useful.

  • How to debug ABAP Web services from Microsoft Visual Studio

    When developing .NET based Web services clients using Visual Studio that call Web services in SAP NetWeaver .NET developers would like to be able to debug inside SAP. In my blog <a href="/people/andre.fischer/blog/2007/02/07/how-to-debug-abap-web-services-from-microsoft-visual-studio to debug ABAP Web services from Microsoft Visual Studio</a> I would like to point .NET developers to the fact that SAP NetWeaver offers the option of external debugging to perform this task. Though the steps that have to be performed are described in the SAP Online Help I am sure that this option is not well known amongst the .NET developer community.

    Hello WilliamIV,
    >>How can I "configure" Visual Studio debugger to allow validation to work?
    Since I do not have a VS2012 environment, according to your provided link, I created a test demo with VS2013, however, both ways catch the validation error:
    If possible, you could have a try with VS2013 to see if it works or run the example on other machine with VS2012 to see if this is caused by the VS environment, in my side, I do not change any configuration, all are default.
    If I misunderstood this issue, please feel free to let me know.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to debug abap macros?

    Hi,
    Can anyone tell me How to debug abap macros?
    Thanks in advance.
    -Selva

    Hi Rigel,
    Understand it is a very old thread, but still could you please help me out with this? I tried to search for the option which you mentioned, but to no avail. I have SAP ECC 7.0.
    Thanks in advance.

  • How to debug graphical mapping in IR

    i want to clarify how we can do debug graphical mapping in Integration Repository.

    Hi,
    You can not debug graphical mapping, but check output generated at every element level.
    In the mapping editor, after mapping, you can click on any of the target element and right click and select queue option.
    It will show the values mapping produces for that target element.
    --Divyesh

  • How to enable ABAP Mapping Program in Integration Builder

    i have changed ABAP mapping Program in my DEV. Now i want teransport it to INT server.
    After releasing it in DEv, it should go through request number.
    but to enable the same mapping in integration builder i think we need to some thing in ADMInistration of integration builder.
    plz  tell me what to do.
    regards
    sreeni

    Hi kancham sreenivasulu ,
    These web-sites may help u solving u'r problem:
    How 2 connect non SAP RFC-Programs with XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0a8949b-098d-2910-2b8e-b5e9b7daeb26
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/6f1741b393f26fe10000000a1550b0/content.htm
    http://help.sap.com/bp_bpmv130/Documentation/Planning/HighAvailability.pdf
    http://www.erpgenie.com/netweaver/xi/XI%20Service%20Packs%20Described.doc
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/704357d9-ce6e-2910-f085-bb1a238b6330
    cheers!
    gyanaraj
    *****Pls reward points if u find this useful

  • How to test ABAP Mapping

    Hi,
    In the Interface Mapping there is an option to test the
    map. But it is not for the ABAP Mapping.
    How can we test ABAP Mapping ?
    rgds,
    RM

    Hi Ruby
    What kind of scenario are you working on, IDOC to file, file to IDoc or what.
    Depending on the scenario you have created, enter all the details such as Sender Service, Receiver Service etc in the transaction SXI_MAPPING_TEST (in your XI box).
    The next step is for you to enter your source XML file, if it is a file to IDoc scenario enter your source xml file. If it is a IDOC to file scenario, then enter the XML payload.
    And once you execute it you will be able to test your mapping and see if it successful or not.
    cheers
    Sameer

  • Looking for How To Guide ABAP Mapping

    Hi folks!
    I'm looking for a good how-to guide for abap mapping.Do you know any resource to look for?
    thanx in advance.
    Regards,
    Marc

    >
    Marc Eckhardt wrote:
    > Hi folks!
    > I'm looking for a good how-to guide for abap mapping.Do you know any resource to look for?
    > thanx in advance.
    > Regards,
    > Marc
    Resource is SDN Search option
    ABAP mapping
    regards,
    Abhishek.

  • How to debug ABAP code

    Hi Gurus,
    Can anyone please tell me how to debug code written in EXIT for extractions.
    If possible please provide me a step by step approach.
    Thanks
    Regards,
    aarthi
    [email protected]

    Hi Dinesh,
    Thanks for your prompt reply.
    That is where, I am facing the problem. I know how to set break point. But, how to check the required field value, which key to press to reach the break point directly, etc. I need to know these kind of this.
    Can you please provide details about those things.
    Thanks
    Regards,
    aarthi
    [email protected]

  • How to debug Abap List in New Debugger?

    Hi All
    How can we debug the ABAP list in the new debugger? I know that it can be done by switching to old debugger.
    Or
    Did SAP by any chance missed this option?
    Regards,
    Rupesh

    You can just look for this variable  (SAPMSSY0)%_LIST
    it is an internal table of the current list; double_click on it and you will get a look at the contents of the table
    slide your horizontal scroll bar to the right till you get the field LINE . Here we go !
    18.08.2011                         Progr. ZIPPO_FOR_ALL_SERVICE                                1#1########`
    ##########R
    ##########R
    LH  0400 DE  FRANKFURT            FRA US  NEW YORK             JFK 6.162,0000  KM               ##########R
    LH  0400 DE  FRANKFURT            FRA US  NEW YORK             JFK 6.162,0000  KM               ##########R
    LH  0401 US  NEW YORK             JFK DE  FRANKFURT            FRA 6.162,0000  KM               ##########R
    LH  0401 US  NEW YORK             JFK DE  FRANKFURT            FRA 6.162,0000  KM               ##########R
    Edited by: luciano puppo on Aug 18, 2011 11:36 AM

  • How To debug ABAP code using sapui5 application on NWBC

    Hi All
    I am working on NWBC with SAP_PAO_HRPROFESSIONAL_3 Role. This role contains SAPUI5 application. I am trying debug the ABAP code called while executing this application.
    Please help me how to get into ABAP debugger while executing this application.
    Thank you
    Ujj

    HI Ujj,
    First thing to do is look at the role and see which UI5 application is being executed. The UI5 application will be running in the web container of NWBC, you can make it open in a standalone browser (hold down the CTRL key in NWBC and go to the Help Menu) and then turn on the debugging tools (F12) in the browser. There you will see which Gateway services are being called. You will need to set your ABAP breakpoint in the implementation of the Gateway services. Find the class in SE80.
    Hth,
    Simon

Maybe you are looking for