Book Image

Mastering SQL Queries for SAP Business One

By : Gordon Du
Book Image

Mastering SQL Queries for SAP Business One

By: Gordon Du

Overview of this book

SAP Business One is an integrated Enterprise Resource Planning (ERP) software which offers an ideal solution for growing small to midsized businesses. For such companies, retrieving the most relevant information from their business data can be key to standing out from the competition. SAP Business One is a rapidly growing software package and this book is timely in giving those businesses an advantage in the area of Business Intelligence. Having SQL query skills in- house is the most important and cost-effective move you can make in this growing field.This practical guide will provide you with the skills to gain more specific business information from SAP Business One by using SQL queries. It will provide you with solutions for solving complicated report related problems, covering basic tools like the Query Generator and Query Wizard. More advanced content like using queries with Crystal Reports will also be delved into.SQL query is one of the advanced tools available in SAP Business One which is easily learned and quickly utilized. By referring back to and applying the many examples in this book, you will be able to create and run correct, and therefore effective, SQL queries to help your business.The book begins by teaching a clear definition of the SQL query, and covers the data dictionary and table links. Coverage will then jump to a higher level of complex SQL queries, discussing features like FMS. Along the way more advanced SQL Query topics will be covered, such as extending the scope of basic SQL queries for more complicated cases. You will ultimately gain in depth query knowledge to bring more Business Intelligence into SAP Business One.
Table of Contents (4 chapters)

Chapter 9. More Complicated SQL Query Topics

This is the last chapter of the book and we will have an extended discussion, which will give you some of the most complicated examples of SQL query in SAP Business One. This chapter will bring you closer to introducing even more Business Intelligence into SAP Business One. The main topics include:

  • The Case expression usage
  • Working with subquery
  • Using PIVOT to simplify a cross tab style queries
  • Database query for Excel

In addition, this last section will give you some advice on the pitfalls and mistakes to be avoided in query writing.

These topics are more suitable to the users who have extra interests to extend their capabilities to create more complicated queries. Although the previous examples can be revisited, I would like to show more query examples to cover more areas.

Please refer back to the the preface for more information on the specific naming conventions of the query examples in this chapter.

The Case expression usage

In Chapter...