ERROR Executing when Display/Edit

Hi Experts,
When Iam trying to EDIT in Message Mapping it does not allowed to edit. This below message will displayed.
ERROR Executing when Display/Edit
Message Mapping: delivery_Mapping | http://testscenarios.com/SAP/TEST is already locked in change list Standard change list by user. If necessary, you can reassign the other users change list to yourself.
Thanks
Hari

Hi,
first you unlock the the mapping.
on your home page i.e http://<host>:<J2EEport /dir/start/index.jsp, there will be a link named as 'Administration' open that link and then there you can look for LOCK OVERVIEW (for both ESR & ID sererately), use lock overview to unlock your objects.
regards,
ganesh.

Similar Messages

  • Internal error occurred when displaying enhancement options

    Hi All,
    I am having an Error - "Internal error occurred when displaying enhancement options" (Message no. ED294) when trying to click on to the "Show Implicit Enhancement Option" inside the Edit > Enhancement Operation in SE37 TCode while Enhancing the FM : QAPP_CUST_IP_F4 in ECC 6.0 environment. For this error I am unable to go ahead with the enhancement process.
    I have applied OSS Note 951293, but in vain. Pls help!

    Nikhil.
    Did you ever solve this issue. I see the same issue?

  • SharePoint Designer 2010 Error occurs when accessing Edit Form: "The server returned a non-specific error when trying to get data from the data source ..." This occurs when using "" in a calculated column in a SharePoint List

    I created a calculated column "Expiration Date" in SharePoint 2010 with formula, =IF([Contingent Hire]=TRUE,(Created+90),(IF([Contingent Hire]=FALSE," ")))
    This works in the SharePoint list but when I go to edit the Edit Form in Designer. I get the error specified in the title of this post. I'm trying to make it so the Expiration Date is blank when another column, "Contingent Hire" (a YES/No
    column) is FALSE.
    The Edit Form is essentially a DataViewWebpart. If I remove the " ", like so, "(IF([Contingent Hire]=FALSE,))" from the calc column, the error goes away; however, the Expiration Date field does not
    remain blank like I want it to.
    Does anyone have any suggestions? (Below is the error generated when I open Designer and then try to open the Edit form for the corresponding list containing the calc column)
    JackSki123

    Hi Jack,
    Could you provide a screenshot about this issue?
    As Dimitri suggested, you can install the update for your SharePoint Designer and check again.
    And you can also check if you can display "NA" instead of " " in your calculated column per the following post.
    http://rajeshspillai.blogspot.in/2012/03/server-returned-non-specific-error-when.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Error message when running editable alv

    Hi all,
    I hava a problem with an editable ALV. I created it with the following method wddoinit:
    METHOD wddoinit .
    initialize ALV Component
      DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
    Get model data
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
      DATA:
      l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    set read only mode to false (and display edit toolbar)
      DATA: lr_table_settings TYPE REF TO
      if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).
    set cell editor for input fields (~make colum editable)
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
      lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'SAMPLE' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'SAMPLE'.
    lr_column->set_cell_editor( lr_input_field ).
    ENDMETHOD.
    But when I run the Web Dynpro Application I get an error message with the note:
    "Access over "Null" Object Reference not possible" ( I translated it from german to english )
    The error occures in the line:
    lr_column->set_cell_editor( lr_input_field ).
    But what is wrong?
    Thanks for your help!!
    Regards
    Ingmar

    Sorry. I'm stupid. I didn't the "Sample" for column and field!!!
    But:
    How can I reach that not only one cell is editable, but the whole table? And how can I save the data that I put in, when I add a new line?
    Thanks!!

  • Error message when displaying a report in a windows form

    Hi,
    use Cr 2008.SP3 Fixpack 3.5,
    Visual Studio 2008 prof. editon version 9.0.30729.1 SP,
    :NET Framework 3.5 sp1
    vb.net 2008
    when displaying a report in a Windows form sometimes the following error message appears
    System.NullReferenceException: Object reference not set to an instance of an object
       bei CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e)
       bei System.Windows.Forms.Control.WmMouseMove(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
       bei System.Windows.Forms.UserControl.WndProc(Message& m)
       bei CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The rest of the error message is in german:
    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
    Zum Beispiel:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
    Thank you
    Otto

    Can you define "sometimes" a bit more?
    Is it after a number of runs of a report?
    Is it on a particular report?
    Is it after you do certain operations on the report (paging, zooming, dill down, print, etc., etc.)?
    Can you duplicate the issue if you isolate the report to a new test app?
    Did you happen to notice if the issue existed prior to FP 3.5?
    Is this on your dev computer or a client computer?
    OS?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • UI error message when displaying Account Factsheet.

    When I view the factsheet in the UI I get the following error message:
    Cannot display view BSP_DLC_FS/factsheet of UI Component BSP_DLC_FS
    An exception has occurred
    Exception Class     CX_BSP_WD_INCORRECT_IMPLEMENT - Window 'SalesOrgSelectorWindow' is not defined in the component 'BP_FACTSHEET'
    Method:     CL_BSP_WD_COMPONENT_USAGE=>GET_INTERFACE_VIEW_CONTR
    Source Text Row:     28
    Cannot display view BSP_DLC_FS/factsheet of UI Component BSP_DLC_FS
    An exception has occurred
    Exception Class     CX_BSP_WD_RUNTIME_ERROR - View BP_FACTSHEET0002.SalesOrgSelectorWindow in component BSP_DLC_FS could not be bound
    Method:     CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
    Source Text Row:     165
    If I look at the BP_FACTSHEET component and the the window ''SalesOrgSelectorWindow' is defined and is active though.
    Can anyone make any suggestions as to the cause, or maybe things to check.
    Jason

    CRM 7.
    I was planning on performing a restore of the CRM dev system from the previous day, but then discovered that the Repository.xml was missing, or almost empty. This was the SAP standard .xml file, so I copied/pasted from our Sandpit CRM system, then everything worked. That may not have fixed the problem completely though, I'm just trying to see if there are any more issues. One of the symptoms was that when I entered the BSP component workbench there was no BOL Model Browser tab, but the Component structure browser and Runtime Repository editor was there.
    I'll check everything now and will ensure that all is okay, but on the plus side we can now display the factsheet in full within the UI with no errors. I'm beginning to think that perhaps CRM 7 is not as stable as I first thought. What action would blitz the Repository in this way and leave you with a non-working system I wonder. Also, at what point does the repository.xml get updated when changes are made, like when new viewsets added etc.
    Regards
    Jason

  • Photoshop CS3 doesn't open or error occurs, when you Edit in Photoshop CS3 from Photoshop Lightroom 2

    Problem: When you try to Edit in Photoshop CS3 from Adobe Photoshop Lightroom 2, Photoshop CS3 doesn't open, or after Photoshop opens, you see the error message, "Photoshop could not be launched".
    This issue is currently being investigated. At present, there are two possible areas that might be causing this issue. Corrupted metadata or a corrupted catalog, or Photoshop CS3 has not been updated to 10.0.1, or the update did not apply correctly to the application.
    We are working for a permanent solution for this issue.
    Workaround: Please refer to this Adobe
    TechNote for further information.

    Quote
    "FIX IT OR SEND ME MY MONEY BACK NOW!!!!"
    This is a user to user forum, there is no one here to make a refund. Who are you SHOUTING at!!

  • Error TD600 when display Purchase requisition

    When I try to display a PR with ME53N, the following error message comes:
    Text  ID * language * not found
    Message no. TD600
    Diagnosis
    You want to read a text which does not exist in the data base (or update memory).
    System response
    Reading could not be carried out.
    Procedure
    You need to create this text:
    1. Initialization (module INIT_TEXT)
    2. Save (module SAVE_TEXT)
    Could anybody help me find the reason?

    Hello,
    Check the following settings in ECC system.
    1) IMG -> Materials Management -> Purchasing -> Purchase Requisition ->     
    Define Document Types                                                       
    Select "EC", (or those related with BBP), then double click on              
    "Allowed Item Categories".                                                                               
    2) IMG -> Materials Management -> Purchasing -> Purchase Order ->           
    Define Document Types                                                       
    Select "EC", (or those related with BBP), then double click on              
    "Allowed Item Categories".                                                  
    Also, check if note 140846 is applied.
    Kind regards,
    Ricardo

  • Error occured when clicking edit design of par

    I'm encountering an error whenever I click on edit in design of par. All other edit links work. Could this be a browser configuration issue? Any form of help is very much appreciated.
    Thanks,
    James
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8)
    Timestamp: Tue, 27 Mar 2012 01:59:55 UTC
    Message: 'this.items.items[...].title' is null or not an object
    Line: 147266
    Char: 45
    Code: 0
    URI: http://localhost:4502/libs/cq/ui/widgets.js

    do all of your custom components that should be displayed in the design dialog have a proper jcr:title attribute set in the component's .content.xml (e.g. /apps/myapp/components/test/.content.xml)?

  • ERROR MESSAGE WHEN DISPLAYING LARGE RETRIEVING AND DISPLAYING LARGE AMOUNT OF DATA

    Hello,
    Am querying my database(mysql) and displaying my data in a
    DataGrid (Note that am using Flex 2.0)
    It works fine when the amount of data populating the grid is
    not much. But when I have large amount of data I get the following
    error message and the grid is not populated.
    ERROR 1
    faultCode:Server.Acknowledge.Failed
    faultString:'Didn't receive an acknowledge message'
    faultDetail: 'Was expecting
    mx.messaging.messages.AcknowledgeMessage, but receive Null'
    ERROR 2
    faultCode:Client.Error.DeliveryInDoubt
    faultString:'Channel disconnected'
    faultDetail: 'Channel disconnected before and acknowledge was
    received'
    Note that my datagrid is populated when I run the query on my
    Server but does not works on my client pcs.
    Your help would br greatly appreciated here.
    Awaiting a reply.
    Regards

    Hello,
    Am using remote object services.
    USing component (ColdFusion as destination).

  • Error #2004 when displaying tooltip in popup on FP 10.1

    I'm posting a bug we're seeing here in hopes of someone seeing this will know what may be causing it, know how to fix it (presumably someone from Adobe), or have some better ideas on recreating in a simple test case.
    Here is the bug:
    https://bugs.adobe.com/jira/browse/SDK-25826
    In our application, when using FP 10.1,  we receive the following exception when Flex tries to display a tooltip from a component that is within a popup.
    ArgumentError: Error #2004: One of the parameters is invalid.
    at Error$/throwError()
    at flash.text.engine::TextBlock/recreateTextLine()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at _wf_app_web_mx_managers_SystemManager/callInContext()
    at flashx.textLayout.container::TextContainerManager/recreateTextLine()[/dir/src/flashx/text Layout/container/TextContainerManager.as:931]
    at flashx.textLayout.container::TextContainerManager/callInContext()[/dir/src/flashx/textLay out/container/TextContainerManager.as:866]
    at flashx.textLayout.compose::SimpleCompose/createTextLine()[/dir/src/flashx/textLayout/comp ose/SimpleCompose.as:234]
    at flashx.textLayout.compose::SimpleCompose/composeNextLine()[/dir/src/flashx/textLayout/com pose/SimpleCompose.as:186]
    at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/dir/src/flashx /textLayout/compose/BaseCompose.as:349]
    at flashx.textLayout.compose::SimpleCompose/composeParagraphElement()[/dir/src/flashx/textLa yout/compose/SimpleCompose.as:165]
    at flashx.textLayout.compose::BaseCompose/composeBlockElement()[/dir/src/flashx/textLayout/c ompose/BaseCompose.as:221]
    at flashx.textLayout.compose::BaseCompose/composeInternal()[/dir/src/flashx/textLayout/compo se/BaseCompose.as:326]
    at flashx.textLayout.compose::BaseCompose/composeTextFlow()[/dir/src/flashx/textLayout/compo se/BaseCompose.as:292]
    at flashx.textLayout.compose::SimpleCompose/composeTextFlow()[/dir/src/flashx/textLayout/com pose/SimpleCompose.as:113]
    at FactoryDisplayComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/dir/src/flashx/textLayout/factory/TextLineFactoryBase.as:422]
    at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/dir/src/flashx/textLay out/compose/StandardFlowComposer.as:759]
    at flashx.textLayout.compose::StandardFlowComposer/compose()[/dir/src/flashx/textLayout/comp ose/StandardFlowComposer.as:822]
    at flashx.textLayout.factory::TextFlowTextLineFactory/createTextLines()[/dir/src/flashx/text Layout/factory/TextFlowTextLineFactory.as:128]
    at flashx.textLayout.container::TextContainerManager/compose()[/dir/src/flashx/textLayout/co ntainer/TextContainerManager.as:1252]
    at flashx.textLayout.container::TextContainerManager/updateContainer()[/dir/src/flashx/textL ayout/container/TextContainerManager.as:1292]
    at mx.core::FTETextField/composeHTMLText()[/sdk/4.0.0/frameworks/projects/spark/src/mx/core/ FTETextField.as:3089]
    at mx.core::FTETextField/validateNow()[/sdk/4.0.0/frameworks/projects/spark/src/mx/core/FTET extField.as:2530]
    at mx.core::FTETextField/get width()[/sdk/4.0.0/frameworks/projects/spark/src/mx/core/FTETextField.as:572]
    at mx.controls::ToolTip/measure()[/sdk/4.0.0/frameworks/projects/framework/src/mx/controls/T oolTip.as:364]
    at mx.core::UIComponent/measureSizes()[/sdk/4.0.0/frameworks/projects/framework/src/mx/core/ UIComponent.as:8042]
    at mx.core::UIComponent/validateSize()[/sdk/4.0.0/frameworks/projects/framework/src/mx/core/ UIComponent.as:7966]
    at mx.managers::LayoutManager/validateClient()[/sdk/4.0.0/frameworks/projects/framework/src/ mx/managers/LayoutManager.as:889]
    at mx.core::UIComponent/validateNow()[/sdk/4.0.0/frameworks/projects/framework/src/mx/core/U IComponent.as:7631]
    at mx.managers::ToolTipManagerImpl/sizeTip()[/sdk/4.0.0/frameworks/projects/framework/src/mx /managers/ToolTipManagerImpl.as:987]
    at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::initializeTip()[/sdk/4.0.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:958]
    at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::showTimer_timerHandler()[/sdk/4.0.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:1539]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Our application is very modular and we embed fonts, but I've tried various approaches in a test application and haven't been able to reproduce this exception.
    Here's the stack/variables seen when debugging, http://screencast.com/t/MGU1MDEzNGIt. **To get here it requires commenting out the try/catch in StandardFlowComposer.internalCompose()** If I had to guess, it seems that recreateTextLine doesn't like getting the same textLine twice in the argsArray.
    Anyone have thoughts?
    Thanks for looking,
    Bryon

       I was getting the same RTE, the same pattern in Flex debugging session with passing same line twice in the argsArray to recreateTextLine method.
       I've come up with relatively simple test case that consists only of 2 files, I've just attached the Flash Builder project FXP file to the related Flex bug issue in JIRA: https://bugs.adobe.com/jira/browse/SDK-25826
       This bug is reproduced for any tooltip displayed in Flash Player 10.1 that
       tries to display 2 or more lines of text;
       is using  FTE to display text (mx.core.UIFTETextField class);
       sets htmlText instead of text property for the textField to display error message.
    Some possible background for this RTE I've learned during my research:
    Line 245, SimpleCompose.as
    workingLine.initialize(_curParaElement, outerTargetWidth,
                            lineOffset, lineStart + _curParaStart,
                            textLine.rawTextLength, textLine);
       where textLine.rawTextLength does not return a correct value in Flash Player 10.1.
      2 . Line 154, TextFlowLine.as class  > textLength property is  assigned to  textLine.rawTextLength
    _textLength = numChars;
      3. Line 362, BaseCompose.as class >  _curElementOffset  is assigned to textLine.textLength value.
    _curElementOffset += curLine.textLength;
      4.  Line 436 in BaseCompose.as  > we compare element.textLength and _curElementOffset values > this comparison returns FALSE
    if (_curElementOffset >= _curElement.textLength)
      5. Line 173, SimpleCompose.as > becase startCompose is not equal to 0, prevLine is not null > 2 same lines  "prevLine" and "curLine" are passed to createTextLine method and finally to recreateTextLine method.
    var startCompose:int = _curElementStart + _curElementOffset - _curParaStart;
    var prevLine:TextLine = startCompose != 0 ? workingLine.getTextLine() : null;

  • Error 500 when displaying WSDL

    Hello SOA experts,
    I'd like to ask, if someone was troubled with similar issue as we are now. We have developed Java WS, based on PI - ESR definition. All is done on SAP PI 7.1 SP8.
    After deployment from NWDI to Java WAS we generated Service Endpoint in Java SOA MANAGER. The service runs correctly, when tested from WS Navigator.
    The problem is that when someone/something (SW) wants to display/download WSDL file. First try of WSDL displaying in web browser ends ok, but when the URL is re-entered, we got following error message:
    500   Internal Server Error - SAP NetWeaver Application Server 7.10 / AS Java 7.10 - No Service is found using request url <the path of WebService> - Details: No details available
    Moreover - as mentioned, the WS runs from WS Navigator and from PI SOAP Commonucation Channel correctly. But when I need to access it from WebDispatcher, the server returns HTTP code 404. The same result is returned, when web service's URL is entered to web browser.
    Can anybody suggest, what might be wrong ?
    Thank you
    Best regards
    Tomas

    Hello again,
    we think we found the problem, but we are not sure, how to solve it. The thing is, that the JavaWebService is developed in NWDI under the development component with connection to CMS track.
    It seems, that during generation of Service Endpoint the name of development component is inserted into the path of the service. The development component's name is "core/main/ws1", so the slashes are changed for the symbol
    ~
    in the URL. So at the end, the WSDL URL looks with escaped symbols
    ~
    like this : http://<host>:<port>/sapws/domain.net/core%7Emain%7Ews1ear_domain.net%7Ecore%7Emain%7Ews1_EJB_SIINVOICETSAINSyncImplBean/TSAGenWS/TSAGenWS?wsdl&mode=ws_policy
    And as we are trying to call it - the escaped symbols are the problem. The reason is, that some browseres and e.g. SOAP test tools unescape the URL before opening the HTTP connection. It seems that SAP WebDispatcher does the same. And that's why the JavaWebService is not accessible through WebDispatcher.
    Are we correct in this and if so can we work around it somehow ?
    Thank you in advance.
    Regards
    Tomas

  • Error message when displaying webhelp

    We have created webhelp in Robohelp 7 and placed the
    generated help on a server. We
    have created a customized browser window to display the
    context
    sensitive help online when it is accessed from the
    application. When a
    user accesses this help for the first time they get the
    following
    message.
    "Line: 569
    Error: 'null' is null or not an object in the file
    whtopic.js"
    The help is then displayed and next time they access context
    sensitive
    help they do not get this message. Any idea on what this
    message is and
    how to get rid of it?

    See Snippets on my site. It's covered there and there is a
    solution.

  • IChat using a Google Talk account shows XMPPErrorDomain error 6 when displaying buddy on iChat Server

    My brother uses iChat with a GMail account. I run my own iChat Server (OS X 10.6.7) with XMPP federation (cachain entry in s2s.xml commented out so that Google federation works when a self-signed certificate for iChat Server). This worked fine in the past, but I had to reset a lot of things after a migration. One of those is that I now use a different domain for my iChat Server and iChat accounts.
    After some initial problems, we can chat, video, everything. But his Buddy line for me shows "XMPPErrorDomain error 6" instead of my status. Any suggestions on what to do?

    Hi,
    iChat Server is a bit outside what I known.
    Luckily I know a man that does.
    https://discussions.apple.com/community/servers_enterprise_software/mac_os_x_ser ver_v10.6_snow_leopard
    If you use the "Refine this List" option you will see that the "old" forum of "Collaboration services" is still there.
    That will allow you to hone down to the iChat Server stuff (and some other things).
    If you post a new Question you can tag it with iChat and "Collaboration Services'
    This will make sure that Tim Harris sees it.
    He, like me, is here in the UK so expect Time Zone delays in posting replies.
    8:21 PM      Saturday; May 14, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was spellchecked by: Ralph Johns (UK)

  • JavaMapping in PI 7.1 Error:Unable to display tree view; Error when parsing

    hi,
    i get by testing in PI 7.1 (operation mapping) this ERROR:
    "Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)"
    this is my java-programm-code:
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import com.sap.aii.mapping.api.StreamTransformation;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    /*IMPORT statement imports the specified classes and its methods into the program */
    /Every Java mapping program must implement the interface StreamTransformation and its methods execute() and setParameter() and extend the class DefaultHandler./
    public class Mapping extends DefaultHandler implements StreamTransformation {
    Below is the declaration for all the variables we are going to use in the
    subsequent methods.
         private Map map;
         private OutputStream out;
         private boolean input1 = false;
         private boolean input2 = false;
         private int number1;
         private int number2;
         private int addvalue;
         private int mulvalue;
         private int subvalue;
         String lineEnd = System.getProperty("line.separator");
    setParamater() method is used to store the mapping object in the variable
    "map"
         public void setParameter(Map param) {
              map = param;
         public void execute(InputStream in, OutputStream out)
                   throws com.sap.aii.mapping.api.StreamTransformationException {
              DefaultHandler handler = this;
              SAXParserFactory factory = SAXParserFactory.newInstance();
              try {
                   SAXParser saxParser = factory.newSAXParser();
                   this.out = out;
                   saxParser.parse(in, handler);
              } catch (Throwable t) {
                   t.printStackTrace();
    As seen above execute() method has two parameters "in" of type
    InputStream and "out" of type OutputStream. First we get a new instance
    of SAXParserFactory and from this one we create a new Instance of
    SAXParser. To the Parse Method of SaxParser, we pass two parameters,
    inputstream "in" and the class variable "handler".
    Method "write" is a user defined method, which is used to write the
    string "s" to the outpurstream "out".
         private void write(String s) throws SAXException {
              try {
                   out.write(s.getBytes());
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startDocument() throws SAXException {
              write("");
              write(lineEnd);
              write("");
              write(lineEnd);
         public void endDocument() throws SAXException {
              write("");
              try {
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startElement(String namespaceURI, String sName, String qName,
                   Attributes attrs) throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = true;
              if (eName.equals("NUMBER2"))
                   input2 = true;
         public void endElement(String namespaceURI, String sName, String qName)
                   throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = false;
              if (eName.equals("NUMBER2"))
                   input2 = false;
         public void characters(char[] chars, int startIndex, int endIndex)
                   throws SAXException {
              String dataString = new String(chars, startIndex, endIndex).trim();
              if (input1) {
                   try {
                        number1 = Integer.parseInt(dataString);
                   } catch (NumberFormatException nfe) {
              if (input2) {
                   number2 = Integer.parseInt(dataString);
              if (input2 == true) {
                   addvalue = number1 + number2;
                   mulvalue = number1 * number2;
                   subvalue = number1 - number2;
                   write("" + addvalue + "");
                   write(lineEnd);
                   write("" + mulvalue + "");
                   write(lineEnd);
                   write("" + subvalue + "");
                   write(lineEnd);
    in developer studio 7.1 i dont get error.
    this happens by testing the mapping-programm in ESR.
    can somebody help me please?

    Make sure that the xml created out after the java mapping is a valid xml with only one root node.
    Regards,
    Prateek

Maybe you are looking for

  • Itunes iphoto imovie all "quit unexpectedly"

    Hi new MacBook Pro user so if any advice can be given in layman's terms please! Recently found that large number of applications inc itunes, iphoto & imovie have all started to receive the following message - xxxxxx Quits Unexpectedly I have copied t

  • VIPCA does not start from root.sh

    Hi all, I've a problem in installing RAC 10g on ia64 architecture. S.O.: RH Enterprise Linux AS 2.1 Oracle CRS install completed successfully. The problems came up during DB installation when I need to run root.sh script that should automatically inv

  • My iPad goes the original screen at times if I am on a website or if I am reading something.

    My iPad will drop me from a website and go to it's original screen? Does anyone ever experience this? A lady at AT&T store me it may my wifi?

  • Help With Early Termination Fee

    my contract ends in february. it is a 2 line family plan with basic feature phones. i was told that the early termination fee was prorated. if i were to end my contract today, how much would the termination fee be?  and if i cancel my service and go

  • Skip snapshot delivery in transactional replication

    When you get the msg "The initial snapshot for publication is not yet available......" The distrib agent is expecting a snapshot to deliver but the snapshot is not available because it was intentionally cancelled. Is there a way to reset this situati