Sunday, December 14, 2008

SAP Business One Integration: Advanced Workbench Techniques by Andrew Karasev

SAP B1 is dedicated to small and mid-size businesses. This ERP and MRP enriched accounting application becomes more and more popular, especially since the release of SB1 version 2007A. The intuitive and very simple SAP BO interface often comes with the fact, that SAP Business One certified consultant comes without solid technical background in data conversion, customization, SDK programming and also in making ad-hoc SQL queries. In this small publication we will give you technical highlights on advanced integrating techniques with Sap Business One Data Transfer Workbench. This publication should help you with your SAP B1 partner, VAR, implementation consultant, reseller and ISV technology partner selection. We should mention here, that you can always go and deploy SAP Business One SDK programming in integration creation, however here we will concentrate on “low profile”. Let’s begin:

1. SB1 Data Transfer Workbench: CSV file and Excel templates. Through our practice, large number of Sap Business One functional consultants recommends you simply to follow template Excel files filling up and saving them in CSV format as preferred way to do integration. Plus, they also recommend it for one-time integration only in the initial data conversion and migration. If you don’t need additional discovery and looking for second opinion in SAP Business One partners community â€" this advise is good and very reliable. However â€" what to do if you need ongoing and even scheduled integration?

2. Simple ODBC queries. Let’s make step aside and try ODBC in Source Data Type. If you are IT professional, SQL DBA or programmer, you know, that ODBC connection opens the whole new world of such nice tools as MS SQL Server linked server, SQL View to break through the restrictions of text files

3. SQL Views Scenario. Now imagine, instead of depending on CSV files, created by hand, you create SQL view, which will be the base for the integration. If you have to integrate SB1 with front end legacy database (including SQL linked server constructions to such platforms, as Oracle, DBII, Ctree, Pervasive SQL), you should lookup required SQL view structure in Excel templates for the intended SB1 objects and simply create them on Microsoft SQL Server level

4. Scheduling Workbench ongoing integration. Workbench help suggests you to save integration structure in XML format (you do it on the step 5: Run the data import â€" click Save button and you will be able to save integration in XML schema). Create â€"bat (DOS batch) file. Then schedule it in Start->All Programs->Accessories->System Tools->Scheduled Tasks. This would be sample line in BAT file: C:\Program Files\SAP\Data Transfer Workbench\DTW â€"s C:\Program Files\SAP\Data Transfer Workbench\config.xml

About the Author

Andrew Karasev, Alba Spectrum LLC, help@albaspectrum.com, http://www.albaspectrum.com, 1-866-528-0577 , subdivision of M2-D2, SAP Business One VAR and Reseller in Illinois, Georgia, South Carolina, California, Texas. Please visit our info portal Pegas Planet: http://www.pegasplanet.com. Local Service in Chicago, Atlanta, San Diego, Los Angeles, Orange County, Houston