Quantcast
Channel: SCN: Message List - ABAP for SAP HANA
Viewing all 2110 articles
Browse latest View live

Re: Open SQL access to DAYDATE field

$
0
0

Hi Jasmin,

 

thank you for your reply.

In our system we have all date field for all replicated tables converted to this format DAYDATE (and BSEG too). It is a fait accompli, that I can not do anything.

Can you talk me in which version of ABAP it will be possible? Or may be you know release date for this version?

 

Best regards, Alexey.


Re: Concat function or equivalent for CDS view?

$
0
0

Hi Jasmin,

yes, CDS View in the ON condition of a JOIN.

 

Untitled.jpg

 

and the error is "this function or expression ('CONCAT') is not supported at this point". I opened the problems view but can't see a message number.

 

thanks,

Malcolm.

Re: Concat function or equivalent for CDS view?

$
0
0

Hi Malcolm,

 

to see the message ID, you'd have to click in the problems view on the "drop down" icon. There you can select "Configure Columns..." and move "ID" from the "Hidden" to "Shown" columns.

 

But comming to your issue. The CONCAT function is not allowed or let's say supported at that position. You can use a view on view as a workaround, i.e. a intermediat view "z_intermed_view" having the CONCAT('S', a.mc_short ) as prefixed_with_s in the projection list and then do a left outer join to z_intermed_view with prefixed_with_s in the ON condition.

 

Best,
  Jasmin

Why the ATC message "DB Operation SELECT for ... found" is a problem ?

$
0
0

I´m analysing the ATC report and have a doubt about the Check Message: "DB Operation SELECT for ... found."

 

The code is:

 

" SELECT <columnA> <columnB> FROM <table>

            INTO CORRESPONDING FIELDS OF TABLE <ti_table>

            FOR ALL ENTRIES IN <another_ti_table>

            WHERE <where clause>."

           

Whats the problem with code above? Why ATC marks it as a problem?

 

Thanks!       

Re: Why the ATC message "DB Operation SELECT for ... found" is a problem ?

$
0
0

Hi Fernanado,

I assume you executed the global inspection PERFORMANCE_DB on the coding, right? In my system, this is classified as a WARNING, rather than an ERROR, but that might differ in your system. I been asking that question myself, when I first saw that ATC result.

 

To my understanding, the message for that test using the variant PERFORMANCE_DB itself is of minor importance. The inspection is important for later usage and analysis of coding with the transaction SWLT (the SQL Performance Tuning Worklist). The inspection searches for DB operations in your coding which is later needed for SWLT to get the source code position of the DB operations.

 

More information on SWLT see SQL Performance Tuning Worklist - SQL Performance Monitoring - SAP Library.

 

Best,
  Jasmin

ABAP INFOSETS IN SAP HANA

$
0
0

Hi Friends,

 

In one of my project, need to create views based on Infosets created in ABAP after migration from ECC to HANA. Let me know the possibility and if so, how make it happening this scenario?

 

 

 

 

Thanks,

Prasad GVK.

Re: Concat function or equivalent for CDS view?

$
0
0

thanks Jasmin. That worked well.

Re: Why the ATC message "DB Operation SELECT for ... found" is a problem ?


Re: ABAP INFOSETS IN SAP HANA

$
0
0

Hi Prasad,
you need to be more precise on what you want to do. ECC is a software (e.g. SAP ERP 6.0 – SAP Help Portal Page) and HANA is a database. So I assume, you migrated from "another" database to SAP HANA, right? Yet, I don't understand why or if you have lost any information that previously existed.
What kind of views do you like to create in ABAP? External views? Native HANA database views? Dictionary views?

 

If you have dedicated ECC questions, you might want to move this discussion to another forum: http://scn.sap.com/community/erp?

 

Cheers,
  Jasmin

HANA Fuzzy Search in ABAP

$
0
0

Hi you all,

 

we are starting with text searches in HANA, and 'in' HANA it all works fine.

Is it correct that this option is not yet available in Open SQL, neither directly in ABAP, nor in CDS-views? I don't find any direct clues in the documentation.

So, to be able to use it, we need to use native SQL (e.g. with ADBC)?

 

Thanks for any reaction.

Regards.

Kris

Re: HANA Fuzzy Search in ABAP

cl_shdb_seltab not available in system

$
0
0

Hello,

 

I am trying to create select statement using class 'cl_shdb_seltab' but it is not available in the system.

Please help in finding reason.

 

Thanks,

Manish

Re: cl_shdb_seltab not available in system

$
0
0

Hi Manish,
which SAP_BASIS release is in your system?
And please check if SAP Note 2124672 is applied to your system (if applicable).
Cheers,
  Jasmin

Re: cl_shdb_seltab not available in system

$
0
0

Thanks Jasmin. That was quick. It resolved the issue.

 

Manish

How to do native development on a HANA system

$
0
0

Hello,

 

I have access to HANA system and I am able to connect to it in eclipse and develop ABAP related objects. Now, I want to do native development in eclipse on this HANA system but I am not sure from where should I start? What are the settings which I should ask my basis people to do or which components we need to have to make this possible.

 

Please help me in getting started.

 

Thanks,

Manish


Re: How to do native development on a HANA system

$
0
0

Hi Manish,

what do you mean by 'eclipse' ? For HANA native development the (eclipse-based) SAP-HANA-Studio is required.

(... and you need a DB-user with development authorizations.)

Regards, Christian

Re: How to do native development on a HANA system

$
0
0

Hi Manish,
really depends on what you'd like to do. Do you want to do native development like creating HANA column views and database procedures? Or do you rather want to go "the ABAP way", i.e. Code-Pushdown?
If it's the letter, you might want to try the E2E Guide (Brand-new ABAP 7.4 for SAP HANA End to End Development Guide with Latest ABAP 7.4 SP5 Features).

Comprehensive tutorials can be found in ABAP for SAP HANA Reference Scenario

including Guides, Tutorials, Videos, etc.

 

Cheers,
  Jasmin

 

 

 

 


Re: How to do native development on a HANA system

$
0
0

Hi Jasmin,

 

Thanks for the reply. Second scenario is working fine. I want to check for native development like creating HANA column views and database procedures. Is HANA developer studio mandatory for that or that can be done in SAP HANA development perspective in Eclipse?

 

If HANA developer studio is mandatory, can you please guide on from where to download it and what settings required?

 

Thanks,

Manish

Re: How to do native development on a HANA system

$
0
0

Hi Manish,
the HANA developer perspective is fine. You get all necessary tools from SAP Development Tools for Eclipse.
But as Christian mentioned, you'll need a DB user in the system which you have to request from your system administrators.
Cheers,
  Jasmin

Re: Open SQL access to DAYDATE field

$
0
0

Hi Alexey,
I don't know about such a requirement (but that doesn't mean it does not exists... I just don't know about it), so I don't have any release information when such a feature will / might be available.

 

My question is, why have BSEG fields been converted to that data type??

 

Cheers,
  Jasmin

Viewing all 2110 articles
Browse latest View live