SAP HANA XSODATA service (Service exception: column store error.)

Hi all,
i have a problem with my calculation view using xsodata service on it. (There's an input parameter called P
_SWERK)
In my calculation view, the data origin are two analytic views (on which the input parameter P_SWERK should be filter data at beginning of the sql script code).
First i read the analytic views with function CE_OLAP_VIEW and after i do a CE_PROJECTION function on them using the input parameter P_SWERK like a filter on field SWERK.
But when i run my application on browser the following error occurs :
<message xml:lang="en-US">Service exception: column store error.</message>
The link is this :
http://host:port/Project_DM/services/Test/TEST_ZIIG_PDM_CALC_VIEW_FINAL_service.xsodata/PianiDiManutenzioneParameters(P_SWERK='CO05')/Results
The service definition is :
service {
"EricssonItalgas/TEST_ZIIG_PDM_VIEW_FINAL.calculationview" as "PianiDiManutenzione" keys generate local "ID"
parameters via entity;
The SAP HANA AWS revision is 60.
Someone could you help me,please?
Thanks in advance.
Dario.

Hi Dario,
Does the calculation view work without xsodata service? From the URL, your XS project name should be Project_DM, but from the xsodata source, the project name is EricssonItalgas. I'm confused with this. Did you use rewrite_rules or?
Best regards,
Wenjun

Similar Messages

  • Column store errors during runtime

    Hi,
    I created a HANA instance in the trial landscape and directed my application to use the HANA instance schema. Over time, I get errors:
    SAP DBTech JDBC: [2048]: column store error: search table error: [29] attribute not defined for physical index;internal error: attribute 'NEO_29J91OPIP2IAEWXFUZRHT093R:CA_EV_VENUEen/PK_EVENT_VENUE_ID' not found in indexInfoMap
    I'm using the HANA instance instead of the default schema created from the application because I need to run spatial queries, which is currently only available in the HANA instance.
    Does anyone know what's wrong?

    Additional errors from the HCP logs:
    javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [2048]: column store error: search table error:  [10000008] exception 10000008:
    ims_search_api/Delta/impl/DeserializerContext.cpp:2099
    Failed to write data into NEO_95BOXA4K094KH5V4JNKE5KDPZ:CA_EV_VENUE$delta_1$en: Attribute engine failed(6900); $function$=writeDataIntoDelta
    Error Code: 2048
    Call: SELECT PK_EVENT_VENUE_ID, ADDRESS, DESCRIPTION, EMAIL, EXTERNAL_ID, FAX, LATITUDE, LONGITUDE, NAME, PHONE, WEBSITE, FK_EVENT_DATA_PROVIDER_ID FROM CA_EV_VENUE WHERE ((FK_EVENT_DATA_PROVIDER_ID = ?) AND (EXTERNAL_ID = ?))
      bind => [2 parameters bound]
    Query: ReadAllQuery(name="EventVenue.findByProvider" referenceClass=EventVenue sql="SELECT PK_EVENT_VENUE_ID, ADDRESS, DESCRIPTION, EMAIL, EXTERNAL_ID, FAX, LATITUDE, LONGITUDE, NAME, PHONE, WEBSITE, FK_EVENT_DATA_PROVIDER_ID FROM CA_EV_VENUE WHERE ((FK_EVENT_DATA_PROVIDER_ID = ?) AND (EXTERNAL_ID = ?))")
    The table CA_EV_VENUE contains spatial column and only this table is "failing". Other tables doesn't contain spatial columns are fine.
    I'm trying to get HANA DB traces from the HCP team and was wondering which traces will be helpful for the HANA team.

  • Error in running a query in XSJS - column store error: [2950] user is not authorized :  at ptime/session/dist/RemoteQueryExecution.cc:1354]

    Hi All,
    I get the below error when i load my xsjs file in browser,
    Error while executing query: [dberror(PreparedStatement.executeQuery): 2048 - column store error: column store error: [2950] user is not authorized : at ptime/session/dist/RemoteQueryExecution.cc:1354]
    I am able to execute the same query in  HANA SQL editor
    Please note that ,No Analytical privileges are applied to the view.
    Could you please help solving this issue.
    Regards,
    Logesh Kumar.

    Hay,
    are you using the same Database user for both SQL Editor and XSJS ?
    try the following.
    Before executing the query , display it and copy the same from browser and execute in SQL editor.
    Put the statement in  a try catch block and analyse the exception .
    Sreehari

  • Query doesn't work in APD, Error: column store error: fail to create scenario: [340 2048

    Hi Experts,
    We got a problem here.
    We have a query ran without any problems in RSRT. But when I try to put it as data sources(infoprovider) in APD.
    I got following error:
    column store error: fail to create scenario: [340 2048
    We are in BW731006 & ABAP731006.
    Any advise?
    Thanks in advance!
    Tengran

    Hi,
    Can you check this part in error mentioned by clicking as highlighted in red box. It will give you a correct idea about the issue ::
    Also share the detailed error with us as well.
    Best Regards,
    Arpit

  • SAP HANA XSODATA - rewrite_rules (Vanity URL)

    Hello
    Is there a option to shorten the xsodata url using rewrite_rules or by other means ?
    Thanks.

    No,
    Either from the calling client or in the URL, you need to specify the format.
    Sreehari

  • SAP HANA Spatial Features (Store Error)

    I've been stumbling with an the folowing error : "Error: SAP DBTech JDBC: [2048]: column store error: search table error: " over and over again. Every time I add a spatial column to a table it becomes unsuable (can't query, edit, add, update) so I have to delete the whole table and repopulate it, which is really annoying. Sometimes it doesn't happen right away, sometimes it works just fine at first but after a few minutes or hours the table just stops "working". It has happened several times with different tables.
    If anyone can tell me why is that happening or how to solve it I would be very grateful.
    I'm using Hana Version 1.00.74.00.390550.
    Thanks in advance.

    Hi Dario,
    Does the calculation view work without xsodata service? From the URL, your XS project name should be Project_DM, but from the xsodata source, the project name is EricssonItalgas. I'm confused with this. Did you use rewrite_rules or?
    Best regards,
    Wenjun

  • What is HANA extended Application services and what is its use ?

    Hi,
    What is SAP HANA extended application services and what is the use of it under Development Perspective ?.
    Regards
    Pavneet Rana

    Hi Pavneet,
    Here are two more links which you can find some new features like HDBDD, Outbound Connectivity, Job Scheduling, etc..
    SAP HANA SPS6 - Various New Developer Features
    SAP HANA SPS07 - Various New Developer Features
    Best regards,
    Wenjun

  • Import failed when Import a SBO Database in SAP Hana

    Hi all,
    When I try to import a SBO database Rev 69 to SAP Hana with Rev 74, I receive this error:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30151] Object not found in the import directory;object=SBOCOMMON:ETL_Sen
    I guess that the error not have relationship with different Revs. I imported another DB with this Rev and this work.
    The import was done in 2 ways:
    Script:
    IMPORT DATABASE."*" FROM '<directory>' WITH REPLACE
    Click right in Database, Import, select directory, select tables, import...
    Does anyone know what can be or the solution??
    Thanks
    Best regards
    Marcos Taira

    Hello Marcos.
    You could check this note.
    1981315 - HANA import fails with error "not found in the import directory"
    Regards.
    Mario.

  • 'Function in SAP HANA is currently not possible' error message at KE91 transaction

    System details:
         HANA Server - SPS7
        and  IDES ECC 6.0 EhP 6
    Background:
    Trying to implement  ERP Profitability Analysis accelerator for SAP HANA. We completed the configurations successfully as per the RDS building block guide
    V29 – ERP Finance and Controlling Accelerator with SAP HANA General Configuration and  VD1 – ERP profitability Analysis Accelerator with SAP HANA Configuration
    We could also see the tables (with data) replicated to HANA via HANA Studio.
    And all the statuses at tcode KEHC shows as green.
    Issue Description: When we try to test the Accelerated Transactions like KE91 kind of drill down reports
    Execute.I get the following pop-up. So, here Since I need to get data from HANA I select NO button
    Surprisingly I get the following error message.
    We have tried with other Accelerated transactions like KEU5,KEUB.But I get the same pop-up msg, and get the same error msg at status bar .
    Any help in this would be very helpful.

    Hi Kenny,
    Sorry for my late reply
    Here is the snapshot of SM21 system log
    I realized, this join path 'JP01' error msg I am getting even when running column views at HANA SQL editor.
    Could not execute 'select VRGAR, sum(vv010001) from "ERPTRI_800"."CE2CE4IDEA_HDB" group by vrgar' in 386 ms 128 µs . SAP DBTech JDBC: [2048]: column store error: search table error:  [2920] invalid schema: found inconsistent join path  "jp01" for viewattribute "MANDT" with fact table "ERPTRI_800:CE4IDEA" on olap index; for cube ERPTRI_800:CE2CE4IDEA_HDB
    Actually, All these Column Views and its underlying tables are got created from the given RDS solution only. Not sure why is this errorgetting triggered.IS this kind of bug in RDS solution?!!
    Regards
    Lokesh

  • Rank Function taking a long time to execute in SAP HANA

    Hi All,
    I have a couple of reports with rank function which is timing out/ or taking a really long time to execute, Is there any way to get the result in less time when rank functions are involved?
    the following is a sample of how the Query looks,
    SQL 1:
    select      a.column1,
                    b.column1,
                    rank () over(partition by a.column1 order by sum(b.column2) asc)
    from         "_SYS_BIC"."Analyticview1"         b
                    join          "Table1"            a
                      on          (a.column2 = b.column3)
    group by  a.column1,
    b.column1;
    SQL 2:
    select    a.column1,
                    b.column1,
                    rank () over( order by min(b.column1) asc) WJXBFS1
    from         "_SYS_BIC"."Analytic view2"         b
                    cross join                "Table 2"               a
    where      (a.column2  like '%a%'
    and b.column1  between 100 and 200)
    group by  a.column1,
                    b.column1
    when I visualize the execution plan,the rank function is the one taking up a longer time frame. so I executed the same SQL without the rank() or partition or order by(only with Sum() in SQL1 and Min() in SQL 2) even that took a around an hour to get the result.
    1.Does anyone have an any idea to make these queries to execute faster?
    2. Does the latency have anything to do with the rank function or could it be size of the result set?
    3. is there any workaround to implement these rank function/partition inside the Analytic view itself? if yes, will this make it give the result faster?
    Thank you for your help!!
    -Gayathri

    Krishna,
    I tried both of them, Graphical and CE function,
    It is also taking a long time to execute
    Graphical view giving me the following error after 2 hr and 36 minutes
    Could not execute 'SELECT ORDER_ID,ITEM_ID,RANK from "_SYS_BIC"."EMMAPERF/ORDER_FACT_HANA_CV" group by ...' in 2:36:23.411 hours .
    SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] executor: plan operation failed
    CE function - I aborted after 40 mins
    Do you know the syntax to declare local variable to use in CE function?

  • SAP HANA CEI Segmentation error

    Hi All,
    in ADT-> Segmentation-> define aliases for SAP HANA DATA source , i am getting following error .
    my HANA schema name is HANADEMO and table name is  ZTAB
    i am specifying the path as HANADEMO/ZTAB and getting following error .
    please guide me to trouble shoot the same.
    error : Alias ZAT_CUST: data source view hanademo/ZTAB does not exist
    Thanks ,
    SWAPNIL GHARAT

    In HANA Studio, is your package named in lower case? Please check.

  • 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error

    Hello ,
    I am facing an error in communication channel while trying to post the file to the FTP server,
    The error is " Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '10.100.5.00:20'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error'. For details, contact your FTP server vendor"
    Please could you advice what need to be done to resolve this.
    Thanks ,
    Siva

    Hi ,
    FTP 501 Error is: "Syntax error in parameters or arguments"
    Also, i see that the ftp address and port mentioned in your case is:
    10.100.5.00:20
    Hence, i see three probable issues here.
    1. FTP Port :
    Just check if the FTP server's port number '20' mentioned in your case is open as this is the data connection port. Moreover, the default port mentioned while creating a file channel is 21. Just check about the port number '20' with the FTP server administrator if this port number is opened and functioning.
    2. FTP server address:
    Also, try giving your FTP Server's address as 10.100.5.0
    3. Also, check if the FTP server is reachable from the PI Server by using a simple ping command.

  • SAP HANA as a data source for Analysis Services

    I tried to use SAP's .net provider for HANA as a data source for an Analysis Services cube but to no avail.   I can connect, create a named query and preview data from the data source view designer but when SSAS actually tries to run the query,
    it wraps the named query in another query and produces a syntax error.  
    For example,  if the named query is "select * from ENTHANA.MARA", 
    SSAS sends a query like this "SELECT [test].* FROM (select * from ENTHANA.MARA) AS [test]"   (Test is the name of the named query).
    I know SSAS wraps queries and that's fine - except that brackets are not a valid way to quote an identifier in HANA.  HANA uses double quotes like Oracle. 
    Is there any setting in SSAS that can affect this behavior?   Will HANA ever be a fully supported data source for SSAS?  If so, when?

    Hi David,
    According to your description, you are creating a SQL Server Analysis Services project, now what you want is using SAP HANA as the data source, right?
    SSAS support many type of data source. However, as you can see on the link below, SAP HANA data source was not listed on that link. So this type of data source is not supported in current version of SSAS. Microsoft will update that document when it is supported.
    http://msdn.microsoft.com/en-IN/library/ms175608.aspx
    Thank you for your understanding.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Com.sap.engine.services.dbpool.exceptions.BaseResourceException:

    Hi
    Jcontrol.exe is stopped. I checked in server0 log file. 
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection:
    Caused by: com.ibm.db2.jcc.b.DisconnectException: [ibm][db2][jcc][t4][2043][11550] Exception java.net.ConnectException: Error opening socket to server
    Caused by: java.net.ConnectException: Connection refused: connectCommunication API being used: SOCKETS.  Location where the error was detected: T4Agent.sendRequest().
    Communication function detecting the error: OutputStream.flush().  Protocol specific error codes Software caused connection abort: socket write error, *, 0.  Message: Software caused connection abort: socket write error
    com.sap.caf.eu.gp.mail.cf.core.exceptionhandling.MailCFExceptionHandler.throwMailCFRuntimeException(MailCFExceptionHandler.java:92)
    #1.5 #0022198E9491001F000000130000390C00046999A2B0692D#1242008487314#com.sap.jms##com.sap.jms####n/a##6e72d7203dd211decd7d0022198e9491#SAPEngine_System_Thread[impl:5]_90##0#0#Error#1#/System/Server#Plain#JMSServerContainer.onServiceJoin##Configuration problem occurred while accessing JMS configuration resources.#
    #1.5 #0022198E9491008E000000010000390C00046999A5B43D17#1242008537907#com.sap.sql.jdbc.direct.DirectPreparedStatement##com.sap.sql.jdbc.direct.DirectPreparedStatement#Guest#0##n/a##8c9ab8303dd211de99680022198e9491#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/Database/sql/jdbc/direct#Java#com.sap.sql_0003##SQL error occurred on connection apsgdc01hwebd:BPE:SAPBPEDB: code=-4,499, state="null", message="[ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
    Communication API being used: SOCKETS.  Location where the error was detected: T4Agent.sendRequest().
    Communication function detecting the error: OutputStream.flush().  Protocol specific error codes Software caused connection abort: socket write error, *, 0.  Message: Software caused connection abort: socket write error";
    SQL statement is "SELECT "RESEND_INFO_UUID","SENT_MAIL_UUID","RI_START_TIME","RI_DELAY" FROM "CAF_GP_RESEND_INFO" ORDER BY 4".
    [EXCEPTION]
    #6#-4499#<null>#[ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
    Communication API being used: SOCKETS.  Location where the error was detected: T4Agent.sendRequest().
    Communication function detecting the error: OutputStream.flush().  Protocol specific error codes Software caused connection abort: socket write error, *, 0.  Message: Software caused connection abort: socket write error#apsgdc01hwebd:BPE:SAPBPEDB#SELECT "RESEND_INFO_UUID","SENT_MAIL_UUID","RI_START_TIME","RI_DELAY" FROM "CAF_GP_RESEND_INFO" ORDER BY 4#com.ibm.db2.jcc.b.DisconnectException: [ibm][db2][jcc][t4][2030][11211] A communication error has been detected. Communication protocol being used: TCP/IP.
    Communication API being used: SOCKETS.  Location where the error was detected: T4Agent.sendRequest().
    Communication function detecting the error: OutputStream.flush().  Protocol specific error codes Software caused connection abort: socket write error, *, 0.  Message: Software caused connection abort: socket write error
    Regards
    Rao

    Hi, Please let me know if you managed to solve the problem.. We are facing the same issue
    Regards
    PN

  • How to use Alias name in OData service in SAP HANA

    Hi,
         I need to change one column name with alias of another name in odata service definition or odata url running in rest client. I am trying to give alias name with as key in the service definition like sql query.
    ex:
    There is one table with column name of PRODUCT_ID. I exporting that table via odata service to SAP UI. In the UI i dont want the product id column as PRODUCT_ID. It should be ike "Prodcut". Like we are using in SQL example
    select "PRODUCT_ID" as "Product" from "producttab";
    But i can't use as key for alias name. So i am getting syntax error.
    I have tried in rest client also ie executing odata file in rest based service. But i got error only.
    If anyone knows about this alias name in odata service, Please help me to resolve this issue..

    Hi Thomas
         Thanks for your reply.
         Actually in odata service definition i am using attribute and calculation views only. But in some case from the model view itself i need to use some alias names to the UI through odata service.
         For example in attribute view i have some columns with name col1,col2... I am getting those columns in UI using  odata service, for particular col2 column i need to change column name as product. And i am using the same view as source of another odata service in that service i need to change that column name as productname.
         In that case i need alias name usage. So that only i am searching alias keyword in odata service.
         Is there any possibility to use alias names in odata service.

Maybe you are looking for

  • Restore OS X Lion

    After some error and not sure how it occured I needed to restore my system using my time capsule, BUT after 7 hours it stated that " an error had occured and halted" so I tried to re install the whole lot OS X Lion again but upon getting to the login

  • Availability check  for Alternate items

    Hi PP Guys, In the BOM alternative item group has been maintained with the parameters of Priority, Strategy "2" language probability 100%. Alternative item group with the strategy " 2 ", it will check for full required quantity of the 1st priority it

  • Simple boolean switch question

    I'm quite new at using structures (while loops, etc) in LabVIEW, so here's a very oversimplified question (hypothetical, but I think will help me understand what I'm doing). I have 2 on/off boolean switches, each one controls 2 identical LEDs which d

  • How do I fix desktop expanded beyond screen boundaries?

    Since I upgraded to Mountain Lion, the desktop on my iMac has expanded beyond the boundary of the screen, so that I can't see the entire desktop at once.  About two inches in each dimension is always off one side and the bottom or top. I have the 20-

  • Ap-manager not communicating with network

    I have a 4400 LAN controller where the ap-manager port is on the same subnet and VLAN as the management port but I cannot ping the ap-manager IP nor will the LWAP associate to it. What could be my problem?