Category: SAP Business One HANA

SAP Business One – Improving The Speed Of Reports Along with general consultancy, system implementations, training, interfaces and development of SAP Business One, one of the most requested jobs is to improve the speed of reports. Reports can be written in SQL Queries, Crystal Reports or any other reporting tool. As a rule of thumb, if a report is running slowly, it is due to either the way it was originally written or the data it is reporting on. With some out of the box thinking it is usually possible to massively reduce the way a report runs by approaching it from a different view point. I have personally managed to reduce report run times from 90 minutes…

SAP Business One SQL Prompt Variables /* SELECT FROM [dbo].[OSLP] T1 */ declare @slpName as varchar(155) /*WHERE*/ set @SlpName = /* T1.SlpName */ ‘[%0]’ /* SELECT FROM [dbo].[OCRD] T2 */ declare @CardCode as varchar(15) /* WHERE */ set @CardCode = /* T2.CardCode */ ‘[%1]’   SAP Business One HANA Prompt Variables /* select from [dbo].[OINV] T0 */ /* select from [dbo].[OSLP] T1 */ Declare FromDate timestamp; Declare ToDate timestamp; Declare SALESEMP char(155);   SALESEMP := /* T1.”SlpName” */ ‘[%0]’; FromDate := /* T0.”DocDate” */ ‘[%1]’; ToDate := /* T0.”DocDate” */ ‘[%2]’;   !! Remember to end your HANA SQL Script with a semicolon and replace the single and double quotes above which are enforced formatting !!

SAP B1 Version 9 and above users – take note! SAP Business One users who are temporarily locked out whilst another machine is logged in as the same user isn’t an error! It is new, core functionality to stop license over usage (read as abuse!).  Once the second machine has logged off the first user unfreezes. Please note: If a SAP B1 named user is being used for interfaces/ APIs then there are possibilities that locks or blocks will occur! Not good for an interface and there are better ways of overcoming this. A bit about the SAP Business One license model. SAP Business One licenses are based on a named user licensing model. Each user name needs…

Want a list of your Business Partners email address for marketing? Email your business partners from your favourite email marketing site by using this report query. It’s SQL that you run from within Query Generator or SQL Server. Simply copy the code between the /* … and … */ for your version of SAP B1 and paste into the Query Generator. Here’s something for free! Have a great bank holiday weekend!   SAP Business One SQL Server version – /*   –Start. Marketing Email List V1.1 select t1.CardCode, t2.cardname, t1.E_MailL from ocpr t1 inner join OCRD t2 on t1.CardCode = t2.cardcode and t2.cardtype = ‘C’ –End. Author Stuart Folley www.1dash1.co.uk  0843 886 1449   */      …