ABAP Mapping - Testing - IDoc - Trouble
Hi Friends,
There is one ABAP Mapping used in our system. The outbound interface is based on one message in external definition and inbound interface is IDoc.
When I try to test this mapping in our PI System using the transaction "SXI_MAPPING_TEST", in the initial screen/input screen in F4 help for the Sender Interface selection, our outbound interface is not displayed. In the Receiver Interface also, it is not display the IDoc.
What could be the problem ? How to test our Z class in this case with the input XML.
Could you please help me?
Kind regards
Jegathees P.
Hi,
don't use SXI_MAPPING_TEST
use my report which is much better
XI/PI: Easy ABAP mapping tests - no more SXI_MAPPING_TEST
BTW
there is no need to use any HTTP client nor anything to test ABAP mapping - just my report
Regards,
Michal Krawczyk
Similar Messages
-
Hi all,
i am testing ABAP mapping using SXI_MAPPING_TEST.
i am copying my payload in the XML editor and i am using service, namespace and interface name for both sender and receiver sides.
but my Q is system does not stop in my ABAP mapping program to check step by step.
plz help me it is urgent
points should be rewareded.
regards
sreeniHi all,
After giving the XML input data in the editor and executed but it not at all showing or triggering any code which is there in ABAP Mapping Program.
I have also kept Break Point one ABAP statement like WHILE (it ther in My program), but it does stop at WHILE.
plz help me
Points will be rewareded.
regards
sreeni -
How can I test an ABAP mapping where the input file is a flat file (fieldfixed length file)?
Kindly give me the detailed steps for doing so.Hi Biswa,
One of the many disadvantages of using ABAP mapping.
U cannot test in ESR. Unlike Graphical mapping, there will not be any Msg Mapping object in ABAP mapping. Only an operation mapping is there.
The only way to test the interface is End-To-End. I.E. Process the scenario frm picking the file from Application server location and checking the data posted in backend system correctly.
One more way, u can test the mapping program in the ABAP stack by passing on the file as input.
Cheers,
Souvik -
ABAP Mapping XML-IDoc to Flat string: missing character of segement header
Hello folks!
I'm using an ABAP-Mapping in order to trasform an XML-IDOC to a flat string.
The implementation of the mapping is in accordance with the "HOW TO convert an IDoc-XML to ..."Basically it works fine except the following:
The following line shows one Segment of an IDoc. the control record is ok.
With '380' begins the payload of the segment. The part before includes the segment header,
which is 63 Bytes long, which is correct.
What we're missing, is the last character of the segement header:
ABAP-Mapping:
E1VDEWBGM 01000000000325511200000020000000 380 5 (...)
BusinessConnector:
E1VDEWBGM 010000000003255112000000200000001380 5 (...)
Again: the overall length of the segment is ok, but the '1' of the field hirarchie level is overwritten.
Any idea?In that case you need to extend the trace file in the Visual Admin Console...
 Services
 Log Configurator
 Locations
 Choose the location (Java package) and the tracing level (severity)
(for example, com.sap.aii.adapter.file)
 Root Location > com > sap > aii > File
 Set the severity and choose Copy Severity to Subtree
