Message thrown while trying to redefine the method GOSAddObjects in SWO1

Hi,
I am trying to create a Business Object in SWO1 for GOS. I want to redefine the method GOSAddObjects but when I am trying to do this it shows the Message no. OL645 (Composite definition not allowed for local elements). Please help to solve this issue.
Thanks and Regards,
Rahul M.B.

To edit this method, if F6 is not working,,we can:
-> Select/ point cursor on 'GOSAddObjects'
-> On toolbar, theres a button 'Program' -> Click on it and you can edit now.
Regards,
KS

Similar Messages

  • Odata JDBC Service: getting NullPointerException: while trying to invoke the method

    Hi,
    I am testing OData, for that I followed the steps given in this tutorial:
    http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/06/10/creating-an-odata-service-based-on-sap-gateway-soap-jdbc-and-jpa-data-sources-ba
    It wasn't working as it should, so to understand it better, I created a new project with Stock table only.
    Manually entered all it's properties and then deploy it.
    Issue1: when I create a JDBC connection to connect with derby database, The driver field has maximum limit and whole driver string is not copied. Attached is the screen shot.
    Where as I need to enter: org.apache.derby.jdbc.ClientDriver.
    Issue 2: I can't test the connection from here, weather it's working fine or not ?
    Issue 3:
    When I deploy the project and test the result, I get the Stock Service, But when I try to run this, I get nullpointer exception.
    URL: http://localhost:8080/gateway/odata/sap/WSTest1;v=1
    Response:
    <?xml version="1.0" encoding="utf-8"?>
    <service xml:base="http://localhost:8080/gateway/odata/sap/WSTest1;v=1/" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
      <workspace>
       <atom:title>Default</atom:title>
       <collection href="StockSet">
       <atom:title>StockSet</atom:title>
       </collection>
      </workspace>
    </service>
    Now I need to run StockSet, so next url to access the stock list,
    to get stocks:
    http://localhost:8080/gateway/odata/sap/WSTest1;v=1/SAP/StockSet
    Now I get the following response:
        <?xml version="1.0" ?>
        <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
        <code>
        </code>
        <message xml:lang="en">java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'k'</message>
        </error>
    I am not able to figure out, why I am getting this error and how to fix it.
    All I want is to create a ODAta on ESPM_STOCK sample table given in example.
    Looking forward to hear from you.
    Thanks.

    Waqas Sadiq
    Issue1: when I create a JDBC connection to connect with derby database, The driver field has maximum limit and whole driver string is not copied. Attached is the screen shot.
    Are you working on SMP3.0 (lower version than SP03)?
    If yes, then there is character restriction in SMP3.0 (SP00, SP01), maximum length for a database driver is 25 characters.
    e.g. if driver name is oracle.jdbc.driver.OracleDriver but when you enter this, then you will see onlyoracle.jdbc.driver.Oracle
    Until unless we pass the correct driver value things will not work. there is a workaround for this. You create a desitnation with restricted character length.
    You would be seeing a property file for each created destination underC:\SAP\MobilePlatform3\Server\config_master\service.destinations\destinations
    Go there and open the created "OracleDB" and edit the "DriverName" to the full string:oracle.jdbc.driver.OracleDriver
    Please go through this blog for more understanding:
    http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/01/09/how-to-connect-an-oracle-db-with-integration-gateway-in-smp3
    Note: seems this problem has been resolved in SMP3 SP03
    Issue 2: I can't test the connection from here, weather it's working fine or not ?
    I didnt find a way to test a destination. So you have to be sure about what all values you are entering.
    Once you are done with Destination creation, map it to the respective deployed service under "services" tab.
    Issue 3: When I deploy the project and test the result, I get the Stock Service, But when I try to run this, I get nullpointer exception
    Make sure you have corrected "Database driver" name manually. And then check if you are facing same issue.
    Does this URL expect any input parameters?
    http://localhost:8080/gateway/odata/sap/WSTest1;v=1/SAP/StockSet
    Regards,
    JK

  • RSSDK:300 while trying to invoke the method org.omg.cwm.reso urce.relationa

    Hi All,
    While trying to load data through an info package till PSA, the data load is getting failed with error message "RSSDK:300 while trying to invoke the method org.omg.cwm.reso urce.relational.Table.getName() of an object loade d from local v".
    The source system is UD Connect.
    Does anyone have any idea on this issue.

    Hi All,
    While trying to load data through an info package till PSA, the data load is getting failed with error message "RSSDK:300 while trying to invoke the method org.omg.cwm.reso urce.relational.Table.getName() of an object loade d from local v".
    The source system is UD Connect.
    Does anyone have any idea on this issue.

  • While trying to invoke the method java.lang.String.length() of an object loaded from local variable 'payload'

    Hi,
    Our PI is getting data from WebSphere MQ and pushing to SAP. So our sender CC is JMS and receiver is Proxy. Our PI version is 7.31.
    Our connectivity between the MQ is success but getting the following error while trying to read the payload.
    Text: TxManagerFilter received an error:
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'payload'
           at com.sap.aii.adapter.jms.core.channel.filter.ConvertJmsMessageToBinaryFilter.filter(ConvertJmsMessageToBinaryFilter.java:73)
           at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
           at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:348)
           at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
    I have searched SDN but couldn't fix it. Please provide your suggestion.
    With Regards
    Amarnath M

    Hi Amarnath,
    Where exactly you are getting this error?
    If you are getting at JMS Sender communication channel, try to stop and start the JMS communication channel and see the status, also use XPI Inspector to get the exact error log.
    for reference follow below blogs:
    Michal's PI tips: ActiveMQ - JMS - topics with SAP PI 7.3
    Michal's PI tips: XPI inspector - help OSS and yourself
    XPI Inspector

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.
    Suggestions?

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    Cheers,
    Kristiyan
    IdM Development

  • Error: while trying to invoke the method javax.xml.transform.Transformer.

    Hi All,
    I am working on Version 12.1.8 Build(20),  I have referred  SAP notes 1294013 and placed the following files
    - serializer.jar
    - xalan.jar
    - xercesImpl.jar
    - xml-apis.jar
    - xsltc.jar
    in the specified path.
    now when i use XSLT transformation block using IllumRowsetTableWithPageBreaks.xsl i am getting an error
    [ERROR] [XSL_Transformation_0]XSLTransform error: while trying to invoke the method javax.xml.transform.Transformer.transform(javax.xml.transform.Source, javax.xml.transform.Result) of an object loaded from local variable 'processor'
    please guide me.

    Hi Alex,
    No, the case you have explained is not applicable to me. Sharing the code snippet for your reference. This is the code due to which my XSLT gives an error, if I remove these lines of code then the XSLT works fine.
    <xsl:variable name="ENERGY" select="translate(ENERGY,',','')">
         <xsl:choose>
              <xsl:when test="ENERGY= ''">
                   <xsl:value-of select="0.00"/>
              </xsl:when>
              <xsl:otherwise>
                   <xsl:value-of select="ENERGY"/>
              </xsl:otherwise>
         </xsl:choose>
    </xsl:variable>
    Also, the same XSLT works absolutely fine in 12.1 but gives error in 14.0 SP05.
    Warm Regards,
    Anuj

  • Error thrown while trying to connect the remote data base

    Hello,
    I am trying to connect the database(orcale 7) which is in the remote machine using Microsoft JDBC driver. But the following errors are thrown. If any one know how to solve this, pl let me throw some lite on this.
    Errir message as/./.......................
    java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:4089)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:4246)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1136)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:148)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:167)
    at java.sql.DriverManager.getConnection(DriverManager.java:457)
    at java.sql.DriverManager.getConnection(DriverManager.java:159)
    at lucasCustomization.processmgmt.helper.EISConnector.getConnectEIS(EISConnector.java:24)
    at wt.workflow.expr.WfExpression2570849.execute_ROBOT_EXPRESSION_(WfExpression2570849.java:27)
    at java.lang.reflect.Method.invoke(Native Method)
    at wt.workflow.definer.WfExpression.executeTransition(WfExpression.java, Compiled Code)
    at wt.workflow.definer.WfExpression.execute(WfExpression.java, Compiled Code)
    at wt.workflow.robots.WfExpressionRobot.run(WfExpressionRobot.java, Compiled Code)
    at wt.workflow.engine.StandardWfEngineService.runRobot(StandardWfEngineService.java, Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at wt.queue.QueueEntry.execute(QueueEntry.java, Compiled Code)
    at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java, Compiled Code)
    at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java, Compiled Code)
    at wt.queue.PollingQueueThread.run(PollingQueueThread.java, Compiled Code)
    error..>java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    ########################error ends...###############
    And also i added i code for your reference
    import java.util.*;
    import java.sql.*;
    public class EISConnector
    public static String getConnectEIS() throws Exception
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Connection3 :");
    Connection con1=DriverManager.getConnection("jdbc:odbc:eiscon","scott","tiger");
    System.out.println("statement2");
    PreparedStatement stmt1=con1.prepareStatement("insert into tryout(toolnumber,toolname) values(?,?)");
    stmt1.setString(1,doc.getNumber());
    stmt1.setString(2,doc.getName());
    System.out.println("st");
    int i=stmt1.executeUpdate();
    System.out.println("i :"+i);
    System.out.println("End");
    con1.close();
    catch(Exception e)
    e.printStackTrace();
    System.out.println("error..>"+e);
    return new String("End of Connection");
    }

    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_59_
    The thin drivers are classes12.zip/classes111.zip. classes12.zip being the most recent release. You can download it from
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/winsoft.html
    (the general download site is http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html )
    Jamie

  • Error HTTP Status 500 - while trying to invoke the method java.util.Properties.entrySet() of a null object loaded from local variable 'globalProperties'

    Hi,
    I installed BI platform SBOP BI PLAT 4.1 and was able to log in to CMC and BI Launchpad. Post this, I installed SBOP DATA SERVICES 4.2 SP01 PATCH 3 WINDOWS 64B and am getting the above error while trying to open CMC and BI Launchpad.
    Please help

    Thanks Jawahar, re deploying web apps helped.

  • "While trying to invoke the method com.sap.ip.bi.bics.dataaccess consumer.queryview.hierarchy.iqqvDrillPathElement.getCharacteristics Type ()of an object loaded from local variable 'pathElement' (WIS 00000)"

    Hi Gurus,
       We are using BOBI 4.1 and we have created a webI report and while refreshing the report, we are facing the below error first time. After we close the error message and if we refresh again, its working fine. I have found one note (1724168 - Hierarchy error when refreshing a Web Intelligence document) stated that its a bug in 4.0 and its resolved in 4.1. But still am facing the same error in 4.1. Kindly help me to resolve the issue. Anyone input is highly appreciated.
    Thanking you in anticipation.
    Obinna.

    Dear Henry,
       Please find my inputs below.
    What SP are you on? --------- BOBI 4.1 SP2
    what does your webi query look like -   are you selecting a full hierarchy ?  ------- No
    are you filtering your dataset at runtime using input variables / parameters? -------Yes. We  have used formula variable at BW level and I have hard cored its value at BO side in different queries (same report) by giving different value for each query.
    Is your APS / DSL_Bridge properly up-sized on the BIPlatform?  what's the Xmx value in the command line?  --------- Xmx4G
    Does your administrator monitor anything unusual in the BW  SM66/ST05/ST22 ? -------- Everything is working fine in BW system side.
    How high mem usage seen task manager / PIDs on the BIPlatform? -------- Everything is normal (Total RAM Size 24 GB)

  • Warning messages thrown while trying to connect to BW Cube

    We have Websphere Application Server to deploy our servlets. The problem is when we connect to BW Server through BI Java SDK, it generates the following WARNING messages:
    [2/9/06 17:48:14:682 CET] 179cdd40 SystemOut     O Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    [2/9/06 17:48:14:682 CET] 179cdd40 SystemOut     O Error Message is :com/sap/guid/GUIDGeneratorFactory
    [2/9/06 17:48:14:688 CET] 179cdd40 SystemOut     O Warning ! Protocol Implementation [com.sap.security.core.client.ws.SecurityProtocol] could not be loaded (ClassNotFound) !
    [2/9/06 17:48:14:688 CET] 179cdd40 SystemOut     O Error Message is :com.sap.security.core.client.ws.SecurityProtocol
    [2/9/06 17:48:20:325 CET] 179cdd40 SystemOut     O Warning ! Provider [SecurityProtocol] not found for feature in logical port [MsXmlAnalysisSoap] !
    [2/9/06 17:49:25:069 CET] 179cdd40 WebGroup      I SRVE0180I: [Shell-CCL] [/Shell-CCL] [Servlet.LOG]: /jsps/cclMyOrderHistory.jsp: init
    [2/9/06 17:51:00:564 CET] 179cdd40 WebGroup      I SRVE0180I: [Shell-CCL] [/Shell-CCL] [Servlet.LOG]: CCLMyOrderHistoryDownloadServlet: init
    [2/9/06 22:08:23:755 CET] 7b749d56 SystemOut     O Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    [2/9/06 22:08:23:755 CET] 7b749d56 SystemOut     O Error Message is :com/sap/guid/GUIDGeneratorFactory
    [2/9/06 22:08:23:762 CET] 7b749d56 SystemOut     O Warning ! Protocol Implementation [com.sap.security.core.client.ws.SecurityProtocol] could not be loaded (ClassNotFound) !
    [2/9/06 22:08:23:762 CET] 7b749d56 SystemOut     O Error Message is :com.sap.security.core.client.ws.SecurityProtocol
    [2/9/06 22:08:24:943 CET] 7b749d56 SystemOut     O Warning ! Provider [SecurityProtocol] not found for feature in logical port [MsXmlAnalysisSoap] !
    Any clues on this one. What causes this and why?
    Thanks in advance.

    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_59_
    The thin drivers are classes12.zip/classes111.zip. classes12.zip being the most recent release. You can download it from
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/winsoft.html
    (the general download site is http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html )
    Jamie

  • Im trying to convert a PDF into an excel document and I keep getting an error message that reads "An error has occurred while trying to access the service". WHat am I doing wrong?

    Im trying to convert a PDF into an excel document and I keep getting an error message that reads "An error has occurred while trying to access the service". WHat am I doing wrong?

    it seems my subscription had expired so I signed up again.. It was still having trouble so I repeated the sign up process again.. Then it worked perfectly.. Unfortunately, I think I just subscribed twice and need to cancel one of them. Ugh. Such a pain when I'm trying to get this project completed. I'll be canceling at least one of the subscriptions in the morning. Adobe is not my favorite company right now. None of this was intuitive. And trying to get help was an absolute waste of an hour.
    Regards,
    Nathaniel
    [removed by moderator]

  • While trying to open the order in co03 or co02, It is not opening and showing the error message as "Inconsistent data : order 107434 16.09.2013, duplicate entry o 0020. is showing ?

    Hi,
    While trying to open the order in co03, co02, I am getting the below error message : Inconsistent data : order 107434 16.09.2013, duplicate entry o 0020 is showing. Please guide me the way forward.
    Regards,
    Mastan.

    Hi Mastan
    The report mentioned by Rajen should clear the inconsistent records.
    Please observe that you could have found this by yourself report with a quick note search for this error message or even searching for old threads.
    Even a google search points to the solution.
    You should do your own research before opening such kind of thread.
    BR
    Caetano

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert apdf file for msword?

    I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert a PDF file for ms word?

    Adobe Reader is free; but you may have paid for the ExportPDF service.
    Contact Adobe Customer Care and click on the Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

  • I cannot convert my pdf files to word. I keep getting an error message that "an error occurred while trying to access the service"?

    I cannot convert my pdf files to word. I keep getting an error message that "an error occurred while trying to access the service"?

    See if anything in here helps: https://forums.adobe.com/docs/DOC-1831
    [topic moved to ExportPDF forum]

