Syntax error on token "class", invalid Expression

Hai,
i am new to java beans and i have written the following code which gives an error
Code jsp:
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>beancode</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<!--<form name="form1" action="beancode" method="POST"> -->
Name: <input type="text" name ="nname"> <br><br><br>
Address: <input type="text" name ="naddress"> <br><br><br>
     <input type = "submit" value="Submit">
<% useBean id="sampl"; class="beancode.class"; scope="page"; %>
<% setProperty name="sampl"; property="*"; %>
<%--</jsp:useBean> --%>
<table border="1">
          <tr><td>S.NO</td><td>NAME</td><td width="95">ADDRESS</td></tr>
<%
          int count =1;
          while (rs.next())
     String name = rs.getString("Name");
          String address = rs.getString("ADDRESS");
%>
          <tr>
               <td>
<%
                    out.print(count);
%>               </td>
               <td>
<%                     out.println(name);
%>                </td>
               <td>
<%                     out.print(address);
                    count++;
%>               </td>
          </tr>
<%          }
%>
     </table>
<!--</form> -->
</body>
</html>
JAVA Class code:
import java.sql.*;
* @author
public class beancode
private String employid;
private Connection con = null;
// private ResultSet rs = null;
private PreparedStatement st = null;
String name, address;
/** Creates a new instance of beancode */
public beancode()
{ok
try
          Class.forName("com.mysql.jdbc.Driver");
          String url = "jdbc:mysql://localhost:3306/test";
          Connection con =DriverManager.getConnection(url,"root","shasi");
          Statement s = con.createStatement();
          ResultSet rs = s.executeQuery ("Select * FROM Test");
catch(Exception e)
          System.out.println(e.getMessage());
public void setemployid(String nname,String naddress)
          name = nname;
          address = naddress;
     public String getemployid()
          return(name);
     public String getemployadd()
          return(address);
public void insert()
try
String s1="insert into samp values('"+name+"','"+address+"')";
st = con.prepareStatement(s1);
st.executeUpdate();
st.clearParameters();
st.close();
catch(Exception m)
     public static void main(String args[])
               beancode b = new beancode();
               b.insert();
The error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 18 in the jsp file: /bean.jsp
Generated servlet error:
Syntax error on token "class", invalid Expression
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
     org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
PLEASE HELP ME OUT
I AM WAITING PLEASE
Thanks,
Shasi

You can try to use the xml form of tag use bean and not <% like this:
<jsp:useBean id="sampl" class="beancode" scope="page" />
<jsp:setProperty name="sampl"; property="*" />
and in the class attribute specify the fully qualified class name without the extension

Similar Messages

  • The following syntax error occurred during parsing: Invalid token, Line 1,

    Hello Experts,
    I hope someone could help me. I am trying to create a MDX formula in Account dimension (Cuenta).
    When formula created use "Iif" syntax, system give the following error:
      - [CUENTA].[H1].[#X000] Parser: The following syntax error occurred during parsing: Invalid token, Line 1, Offset 15, [.
    My Account dimension (Cuenta) has 3 parent, and the formula introduces is:
    'Iif([Cuenta].[H1].[BLOQ_FASEC]<0.5 and [Cuenta].[H1].[BLOQ_FASEC]>-0.5,0,[Cuenta].[H1].[BLOQ_FASEC])
    We try another syntax
    'Iif([Cuenta].[BLOQ_FASEC]<0.5 and [Cuenta].[BLOQ_FASEC]>-0.5,0,[Cuenta].[BLOQ_FASEC])
    But same error persist.
    Could you have any idea?
    Thanks

    Can you check into dimension properties what is the size of FORMULA propertiy?
    Make sure is bigger than number of chars from your formula.
    Do you have multiple hierarchies for CUENTA?
    The formula which you mentioned it has to be into column: FORMULAH1.
    Also make sure that your formula doesn't have an end of line at the end. That can cause again problems.
    Regards
    Sorin Radulescu
    Edited by: Sorin Radulescu on Apr 22, 2010 11:03 AM

  • Syntax error on token "Enum", Identifier expected

    Hello,
    We are using the LinkType class(com.sapportals.wcm.repository.enum.LinkType) but at the import statement we get an error message: Syntax error on token "Enum", Identifier expected
    Configuration:
    JDK version: jdk1.5.0_17
    NWDS 7.1 SP7 CE
    import com.sapportals.wcm.repository.enum.LinkType;
    Has anyone experienced the same issue and found a workaround or solution?
    Regards,
    Edwin.

    Thanks, but that is not the problem... Unfortunately.
    The class we needed (linkType) is found in the KM API for NWDS 04, but this KM API is not available anymore in NWDS 7.1...
    So we will have to redesign the application and re-do the developments...
    Regards,
    Edwin.

  • Syntax error on token

    Hi, I am new to Java. I am getting a compiler error I am not able to resolve the error. Can somebody Please meout? Below is the error that I am getting.
    Syntax error on token "LinkedList", "interface", "class" expected.
    Below is the code snippet on which I am getting this error.
    public LinkedList getPolicyBaseRecordByPriorId(BigDecimal priorPolicyId) throws TFGSessionException {

    To put it another way:
    Your method definitions have to appear inside of classes. Unlike many other languages, Java does not allow for free-standing functions like that.

  • Syntax error (missing operator) in query expression works in sql

    Hi guys,
    I am having a problem with this query in Access 2007, it runs
    fine in MSSQL.
    I get this error when I run it.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error
    (missing operator) in query expression
    'tbl_skuoption_rel.optn_rel_Option_ID = tbl_skuoptions.option_ID
    INNER JOIN tbl_skus ON tbl_skuoption_rel.optn_rel_SKU_ID =
    tbl_skus.SKU_ID INNER JOIN tbl_products AS p ON
    tbl_skus.SKU_ProductID = p.product_ID'.

    Access may require parenthesis ( ) around the JOINs when
    joining more than two tables

  • Syntax error (missing operator) in query expression

    Hi all
    I am creating a couple of pages where a dynamic list is created from an access database and then products from that list are displayed, the user then has the option of clicking more details, this then should pass the KITID over to the details page, However when i click on the details page i get the following error
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'KitID = Kit 01'.
    /classicclocks/Kieninger_gallery.asp, line 21
    Here is the code from the page i am building, can anybody see anything obvious here
    strKitID = Request.QueryString("KitID")
    ' If KitID does not exist then redirect to Gallery page
    If strKitID = False Then
      Response.Redirect("kit_gallerytest.asp")
    End If
    ' SQL Query for specific KitID details only
    Dim objRS
    Set objRS = Server.CreateObject ("ADODB.Recordset")
    ' Open new objRS
      strSQL = "SELECT KitID,ImgKitCatalogue,KitDescriptionShort FROM tblMovements WHERE KitID = " & strKitID & " ORDER BY KitID"
      objRS.Open strSQL, MM_dbConn_STRING,,,adCmdTable
      ' Get all rows from table and asign values to array for use in form
      Do While Not(objRS.EOF)
      Images = True
      fsImagesArray = objRS.GetRows()
        Const arrKitID = 0
        Const arrImgKitCatalogue = 1
        Const arrKitDescriptionShort = 2
      Loop
    ' Close objConn and objRS
    objRS.Close
    strSQL = "SELECT * From tblMovements WHERE KitID = " & strKitID
    objRS.Open strSQL, MM_dbConn_STRING
    thanks
    John

    String values in a SQL where clause must be wrapped in quotes. Try this:
    strSQL = "SELECT KitID,ImgKitCatalogue,KitDescriptionShort FROM tblMovements WHERE KitID = '" & strKitID & "' ORDER BY KitID"

  • Syntax error before '@' token

    Hey all, uber noob here just starting out. Working with the Stephen Kochan book 'Programming in Objective-C', and having a problem compiling a sample program. I receive the error "syntax error before '@' token" when I try to build and run the following code. I'm sure it's something completely ridiculous, but I can't see it for the life of me and can't find anything on the interwebs.
    (The error is after the last import and before the @interface declaration.)
    Thanks in advance,
    ~Mark
    #import <stdio.h>
    #import <objc/Object.h>
    @interface Fraction: Object
    int numerator;
    int denominator;
    -(void) print;
    -(void) setNumerator: (int) n;
    -(void) setDenominator: (int) d;
    -(int) numerator;
    -(int) denominator;
    @end
    //-- @implementation section --
    @implementation Fraction;
    -(void) print
    printf(" %i/%i ", numerator,denominator);
    -(void) setNumerator: (int) n
    numerator = n;
    -(void) setDenominator: (int) d
    denominator = d;
    -(int) numerator
    return numerator;
    -(int) denominator
    return denominator;
    @end
    //-- program section --
    int main (int argc, const char * argv[])
    Fraction *myFraction = [[Fraction alloc] init];
    [myFraction setNumerator: 1];
    [myFraction setDenominator: 3];
    printf ("The value of myFraction is: %i/%i\n", [myFraction numerator], [myFraction denominator]);
    [myFraction free];
    return 0;
    }

    Ah, you are using the old edition of Kochan and some things have changed. The import statements should just be:
    #import <Foundation/Foundation.h>
    I recommend that you get the 2nd edition of the book. Although the hard copy hasn't been published yet it is available as a pdf from Safari Rough Cuts http://safari.informit.com/9780321605559 ).

  • Error: [SQLServer JDBC Driver]Syntax error at token 0, line 0 offset 0

    Hi:
    I´m working with system driver at de JDBC connection in VA. When a record is inserted/updated this error is display:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    The record is inserted/updated but when the operation ends the exception is throw.
    I Google the error but I didn´t find how to solve it.
    Any idea?
    Thanks a lot for your time on this post.
    Rocío.

    Hi,
    Rocío Lorena Suárez wrote:
    NWMss  SQLServer JDBC Driver  Syntax error at token 0, line 0 offset 0
    I think that you may be trying to construct an SQL query using some logic. Is that right?
    I hav encountered this problem when trying these types of code - If possible please debug the code and see if there is any particular case in which the SQL string in which the command is saved becomes null.
    When it is null or blank - the SQL Driver will throw such an error.
    Also, if you can elaborate more on the problem - I can give you some more help.
    Thanks.
    p256960

  • Office 365 API, error: The token has invalid value 'roles' for the claim type ''

    Hi guys,
    I am trying to develop a Daemon / Server application using the new Office 365 APIs. I have added a new application to Azure Active Directory. I am using cURL + the app ID and secret to get a JWT token, this is the exact request:
    curl -X POST https://login.windows.net/TENANT_KEY/oauth2/token \
    -F redirect_uri=http://spreadyDaemon \
    -F grant_type=client_credentials \
    -F resource=https://outlook.office365.com/ \
    -F client_id=XXXX \
    -F client_secret=XXXX=
     I get back a JWT however it has no scopes for access set here is the decoded JWT claims:
    "ver": "1.0",
    "aud": "https://outlook.office365.com/",
    "iss": "https://sts.windows.net/TENANT_KEY/",
    "oid": "17fa33ae-a0e9-4292-96ea-24ce8f11df21",
    "idp": "https://sts.windows.net/TENANT_KEY/",
    "appidacr": "1",
    "exp": 1415986833,
    "appid": "XXXX",
    "tid": "e625eb3f-ef77-4c02-8010-c591d78b6c5f",
    "iat": 1415982933,
    "nbf": 1415982933,
    "sub": "17fa33ae-a0e9-4292-96ea-24ce8f11df21"
    Therefore when I do a request to the exchange API endpoint I get the following response:
    HTTP/1.1 401 Unauthorized
    Cache-Control: private
    Server: Microsoft-IIS/8.0
    request-id: d08d01a8-7213-4a13-a598-08362b4dfa70
    Set-Cookie: ClientId=WDALDNO0CAIOOZDZWTA; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    X-CalculatedBETarget: am3pr01mb0662.eurprd01.prod.exchangelabs.com
    x-ms-diagnostics: 2000001;reason="The token has invalid value 'roles' for the claim type ''.";error_category="invalid_token"
    X-DiagInfo: AM3PR01MB0662
    X-BEServer: AM3PR01MB0662
    X-AspNet-Version: 4.0.30319
    Set-Cookie: exchangecookie=6bf68da033684824af21af3b0cdea6e3; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxoGaio2PjZvPztGPjZCb0ZqHnJeekZiak56djNGckJI=; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxg==; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    X-Powered-By: ASP.NET
    X-FEServer: DB4PR02CA0026
    WWW-Authenticate: Bearer client_id="00000002-0000-0ff1-ce00-000000000000", trusted_issuers="00000001-0000-0000-c000-000000000000@*", authorization_uri="https://login.windows.net/common/oauth2/authorize", error="invalid_token",Basic Realm="",Basic Realm=""
    Date: Fri, 14 Nov 2014 16:40:59 GMT
    Content-Length: 0
    I have asked a stack overflow question here: http://stackoverflow.com/questions/26950838/office-365-api-error-the-token-has-invalid-value-roles-for-the-claim-type
    Any help on the matter will be hugely appreciated, thanks!

    Hi Manu,
    To wrap this thread up; I have had an answer on stack overflow.
    It appears that currently the grant type client_credentials is not supported, according to a comment on this blog post by Matthias' http://blogs.msdn.com/b/exchangedev/archive/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-exchange-online-in-office-365.aspx 
    "There is no way in the code flow to avoid username/password. We're working on a client credential flow for later this fall that will give you the functionality required to run background services. For this you will not need a username/password,
    but the application will directly assert its identity and authenticate as itself."
    Unfortunately I require client_credentials for a daemon process, Q4 is the scheduled release for support for this grant time.
    Thanks for the help,
    Nick

  • MOF Syntax Error Installing SQL Server 2014 Express

    I am trying to install SQL Server 2014 Express With Tools on a fully updated Win 8.1 system having already installed Visual Studio Community 2013 with Update 4. During the installation of SQL Server, I am getting a "MOF Syntax Error".
    I found this http://support.microsoft.com/kb/2387686 on the web but I can't see that that applies to me as I would have thought that any suggested fixes from this article would have been already installed
    or corrected in Win 8.1 or SQL Server 2014. Neither do I know what fix I should install anyway.
    An entry on this forum suggested that running Winmgmt /salvagerepository command fixed the problem. I ran the command in the Command Prompt and a /verifyrepository said it was consistent. However, the error still occurred when I installed SQL Server.
    Can anyone help with this?

    Hi wagham,
    From your description, you encounter the error when installing SQL Server 2014 Express on Windows 8.1. For further analysis, please help to post the summary and detail logs which locate under 
    %ProgramFiles%\Microsoft SQL Server\120\Setup Bootstrap\Log. For more details about viewing SQL Server setup log files, you can refer to this
    article.
    Additionally, based on my research, “MOF Syntax Error” could be caused by various reasons, such as insufficient account permissions, corrupted .NET Framework and so on. There are some proposals for you installing SQL Server 2014 Express as follows.
    1. Make sure that the account you use to install SQL Server has admin rights. If you are using a domain administrator, please ensure that it is added to local administrator group.
    2. Make sure that you right-click the SQL Server setup file (setup.exe) and choose “Run as administrator” to complete the installation.
    3. Check that if the .NET Framework is corrupted on your system. You can verify the installation state of the .NET Framework via the
    .NET Framework Setup Verification Tool. If the .NET Framework is corrupted, please
    repair it using
    .NET Framework Repair Tool, then reinstall SQL Server.
    Here is a similar blog about “MOF Syntax Error” for your reference.
    http://sqlservertimes2.com/?p=641
    Thanks,
    Lydia Zhang

  • MDX query : Syntax error at token 'NONEMPTYMEMBER'

    Syntax error when executing this very simplified MDX query :
    WITH
    MEMBER [ANNEE].[YEAR1] AS
    NONEMPTYMEMBER FY10
    [FY10]
    MEMBER [ANNEE].[YEAR2] AS
    NONEMPTYMEMBER [FY10]
    [FY10]
    SELECT
    {[YEAR1],[YEAR2]} ON COLUMNS
    FROM [MICOPIGE.COM_MBU]
    Syntax error in input MDX query on line 9 at token 'NONEMPTYMEMBER'
    Note that line 9 "NONEMPTYMEMBER FY10" is a copy of line 4
    No error if I delete line 4
    Any help to understand and fix this error would be greatly appreciated.

    Precision : My goal is to reduce the 30mn duration of a complex MDX query with many calculated members, using the NONEMPTYMEMBER token.

  • Syntax error in context class

    Hi Experts,
    I have created a zclass ZL_BP_DATA_MARKETINGATTR5_CN00 keeping class CL_BP_DATA_MARKETINGATTR5_CN00 as super. Now when I am tryng to activate it, I am getting an syntax error "Type LCL_VALUEHELP_FOR_ATTR_SET is unknown". When I double click on it, it takes me to standard class CL_BP_DATA_MARKETINGATTR5_CN00.
    I have copied the private variables and all but still I am getting it.
    I have enhanced BP Data Marketting Attribute Search view in bsp component BSP_WD_CMPWD.
    Except the context class all other classes are getting converted into Z class. I want to redefine the get_v_attr_desc attribute method of the context class, can anybody tell me how to get the zclass instead of the standard context class in the basp component.
    Regards,
    Sangeeta.

    Hi ,
    I hope your issue is in making a context Class into Zclass..
    Go to the Corresponding Context Node .
    Right Click on the Context Node .
    Click Regenerate GET_I_Methods .
    Go back and Come again to the screen .
    you can find that the Context class is redefined.
    Regards,
    Sijo

  • Syntax Error in Test - Class Method

    Hello all,
    I've created a Class, and when I try to test one of the methods (from within SE24), I'm getting the following error:  "Syntax error in test.  Display generated test environment?" (When I say Yes, I'm taken to %_JJ_TESTFRAME_CLASS program)
    The strange thing is that the code passed the sytax check, and has been activated.   Additionally, there's no error logged in ST22. 
    Any ideas as to what might cause this?
    Thanks in advance,
    Lisa

    a@s,
    Thanks for the quick reply.  I do not have anything in either the Protected or Private sections.  Here's the definitions in my Public section:
    public section.
      types TYPE_V_CUST type STRING .
      types TYPE_V_ZIP type STRING .
      types TYPE_V_OFFICE type STRING .
      types TYPE_SHORT type STRING .
      types TYPE_LONG type STRING .
      types TYPE_BDCDATA type BDCDATA .
      types:
        type_table_bdcdata type TABLE OF type_bdcdata .
      types TYPE_V_STATUS_FOUND type STRING .
      types:
        begin of type_statab,
          city_state(30),                   " City/State
          store_location(20),               " Store # or Loc Name
          service_office(20),               " Office Name
          phoned_in_by(20),                 " Phoned/Reported by
          date_phoned_in(10),               " Date phoned in
          response_date(10),                " Response date
          notification type qmel-qmnum,     " Notification #
          po_number type viqmel-bstnk,      " PO number
          invoice_number(80),               " Invoice #
          invoice_amount type vbak-netwr,   " Inv Amt
          invoice_due_date type vbak-erdat, " Inv Due date
          aufnr type aufk-aufnr,            " Service Order #
          text_line type zlbbil_repairs-text_line1,
          END OF type_statab .
      types:
        type_table_statab type TABLE OF type_statab .
      class-data WA_BDCDATA type BDCDATA .
      class-data BDCDATA type TYPE_TABLE_BDCDATA .
      class-data WA_VIQMEL type VIQMEL .
      class-data WA_VBAK type VBAK .
      class-data WA_STATAB type TYPE_STATAB .
      class-data:
        statab TYPE TABLE OF type_statab .
      class-methods CREATE_NOTIF
        importing
          !V_ZIP type TYPE_V_ZIP
          !V_CUST type TYPE_V_CUST
          !V_OFFICE type TYPE_V_OFFICE
          !V_SHORT_TEXT type TYPE_SHORT
          !V_LONG_TEXT type TYPE_LONG
        exporting
          !V_NOTIF_FMT type BAPI2080_NOTHDRE-NOTIF_NO .
      class-methods FILL_BDC_DYNPRO
        importing
          !PROGRAM type BDCDATA-PROGRAM
          !DYNPRO type BDCDATA-DYNPRO .
      class-methods FILL_BDC_FIELD
        importing
          !FNAM type BDCDATA-FNAM
          !FVAL type BDCDATA-FVAL .
      class-methods EMAIL_NOTIF_OFF
        importing
          !V_NOTIF_FMT type BAPI2080_NOTHDRE-NOTIF_NO .
      class-methods EMAIL_NOTIF_CUST
        importing
          !V_NOTIF_FMT type BAPI2080_NOTHDRE-NOTIF_NO
          !V_EMAIL type STRING .
      class-methods GET_NOTIF_STATUS
        importing
          !V_NOTIF type BAPI2080_NOTHDRE-NOTIF_NO
        exporting
          !V_STATUS_FOUND type TYPE_V_STATUS_FOUND .
      class-methods GET_REPAIRS_DONE
        importing
          !WA_VIQMEL type VIQMEL
        changing
          !STATAB type TYPE_TABLE_STATAB
          !WA_STATAB type TYPE_STATAB .
    Anything jump out?

  • Small Syntax error on token

    Hey everyone. Im trying to debug my program and it is giving me a syntax error.
    if (Me >0 )
                    System.out.println(Spot[0]);
                else if(Total < 50)
                    System.out.println(Spot[0] );
                else if(Total >= 50 && <= 100) //syntax error at the <= sign
                    System.out.println(Spot[0]  + "Good Job");That is a segment of my code, and it gives me the same error for the same <= sign for a few lines after that as well. Because the "else if " continues on with some other values.
    Any Ideas?

    > else if(Total >= 50 && <= 100) //syntax error at the <= signThat's a shorthand notation which is not available in Java. You just have
    to spell it out like this:else if(Total >= 50 && Total <= 100)kind regards,
    Jos

  • Syntax error in Zcontext class

    Hi,
    I have enhanced Marketting Attribute Search view of BP_DATA component using tcode BSP_WD_CMPWB.
    I have re-generated the get-I methods to get a Zcontext class but the Zclass is showing an error:
    ' Type LCL_VALUEHELP_FOR_ATTR_SET is unknown.'
    I see that this is a local class in the parent class CL_BP_DATA_MARKETINGATTR5_CN00 and it is properly referred as well in the parent class. There are a couple of private attributes in CL_BP_DATA_MARKETINGATTR5_CN00 which are referring to this local class but I have not declared them in the Zclass but still the error is coming.
    Please let me know how to solve this.
    Regards,
    Sangeeta.

    Hi Sangeeta,
    Check for the method "IF_BSP_MODEL~INIT" System should have redefined this method to your Z class if you have added a new attribute to a Context node. If not then just click on redefine and system will take care of the code.
    Try to find what errer message you are getting when you do the syntex check of your class. That message will also help.
    Thanks,
    Vikash.

Maybe you are looking for

  • Re: what is difference between sap locking and database locking

    hi,     what is difference between sap locking and database locking. Iam locked the table mara by using lock objects. But iam unable to unlock the mara table. I give u the coding. Please check it. REPORT zlock . CALL FUNCTION 'ENQUEUE_EZTEST3' EXPORT

  • Is there a bug in iTunes 8.2.1 for windows

    I ask this question for the following reasons: 1. iTunes, after about the 6th time installed on my Windows Machine. It had failed to install in earlier attempts. ( I should have left well enough alone.) 2. I should have known some thing was wrong bec

  • BPEL sensor update to BAM: unknown runtime exception

    Hi, In my proyect I have a BPEL with several sensors that first insert a data object in BAM 10.1.3.3, and later update it with process stats. In a BAM Report I could see the inserted Data Object, but when I am expecting the update information it only

  • Attachments taking a long time to download

    Hi, I wonder if anyone is experiencing the same problem. I've just got my iphone 4 and have noticed that when I download an attachment in mail it seems to be taking a long time to download. This is compared to my old 3g which downloaded them ten time

  • Revolve 810 and behavior of the arrow keys with Ctrl + Alt

    The behavior the left and right arrow key, in combination with Ctrl and Alt, is to modify the screen orientation. (Which can be help because the Revolve is easily confused.) However, I want to disable this behavior because I use those key combination