Check the trace file to find the field erroring this way! -
Hi,
I realize an Abap mapping for "IDoc -> XI -> File" and I want to "play" with idoc segments and idoc fields...
Thus in my coding, I need to define some internal structures which are exactly the same than IDoc segments (e.g E2LFA1M for supplier).
Such a structure exists in R/3 (cf. tcode SE11), but this one does NOT exist in XI. It seems there is only the table IDXEDSAPPL with the list of all fields for one segment.
Is is possible to import and use directly this structure (e.g E2LFA1M) from R/3 to XI ?
or must I define manually in my code the same structure than in R/3 ?
Regards.
MickaelHi Mickael,
I have the same problem.
How did you solve this problem?
Regards
Elsa -
Variable Substitution not working when using ABAP mapping
Hi all,
I am doing an IDoc to File scenario.
Due to some complex mapping requirements, i had to use ABAP mapping for IDoc to File ( IDoc : SHPMNT05)
There is also one more requirement where in i need to generate the receiver filename dynamically
i.e the filename is of the form :
GW-XYZ-DD/MM/YYYY.csv
Where
XYZ is the Shipment number (E1EDT20- TKNUM)
DD/MM/YYYY is the IDOC creation date in ECC (EDIDC-CREDAT)
so i used the variable substitution option in receiver file adapter.
But its not working.
Is there any limitation for using the variable Substitution, doesnt variable substitution work in case of ABAP mapping?
Regards,
Loveena.Hi,
u written ABAP mapping program to get the file name in the required format ,
is it rt?
when u test it at message mapping(including ABAP map program)
u get the the required format of file name in the one of target filed.
if that was fine, please check the variable substituiton parameters at receiver file adapter.
i mean, are u maintain variable name and refernece.
u have to specify the payload information.
warm regards
mahesh. -
Abap mapping - Error in Control Framework
Hi Gurus,
Scenario: IDOC - -- XI -
Http (post)
i am using ABAP mapping for IDOC to XML. I am able to test it using sxi_mapping_test which gives me output XML. But, when i test the scenario from RWB, it fails with "SYSFAIL" error in inbound queue as per moni.
error - "Error in Control Framework".
Looks like it did not even go to message mapping pipeline step.
Please help.
Thank you,
mkHI,
Hope you have done all the necessary pre-requisites for ABAP mapping
This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm
just cross verify with this guide-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
Please also try to debug as follows...
put a break point inside your class/method....
goto tcode SXI_MAPPING_TEST....give in the configuation details of your scenario...and when you execute, give the IDOC-XML, copy it from SXMB_MONI where you are getting the error....
when you execute, it shoudl stop at the break point that you had set in your class....continue debugging using 'F6' function key, and check where you are hitting this error...
The chances are that the FM that converts IDOC-XML to flat file format might not have been executed correctly...
Thanks
Swarup -
Hi Gurus,
Can any one help me in abap mapping ,
where the source and destination nodes and the source and destination structure different and with multiple nodes.
Thanks & Regards
ShivaHi,
Blog -- /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&
pdf for ABAP mapping.
*https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
*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
testing ABAP Mapping- Testing ABAP Mapping
Thanks,
Shweta -
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
JaysonHi
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 -
Hi...
I have the following issue: I create an ABAP mapping class and activate it, but when I test the mapping via TC SXI_MAPPING_TEST it doing nothing, that is, in the result page, in the option TRACE its throw the following message: No mapping configured.
Previously:
1.- Create DT, MT and MI for each interfaces.
2.- Create IM in wich put the name of the ABAP class of the mapping (and activate too).
3.- Check in the IM the namespaces of both MT.
Do I miss something?
HectorHi,
Where did you created your ABAP mapping . is it in R3 instance of XI or in external R3?.
If you are in R3 of XI then you can test it with SXI_MAPPING_TEST
see the below links for more details
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
ABAP mapping
Testing ABAP mapping
http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/frameset.htm
/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
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/15ecdf90-0201-0010-d792-941a3c3c30a4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/06114a70-0701-0010-5db6-93dbadaed321?prtmode=navigate
/people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
/people/r.eijpe/blog/2006/02/20/xml-dom-processing-in-abap-part-iiib150-xml-dom-within-sap-xi-abap-mapping
Regards
Chilla.. -
ABAP Mapping in RFC to SOAP Scenario
Hi Folks,
I have a scenario to send data from RFC to SOAP. I want to use the ABAP MApping for this case. Can anybody guide me how to do the ABAP Mapping for this case ? It will be real help if somebody can give a step by step guide ?
Regards,
SantoshHello Again,
HOW TO DO ABAP MAPPING:
Use this link and go to sec 3.1 Do exactly as mentioned in this link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
OR
1. Open http://<host>:<port>/exchangeProfile/index.html
2. Choose IntegrationBuilder -> IntegrationBuilder.Repository ->
com.sap.aii.repository.mapping.additionaltypes
3. Maintain the following entry:
R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)
4. Open http://<host>:<port>/rep/support/admin/index.html
5. Choose Administration of Properties -> All Properties
6. If the value associated to parameter com.sap.aii.repository.mapping.additionaltypes is not correct, choose REFRESH at the top of the page.
How to call XI ABAP Mapping via RFC:
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
XI: ABAP mapping blogs
/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
PART 1
/people/r.eijpe/blog/2005/11/10/xml-dom-processing-in-abap-part-i--convert-an-abap-table-into-xml-file-using-sap-dom-approach
PART 2
/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
PART 3
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
Testing ABAP Mapping
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Regards,
Madan Agrawal -
Hi Experts,
Can any one please send a good material on ABAP mapping. I had searched in SDN, but unable find. I want the material from the basics......
Regards,
Jayaram.GHi
Generic mapping to convert nested XML to flat - Receiver file adatper
Generic mapping to convert nested XML to flat - Receiver file adatper
Dynamically sending a mail to the PO creator using XSLT- ABAP Mapping
Dynamically sending a mail to the PO creator using XSLT- ABAP Mapping
How to call XI ABAP Mapping via RFC
How to call XI ABAP Mapping via RFC
Testing ABAP mapping
Testing ABAP Mapping
use this thread
ABAP Mapping -
Predelivered ABAP Mapping by SAP (I dont want to go from scatch)
Hi everybody,
I have to code a ABAP Mapping.
Is there somting predelivered by SAP?
What is the name of the class?
Thanks
Regards MarioHi,
There is no such ABAP mapping code already delivered with XI.
You have to code it in transaction SE24.
U can go thru the links :-
1. How to u2026 Use ABAP Mapping in XI 3.0
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
2. iXML ABAP Objects Jumpstart
http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
3. Testing ABAP Mapping
Testing ABAP Mapping
Regards,
Chandra -
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,
RMHi 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 -
IDOC-XI-FILE Scenario: Error in ABAP Mapping
Dear All,
I am working on IDOC-XI-Flat FIle scenario in which I am using ABAP Mapping as per document "How To Convert an IDoc-XML
structure to a flat file and vice versa in XI 3.0".
I created one customized Idoc for this. The Idoc is reacing XI but its flat file is not getting created. Its giving me following error:
<SAP:Stack>Error in mapping program Z_ABAP_MAPPING_PACKING_LIST (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
I have also gone thru threads posted for the same topic earlier but still I am not been to resolve this error.
Please help me out in resolving this error.
Regards,
N.JainHI,
Log saying that, u have problem in the mapping program.
i.e Z_ABAP_MAPPING_PACKING_LIST
the problem is due declaration of data.
i hope that, you have some methods.
those are declared under intialization section in mapping program.
please use start of selection before the method.
other wise, it will come under intilization section.
warm regards
mahesh.
Maybe you are looking for
-
The Microsoft Access database engine cannot open or write to the file in Report Builder 3.0
I am trying to build a report in Report Builder 3.0. I created the Data Source to point to my Excel file and the Data Set. I drag a couple of fields on to the canvas and then choose Run. I get the error: "The Microsoft Access database engine cann
-
Error when import file with non-english character
Hi,<br /><br />I have images file with non-english character (unicode), for example ABC<X>.png where <X> is non-english character such as japanese, chinese, etc.<br /><br />Whenever I want to import the file to After Effects (right click -> import ->
-
PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.
hi, I am not able to connect to oracle data base using JSP. PFB the code and out put. <html> <!--Importing the Packages--> <%@ page import = "java.sql.*" %> <body> <% try out.println("hi<br>"); Connection conn = DriverManager.getConnection("jdbc
-
Script Task Exception Handling
Hi, Please suggest if it is possible. I have 15 tables in SQL Server and all the table has different metadata and I am migrating these tables to excel using SSIS Script task. But the problem is there is some exception occurs inside the catch block fo
-
How do you resize just one layer & how do I make this layer not blur when enlarged?
I am trying to drop a video game sprite into a much larger image and I wish to make the sprite bigger. Every time I use CTRL + T just to size the layer by dragging the mouse, once I hit the check mark it blurs the image instead of keeping it lookin