Anyone know if a ABAP CDS View on a S4/Hana System run at the same engine of a Calculation View of HANA?
In other words ABAP CDS View (on S4/HANA) is equal to Calculation View in Hana?
Thank you.
They are separate things. You need some modifications to convert them to each other. Find a good blog post about the concepts here.
Related
I need an answer or better an explanation between SQL (Open/Native), CDS and AMDP.
I understand that in order to follow the rules of SAP and push the code down in DB HANA we must use CDS or/and AMDP. I have thought that if we still use only SQL Queries is the old way with which we use the Code in AS. I have read some articles or I have seen some videos in the internet and they have confused me.
Can someone explain me which is the best way for following the PUSH DOWN the CODE in HANA?
- Use of SQL queries Open or Native what it is?
- Use of CDS or AMDP are PUSH DOWN CODE technique for Hana.
Thanks
“Code push down” means that you execute the expensive main part of your computations in the database, not in the application code (= ABAP). How exactly you do that is related only indirectly.
For example, instead of SELECTing from two database tables and then mixing up rows in the ABAP code, pushing down means you run a JOIN in the database. This reduces the number of round trips with the database, exploits the columnar characteristics of SAP HANA, and benefits from other code-near-the-data effects, such as reduced amount of data that needs to be transported to the upper layer.
Whether you implement that as an OpenSQL query, a classical database view, a CDS view, or inside an AMDP, is not the main question. We found that resorting to simple OpenSQL queries on CDS views is the optimal choice for standard cases. When things get more complicated, my answer to this other question may give some more guidance when to use what.
Disclaimer: although I am working for SAP, there are many other opinions on the topic and some may look at this differently, so kindly do not understand this as a reliable official guidance that fits everything.
Note that code push down is not a silver bullet that fixes everything. In scenarios with many parallel consumers, pushing down large operations may clog up the database for the other users, such that you need to resort to different patterns, or find ways to limit resource consumption.
I am trying to create analytical charts in SAP. I have read that we can create analytical charts in Fiori and CDS views. Which of the two would be a better approach?
In your question you write: "… Which of the two would be a better approach?"
There might be a misunderstanding and simply put:
With CDS views you retrieve the data from the backend and with Fiori you display these data at the frontend.
These blogs might be helpful for understanding the concept:
ABAP CDS Views and Reporting Tools
Smart charts in a SAP Fiori Object Page using ABAP CDS views and annotations
Create an Analytical List Page using ABAP CDS views and annotations
For displaying charts, you might also want to look into the official docu.
while understanding CDS views,I've come across something like 'meta-model' could anyone please explain me what does it mean?
Thanks in advance.
Not an official term.
Guess you're refering to its usage in the article ABAP Core Data Services – Introduction (ABAP CDS view)?
The article uses the term "meta model" to refer to annotations in CDS views. Annotations describe the meaning, application, and properties of entities, fields, and associations in CDS views.
For example, an annotation might say that an association joins a text for a code field or that a field should be used for fuzzy search.
While the select and calculations in the CDS view tell you how to produce the actual data (= the model), the annotations tell you how to interpret that data (= the meta model).
Here comes a simple question but hard to find its answer.
Is there an ABAP Workbench (also known by the transaction code SE80 in SAP R/3) in SAP Business One 2007?
The workbench should be open and not just for SAP use. I would like to know if it's possible to create custom ABAP programs in this SAP solution.
It's not hard to find the answer at all if you bother searching. There is no ABAP Workbench in B1 because B1 is not built on top of the NetWeaver/ABAP stack.
SAP Business One is not built on NetWeaver platform, so there will be no way you can have an ABAP application server. Also, for your information, SBO is not a R/3 Structure .About the technical part in SBO, it has a SQL database and you can only write SQL queries to retrieve data and generate reports. There is a query generator to help you write queries. To conclude, data processing in SBO is very limited comparing to ABAP.
You need to use either .NET/Java for customising or developing screens in SAP Business One.
It doesn't have any relation with ABAP and there are no transaction codes in SAP Business One.
About the technical part in SBO, it has a SQL database and you can only write SQL queries to retrieve data and generate reports. There is a query generator to help you write queries. To conclude, data processing in SBO is very limited comparing to ABAP.
But once you have the data you can do whatever you want with it, for e.g the now native Crystal Report rutime in SBO...Also it has a a pretty rich and mature COM-based SDK for putting data in as well, the DI API (as well as the DI Server which is XML-based). I create solutions for SBO with these all the time in my job...
I have a project where the PERIOD columns defined in the SQL2011 spec are the perfect solution. Unfortunately, I am forced to use MSSQL 2008R2 (or possibly MSSQL 2012) as my database, which does not support this feature.
Is there any proprietary feature that resembles the PERIOD features in SQL2011 currently in MSSQL? If not, any advice for the best way to try to implement something resembling it?
Take a look at Anchor Modelling. I know it's not exactly what you're looking for, (a PERIOD equivalent) but databases implemented as an Anchor model can include bi-temporal aspects. The generated SQL code when exporting the model primarily supports MS SQL. Oracle is available too but a lot of work when into optimizing the schema, trigger and view SQL code for MS SQL. Maybe it'll help, maybe you can see how they implemented bi-temporal data in a way that works really well with MS SQL.