Re: Execute Procedure with i/o parameters from ABAP
Hi Jasmin, I Tried with 3 Single quotes , still the same. Referring to example ADBC_DEMO_PROC_CALLS_HDB , there are no example with 1 Input Parameter and 2 Output Parameter. I tried using SET_PARAM...
View ArticleRe: Execute Procedure with i/o parameters from ABAP
I am not sure whether the problem is caused by the varchar data type instead of nvarchar. In my system the following code snippet works: DATA(lv_param) = '''Abc'''. DATA(lv_sql) = |CALL...
View ArticleHow to write the if condition on the AMDP in HANA
Hello Experts, i have to check condition for two fields in AMDP , currently i have written the select query in amdp then i used a abap program to calculate the if condition and display the value in...
View ArticleRe: How to write the if condition on the AMDP in HANA
Hi Ganesh, you can have a look at method AMDP_GET_BP_CLASSIFICATION in Class CL_EPM_OIA_BP_CLASSIFY_AMDP (should be available in 740 SP5). Alternatively, you might want to use a CASE statement (see...
View ArticleRe: How to write the if condition on the AMDP in HANA
Hi, Simply you can use case statement. For ref. Useful SQL in CASE WHEN you need it -Amol S
View ArticleRe: Execute Procedure with i/o parameters from ABAP
Hi , I changed the type from Varchar to Nvarchar and I tried in SQL Console , I get the result. Below code is still giving me error " expression cannot be used as an assignment target:NULL:line 1...
View ArticleRe: Execute Procedure with i/o parameters from ABAP
Wouldn't it be worth a try to use AMDP instad of ADBC, i.e. encapsulating the call of the native stored procedure inside an AMDP method? Syntax of the native SQL statements is checked better there. See...
View ArticleRe: How to write the if condition on the AMDP in HANA
Thank you Jasmin and amol .. i will check the conditions and let you know..
View ArticleAbap for HANA - Write view results on application server
Hello, I have a business request in which i have to gather database information, present it in ALV form and also write the result as a file on the application server. I have used before CDS view and...
View ArticlePass results of view into internal table - Write on application server
Hello all, I would like to know if there is any way to pass the results of a cds view i created into an internal table after the user inputs parameters as selection criteria. I need to be able to write...
View ArticleRe: Pass results of view into internal table - Write on application server
Hi Illas, Well, as per my understanding you have to save data on application server. Just go through keywords OPEN DATASET, TRANSFER, DELETE, CLOSE DATASET. This is pure and frequently asked abap...
View ArticleRe: Abap for HANA - Write view results on application server
Hi , I think this is same question which one you have posted previously on same space. Pass results of view into internal table - Write on application server -Amol S
View ArticleRe: Pass results of view into internal table - Write on application server
Hello, You are right, i want to do this on HANA platform though. When the view is generated then can i use open dataset etc for the same reason as plain abap???
View ArticleRe: How ABAP report can recognize if SAP HANA is underlying database?
Exactly, SY-DBSYS does the trick. One can use RFC_SYSTEM_INFO to check the DB via RFC. The value we are interested in is RFCSI_EXPORT-RFCDBSYS = HDB. cheers Otto
View ArticleRe: Execute Procedure with i/o parameters from ABAP
Hi,there are too many single quotes now: both at lv_num-definition and at lv_sql-definition the actual value is wrapped by single quotes.
View ArticleRe: How ABAP report can recognize if SAP HANA is underlying database?
Maybe you are interested in SAP HANA as the underlying database because you want to use one of its features. Then the class CL_ABAP_DBFEATURES should be used to check whether a particular feature is...
View ArticleSQL Monitor & SWLT release level
Hi All, Our current production system is on 7.00. We will enable it for SQLM by a kernel patch (SAP Note 1824769).SWLT will be running on 7.40. Is it possible to import SQLM results from 7.00 into...
View ArticleRe: SQL Monitor & SWLT release level
Dear Edmond, yes, this is possible.To achieve this, a snapshot of the monitored SQL data has to be created and then exported from the production system.Afterwards, the SQL Monitor snapshot has to be...
View ArticleRe: Pass results of view into internal table - Write on application server
Hi, I think not possible. Regards,-Amol S You can create wrapper program to display CDS data at a same time you can download.
View ArticleRe: SQL Monitor & SWLT release level
Dear Carine, Thanks a lot for your reply and the links to the documents!!! Kind RegardsEdmond Paulussen
View Article