Does the SAP B1 Service Layer require HANA backend? - sapb1

In the available documentation about the Service Layer I have read, that there is a requirement to run a HANA backend, if the Service Layer is to be used. This info can be found e.g. here:
https://help.sap.com/doc/0d2533ad95ba4ad7a702e83570a21c32/9.3/en-US/Working_with_SAP_Business_One_Service_Layer.pdf (the document is labelled for SAP HANA as well, I am not finding one without such a descriptor)
However in a different StackOverflow question I have seen a similar comment, referring to the HANA requirement, which was later crossed out:
The Business One installer has an option to install an SDK component. This contains a CHM format help file containing information on DI-API, DI-Server and UI-API (but not Service Layer which is for Hana version only) as well as database schema.
There is however no further explanation as to why. So my question then is:
Does the Service Layer for SAP B1 require a HANA backend or is that not a valid requirement (anymore)?

From This Document regarding features and upgrades for SAP b1 Version 10
https://help.sap.com/doc/1e149715909a4d8ea8920df5513eb64c/10.0/en-US/SAP_Business_One_10.0_Highlights.pdf
on page 5 under Platform | Extensibility it says:
Service Layer Enable for Microsoft SQL Server
There is also an Updated Version of the Document you posted, which contains multiple examples for Microsoft Sql Server.
Working with SAP Business One Service Layer
version 1.23:
https://help.sap.com/doc/6ab840ef2e8140f3af9eeb7d8fef9f06/10.0/en-US/Working_with_SAP_Business_One_Service_Layer.pdf
so HANA is no longer a requirement.

Related

ER Modelling tool for schema generation in SAP HANA

Is there any good ER Modelling tool available for SAP HANA , which accomplishes the following :
Creation of ER Diagrams
Generating HANA specific SQL Scripts
Connecting to HANA DB Instance
Generating all schema objects modelled
TIA
There are two tools from SAP:
SAP (Sybase) Powerdesigner, also supporting different other DBs, e.g. for reverse engineering. With Powerdesigner you can model conceptual, logical, physical Data models and also generate a HANA DB schema in different ways, e.g. by generating scripts containing "create..." statements or CDS files.
Then there is the Enterprise Architecture Designer which can be installed as addon in HANA XS advanced starting with HANA 2.0. This tool is quite new and I have not worked with it yet.
There are probably also tools from other vendors.
The Web IDE for SAP HANA that was delivered with XS Advanced in SAP HANA 2.0 SP01 sounds like what you are looking for as it has a graphical editor to create and link database entities (this is what it looks like):
Core Data Services graphical editor Web IDE for SAP HANA
With XS Advanced, the model is container-based and schema-less.
Here are a couple of links if you would like to try it out:
Getting started with XS Advanced (in the HDI step, right click on any of the .hdbcds files and you will have the option to open it in the graphical editor): https://www.sap.com/developer/groups/hana-xsa-get-started.html
If you need to integrate a database schema from XS Classic or, for example, an ERP replicated schema, you can search for xsa-create-user-provided-anonymous-service in the same site
As for "HANA-specific SQL scripts", it depends on what you are trying to do. If you want to access data in an optimized way and perform calculations, you can use Calculation Views, which are built graphically and the DB will do the equivalent to SQL under the hood. There are some tutorials in the developer[dot]sap[dot]com website, under the Developer->tutorial menu.
If you do not have a HANA instance to try this and/or EA designer you can download your own HANA instance for free:
Download SAP HANA, express edition (you will need the XS Advanced tooling that includes the Web IDE for SAP HANA): sap[dot]com/developer/topics/sap-hana-express.html
If your computer does not have enough resources to comfortably host your HANA instance, there's a blog on how to install it in a cloud platform using a free operating system, search for hana-express-edition-on-google-cloud-platform-and-ubuntu (sorry, I cannot post any more links).
Cheers!

how to use one core project for a SQL Server 2014 and Azure SQL Database

