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

Optional parameters on CDS Views?

As far as I can tell (as I cannot find reference to it anywhere), it's not possible to define an optional parameter for a CDS view. Is that correct? Thanks.

View Article


Re: Optional parameters on CDS Views?

Hello Malcolm, no, optional parameters are not possible (at the moment). To each input parameter an actual parameter must be assigned. Please take a look to paragraph "Notes" in online help ABAP...

View Article


Re: Optional parameters on CDS Views?

I just spotted that in the help at the same time as your reply came in! Thanks Florian.  I'm just wondering what the alternative is now. Would it be to put it in the projection list instead and then...

View Article

Re: Optional parameters on CDS Views?

Hi Malcolm, I'd say, that depends... e.g. if you are using aggregations in the view. But I'd say it's a good workaround if applicable, so I understand instead of passing a filter value to the view in...

View Article

Re: *** ERROR => Connect to database failed, rc=1, rcSQL=10 SQLERRTEXT :...

It's really easy. Once you have changed the user password via Hana Studio, you must update the info at userstore via hdbuserstore like this: /usr/sap/<SID>/hdbclient/hdbuserstore SET DEFAULT...

View Article


Re: CDS - Date calculation

There are functions likedats_is_validdats_days_betweendats_add_daysdats_add_monthsIf they are not available yet in your current SP-release then there is no workaround as date-time calculations are very...

View Article

Re: Re : Open Sql query with case statement.

Hi Raghunadh, What is the declaration of lt_result. Regards, Fernando Da Rós

View Article

Re: Re : Open Sql query with case statement.

Hi Raghunadh,which SAP_BASIS release and which Kernel (including patch level) are you working on?Cheers,  Jasmin

View Article


Re: Re : Open Sql query with case statement.

Hi Jasmin, I am currently working on  the below system.SAP_BASIS     740       0008     SAPKB74008DB client lib.         : DB6_81DB releases          : DB6 09.07.*, DB6 09.08.*, DB6 10.*DBSL version...

View Article


Re: Re : Open Sql query with case statement.

Hi Fernando, In the new open sql select statements doesn't require declarations for creating the internal tables. i followed the syntax which is explained by jasmin in open sap videos. Please find the...

View Article

HANA ALV with IDA - Standard GUI Toolbar

Hi, I need to add standard toolbar buttons like ABC analysis, Export, etc. in HANA ALV with IDA. It seems we can add custom buttons as per the below link. but could not add standard buttons. UI...

View Article

Re: Re : Open Sql query with case statement.

Short comment: I showed it, but it is best explained by the ABAP language help. You can also find information on that feature in the "Inline declaration" section of...

View Article

Re: Re : Open Sql query with case statement.

Hi Raghunadh,SAP note 2127182 tackles that issue.Cheers,  Jasmin

View Article


Re: Re : Open Sql query with case statement.

Hi Raghunadh Kodali,This is a kernel bug. I wrote SAP note  2127182 for this purpose. For 742, it is corrected in PL 111. Best regards,Kilian.

View Article

Re: Re : Open Sql query with case statement.

Thank you all.

View Article


Re: HANA ALV with IDA - Standard GUI Toolbar

Hi Priti,I used the below code to enable / disable the standard toolbar buttons in alv with integrated data access.Please find the below code.   OBJ_ALV_DATA = cl_salv_gui_table_ida=>create(...

View Article

Re: HANA ALV with IDA - Standard GUI Toolbar

Thanks for the reply. I have gone through this code given above. we need standard ALV toolbar button e.g. ABC analysis, export, sum, graph etc. we can achieve this via normal ALV. please refer below...

View Article


CAST in a UNION ALL

I'm using a UNION ALL in a CDS View but I'm having trouble matching up one of the fields in the projection list between the Select's. In the first Select, I have this:   case     when offer_level = '2'...

View Article

Re: CAST in a UNION ALL

Hi Malcolm,will answer with a question: Which datatype do you expect as a result for the count(*) operation?a) character?b) integer? Yet, the question is, which constant value you'd like to use in the...

View Article

Re: CAST in a UNION ALL

Hi Jasmin,if I look at the view in R3 (I'm not sure how else I can find out), the count(*) is creating an integer for the field. That's fine by me. I just want a blank value in the second branch which...

View Article
Browsing all 2110 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>