Java Mapping/UDF/ABAP mapping to capture payload
Hi,
could you please provide me Java mapping code samples (or UDF code) to save payloads of a message based on Message ID
i have a synchronous scenario where i have payloads in sxmb_moni for request and response with different message IDs. So pelase let me know how to save those request and response payloads to a file.
it would be great if you provide the stpes to implement and java code samples....if it is possible with ABAP mapping also please let me know te steps.
Best Regards....SARAN
Try with this code
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
import com.sap.mw.jco.JCO;
public class PayloadExtractor {
// The MySAP.com system we gonna be using
static final String SID = "SID";
// The repository we will be using
IRepository repository;
JCO.Field msgkeyField;
public PayloadExtractor() {
try {
System.out.println("*** Creating the Pool... ***");
JCO.addClientPool(SID, 10, "001", "user", "pwd", "EN", "host", "00");
repository = JCO.createRepository("RecoverRepository", SID);
} catch (JCO.Exception ex) {
System.out.println("RecoverXI Caught an exception: \n" + ex);
// Retrieves and prints information about the remote system
public void getPayload() {
// A messageID from your XI/PI
String key = "48CD01EB3D27021BE1008000C0A8477D";
final String pipelineID = "CENTRAL";
byte[] msgkey = key.getBytes();
try {
IFunctionTemplate ftemplate = repository.getFunctionTemplate("SXMB_READ_MESSAGE_VERSION_RAW");
if (ftemplate != null) {
System.out.println("*** Creating client and function... ***");
JCO.Function function = ftemplate.getFunction();
JCO.Client client = JCO.getClient(SID);
JCO.Structure struct = function.getImportParameterList().getStructure("MESSAGEKEY");
struct.setValue(key, "MSGID");
struct.setValue(pipelineID, "PID");
// SELECTION must be like this!
function.getImportParameterList().getField("SELECTION").setValue("2");
// This is the msg version number, where 000 is the first (Inbound); the last can be caught from the function output (see below).
// Setting this strongly depends on what you want to get: basically before or after the mapping...
function.getImportParameterList().getField("VERSION_REQUEST").setValue("000");
System.out.println("*** Calling... ***");
client.execute(function);
JCO.Table tb = function.getExportParameterList().getTable("MESSAGEPAYLOAD");
if (tb.getNumRows() > 0) {
// There could be multiple payloads (even if usually it's only one)
do {
String plstr = new String(tb.getField("PAYLOAD").getByteArray());
System.out.println(
"*** Payload found *** " + tb.getField("NAME").getString() + " *** BEGIN ***");
System.out.println(
"Message Last Version: "
+ function.getExportParameterList().getField("MAXVERSION").getString());
System.out.println(plstr);
System.out.println(
"*** Payload found *** " + tb.getField("NAME").getString() + " *** END ***");
} while (tb.nextRow());
} else {
System.out.println("*** No payload found! ***");
// Release the client into the pool
JCO.releaseClient(client);
} else {
System.out.println("Function SXMB_READ_MESSAGE_VERSION_RAW not found in backend system.");
} catch (Exception ex) {
System.out.println("Caught an exception: \n" + ex);
protected void cleanUp() {
System.out.println("*** Cleaning... ***");
JCO.removeClientPool(SID);
public static void main(String[] argv) {
PayloadExtractor e = new PayloadExtractor();
e.getPayload();
e.cleanUp();
-Madhu
Similar Messages
-
Hello,
Pls let me know about Java Maping and ABAP Mapping
Also pls provide good simple scenario blogs for Java Maping and ABAP Mapping.
RegardsHi Ranchit,
Check these links for Mappings
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://websmp102.sap-ag.de/~sapdownload/011000358700003604872004E/MappingXI30.pdf (Need Service Makrket place ID)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
JAVA Mapping BLOGS
/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
ABAP Mapping Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Sachin
Message was edited by:
Sachin Dhingra -
Regarding Java mapping and ABAP Mapping
Hello,
If I suppose to do Java mapping or ABAP mapping, Is there any pre requisite to perform these two mappings?
If exist what they are?
How to perform them?
Thank youHello jyotsna,
Java mapping can be used when you have complex mapping structures.
We can do most of the times for our requirements through Graphical mapping.
When the structures are very complex to build you can go for SAX (Simple API for XML) or DOM (Document Object Model) parsers.
Message mapping internally generates DOM parser.
Java Mapping in XI
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rnd_rankvalue#
SAP Network Blog: Implementing a Java Mapping in SAP PI
/people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
Java Mapping (SAP Library - Partner Connectivity Kit)
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
SAP Network Blog: XI Java Mapping Helper (DOM)
/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
SAP Network Blog: Testing and Debugging Java Mapping
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Binary Conversion in XI - Java Mapping - Code Gallery - Wiki
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
SAP Network Blog: "JAVA MAPPING", an alternate way of reading a CSV file
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
ABAP mappings run on ABAP Stack and are developed in the ABAP workbench of the Integration Server.
You normally do not need to use the ABAP mappings and is preferable for someone with ABAP programming background. I should say JAVA functions would suffice any complex scenarios.
refer step by step guides for ABAP Mapping
ABAP Mapping
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=abap+mapping&adv=false&sortby=cm_rnd_rankvalue#
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: Testing ABAP Mapping
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
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: XI: ABAP mapping logs - more standard = better visibility
/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility
SAP Network Blog: Dynamically sending a mail to the PO creator using XSLT- ABAP Mapping
/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping
You need to provide the name of your mapping program maually , you see it is an input box.
just provide the name of abap mapping program it will work.
and one more thing you cannot test abap mapping program in integration builer you need to test in abap only.
use tcode: SXI_MAPPING_TEST for testing abap mapping
Thanks,
Satya
Reward points if it is useful.. -
Graphical Mapping Vs XSLT mapping Vs Java Mapping Vs ABAP Mapping
Hi Experts,
I have a question regarding different message mapping options available in XI namely
Graphical Mapping
XSLT mapping
Java Mapping
ABAP Mapping
Q1: Which amoung the above mappings is the best and why?
Q2: On what cases Graphical, XSLT, Java and ABAP Mapping should be used?
Q3: Is it true that graphical and XSLT mappings are converted into Java class internally?
Kindly help!
Thanks
Gopal
Message was edited by:
gopalkrishna baligaHi,
There is no hard and fast rule for using the mapping techniques.
Graphical Mapping is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve mult hiearchical mapping requirement. and context handling.
Java and XSLT mapping are used when graphical mapping cannot help you.
When the choice is between Java And XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. XSLT can lead to a bad perfrormance if the Source XML is huge.
Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.
SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.
For further info on each of the mapping, refer to these links,
Graphical Mapping,
http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
XSLT Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
http://www.w3.org/TR/xslt20/
Java Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
DOM parser API
http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
Also, check this thread for more info,
Different types of Mapping in XI
Am not sure about XSLT , but , yes graphical mapping is converted into java classes internally and these classes use SAX parsing as well.
Regards,
Bhavesh -
Mapping Issue ( ABAP Mapping ).... Help me out..
hi masters.
i want some help from ur side.
i just jumped to XI domain..
and got object of abap mapping..
can u hep me.. out..
the steps.. required for mapping..
i went through some materials..
still
do u hv any idea..
to clear my doubts..
as
suppose
input idoc--
segment 1
segment 2
segment 2.1
segment 2.2
segment 2.2.1
segment 2.2.2
segment 3
i wnat .....
a file having record of each segment with its segment name
using ABAP code..
10xxxxxxxxxxxx In advance
Thanks & Rdegards.
Someswar.Hi Keith,
Look at these..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi%20mapping%20lookups%20rfc%20api.pdf
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
cheers,
Prashanth
P.S Please mark helpful answers -
I am using Abap mapping and a value mapping is already maintained in j2ee stack.i want to use the same value mapping in my abap mapping.Does any body have idea how to do this .
Thanks in advance,
AnandHi,
referring to the sap-help it says under restrictions for ABAP Mappings:
"Access to the value mapping table is not supported for mapping programs developed using the ABAP Workbench."
Regards,
Andi -
When do we go for ABAP mapping and Java mapping
Hi friends,
At present I am working on graphical mapping in XI ,can you guys give me with an example or scenario when do we use ABAP mapping , Java mapping or XSLT mapping.
Thanks in advance
Sud<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/forums</a>
I have standard XSLT mapping programs available for my scenarios, so use XSLT mapping. Similarly with Java mapping, For most scenarios, message mapping does the job too well. Abap mapping similarly is used to leverge existing ABAP base. If message mapping becomes confusing and hard to follow with too many functions, I go for Java mapping (just my way). I havent used ABAP mapping thus far.
Discussing ABAP mapping
ABAP mapping is developed in ABAP work bench. ABAP mapping needs to be transported to integration server and XI does not support this transport and have to do with ABAP transports.
Customers who can develop mapping program on SAP web AS and can transport them there can use ABAP mapping
*ABAP mapping programs cannot access the value table
*Since ABAP mappings are executed on ABAP stack SAP does not provide any ABAP mapping programs
*ABAP mapping programs must exists with one single version in IS, unlike JAva and XSLT mapping that can have multiple versions of mapping program
Regards,
Priya
priya k
null -
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. -
Hi friends
I am new to Abap mapping PLZ can any one helpme on abap mapping code
with Source structure and target structure
Message was edited by:
Viswanadh VaddeHi !!
refer the below links
BAP Mapping is used whenever you explicitly need to build your output XML structure . Its entirely depends on your call which approach you want to adopt i.e. JAVA mapping or ABAP mapping as in both the cases you need to explicitly build the output structure . ABAP Mapping however creates a DOM tree in the memory . Therefore it can be a performance issue whenever your source structure is complex . In case you need an idea of how to go about ABAP mapping here is a link which you can refer
http://help.sap.com/saphelp_nw04/helpdata/en/47/b5413acdb62f70e10000000a114084/frameset.htm
Also ABAP mappings have the handicap that they are separated from usual development in Repository. Additional there is more (ABAP, DOM) experience required as for example for XSLT or graphical mapping (my point of view). So they are used for special reasons like access to ABAP stack (transparent tables!).
Refer to following SDN Demo which explains the need and how to do the ABAP mapping.
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken] [original link is broken] [original link is broken]
Comparing Performance of Mapping Programs
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
ABAP Mapping Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
How to Use ABAP Mapping
https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
Some more
ABAP Mapping
I suggest you also go through these links to know more on ABAP Mapping:
https://websmp101.sap-ag.de/~sapdownload/011000358700003082332004E/HowToABAPMapping.pdf
/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
/people/r.eijpe/blog
ABAP Mapping Vs Java Mapping.
Re: Message Mapping of type ABAP Class not being shown
Refer to following SDN Demo which explains the need and how to do the ABAP mapping.
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken] [original link is broken] [original link is broken]
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
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
why Abap Mapping and how to acheive it
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken] [original link is broken] [original link is broken]
<b>Pls reward if useful</b> -
ABAP mapping constraints/restrictions ?
what are the ABAP mapping constraints/restrictions? Please answer its urgent.
vinod ,
constrains are basically
1) ABAP mapping are very complex....
2)generally ppl go for ABAP mapping when its not possible to do the mapping dwith graphical,java or XSLT.
3) there is no ABAP mapping editor in XI
4) u have to import the ABAP mapping in IR..then u can use it in Interface mapping.
ABAP Mapping is used whenever you explicitly need to build your output XML structure . Its entirely depends on your call which approach you want to adopt i.e. JAVA mapping or ABAP mapping as in both the cases you need to explicitly build the output structure . ABAP Mapping however creates a DOM tree in the memory . Therefore it can be a performance issue whenever your source structure is complex . In case you need an idea of how to go about ABAP mapping here is a link which you can refer
http://help.sap.com/saphelp_nw04/helpdata/en/47/b5413acdb62f70e10000000a114084/frameset.htm
Also ABAP mappings have the handicap that they are separated from usual development in Repository. Additional there is more (ABAP, DOM) experience required as for example for XSLT or graphical mapping (my point of view). So they are used for special reasons like access to ABAP stack (transparent tables!).
Refer this Pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken]
And these Blog also
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc
u can achieve value mapping using ABAP mapping..
see here..
ABAP Mapping with Value Mapping
u can have a look
Using ABAP XSLT Extensions for XI Mapping
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
regards
biplab
Use a Good Subject Line, One Question Per Posting - Award Points -
Hello,
Can any one explain how to do ABAP mapping?and necessary trancsaction codes for this?
Ex: I am sending PO to reciever system.
And if posibel screen shots....plz
Thank youHi Jyotsna,
Which mapping we need to use..
/people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mapping%2btechniques
ABAP MAPPING...
You can implement the following mapping programs by using the ABAP Workbench:
ABAP mappings [Seite 375] in ABAP objects
XSLT mappings (ABAP Engine) [Seite 376]
Use
ABAP mappings are mapping programs in ABAP objects [Extern] that customers can implement using the ABAP Workbench.
Prerequisites
Note the prerequisites in the sections Purpose and Integration as well as the Restrictions in Mapping Development with the ABAP Workbench
Features
An ABAP mapping comprises an ABAP class that implements the interface IF_MAPPING in the package SAI_MAPPING. The interface has a method EXECUTE with the following signature:
Importing Parameter Parameter Meaning
SOURCE(Type XSTRING) Source XML document
PARAM(Type Ref To IF_MAPPING_PARAM) Parameter object for read access to runtime constants (see below)
TRACE (Type Ref To IF_MAPPING_TRACE) Trace object for writing messages in the mapping trace (see below)
Exporting Parameter Parameter Meaning
RESULT (Type XSTRING) Target XML document
Exception: CX_MAPPING_FAULT
Applications can decide themselves in the method EXECUTE how to import and change the source XML document. If you want to use the XSLT processor of SAP Web AS, you can use the ABAP Workbench to develop a stylesheet directly (see XSLT Mappings (ABAP Engine) [Seite 376]) rather than using ABAP mappings
Runtime Constants
In ABAP mapping you can read access message header fields. To do this, an object of type IF_MAPPING_PARAM is transferred to the EXECUTE method. The interface has constants for the names of the available parameters and a method GET, which returns the respective value for the parameter name. The constants are the same as in Java mappings [Seite 367], although the constant MAPPING_TRACE does not exist for ABAP mappings. Instead, the trace object is transferred directly using the parameter TRACE of the method IF_MAPPING~EXECUTE (see above).
regards,
Kishore -
Error in ABAP Mapping (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION)
Hi ,
Scenario: Manually Purchase Order is created, automatically Sales Order should be created in the Target System through PI,
I have used Message Mapping which is working fine for single Customer and Vendor,
For Multiple Customers and Vendors i am using one ZTABLE, Only Message Mapping is not sufficient to my requirement.
Now i am using both Message Mapping and ABAP Mapping at a time in Interface Mapping. I created the class and done the development., whene i run the scenario i am getting the error as below,
*<SAP:Stack>Error in mapping program ZCL_SD_IDTO_POSO (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>*
*</SAP:Error>*
Please let me know.
Best Regards
VamsiHave u seen the ABAP mapping guide?
Refer this series to the ABAP mapping section.https:///people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
It will be very handy and useful. -
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 -
Abap mapping and operation mapping param
Hi All,
I have a problem with retrive value of export parameter in operation mapping by abap mapping class.
standard parameter of abpa mapping class method that execute it contains param that ref to IF_MAPPING_PARAMETERS. So i belive by this class using method PARAMETERS->GET_STRING( 'P_IDOC_NR' ), but it dosen't works.
Any idea
Regards
M.I have not seen anything in online help that gives the impression that you can use parameters in ABAP mapping.
So I suppose that this does not work at all.
Maybe you could use this approach:
/people/peter.glas3/blog/2010/09/08/pi-parameterized-xslt--a-flexible-alternative -
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
Maybe you are looking for
-
Is it possible to see how many times a component has been used in our websites?
Hi, we currently have 3 websites running and I don't know if a component we created is actually in use. Is there a way to find this out? Thanks, Giulio
-
i have a windows 7 desktop with an external hard drive setup on my home network, will i be able to access this on my home network to save and retrieve files from my mac air?
-
RMI failed between 2 Linux macines (Red Hat 9)
follwing exception is occurs when trying to communicate RMI between Linux. Communication failure while contacting agent platform: An RMI exception occurred [nested Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectEx
-
I have a documentary due tomorrow and it won't play and it's not in my project library in imovie!! HELP PLEASE!!!
-
Reset value of text box and still have user input as well.
Hi, I currently have a PDF form that helps users print of labels depending what is entered into the first page and one of the boxes has an 'Additional Info' box that puts unto 10 characters onto one of the labels. This was made because a customer wan