Persistent objects - base table syntax error

I've created a persistent object for a ztable, then the customer has asked me to change the counter field from numc 3 to numc 5, and also remove a field  I've done this, and activated and adjusted the table in SE14.
Now, in SE24, I've gone in and adjusted the persistence mapping.  When I activate the persistent class, I now get a syntax error in the base class, because it's still referring to components of the old table structure.
When we change the structure of the underlying table, do we have to delete and recreate the persistence classes?  Is there a "repair" option?
( It seems it would be useful to have a tool that would generate a basic persistent class directly from a table ).
matt

Hi Matt,
There is no repair option.  As far as I'm aware the persistence class builder function doesn't recognise changes to data types unfortunately.  In similar circumstances I've solved the problem by deleting and recreating the class.  It's not ideal but at least it's a quick process.
Regards,
Steve.

Similar Messages

  • Could not persist object with token:re00100000b7f6e12d419f(Error: INF)

    Post Author: saravanan rangaraj
    CA Forum: Migration to XI R2
    Hi everybody,
             I'm getting error, 'could not persist object with token:re00100000b7f6e12d419f(Error: INF)'  while refreshing reports in infoview. If I logoff and logon it's working fine. The error repeats everytime after refreshing 3-5 reports.Can anybody say why it happens?

    Post Author: saravanan rangaraj
    CA Forum: Migration to XI R2
    Hi everybody,
             I'm getting error, 'could not persist object with token:re00100000b7f6e12d419f(Error: INF)'  while refreshing reports in infoview. If I logoff and logon it's working fine. The error repeats everytime after refreshing 3-5 reports.Can anybody say why it happens?

  • Translation table syntax error

    While trying to install oracle 815se on
    Red Hat 6.1, the ./runInst.sh script
    barfs copiously like this:
    Warning: translation table syntax error: Unknown keysym name: osfCancel
    Warning: ... found while parsing ':<Key>osfCancel: ManagerParentCancel()'
    Warning: translation table syntax error: Unknown keysym name: osfSelect
    Warning: ... found while parsing ':<Key>osfSelect: ManagerGadgetSelect()'
    SIGSEGV 11* segmentation violation
    stackbase=0xbffff600, stackpointer=0xbffff228
    and then the installer just dies - I never even get to see a window: Anyone have any idea what might be causing this? It seems
    vaguely AWT related, but I'm far from an expert on java...

    Well, I finally figured it out:
    the 815 installer needs files from the Xfree86 rpm to be installed, otherwise it falls over, so even on a headless server, you have to install X. [and not just the clients]
    The actual command I had to issue was:
    rpm --force -i XFree86-3.3.5-3.i386.rpm
    Because rpm was complaining about locale.alias clashing with files from the glibc-2.1 package.

  • REG: base table/view error

    Hi,
    I am trying the execute my interface last week and it was running fine but when i try to execute i am getting the following error. can any one tell me what is the cause.
    0 : : org.netezza.util.PSQLException: ERROR: Base table/view 'xxxxx' attr 'MILES_DRIVEN' has changed (precision); rebuild view 'xxxx'
    Thanks,
    GA

    Hi Srinivas...
      I restricted the view with following selection condition.
    JEST INACT NE 'X'.
    After that i get like that 2 records.
    Example:
    EQUNR ESTAT AEDAT STSMA
    000000001000000798 E0005 25.03.2004 ZE_00002
    000000001000000798 E0007 30.06.2007 ZE_00002
    But for that Equip number if i select the OBJNR and check the STATUS in JEST i have only one active record
    050 IE000000001000000798 E0005 001
    Actually then in the output u should get only record as said by you since u are getting one status value for objnr .....
    Actually in our case for a particular objnr we got 6 status values out of these two status values are inactive... so we are left with 4 active status values we took thee four values and checked in text table and we got four values and in this there is one no display so we finally got three values....for a order...
    we need to loop over the particular order and store all the status values into a single field ...
    this cant be achieved directly through a view i gueesss we need to go for function module...
    i has to implement this and i will gett back to you once it is done.....
    regards
    vamsi

  • Using Formula in Pages Table (Syntax error)

    I thought this would be simple, but I get a syntax error:
    My Table
    Date Start Date End Bytes Redo Rate (Mbps)
    20/06/2010 11:00:00 PM 21/06/2010 03:00:00 AM 850,648,576 0
    21/06/2010 11:00:00 PM 22/06/2010 03:00:00 AM 561,487,360 0.4456
    22/06/2010 11:00:00 PM 23/06/2010 03:00:00 AM 486,454,784 0.3860
    23/06/2010 11:00:00 PM 24/06/2010 03:00:00 AM 1,239,929,344 0.9840
    24/06/2010 11:00:00 PM 25/06/2010 03:00:00 AM 1,365,600,256 1.0838
    In the Redo Rate column I want a simple formula: ((C2/0.7)*8)/1000000
    The current value in the last column I hand calculated, but the 0 (zero) is where the formula is supposed to be.
    I enter it using Formula Editor as: =((C2 / 0.7) * 8) / 1000000 -- and there is the syntax error...
    Can someone please help me... this was supposed to be simple...
    Using Page '09
    Thanks in advance for your attention and replies.
    Andries

    Here it behaves flawlessly.
    I inserted the Bytes values without the thousands separators then applied the separators.
    I'm running a French system so I can't test the behaviour of the English format.
    I'm not sure that you are allowed to enter the commas by yourself.
    Check if the cells are deciphered as Numbers.
    I guess that they are treated as text.
    Yvan KOENIG (VALLAURIS, France) mercredi 30 juin 2010 14:06:38

  • Problems when trying to replace the base table of an own Business Object

    Dear experts,
    some time ago we created two own (not inherited) Business Ojects for use
    in workflow scenarios. Now we came into the situation that for organizational
    reasons we wanted to exchange the base tables of both the objects.
    The fields and keys in the new tables are all the same than in the old ones,
    basically just the table names have changed.
    The frustrating result of trying to do so are two inconsitent Business objects
    that cannot be activated/generated any more with several errors that I cannot
    get rid off.
    Does anybody have experience with this kind of change in a BO ?
    Am I trying that in vain ? Do I have to create them both entirely new?
    Please help.
    Thanks in advance
    Andreas Flügel

    Hi Mike,
    thanks for the prompt answer.
    The first error is a syntax error concerning the unexpected end of a statement
    with "LIKE". It occurred in the following generated sourcecode-section after
    the generation and  it is generated this way again and again (I already tried
    to complete it manually according to the way it was before):
    BEGIN_DATA OBJECT. " Do not change.. DATA is generated
    " end of private,
      BEGIN OF KEY,
          JOURNALNUMBER LIKE /HOAG/P_DATJOURN-JOURNALNR,
      END OF KEY,
          _ LIKE.
    END_DATA OBJECT. " Do not change.. DATA is generated
    The second error points to the table name in the statement
    get_table_property /hoag/p_datjourn.
    saying "The table name /hoag/p_datjourn is implemented but not defined".
    The third error comes up with a popup (again and again and again) saying
    "The table is not implemented yet. Do you want a sourcecode sample to be
    created for the missing part?". I've alread answered that with "Yes" for a
    couple of times without anything being changed.
    Thanks
    Andreas
    P.S.: the messages may actually read a bit different in english because I just
    translated them myself from german but I hope you know them well enough to
    know what the system wants from me.

  • DB connectivi​ty toolkit: syntax error in a SELECT data from joined tables

    Hello everyone
    I'm trying to put in labview an SQL query on joined tables.
    As example I take a DB for storing the data of 2on2 basketball games, whose tables are
    matches(matchId,teamA,teamB)
    teams(teamId,PlayerAname,PlayerBname,Nationality)
    nationalities(NatId,natName)
    To get a result table with the match number and the player names along with their nationality I use this query on MySQL (which works on the command line interface)
    SELECT MatchID,
                     t1.PlayerAName, t1.PlayerBName, n1.natName,
                     t2.PlayerAName, t2.PlayerBName, n2.natName
    FROM matches m
    INNER JOIN teams t1 ON t1.teamID = m.teamA
    INNER JOIN teams t2 ON t2.teamID = m.teamB
    INNER JOIN nationalities n1 ON n1.natID = t1.nationality
    INNER JOIN nationalities n2 ON n2.natID = t2.nationality
    When I put it in labview, using the "select data" block, I get a syntax error as shown in the attached screenshot.
    Am I mistanking something in using the JOIN statements, or the aliases?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    select2dabone.vi ‏12 KB

    Giovasa wrote:
    I do't like very much the chain of blocks execute query+n*(fetch element)+free object, so I try to avoid that as much that I can...
    Sounds like a prime candidate for a subVI. You don't have to use it every time, but it probably would help for cases where you do want to put the SQL query directly in code.
    Incidentally, if you're doing joins, you might consider using views, as that allows you to hide the details of the interactions of the tables in the DB itself.
    Try to take over the world!

  • Syntax Error in Object Dependancy in Class

    Hi All,
    We are working out bacth specific unit opf measurement in steel industry.
    The base unit of measure in Tonne. The batch specific UOM is Pieces.
    We want system to calculate the batch speific UOM from the production order quantity which is tonnes.
    For this we have defined following charactsristics in class which is assigned to materilals,
    1. PIECES- Number of pieces in batch
    2. SECTIONWEIGHT- This is the fixed value for every material the unit is KG/M i.e. Kilogarm per meter
    3. Z_LENGTH- Length of the material which is order specific
    4. WEIGHT- Batch weight which is nothing but the production order quantity in Tonnes.
    We are defining the following formula to calculate the number of pieces in object dependancy in 'Procedure',
    $SELF.'PIECES'=$SELF.'WEIGHT'1000$SELF.'Z_LENGTH'/$SELF.'SECTIONWEIGHT'.
    While consistency check that is whether the formula is correct or not, system throwing me an error, 'Syntax error in simple action/procedure'
    Kindly help to resolve this and also give input to handle the above scenario.
    SmanS

    Dhaval,
    Thank you.
    I correcetd the error with your solution.
    The syntax error has been resolved.
    Could you please guide me further for resolving the main issue.
    Let me explain you the scenario in details.
    Client manufactures stell angle.
    The base UOM is Tonnes.
    It is having following dimensions,
    Width, Thikness, height, Length.
    We have created material codes with the combination of width, thikness & height.
    Length would be part of classification as one of the characteristics.
    Beside length the other characteristics are PIECES, Z_LENGTH & SECTIONWEIGHT.
    My requirement is whenever the production order is created for specific quantity, say 5 tonnes, the pieces should be calculated automatically in the batch classification.
    Also after GR when the batch comes into stock, it should get updated if the batch quantity in tonnes changes throughout the logistics chain.
    How to incorporate this as it is hampering the process a lot.
    I feel you could help me to solve this.
    SmanS

  • SE16: Syntax error in program "/1BCDWB/DB table name "

    Hello experts,
    I am facing one problem with SE16 transaction code. I am getting a dump saying 'Syntax error in program "/1BCDWB/DB<Z table name> ". SE16 is giving dump only for few Z tables and not for all.
    We have created another transaction code ZZSE16 which resembles SE16 but with few authorizations.
    I am getting similar dump with ZZSE16 also. But this time for all tables Z tables and standard tables.
    It was working fine until yesterday. No code has been changed to the technical objects involved.
    The dump says :
    The following syntax error occurred in program "/1BCDWB/DB<table name> " in
    include "/1BCDWB/DB<table name> " in
    line 1060:
    "The field "%_ENQU_<table name>" is unknown.
    This is occurring in so many boxes with different landscapes.
    In some boxes it is working fine. The program "/1BCDWB/DB<table name> " has no field starting with %_ENQU. Instead at line 1060 the field is %_K<table name> which was defined.
    Can anybody please help me in solving this? Thanks in advance.
    Thanks & Regards,
    Paddu.

    Paddu,
    Please try these:
    Try to activate your Ztable from SE11. Of course you may see that the table is in active state, but still try to activate it.
    While activating the table if you get a pop-up saying "Display activation errors and warnings" (the message may be not exactly same) the click on No button.
    Now go to transaction SE14 (Database utility), provide table name and press enter
    Select Processing type as Direct, choose radio button Save data and click on "Activate and adjust database" button.
    You will get a pop-up with message "Request: Adjust". Click Yes button.
    Once it is completed, you can try opening the table in SE16.
    I hope this helps.
    Regards,
    Venkat

  • Syntax error when creating a user-defined table type in SQL Server 2012

    Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
    CREATE TYPE ReportsTableType AS TABLE 
    ( reportId INT
    , questionId INT
    , questionOrder INT );
    Results:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'AS'.

    Hope these posts could help, 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
    Regards, Dineshkumar,
    Please Mark as Answer if my post answers your question and
    Vote as Helpful if it helps you

  • BODS 4.2 Cannot import the metadata table, RFC_ABAP_INSTALL_AND_RUN syntax error

    Hi all, we installed BODS 4.2 server to substitute a 4.1, but we are facing the error:
    Error: Cannot import the metadata table <name=T001>
    RFC CallReceive error <Function /BODS/RFC_ABAP_INSTALL_AND_RUN: RFC_ABAP_RUNTIME_FAILURE -(Exception Key: Syntax error in program /BODS/SAPLBODS....
    We already tried the solution for when people get the error related to unicode.
    Also, we are able to pull data via extractors, it only fails when loading Tables....
    Any help is greatly appreciated.

    Dear,
    You will have to import the new ABAP Function Group "BODS/BODS".
    Here are some details:
    Installing Functions on the SAP Server
    SAP BusinessObjects Data Services provides functions that support the use of the ABAP, BAPI, and
    IDoc interfaces on SAP servers. You will need some or all of these functions in the normal operation
    of the software in an SAP environment. These functions perform such operations as dynamically loading
    and executing ABAP programs from Data Services, efficiently running preloaded ABAP programs,
    allowing for seamless metadata browsing and importing from SAP servers, and reporting the status of
    running jobs. Some of these functions read data from SAP NetWeaver BW sources.
    You must upload the provided functions to your SAP server in a production environment. It is
    recommended that you always upload the functions to your SAP server whether you are in a
    development, test, or production environment. The functions provide seamless integration between
    Data Services and SAP servers.
    The default installation places two function module files for SAP servers in the ...\Data
    Services\Admin\R3_Functions\transport directory. You then upload these files to SAP servers
    using the SAP Correction and Transport System (CTS) or manually. Using CTS allows for version
    control as the functions evolve across releases.
    The installation provides two versions of transport files (depending on the server version you are using)
    to install the functions on the SAP server. To obtain the names of the latest transport files for installing
    or upgrading these SAP server functions, see the readme.txt file
    And I've found those files and text files in the local install folder....in:
    Program Files\SAP BusinessObjects\Data Services\admin\R3_Functions
    (that's where I've installed it).
    There you'll find some descriptive txt as how to proceed.
    After installing, it might happen that the executing user is missing some authorizations.
    Here my authorizations team helped me by tracing the user and then adding the necessary rights.
    Sure hope this will help you.

  • Throwing error using view objects in Table

    Hi,
    I am making use of 2 different view objects to assign column values for table region.
    it is throwing me error that particular attribute is not defined.
    cann't we use two different view objects in table?
    - Mithun

    No, this is not possible. Table component is used for tabular representation of data derived from the contents of a single view instance. Also, you cannot have two tables in the same page with the same view instance unless this is read-only view.

  • Syntax Error with Table Parameter (type: ANY) when Creating Function Module

    Hello experts,
    I want to create a function module with a table parameter and table type is ANY. But when I check (Ctrl+F7) this function module, syntax error occurs - "In this statement, the internal table "MSG_TABLE_ITEM" must have the type "STANDARD TABLE"."
    Could anyone tell me what the wrong is? And how can I fix it?
    Thanks,
    Shelwin

    Hi,
    For table parameters, you can only pass
    MSG_TABLE_ITM   TYPE STANDARD TABLE
    or
    MSG_TABLE_ITM  ( don't fill other columns TYPING ASSOCIATED TYPE  ).
    For reference check FM 'GUI_UPLOAD' - Table parameters
    Regards,
    DPM

  • Errors occurred during extraction of UD Connect object field- table not fou

    Hi,
    In BI 7.0 system I can't select any UD Connect source object on the "Extraction" tab page of  the DataSource maitenance screen. If I type the table name (which is "UDITEST") into it and then hit the "Proposal" tab page, I get the following error:
    Errors occurred during extraction of UD Connect object field-list: Errors occurred during extraction of UD Connect object field-list: UDCADAPTERROR::RSSDK|200|Table: uditest not found|
    Message no. RSDS_ACCESS036
    Analysis:
    1) We have tested the BI JDBC Connector using the URL:
    http://xxxabcdev03:50000/TestJDBC_Web/TestJDBCPage.jsp
    We got the list of tables displayed (UDITEST table is also displayed)=> connector is configured properly.
    2) When we are trying to configure the Source system in rsa1->modelling->source systems-> UD connect -> create,
    a) RFC Destination: We are using an RFC Connection that is already in place of type 'T'   between the J2EE engine and BI ABAP engine. We tested this connection from SM59 -> TCP/IP connections and it is working fine.
    How do we test whether the RFC between J2EE engine and BI ABAP engine is a 2 way RFC connection?
    b) Logical System Name: We have manually typed in free text 'UDC_local'. Could you please clarify do we need to type in manually or select the logical system name from the F4 help?
    Which logical system name should we enter here exactly.. pls clarify.
    Do we have a seperate logical system name for the J2EE server...?
    c) Type of Connector : JDBC
    d) name of connector: SDK_JDBC
    e) Source system name: SDK_JDBC
    f) Type and Release : blank
    Thanks to any answers in advance!
    Best regards,
    Syam

    Hi,
    Tried to give the Logical System Name in uppercase ie: UDC_LOCAL.
    Now, when I click on the F4 of 'UD Connect Source Object' in Extraction tab, I get the message as below:
    "Extraction of existing UD Connect data source objects".
    But no list of tables is being displayed. When I entered the table name (UDITEST) manually, it gives the same error as :
    " Errors occurred during extraction of UD Connect object field- table not found"...
    Could you please specify from where is the UD Conenct source object fetched from?
    Rgds
    Syam

  • Non DB item in a base table block, gives frm-40202 error.

    Dear All,
    We are using forms6i as a front end. To simulate the error, consider the following example.
    1.Create a multirecord emp block.
    2.Add a non database item in the base table block.
    3.Assign any value to the non database item, in the when new record instance trigger.
    4.When i say F7 or F8, my block asking me like, field must be entered. Which means, my record status changed to Insert. But there is no change in base table record, since i modified only in the non base table item.
    Please validate, whether i am doing anything wrong in my technique.
    Regards,
    Balaji

    If you have a value to be used as the default value then you can use "Initial Value" property in the item level for the Non Database Item. If you do this it wont give you any problem during the query. If you create a new record then the value which you have put as the default will come automatically.

Maybe you are looking for

  • Interest calculation

    Hi I hv configured the interest calculation as shown below 1.Define interest calculation type (item interest calculation) 2.Define number ranges for interest forms(for xxxx company code) 3.Prepare Interest on Arrears Calculation(selected open and all

  • I cannot log into my account to create a pdf from a word file. keeps telling me error.

    I paid for the service and have yet be able to use it. Keeps telling me error.

  • Validation on which currency can be posted

    Hi Friends Currently we have company code US01 with cocode currency being USD. 1. If I want GL account 11000 to manage in USD which means that this GL account can be posted to not only in USD but also in other currency, mean person can post in CAD, E

  • How can i get access to a TABLE IN A TEXTOBJECT

    Hello, i want to edit the textobject1 on an existing report file. In DIAdem 8 the script was for example:     call GraphObjopen("textobject1")       call TxtBufOpen          TxtBufFont="Arial"         TxtBufFontSize=10         call TxtBufNextLine    

  • Faxing adobe pdf forms using actions in CRM service process

    Hi experts, Does anybody has experience in sending adobe PDF forms as a fax using actions in CRM service processes? Currently I use this by implementing a PPF BAdI, but what else configuration, software and hardware requirements I need to make faxing