we want to deploy our Software on different editions of SQL Server. So we made a CoreDB Project, and for every edition (Express, Standard, Enterprise) seperate projects. Each references the CoreDB to reduce the amount of objects to define.
Now we want to deploy to Azure DB, but we can not reference the CoreDB from an AzureDB Project.
Any Ideas?
Thank you!
Assuming that you are referring to creating CoreDB and AzureDB as Database projects in SSDT -
Unfortunately SSDT will not allow you to create a Database Reference to another database with a different version. To relate to your earlier example, the following scenario will not be allowed in SSDT:
CoreDB's target platform is SQL Server 2014
AzureDB's target platform is Microsoft Azure SQL Database V12
Check a similar question posted here: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/af6005a6-5c4d-4c1c-bd8b-209d320ceef7/error-setting-up-db-reference-from-dacpac-versions-dont-match?forum=ssdt
If you've found a way of "reusing" the CoreDB code for different versions since you last posted this, please let me know.
Personally (and based on past experience), I'd use source control to create different branches reflecting the different versions. This allows independent release and code management. It does require more deployment management and synching up, to ensure that the relevant objects will get the same updates.
Julie

What data is available through SAP JCo

Correct me if i am wrong
SAP JCo provides SAP system, process and OS related data.
Is there any document or any place where all the data is enlisted?
and What BAPi tables are required to access this data?
JCo is used to call some functions in SAP. Those functions must be prepared for this kind of call (remote enabled).
You can get an idea of the functions available via the answers to the following questions :
how to search for available functions on sap
sap and jco3 : print a list of BAPI
You don't access data directly through JCo, you usually call remote-enabled function modules to get your data from the system. There are also function modules that can read table data and return the column values.
There is no complete list of all available function modules. The available function modules depend on the system you're running (4.6, 4.7, mySAP ERP 2005, ECC 6.0 with or without Enhancement Packages). For an (incomplete) overview have a look at the BAPI transaction.

how to connect Worklight 6.1 to DB2?

I am developing a hybrid application which needs database connectivity to store and retrieve data.I am using IBM db2 database and worklight 6.1. I need the javascript code to connect to db2 so that I can enter information directly to the database from the apps UI and data from db2 should be displayed on the screen.(i.e.both side connectivity-->data retieval and storage in the database)
This is not specific to DB2.
What you really need to do is to read the SQL adapter training module, and learn how to send data to and retrieve data from - a database. Then you need to review the sample project provided in the same URL above.
You can also take a look at the following (after you read the training module). The concept is the same in nature, just for DB2...:
http://wpcertification.blogspot.co.il/2012/03/connecting-to-database-from-worklight.html

Approaches to building reports with Quickbooks 2008+ Data

I am looking to build some reports for Quickbooks data, without using Quickbooks built-in reporting, or through a third party library (like QODBC).
Quickbooks 2008 and newer are built on a SQL backend.. In looking around there seems to be several products and angles to do this from.
Ideally I would like to be able to do direct SQL hits on the database myself, or use something like Crystal Reports.
I wanted to ask here to gather any things to look at closer, and what to potentially avoid to save myself grief.
Thanks in Advance!
Update: It seems Quickbooks encrypts it's sql database so you can't read it directly with a reporting tool.. There are a few products on the market that can help.. more to come.
Your best bet is the QuickBooks SDK, it provides facilities to fetch data and also fetch reporting data directly from QuickBooks, formatted as XML for easy parsing and display however you want to display it.
You can see the data that's available using the qbXML/QBFC QuickBooks On-Screen reference (the requests you can send to QuickBooks are found in the 'Select Message' drop-down box at the top of the screen).
The QuickBooks SDK is a free download (registration required) from the Intuit Developer Network
If you're writing a desktop application, you can look into using QBFC, which is an API that talks to QuickBooks using COM/DCOM.
If you're using PHP, there's a popular QuickBooks PHP framework on the IDN forums.
If you're using ASP.NET, here's a QuickBooks ASP .NET framework too.
If you want direct SQL access, you should look at QODBC (which is an SQL wrapper which translates SQL queries to qbXML SDK requests) or AccessBooks (which uses the SDK to mirror QuickBooks data to an SQL database).
If its hosted on SQL 2005 or 2008 you can make use of Reporting Services (free) and the Report Builder that is bundled with it. If you use 2008 then I recommend downloading Report Builder 2.0
http://www.microsoft.com/downloads/details.aspx?familyid=9f783224-9871-4eea-b1d5-f3140a253db6
Here's some links to learn RS:
http://www.google.com/search?q=reporting+services+tutorial+video&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
So are you on the 2008 edition (SQL Server)?
If so, you can use SSRS as SQLChicken posted, or you can use just about any other reporting tool, and connect via SQL Native Client (shipped with SQL Server):
- Crystal Reports
- Excel
- insert your favorite reporting tool here