Re: Secondary database connections in AMDP
Hi Kilian/Keane, Thank you for sharing valuable info.... But still I'm struggling with AMDPs when Call Database Procedure(SAP Database).I want to call Database in my AMDP. Could you please provide...
View ArticleRe: Call HANA Procedure via AMDP
Hi Experts, Still I'm struggling with AMDP Call Database Procedure(SAP Database).I want to Call Database in my AMDP. Could you please provide me sample end to end code. Thanks in Advance... Regards,Siva R
View ArticleRe: Supported Version of CDS Views in Sybase db
Hi Venkatesh, CDS views with input parameters are not supported on Sybase with SAP NetWeaver AS ABAP 7.4. But starting with AS ABAP 7.5, they are supported on all SAP-certified databases (i.e. incl....
View ArticleConcatenation output
Hi, I am creating a CDS view. I am concatenating two fields from a table "LFA1"The fields are:lifnr(supplier id)[TYPE: CHAR : LENGTH:10]&name1(supplier name)[TYPE: CHAR : LENGTH:35] So when I...
View ArticleRe: Concatenation output
Hi, is the function LTRIM available in your system ?LTRIM( Vendor.lifnr, '0' ) is what you are looking for.Regards, Christian
View ArticleRe: Concatenation output
Additional Info:The string function LTRIM is available as of AS ABAP 7.5:http://help.sap.com/abapdocu_750/en/index.htm?file=abennews-750-abap_cds.htm --> Expressions and Functions
View ArticleIntent Based Navigation in CDS
Hi,I'm creating a CDS view, where I need to add some hyperlinks which navigate the user to different factsheets. I'm using intent based navigation. The code snippet is: @Consumption.semanticObject:...
View ArticleOther then ABAP, can CDS consumed by others reporting tools? e.g Bobj, Lumira
Dear Expert, Other then ABAP, can CDS (core data services) consumed by other reporting tools? e.g Bobj, Lumira or HANA modeling join with other hana view. I googled but can't find any. Thank you.
View ArticleCheck for problematic SELECT * using Code Inspector
Hi, I'm currently reading the course HA400 "ABAP Programming for SAP HANA" and I have an inclear issue concerning the problematic SELECT * statement using the Code Inspector. In the Exam Sample for...
View ArticleHANA Session Lifecycle
Hi Experts, When calling HANA procedure from ABAP from within a function module, what's the life-cycle of the HANA session? Say I created a local temporary table in my HANA procedure. I have a select...
View ArticleConsuming a hana view with parameters and binding of variables
Hello all, with adbc it is possible to bind input variables to sql statements: ...Data: lv_werks TYPE WERKS_D. * Bind input variables GET REFERENCE OF lv_werks INTO dref....
View ArticleRe: HANA Session Lifecycle
I did some further analysis and I found something really interesting. Here is what I did using an ABAP program and executing native SQL: EXEC SQL. CREATE LOCAL TEMPORARY TABLE #my_global_temp_table (...
View ArticleABAP CDS View with dynamic table specification
Hello, Just wondering if dynamic table specification is possible with CDS view? My requirement is to represent the below in a CDS view- parameters: p_region type char5. SELECT table_name FROM...
View ArticleRe: ABAP CDS View with dynamic table specification
Hello Ajith, within a CDS view declaration the names must be specified. No dynamic placeholders can be used. Regards,Florian
View ArticleRe: ABAP CDS View with dynamic table specification
Hi Florian, Thanks for the clarification. Is there any other way to achieve this (AMDP etc) ? Thanks,Ajith
View ArticleRe: ABAP CDS View with dynamic table specification
Hello Ajith, within SQLScript you can use dynamic sql (e.g. EXEC command). But you should avoid this because of different reasons, for instance SQL injection vulnerability, decreased performance ......
View ArticleFiltered association in ABAP CDS
Hi colleagues, is it possible to access attributes of the projection list in an association, so that the hard coded value is replaced by the value in "WorkflowPhase"?The syntax check allows that, but...
View Article