Maybe you are looking for

  • Powermac G4 as media file server/storage?

    Hello everyone, Long time reader, first time poster. I currently run a 15" Pbook G4 1.67g with 2 GB of RAM and 100GB HD, hooked up to an 80GB and 250GB external FW drives. I've slowly been transferring all my DVDs and CDs to the drives, not to mentio

  • Need help scripting DICOM metadata in Photoshop

    I was wondering how to edit DICOM metadata with javascript. I am editing a bunch of DICOM images and have to give them new descriptors in the "Study Description" field. In one of Adobe's help pages, it states You can also view and edit metadata for D

  • Trouble printing from 10.6 to shared canon on 10.5 iMac

    Hi, I have 2 Canon printers attached to a G4 iMac running 10.5. A PIXMA Pro9000 MKII and a PIXMA ip4700. Both printers are shared and we print to them using 2 MBP's. Everything went very smooth when all the machines were on the same OS. But since we

  • How to covert a CSV file into a file of spreadsheet format(staroffice)?

    Hello everybody, I want to create a java that can convert CSV file into spreadsheet. But i dont have any idea how to create a Spreadsheet (i just know it have a Binary File format). So anyone can give me some reference or program sample, some advises

  • An error occured while attempting to perform the operation.

    Hi I'm getting the following error message in my disco plus report. "An error occured while attempting to perform this action. The operation did not complete successfully. Extra Internal info: (OLException Cause:OLException { Code: OLCmRefException::