I started out as a relative novice to SQL a few months ago. Now I use SQL queries in Business One almost daily. I wanted to share with you some of my most frequently used queries and why I like them. Just copy and paste these in to your own Query Generator
This query shows all AP Invoices added to SAP that are Open but have not been sent. It's easy to forget to send invoices and this report has helped us be more efficient. Please note we are using Boyum Print and Deliver module:
SELECT t0.DocEntry, t0.CardCode, t0.CardName, t0.DocDueDate as 'Due Date', t0.DocCur, t0.DocTotal FROM OINV t0 WHERE t0.DocStatus = 'O' and (t0.Printed = 'N' and (SELECT count(*) FROM [dbo].[@BOY_85_DEL_LOG] s0 WHERE s0.[U_BOY_id] = t0.DocEntry and s0.[U_BOY_OBJECTID] = '13' and s0.[U_BOY_ACTION] = 4) = 0)
Partial Stock Take
We needed a way to list items in stock AND items not in stock for stock taking so we can run an inventory report between locations. The Bin Locations Content report in SAP only shows items in stock:
select t0.ItemCode, t1.ItemName, isnull(t3.OnHandQty,0) as 'In Stock', t2.BinCode, t2.SL1Code, t2.SL2Code from OITW T0
inner join OITM t1 on t0.ItemCode = t1.ItemCode
inner join OBIN t2 on t2.AbsEntry = T0.DftBinAbs
left outer join OIBQ t3 on t0.ItemCode=t3.ItemCode and t0.WhsCode = t3.WhsCode
where t2.BinCode between [%0] and [%1]
order by t2.SL1Code, t2.SL2Code, t0.ItemCode
Items with No Default Bin Location
We want to report on all items in SAP not assigned a Default Bin Location. This has helped our Warehouse Manager to ensure ALL stock has a Default Bin:
SELECT T0.[ItemCode], T0.[WhsCode], T0.[DftBinAbs] FROM OITW T0 WHERE T0.[WhsCode] = 'main' and T0.[DftBinAbs] is null
Purchase Invoice Analysis
The SAP Purchase Analysis report is in System Currency, mine is GBP. No use to me when I buy in EUR. This report shows all AR Invoices for a set period for a particular Business Partner in the currency on the Invoice (FC):
SELECT T0.[DocEntry], T0.[CardCode], T0.[DocDate], T0.[DocTotalFC] FROM OPCH T0 WHERE T0.[DocDate] BETWEEN [%0] AND [%1] AND T0.[CardCode] =[%2]
If you want to run the same report but on Purchase Orders, simply substitute OPCH for OPOR
Top 10 Customers (Thanks to Zal Parchem for this)
SELECT TOP 10 T0.CardCode, MAX(T0.Cardname) as Customer, SUM(T0.doctotal) as "Amount(LC)"
FROM dbo.OINV T0
WHERE t0.docdate BETWEEN [%0] AND [%1]
GROUP BY T0.CardCode
Order by SUM(T0.doctotal) DESC
Sales History by Item Group
Yes I know this exists in Sales Analysis reports but I prefer my layout:
SELECT T0.[DocEntry], T0.[DocDate],T0.[CardName], T2.[ItmsGrpCod], T2.[ItemCode], T2.[ItemName], T1.[Quantity] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode WHERE T2.[ItmsGrpCod] = [%0] AND T0.[DocDate] BETWEEN [%1] AND [%2]
Sales Orders with no SLP Code
Some of our Sales People forget to enter their name when adding a Sales Order. This handy report helps me identify these quickly and easily
SELECT T1.[DocNum], T1.[CardName], T1.[DocDate], T0.[SlpCode] FROM OSLP T0 INNER JOIN ORDR T1 ON T0.SlpCode = T1.SlpCode WHERE T0.[SlpCode] = '-1' ORDER BY T0.[SlpCode]
If anyone has any suggestions on how to improve these, or you would like to share some of your own SQL Queries please feel free. It's good to share!
SAP Business One 9.0, version for SAP HANA PL09 is already available, take the opportunity to upgrade to the latest patch of SAP Business One 9.0 version for SAP HANA and take advantage of the latest new features.
SAP Business One 9.0, version for SAP HANA PL09 is synchronized with :
SAP Business One 9.0 patch Level 08 and 09
SAP HANA SP06 Rev 69.
Please check the corresponding central notes for more details (A Hotfix has been released and provides some fixes to PL09, check the Hotfix note here below for details):
To avoid possible statistics server problems (e.g. running out of memory), we recommend that you change some configurations in SAP HANA before upgrading to SAP HANA Revision 67 or any higher version.
If you experience problems with XSEngine after installing/upgrading B1H please check this HANA note. This problem has been fixed with SAP HANA SP7 Revision 70.
I have Installed SAP 9.0 PL08 in Server and there is 6 Add-ons and All Add-ons Working Properly in Server But In Client Machine not a Single Add-on Is Working.
It Gives an Error -131 TAO NT Naming Services not Started in Licence Server. and Then Add-on Gives an Error For Send to Microsoft.
What is the Actual Problem i Can't Understand. So, Please Give Solution Which is Perfect to Solve the Problem.
The next UKISUG Business One Special Interest Group (SIG) is scheduled for the 11th March 2014 at SAP UK Clockhouse Place, Bedfont near Heathrow Airport and we have an excellent line up:
John Wager from Saddleback Ltd (B1 User) will discuss Real world hardware requirements and moving to a virtualised environment. A look beyond the SAP and Microsoft recommended hardware requirements into what works in a real end user site.
What SAP recommend
Running it on minimum spec
Beefing it up (new virtual server)
Costs / Backup /Network / Internet connection
Overview of how their system is configured for 25 users including Virtualisation and Backup
Zal Parchem an SQL Expert and Freelance Consultant will give a practical session showing you how to get the most out of SQL Queries. Zal will look at the essentials for SQL Query writing then look at some of the users queries and suggest improvements. There will also be an electronic hand out for everyone to copy and paste SQL in to their own installations based on the top 10 SQL Queries for Business One users. Zal was involved in the book on SQL by Gordon Du.
Mads Madsen from SAP Add On Partner Boyum will give a session on "Get more out of the Boyum Usability Pack". A practical session with demonstrations showing you some of the useful functions of the Boyum Usability tool. We’ll be looking at some real life scenarios and ways to make using your B1 installation quicker and easier.
Andrew Fox from iTelligence will present SAP Business One comes with Dashboards and analytics functionality but what if this isn’t enough for your business? Andrew is a Business Objects expert and will show you some practical examples of what you can get our of your SAP Business One data with the Business Objects tool. He will also talk about the practicalities of implementing this and basic costs involved
There will be some excellent food provided and the chance to catch up with fellow users of SAP Business One. To register for the event click here
If you are not a member and would like Free Trial Membership please click here
The Business One section of The User Group is growing [rapidly and our members report that being part of a community really helps them get the most from their SAP installation.
I need a query that I'll be able to show a client a break down of one supplier within a certain period. It should show item description, quantity sold, total value of sales,gross profit and gross profit in percentage.
I hope someone can assist me with a query to solve this problem.
Having used Business One for years I have notice every few patches new features are added even though small they can make a difference in an organization. I remember in 8.81 that at PL9 the additions of the attachment tags and the ability to drag drop files into a window. This addition minimizes the need for UDF and improves business process flow. Also something simple as the addition of a checkbox for active employees in the HR Manager was a welcomed addition in 8.81 or 8.82 even not mentioned in any documentation it makes reporting efficient.
The issue is having management allowing these continuous upgrades. With 8.8 and up having simplified upgrade processes it is still a challenge to upgrade. Does anyone have stories or cases that help with the continuous upgrade in an organization.
From experiences sometimes with the changes in the SQL and T-SQL there is a need to downgrade the compatibility of the SQL Server. The trade-off is not having access to the newest features.
I'm an SBO Implementation Consultant with 7 years of experience and i've implemented in over 15 companies. Throughout my years implementing I've always used XL Reporter to build Financial Reports as an alternative to SBO's layouts. Its easy to use and you can build General Balance & Profit and Loss reports very fast. Combining month vs previous months vs YTD previous year vs actual budget grouped by DIM1 in the same report, for example, was a piece of cake.
Now.....as we all know, in SBO 9.0 and above, XL Reporter is not compatible with Excel 2013 and above. And we cant expect the customer to stick with excel 2010 or below just to enjoy the functionality. ENTER CRYSTAL REPORTS (CR)!!! For the past 3 years I've used CR but mostly to make sales, purchase and banking reports or to make printing layouts for documents but never for financial reports. I've tried to modify the standard CR Layout for the General Balance and P&L and also make the layout based on my own query but making the report and grouping the accounts the way the customers wants it has been a headache!! to say the least. Combining budgets grouped by projects and dimensions in a P&L in CR has proved very complicated.
So my question is, is there an easier alternative for financial reporting or has anyone build a template others can use as a base for financial reporting. Any help would be greatly appreciated.
SAP Business One 9.0, version for SAP HANA PL10 is already available, take the opportunity to upgrade to the latest patch of SAP Business One 9.0 version for SAP HANA and take advantage of the latest new features.
SAP Business One 9.0, version for SAP HANA PL10 is synchronized with :
SAP Business One 9.0 patch Level 10
SAP HANA SP06 Rev 69. Please don't use any other HANA revision in conjunction with SAP Business One 9.0, version for SAP HANA unless stated here or in the corresponding overview note for the specific version.
Please check the corresponding central note for more details :
Info.xml file format has changed (new property IAEnable added), follow this note to understand the right format required for importing SAP HANA models into B1.
To avoid possible statistics server problems (e.g. running out of memory), we recommend that you change some configurations in SAP HANA before upgrading to SAP HANA Revision 67 or any higher version.
If you experience problems with XSEngine after installing/upgrading B1H please check this HANA note. This problem has been fixed with SAP HANA SP7 Revision 70.
Have you ever used SAP Business One Test Composer to automate your add-ons testing?
Take some minutes and have a look at it, we have just now released a new version 9.1 mainly fixing some limitations found in our previous 2.4 version. This version has been compiled for SAP Business One 9.0 version.
SAP Business One Test Composer is an automation testing tool for SAP Business One. It provides a simple way for mainly record/replay scenarios for testing purposes but can also be employed in many other use cases. This tool leverages on the well known and established SAP Business One SDK, on the .NET platform and on Microsoft Visual Studio .NET environment.
You can see detailed information about B1TC and download it from this link.
You can find the complete list of fixed issues as a comment in our previous blog post at:
If you didn’t make it to the last SAP Business One Special Interest Group meeting on March 11th, here is what you missed. We had a good turnout of over 20 SAP Business One users who met at SAP UK near Heathrow Airport. We would like to thank SAP for their continued support and use of a very smart meeting room including AV equipment.
Delegates arrived from 9.30am for coffee and a catch up with acquaintances. We also welcomed 2 new members to the group who were quickly made to feel at home by the other members. We’re a friendly bunch!
The first session was a presentation about running B1 on Hyper-V by John Wager, IT Manager at SAP Business One user Saddleback. John spoke with first-hand experience about his experiences of running SAP on the minimum spec recommended by SAP and the benefits they have found by giving SAP it’s own dedicated virtual server. There were comments from the floor and everyone agreed it is best to give SAP it’s own Server and the benefits of Hyper-V are clear.
After John we had Mads Madsen from SAP Accredited and award winning Add On Partner Boyum IT. Mads was giving a hands on session on the Boyum Usability Pack and some of the cool features. This was far from a “Sales Pitch” and more of a How To session focussing on configuring B1 to suit our users’ needs. Mads showed how to add function buttons and User Defined Fields in minutes. How to make fields mandatory or read only for certain users. He also looked at the integration with the Mail Chimp API which increases the CRM capability of B1 and also the Business One Budget module.
The group welcomed Andrew Fox back again to speak about Analytics for Business One customers. Andrew looked at the out of the box Dashboards that come with B1 and concluded they are very dull! They are also not configurable but the end user. We looked at the other options available from SAP starting with the free tool called Lumira which can be linked to the SQL data source for approx. £900. For the B1 customers who want to design their own Dashboards you will need to look at Excelsius / Crystal Dashboard Designer which costs circa £2,000 for a 25 user site and is a real advance to the standard dashboards. If you really want to push the boat out and demand high quality live dash boards Andrew suggested the cleverly named product called “Dashboards”. This is a Business Objects product and really s the Rolls Royce of analytics for B1 users but the price may put people off!
Our next speaker made a special effort to fly in to London as he is usually based in Atlanta USA. Zal Parchem is a lover of all things Business One and his SQL writing skills are excellent. Zal also worked on the famous book by Gordon Du (Mastering SQL Queries for SAP Business One). Zal went over the basics of SQL, where to find table information, what an inner join is, outer join etc and showed us where to find instructional info. Zal also gave us a template to store all our own SQL. Most of us have written over 50 queries that are saved in the B1 system but Zal said to copy them to word and lay them out in a format so everyone can understand what they are for. He also said to include a brief intro as to what the report is used for and who by including version control.
Zal worked on some live queries from the audience and got them working. He also gave everyone his stash of top 20 SQL queries we all took and use in our live systems. These queries would have cost several thousands of pounds if a SAP B1 partner had done them at the usual rate! Zal ran on for over an hour as the audience fired more questions at him. Everyone said it was an excellent session and Zal is happy for the attendees to contact him for advice if they have had a good go at a query but can’t get it to work. This sort of help makes users less dependent on their VARs and empowers them to learn themselves.
One of the benefits of the SIGs is meeting fellow SAP Business One users and chatting over lunch. Over the months many relationships have formed this way with users sharing experiences. The next SIG is planned for July 16th and we have another great line-up. We are also working on some exciting plans to grow our numbers so watch this space.
If you are not a member of UKISUG and want to join click here. If you are a member and want to sign up for next time click here
SAP Business One 9.0, version for SAP HANA PL11 is already available, take the opportunity to upgrade to the latest patch of SAP Business One 9.0 version for SAP HANA and take advantage of the latest new features.
SAP Business One, version for SAP HANA 9.0 PL11 is synchronized to:
SAP Business One 9.0 PL11
SAP HANA Platform Edition 1.0 SPS 06 Rev 69
SAP Business One 1.1 analytics powered by SAP HANA PL4
Note:
Migration between SAP Business one 9.0 PL11 and SAP Business one 9.0, version for HANA PL11 is not supported.
If you are running SAP Business One 8.82, version for HANA PL02 and lower, you can upgrade it directly to SAP Business One 9.0, version for HANA PL11, since the PL11 replaces the installation package as well.
If you are running SAP Business One on Microsoft SQL Server, upgrade the database to SAP Business One 9.0 PL10, then migrate from the Microsoft SQL Server database to the SAP HANA database. Then you can upgrade it to SAP Business One 9.0, version for HANA PL11.
Note:
As of PL11, SAP Business One 9.0, version for SAP HANA supports both SuSE Linux Enterprise Server 11 SP2 and SP3 If you use SAP Business One 9.0 version for SAP HANA and want to upgrade the operating system to SPS3, you must first upgrade SAP Business One to PL11 and then upgrade the OS.
Please check the corresponding central note for more details :
Info.xml file format has changed (new property IAEnable added), follow this note to understand the right format required for importing SAP HANA models into B1.
To avoid possible statistics server problems (e.g. running out of memory), we recommend that you change some configurations in SAP HANA before upgrading to SAP HANA Revision 67 or any higher version.
If you experience problems with XSEngine after installing/upgrading B1H please check this HANA note. This problem has been fixed with SAP HANA SP7 Revision 70.
For the marketing purpose, they take some products as part of demo to some site.
At site, if a customer likes the product they are willing to buy the product at site itself, the remaining products are returned to the warehouse.
The warehouse manager wants to show that the goods went out for demonstration. The sales personnel wants to show actual sales.
The entire products taken out for demonstration cannot be shown as Sales and the products returned back as Sales Returns as the financials may be affected.
The stock shall be correct at the given point of time in the Warehouse.
How can this be managed?
One solution to this case would be as follows:
1. Create a new Warehouse for demonstration, say Demo Warehouse.
When products are transferred from Main Warehouse for demonstration, just make an Inventory transfer from "Main Warehouse" to "Demo Warehouse".
The inventory from the Main Warehouse is reduced as the products are taken for demonstration.
2. Now after sales take place at site, the goods are returned to the Main Warehouse by making an Inventory transfer from "Demo Warehouse" to "Main Warehouse".
Now the inventory is correctly recorded and accounted.
The sales quantity is recorded by posting AR Invoice from the "Demo Warehouse"
Innovation Summit in Bratislava took place from the 26th of May - 28th of May 2014 and in the following I share my Mind Map as sort of summary of the event.
Most important were the Demos of the new 9.1 release which really impressed me. Apart from that, SAPs Business One Mini Cloud / MCaaS approach seems to be worth looking at.
2.2 Implementation
The Summary of which of the different Reporting Tools to use in which scenario got my attention apart from fast Implementation Approaches (done by some VARs), HANA-related XApps and River as well as the known Sizing Tool from PartnerEdge. The session about KPI Designer were also interesting (Feature already included since 9.0 PL 9 but still evolving).
2.3 Maintenance
The RSP can be a great tool for VARs and is now available for B1H. In regard of the B1 Cloud, the Cloud Control Center is the comprehensive tool for Administration.
2.4 Cloud
During the Sessions on B1 Cloud Sizing and Configuration of Cloud Control Center were discussed as well as the so-called "Support User".
2.5 New Features (9.1)
In the Cockpit Area there are many new Features which you should definitively check out (especially for Demo-Cases). Apart from that Business-related new Features like working with multiple branches within one Company, Resources in Production or Optimization of the Sales Order Tabs were shown. Furthermore, Basic Functionality has evolved with Authorization Groups, the configurable UI (move fields etc.) and a powerful Excel Import and Export in the Grids. Technical Sessions discussed e. g. the new Service Layer and High Availability for HANA in context of B1H.
3 Miscellaneous
Thanks a lot to all the People who made this a great event!
So you have your SAP Business One Cloud landscape set up and running smoothly, you're creating tenants quite happily and users are merrily going about their business. Then one day one of your users emails to ask, "How do I change my SAP Business One Cloud password?"
By default the SAP Business One Cloud portal doesn't have a change password option, thankfully though because it is based on the MS Remote Desktop Web application we can fix this fairly easily.
The following example assumes Windows Server 2008 R2 is being used, and is provided as-is and without any warranty of any kind. You should ensure you have a working backup of your configuration before attempting the below.
Step 1:
The reason the SAP Business One Cloud portal doesn't have a change password option by default is because neither does MS Remote Desktop Web, so the first thing we need to do is fix that. KB Article 2648402 contains the patch that we need to apply (can be found under the link "Hotfix Download Available" near the top of the page.
On the server that is running MS Remote Desktop Web and your SAP Business One Cloud User portal download the file, apply it and reboot the server. Once the server has restarted you need to enable the password change option in IIS, using Application Settings:
Now that we have a default page that will allow a user to change their password from the portal (you can check in %Windows%\Web\RDWeb\Pages\en-US for the newly created password.aspx file) we can link it into our SAP Business One Cloud User Portal. We will need to make a change to main.html, this is can be found in the SAP Business One Cloud Portal directory:
Here we are calling the newly added password page from the main window using a new button. This button is located with the welcome message for a user so will only be displayed to users that have been successfully logged on. Where you see the address https://dewdfwtec2546.b1cloud-wdf.corp.sapyou need to replace this with the address of your own RDWeb directory. The result will be:
Now we have a working solution although the page that is opened doesn't fit with the look and feel of the SAP Business One Cloud User Portal. We can make some changes to make it look a little better. I'm sure that some of you will be able to take this one step further and make it look like a seamless part of the portal! Feel free to share with the community if you do!
I've attached the customised password.aspx page to this post so I won't go through all of the changes that I made to get the look and feel. The more important change is that we have got the application to pre-populate the User Name to include the full domain name in a read only field. RDWeb requires this full user name and don't forget that our users do not normally enter it for SAP Business One Cloud so it has the potential to confuse if not implemented this way.
The first snippet creates a variable that stores the current domain and user name:
The second changes the value of the string so that if the variable set above was DOMAIN\MYUSER it will now be DOMAIN\\MYUSER. The second '\' is required as when we access this in JavaScript the '\' is treated as an escape character on it's own:
This script gets the variable we have stored and manipulated on the server and adds it to the textbox that is collecting the Domain/User Name combination, in this case it is called 'DomainUserName'
And that's it, just a few simple steps to add functionality to change passwords through the SAP Business One Cloud User Portal.
Over the coming weeks and months I will be posting more content around SAP Business One Cloud, if you have anything that you would like me to cover please let me know!
About me:
I've been working at SAP with SAP Business One for the last 9 years in a variety of roles. Currently I look after SAP Business One Cloud and spend much of my time working with partners to help them take advantage of the new and exciting opportunities that have emerged since it's release. You can follow me on Twitter @joelaharris to make sure you hear the latest news!
The Preview Program offers SAP partners an opportunity to download a preview version of SAP Business One 9.1 (both on MS SQL and on SAP HANA) prior to the official Ramp-Up start. This new program is vital to the successful Ramp-Up of SAP Business One 9.1. Participating partners will have the opportunity to participate in the quality assurance process and provide SAP with feedback prior to Ramp-Up. This will give SAP time to address any software issues prior to final release.
See further information as well as the download links here:
Just recently I’ve had a number of queries from partners regarding how to go about upgrading SAP Business One within a Cloud environment. In this context when I talk about Cloud I am specifically talking about the SAP Business One Cloud multi-tenant landscape, not a single SAP Business One system hosted on a cloud platform; in the latter case normal SAP Business One upgrade procedures would apply.
Before we go into the process of upgrading SAP Business One tenants (think of a tenant as a company database) it is worth providing some background on the SAP Business One Cloud landscape. The SAP Business One Cloud landscape contains a number of different server components to make it work, many of these play a “supporting” role, i.e. they are not running SAP Business One processes themselves rather providing the infrastructure to make the SAP Business One Cloud work. The main processing happens within Service Units, each service unit contains everything that is required and dedicated to a specific version (down to patch level) of SAP Business One:
Database Instance
Presentation Server(s)
SAP Business One Integration Framework (optional)
SAP Business One Mailer (optional)
Extensions (optional)
Each service unit is responsible for providing SAP Business One to multiple customers (the number will vary according to hardware, number of users and a number of other factors).
This configuration requires us to take a different approach to upgrading tenants within the SAP Business One Cloud landscape compared to company databases in an on-premise installation. The key difference in the approach is that we do not perform an upgrade directly on a database server that holds our SAP Business One tenants as we would do in on-premise SAP Business One. This approach would prove problematic in a cloud installation for a number of reasons:
From the moment we began an upgrade within a service unit the entire service unit would be offline (e.g. once we upgrade the SBO-COMMON database we can no longer login to a tenant that has not been upgraded to the higher version). In a service unit that houses, say, 100 tenants this could cause significant downtime for customers.
Upgrading a tenant can be a resource intensive process, in a multi-tenant environment where infrastructure is shared this has the potential to negatively impact customer experience.
If we did upgrade a whole service unit and there were 100 tenants in a service unit what would happen if we got to tenant 100 and it failed to upgrade when all the others were successful?
For these reasons and others the process of upgrading in SAP Business One Cloud involves two (or possibly three but more on that later) service units. The principle is this:
Service Unit 1 has 100 tenants running SAP Business One 9.0 PL10
Service Unit 2 is created for SAP Business One 9.0 PL11
Tenants (either individually or in batch) from Service Unit 1 are taken offline, backed up, restored to Service Unit 2 and upgraded to SAP Business One 9.0 PL11 where they are again available to the end user.
Of course this is a simplistic approach to upgrades as most partners go through a process of testing a new release before simply “pulling the trigger” on a live upgrade. SAP Business One Cloud provides functionality to assist with this as well as the upgrade process itself:
Pre-upgrade testing - All SAP Business One upgrades must pass pre-upgrade testing, this process can be carried out separately within the SAP Business One Cloud Cloud Control Center in preparation for the upgrade process itself.
Duplicate tenant - Similar to the upgrade process (if duplicating to a service unit that is tied to a higher SAP Business One version) with one key exception - the duplicate tenant is for testing, the original tenant in the source service unit remains live for users to carry on with live transactions. The duplicate tenant can then be tested for extension compatibility, key processes, data etc. before the live upgrade occurs.
Staging Service Units - I mentioned earlier that upgrading tenants can be a resource intensive process, by default this processing will occur in the destination service unit. If we are concerned about the effect on any tenants already in that destination service unit we can introduce a staging service unit. This temporary service unit receives the tenant to be upgraded, upgrades it (ensuring the resources required for processing are not provided by live service units) and then sends it to the destination service unit.
Service Unit Duplication - This process enables you to create a new service unit but automates some of the steps such as deploying the required extensions and moving presentation servers.
As you can see there is a lot of scope within these processes to define your own strategy for the lifecycle management of your SAP Business One Cloud customers. You do not have to follow a strategy of upgrading all of the tenants in one service unit in one go and instead could choose to stage the upgrade into smaller batches of tenants. And if you need to upgrade one tenant urgently for reasons related to a patch you can handle them individually rather than being forced into an unscheduled upgrade for your entire service unit.
So with the concept and functionality explained what is it that you should do in order to upgrade from one patch level of SAP Business One to another?
Check note 1756002, to ensure that the version of SAP Business One that you are upgrading to is supported by the version of SAP Business One Cloud you are running.
Before you begin the process of any upgrades within the SAP Business One Cloud landscape SAP recommends that you create snapshots so that you can roll back in case of any errors during the upgrade process.
Register the version of SAP Business One you are upgrading to in the SAP Business One Cloud Software Repository.
Upgrade the SAP Business One License Server to the latest version, this can be done within the SAP Business One Cloud Control Center (not every release of SAP Business One will require an upgrade to the license server but you will receive a message if that is the case)
Create a new service unit
Database Instance - Another database instance needs to be configured and the SBO-COMMON database deployed via the SAP Business One Cloud Control Center.
Presentation Servers need to be assigned to the new service unit, the SAP Business One client is automatically deployed to them. ( Note: these can be unregistered and moved from the source service unit as the resource required in it begins to drop, e.g. in the case of staged upgrade process)
Deploy the required extensions in the new service unit (both SAP and third-party extensions in use)
If you are following our recommendation of using Security Groups to manage access by users to presentation servers you will need to separately configure them to allow the correct user access.
If using the SAP Business One Integration Framework and Mailer these will need to be manually deployed into the new service unit (it is also possible to unregister the existing ones in the source service unit, upgrade them manually and register them to the destination service unit however this would rely on the upgrade for all tenants taking place at one time.)
Perform pre-upgrade tests on the tenants in the source service unit
(Optionally) Perform test upgrades for tenants
Upgrade the tenant to the new service unit, during the time of the upgrade the tenant will not be available to end users.
Once you have completed this process for all tenants all your users will now be logging in to the new service unit and you can power down the old one, reduce it’s resources, use it for testing the next release etc.
To help explain some of the concepts above and demonstrate the process I’ve also recorded the following video:
More information on the upgrade process and other administration steps can be found in the SAP Business One Cloud Administrators Guide, which can be found with the SAP Business One Cloud installations files.
About me:
I've been working at SAP with SAP Business One for the last 9 years in a variety of roles. Currently I look after SAP Business One Cloud and spend much of my time working with partners to help them take advantage of the new and exciting opportunities that have emerged since it's release. You can follow me on Twitter @joelaharris if you want to hear more!