Message Mapping ...  ABAP ,XSLT and JAVA

HI Friends
I have a general question ... but it will confuse me a lot ....
my question is we have four types of message mappings
1) GUI ( and UDFs)
2) ABAP
3)XSLT
4) JAVA
when we have plenty of options in GUI (and User defined functions also)  to define sender 2 receiver message mapping
then what is need of JAVA,ABAP and XSLT Message Mapping and when we use these message mappings( exactly in which situation) and difference b/w them
Thanks in Advance
Mahesh

Green = recommended
Yellow = Acceptable
Red = not recommended
In my experience.
XSLT mapping: is confotable to convert to another format different to xml(when we do not have a complex logic)
Java Mapping: is to implement complex logics(but the maintainbilityis not good...you need a external tool)
ABAP mapping: I think is the best option when the you have the skills on that technology but take account that is not portable neither good for usability.
Regards
Ivan

Similar Messages

  • Deleting error messages in ABAP stack and JAVA stack

    Hello,
    found some useful answers here about deleting messages
    which are successfully delivered!
    What I miss is an answer about:
    a) Error messages in RWB
    In Component monitoring -> Archiving   you can plan a job to delete messages in status "successful" or "Cancelled with errors". 
    To cancel jobs you have to do this one by one. With reaction time from page manual cancellation needs hours for 100 messages (Ok, there is a multiple selection  button you can use to tag per list screen!).
    Now I have lots of message here
    - System error
    - to be delivered
    - cancelled with errors (from system, special case, see next question)
    ready to be erased (yes, sure about that!)
    Is this the only way here to proceed?
    Other question: looks like there is a default time frame for the job which looks like it is more than two months for "successful". "Cancelled with errors" is only deleted from list when reaching this status with the available button "Cancel" but not for messages with status "Cancelled with errors" set by the system.
    Any chance to change that time frame.
    And what about the messages "Cancelled...." by the system?
    b) ABAP stack
    OK, delete job is running. But looks like there is a default time frame "delete older than 2 months" (different from a! where it is more than 2 months)
    I tried to delete some error messages with function "Cancel message with errors".
    Now these messages are cancelled in SXMB_MONI (displayed with different status sign "Pencil").
    Starting deletion job has no effect on them. Why? Because they are cancelled today and are not considered by the time frame of the deletion job?
    Any help is appreciated!
    (This tool is confusing me more and more!   )
    Hm, looks like nobody knows about this issue?
    Regards
    Dirk

    Hi Dirk,
    I am also facing the issue for deleting the messages with errors or if i have cancelled them.
    Did you find any solution for these issues. Kindly let me know if you have find out any solution.
    thanks
    Gopesh

  • Give me description for ABAP and XSLT and JAVA Mapping

    i want detailed description for XSLT AND ABAP,JAVA Mapping and where they require coding and some examples for this items and differences for these mappings and message mapping and some examples which shows difference between these items

    Hi,
    Java mapping:
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    ABAP Mapping:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
    XSLT mapping
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    ABAP XSLT mapping
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
    Regards
    Vijaya

  • Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service

    The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g.
    import flash.utils.IExternalizable;
    import flash.utils.IDataInput;
    import flash.utils.IDataOutput;
    [Bindable]
    [RemoteClass(alias="javaclass.User")]
    public class User implements IExternalizable {
            public var id : String;
            public var secret : String;
            public function User() {
            public function readExternal(input : IDataInput) : void {
                    id = input.readObject() as String;
            public function writeExternal(output : IDataOutput) : void {
                    output.writeObject(id);
    and
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Set;
    public class User implements Externalizable {
        protected String id;
        protected String secret;
        public String getId() {
            return id;
        public void setId(String id) {
            this.id = id;
        public String getSecret() {
            return secret;
        public void setSecret(String secret) {
            this.secret = secret;
        public void readExternal(ObjectInput in) throws IOException,
                    ClassNotFoundException {
            id = (String) in.readObject();
        public void writeExternal(ObjectOutput out) throws IOException {
            out.writeObject(id);
    If I called an RPC service that returns a User, the secret is not sent over the wire.  Is it also possible to do this for the messaging service? That is, if I create a custom messaging adapter and use the function below, can I also prevent secret from being sent?
    MessageBroker messageBroker = MessageBroker.getMessageBroker(null);
    AsyncMessage message = new AsyncMessage();
    message.setDestination("MyMessagingService");
    message.setClientId(UUIDUtils.createUUID());
    message.setMessageId(UUIDUtils.createUUID());
    User user = new User();
    user.setId("id");
    user.setSecret("secret");
    message.setBody(user);
    messageBroker.routeMessageToService(message, null);

    Hi Martin. The way that AMF serialization/deserialization works for BlazeDS is the same regardless of which service is being used, so yes that code will work for messaging as well. On the server, the serialization/deserialization of messages happens at the endpoint. For an incoming message for example, the endpoint deserializes the message and then hands it off to the MessageBroker which decides which service/destination to deliver the message to.
    That was a good question. Thanks for asking it. Lots of people are used to doing custom serialization/deserialization with the RPC services (RemoteObject/RemotingService) but I'm not sure everyone realizes they can do this for messaging as well.
    -Alex

  • XSLT and Java Mapping

    Hello friends,
    Can any one know that how to create a XSLT and Java Mapping file(Jar File).
    I am not able to find any of the example so if you create a example or find some where please let me know on that How to create such files...
    Thanks...
    Gaurav Jain

    Hi,
    I am trying to invoke a Java Extension Function from a XSLT. I added both the class file and the XSLT file to a folder, then zipped the entire folder and uploaded into the Archive for my Interface MApping.
    The CLASS gets loaded but the runtime engine gives an error when calling the JAVA Function.
    Here is what it says:
    Creating mapping sequence with 2 steps. --- Creating Java mapping Deliveries/stringHandler --- Creating mapping sequence with 2 steps. --- Creating XSLT mapping Deliveries/test1 --- Using MappingResolver with context URL /sapmnt/XD1/global/xi/mapping/http%3A%2F%2Fwolterskluwer%2Ecom%2Fxi%2F wk_midas_deliveries%2Ftest/cd2e6820267511d9cb52c3c5143c3524/ --- Loaded class Deliveries.stringHandler --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.instantiate(RUMappingJava.java:168) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:41) at com.sap.aii.ibrun.server.map.RUSequence.execute(RUSequence.java:50) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:67) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:83) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:83) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:50) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:513) --
    Please tell me what is the problem?
    Thanks for your time
    A

  • RESOURCE_NOT_FOUND for XSLT and Java Mappings (SXMB_MONI)

    Experts,
    I need your opinion / experience about a problem that we have been facing here:
    XI 3.0 was upgraded to PI 7.0, but since then all interfaces that uses XSLT and Java Mappings throws a RESOURCE_NOT_FOUND error in SXMB_MONI only in the production environment.
    We found SAP Note 951318 that describes exactly the scenario we have here. The note also inform that the issue is solved at SP 07 (for PI 7.0).
    The problem is that we find out that abap and java instance are with different SP ( SP 13 for abap and SP 09 for java) after XI upgrade to 7.0, since they had a error at java instance.
    Have anyone of you facing with this problem?
    I believe that even having a SP greater than 07 (as sap note 951318 requires), as we have an difference between abap and java SP, this issue might have been causing the problem.
    Points will be given.
    Regards,
    Daniela

    Yes, thats true. As you can see,
    In XI 3.0 (SAP Netweaver'04), the issue is solved in:
               SP 18,
               SP 17, patch 1 (archive SAPXITOOL17_1. sca for XI Tools)
               SP 16, patch 4 (archive SAPXITOOL16_4.sca for XI Tools).
    you need to import and put a patch if you are using XI 3.0. but in your case it is PI 7.0.
    So please check out the SAP Note : 950608 and download SP 07,patch 2 (archive SAPXITOOL07_2.sca for XI Tools).and Note 952402 .
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Simple XML to Text onversion using XSLT and Java?

    Hi all!
    I'm completly new to using XSLT and Java and are trying to convert a XML file into a ordinary Textfile that I am gonna import into another application.
    I started up writing a ordinary XML parser in Java which interpreted the XML file, but realized later on that it was possible to do with a ordinary XSLT.
    So far it is a 2-step process right now, I've tied my XSLT to the XML file and then just open the XML file up in a ordinary browser and then get the result.
    I found an example (http://www.onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=3) where u hook up a XML file and a XSL file separately and the process it, and dump it to Stdout. But do I need to hook up a XSL file like this when the XML file is tied to a XSL file internally?

    Just to give you an example to show you how easy it is: http://www.daniweb.com/forums/thread137587.html

  • ABAP stack and Java stack

    Hi,
    can anybody give me a clear idea regarding ABAP stack and Java Stack.
    1. What is the concept of these both with respect to BI 7.0.
    and explain with an example as i dont have any idea about these.
    2. When these are used?
    Thanks in advance,
    Vijaya.

    Hi,
    Pls check these threads discussing the diff:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=153727
    https://www.sdn.sap.com/irj/sdn/thread?threadID=89916
    Eddy
    PS. Which type of SDN Ubergeek/BPX suit are <a href="https://weblogs.sdn.sap.com/pub/wlg/6555">you</a>?
    Deadline: June 15th

  • Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL

    Hi,
    We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro. 
    Examples of these tasks are:
    TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
    TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
    We have two backend systems configured
    SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
    SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
    In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
    In the UWL configuration the system SAP_ECC_Workflow has been registered
    In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
    The system SAP_ECC_Workflow has been re-registered
    The UWL cache has been cleared
    However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
    The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
    If we try the reverse (i.e  register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow)  then the reverse happens.  The java tasks can be launched and the ABAP tasks cannot.
    Does anyone have a solution to this problem.  Surely other people have implemented both ABAP and Java webdynpro workflows?
    Any help much appreciated
    Andrew

    Thanks  a lot for all your replies..
    The workitem type registration has been done already, but still it doesn't work..
    But here is the actual problem...
    There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
    In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
    The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
    Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
    Please can anybody suggest.
    Best Regards,
    Sushmitha

  • Java Message Mapping : Dynamic FileName and Directory for ASMA

    How to Put Dynamic FileName and Directory for ASMA Properties of File Receiver adapter in Java Message Mapping ???
    I know How to Do this in UDF , But In Java Type Message Mapping . How to do this ????
    Regards
    PS.

    Hi
    chk this:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=95093307
    Thanks
    Amit

  • PI Pipeline Doubt : Pipeline Steps in ABAP stack and JAVA stack

    Hello
    Can anyone please assist me with which stages steps of the PI Pipeline are executed on the Java or the ABAP stack.
    Receiver Determination
    Interface Determination
    Message Split
    Message Mapping
    Technical routing
    Call Adapter
    Also can anyone please provide links relating to the PI architecture diagram describing it from ABAP and Java Stack Perspective and not from the Components perspective i.e. Integration Repository and Directory.
    Thanks.
    Kiran

    Hi
    Tha ABAP stack consists of the Integration Server which in turn contains your Integration Engine and Business Process Engine.
    The J2EE stack contains the Adapter Engine and your IR and ID run on the J2EE engine.
    Most of XI pipelines happens in the ABAP stack.
    All messsages picked by the Adapter Framework running on the J2EE engine are passed to the Integration Engine, which does the routing. The mapping program again gets executed on the Java stack and the rest of the pipeline servies are executed again on the ABAP stack and so on.
    Message, Java & XSLT (under Imported Archives) mappings are executed at Java stack;
    ABAP & XSLT (in ABAP stack) mappings are executed at ABAP stack.
    PI Architecture  look threads
    Architecture
    /message/5802842#5802842 [original link is broken]

  • ABAP STACK and JAVA STACK certificates

    Hi Fiends,
    I have requirement in which I want to use HTTP adapter to send message and apply security certificate. I got from sdn that if I wan to use http adapter with certificate than I have to install certificates in ABAP stack.
    My problem is I had one scenario in which I am using BC adapter to send message with security certificate and for that I had applied certificates in java stack and its working properly.
    My question is,
    Is it possible to use Java Stack and ABAP STACK together..?
    I mean is it possible to implement both of the above scenario in same xi system?

    Hi Soni,
    You cannot use the same certifcates wihch you installed in Java stack with abap stack. You need to install separealy on teh abap stack.
    For HTTP communication you dont need to install certificates. You only need when you want to use HTTPS communication. So if you want to use HTTPS communication and want to use SOAP adapter then you can use ther certifcates which is already installed on java stack. But if you want to use HTTP adapter then you need to install in ABAP stack.
    Please see this hlep on how to install on the java stack and the process behind it:
    http://www.i-barile.it/SDN/EnablingSSL&ClientCertificatesOnTheSAPJ2EEEngine.pdf
    Also check this help:
    http://help.sap.com/saphelp_nw04/helpdata/de/14/ef2940cbf2195de10000000a1550b0/content.htm
    on abap stack check seshus response:
    HTTPS  enabling
    Regards,
    ---Satish

  • Direct Connection ABAP Proxy and Java Proxy possible ????

    Hi Folks ,
    As i read as direct connection possible between 2 SAP systems only ..
    and also i read as WS Direct Connection u2013 (Java) ..
    What it means ?? is it ABAP Proxy to Java Proxy using Direct connection ??  Like Java Client Proxy and ABAP Server proxy
    I am not clear on this.. Could you please explain or help me on this . ??
    Siva..

    Hi ,
    +You can do both for java proxies as well Abap proxies.+
    As per the following points
    1. Point-to-point connection is a new capability available with SAP NW PI 7.1. It allows applications or systems to send messages using WS-RM without going through a middleware, e.g. PI, but still using a centralized tool to design and
    configure the interfaces and connection properties.
    2. SAP XI 3.0/PI 7.00 or higher releases can be licensed based on the total volume of messages in
    gigabytes (GB) that is processed per month. The size of the payload is determined in the integration
    server. The information is then aggregated according to sender and receiver system.
    Question :
    1. If Message exchange between 2 SAP applications using direct connection .. Then dont we need to consider about licencing cost for volume of messages per month ?
    2. So if i use ABAP Client Proxy to Java Server proxy  scenario.. can i use direct connection  ? Eg., SAP ECC to java application ?
    In both the cases PI Runtime is not required  .. Am i right ?
    Please clarify..
    Siva..

  • Any problem if we areon  ABAP SP12 and JAVA SP09 for PI 7.0

    Hi All,
    I was wondering being on different ABAP and Java SP's could cause any problems or compatibility issues in PI 7.0.
    We are on SP12 for ABAP stack, SP09 for JAVA stack.
    We are getting the following error (Red LED: Test Returned an Error) in Self-Test Status for BPE (RTW --> Component Monitoring --> Display --> Business Process Engine):
    Details for 'Schedule Background Job for Packaging'
    Background job for packaging is not required 
    Details for 'Schedule Background Job for Reorganization'
    Background job for packaging is not required 
    In details it says background is not required and it gives Red LED in test.
    Please let us know if anyone has any idea about the above two issues.
    Thank You,
    Indrasena Janga

    Hi,
    >>BPE (RTW --> Component Monitoring --> Display --> Business Process Engine):
    To my knowledge different patch levels on ABAP and java stack  will not cause this issue.
    More  over there will not  be much  issue  when we use different patch levels on ABAP and java stack
    Regards
    Agasthuri Doss

  • Message Mapping(Display queue and Suppress Value)

    Hi Experts,
    In Message Mapping(graphical mapping), upon checking the properties of the nodes,there's one property display queue, in which suppress is there??
    What does it mean?? Which queue it points and what value is suppressed??
    Thanks & Regards,
    Sushama

    Hi Sushama,
    SUPPRESS means no value.
    suppose we are checking one condition (tdid = "RE" then pass tdline) based on the condition we will send one output. if the condition fails then suppress value goes to the target.
    > What does it mean?? Which queue it points and what value is suppressed??
    es:  if(tdid.equals("WE") ifwithoutelse pass tdline value as output.    [tdid is in E1EDKA1 segment and this segment occurance is multiple]
    In this case if the condition is satisfied once and failed once (means E1EDKT1 segment comes 2 times) then first time it sends the corresponding tdline value and second time it sends the SUPPRESS value.
    Regards
    Ramesh

Maybe you are looking for

  • How do I make my Catalog Settings stay the same for each new Catalog I create?

    How to you set a default Catalog Settings parameter that is different from what the Adobe engineers have set us with? I have 30" monitors here, so I want the standard preview size of every new catalog to be set to 2048 pixels. I redundantly back up m

  • How to remove SWFs under another SWF?

    Hello! I'm using the following code to link to other pages: var loadPage = new Loader(); function loadBiology(e:MouseEvent):void { addChild(loadPage); loadPage.load(new URLRequest("biology.swf")); Now the code works fine and such, this is more of som

  • Newbie - JSP and TAG library problem

    I am trying to execute a JSP program on a server with jakarta-tomcat-4.1.29. Here is a program: <%@ taglib uri="testTagURL" prefix="testTagPrefix" %> <testTagPrefix:myFirstTag/> in web.xml I have definition: <taglib> <taglib-uri>testTagURL</taglib-ur

  • Printing Payment Means in PLD

    Hi, I want to print payment means by(Cash,cheque,Card) for my client in A/R invoice PLD.In what way's i can retrieve payment means in PLD.

  • Excel Files

    I sent an excel file from work to home as an attachment, and it came in as .dat rather then .xls, so I cound not open it. Can I just rename it, or am I doing something wrong on the windows side?