please note that we are recording this session! - archive
TRANSCRIPT
SAP Labs China
B1DE and B1TE IntroductionTHE EFFICIENT WAY TO DEVELOP AND TEST YOUR ADD-ONS
Nick He
Solution Architect SAP Labs China
Welcome to your RKT Live Expert Session
Please note that we are
recording this session!
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)
B1DE Introduction
© SAP AG 2005
B1DE Introduction -- Content
This session will present a set of development tools that eases and speeds-up the B1 solution development process
These tools are:based on B1 SDK integrated with Microsoft Visual Studio .NET 2003: the most useddevelopment environment for B1 solutionsavailable for free in the SDN Business One home page: source code and setup
© SAP AG 2005
B1DE Introduction -- SDN
© SAP AG 2005
B1DE Introduction – Why B1DE?
B1 SDK is a powerful kit giving access to the objects of B1business objectsUI objects
It comes with a set of documented guidelines to ensure:correct and legal usage of APIsperformancescompatibilityadd-on inter-working etc
© SAP AG 2005
B1DE Introduction – Why B1DE?
B1DE packages these best practices in coding solutions integrated with SAP B1
leave the plumbing phase to the toolsensure that the plumbing code is according the guidelinesconcentrate on the business side
B1DE is composed of these tools:B1 Code Generator WizardB1 Simple Installer WizardB1 Professional Installer WizardB1 UDO Form GeneratorB1 DB Browser
© SAP AG 2005
B1DE Introduction – What’s B1DE?
B1 Code Generator Wizarda set of Microsoft Visual Studio .NET wizards and add-insto generate .NET B1 solutions: VB.NET and C#
B1 Simple Installer Wizarda Microsoft Visual Studio .NET wizardto generate the setup code to install and register an add-on with B1
B1 Professional Installer Wizarda Microsoft Visual Studio .NET wizardto generate the .NET setup code to install and register an add-on with B1
B1 UDO Form Generatora Windows tool (also integrated with B1 Code Generator Wizard)to generate an XML form starting from an UDO
B1 DB Browsera Windows tool (also integrated with B1 Code Generator Wizard)to visualize the current status of a SAP Business One database in terms of the tables, columns, types, default values, database constraints and links
© SAP AG 2005
B1DE Introduction – B1 Code Generator Wizard 1
B1 Code Generator Wizard generate solution, code and dataVisual Studio .NET solution and projectsXML forms and menusVB.NET or C# codefollowing the B1 SDK guidelines
This code manages:UI and DI connectionsmetadata creation
user tables, user fields, UDOmenu, item and application events
listener-based interfaceevent registrationevent filtering
menu actionscreation, deletion, updateattach a form to a menu
form generation
© SAP AG 2005
B1DE Introduction – B1 Code Generator Wizard 2
Concrete Add On:Main + concrete classes
UIWizard
GUICodeGen
Reflection
CodeDOM
Generic Add On Abstract Classes
B1Wizard.dllXMLDOM
B1 SDK
COM.NETVisual Studio
AddOn
Model
XMLGen Menus and UDO Forms XMLs
Metadata
UIAdd-Ins
GUI
Visual Studio
Concrete Project
© SAP AG 2005
B1DE Introduction – B1 Code Generator Wizard 3
Concrete Add On:Main + concrete classes
Generic Add On Abstract Classes
B1Wizard.dll
Reflection B1 SDKMetadata
B1AddOn B1ActionB1Menu
B1Form
B1Item
B1DbB1DbTable
B1DbColumnB1DbUdo
B1ListenerB1ListenerAttribute
B1Connections
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)
Add-on Dev with B1DE (Demo)
© SAP AG 2005
Add-on Dev with B1DE (Demo) – Requirement 1
Requirem
entR
equirement
Business Partner Master Data Update
1. Integrated Solution with SAP Business One, part of Business Partner module.
B1D
E Wizard
B1D
E Wizard
Coding
Coding
© SAP AG 2005
Add-on Dev with B1DE (Demo) – Requirement 2
Requirem
entR
equirement
2. Update CreditLimit, Total Discount and Interest on Arrears for several selected Business Partner Data simultaneously.
B1D
E Wizard
B1D
E Wizard
Coding
Coding
© SAP AG 2005
Add-on Dev with B1DE (Demo) – B1DE Wizard
Requirem
entR
equirement
B1D
E Wizard
B1D
E Wizard
Coding
Coding
© SAP AG 2005
Add-on Dev with B1DE (Demo) -- Coding
Requirem
entR
equirement
Insert code to all the slots that created by B1DE for your Add-on solution.
B1D
E Wizard
B1D
E Wizard
Coding
Coding
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)
Add-on Installer Package with B1DE (Demo)
© SAP AG 2005
Add-on Installer Package with B1DE
B1D
E Wizard
B1D
E Wizard
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)
B1TE and Add-on Certification Basic Introduction
© SAP AG 2005
Certified Partner Integrations
USAInventory PlannerValogix
USAIntegration & migrationGEMS
USAE-commerce Praxis
CountryProductPartner
CanadaPSATenrox
CanadaWMSRadio Beacon
CanadaManufacturingNware
GermanyE-commerce Epages
GermanyManufacturing Beas
Germany WMSSwisslog
Germany Professional ServicesMaringo
IsraelIntegration / workflowMagic Software
New Zealand Job CostingEnprise
UKDocument imagingINVU
UKCredit Card & EDICindercone
USARFIDIntermec
© SAP AG 2005
SAP Integration and Certification Centers
EMEA
All countries in Europe, the
Middle East and Africa
Americas
All countries in North and South
America
APA
All countries in Asia and the
Pacific region
A partner’s integration must be certified in the SAP ICC responsible for the country in which the partner’s main agreement relating to
SAP Business One was executed.
ICC WalldorfPhone +49 6227 767600
ICC Bangalore Phone +91 80 51396044
ICC Palo AltoPhone +1 650 849 [email protected]
© SAP AG 2005
Certification criteria
Certification RequirementsThe requirements for certification is categorized as;
Technical RequirementsFunctional RequirementsStability/Performance Requirements
Technical requirementsDefined by SAP
Based on the published guidelinesOutlined in the SAP B1 SDK Certification Test Plan
Functional and Stability/Performance requirementsMutually agreed between SAP and the ISVIncorporated into the B1 SDK Certification Test Plan
© SAP AG 2005
SoftwareDevelopment Kit
(supplementary) SAP Add-Ons
Partner Add-On(s)
SAP Business One-based Solution
Solution
SAP Business One(“Core” Functionality)
… 2005
SAP Business One(“Core” Functionality)
… 2004
Customer‘s „CompleteSAP Business One-based
Solution“
© SAP AG 2005
SAP Business One – “simple yet powerful”
easy to implement
easy to adapt
easy to learn and use
easy to maintain
…and…It is a platform for (branch) solutions
SAP Business One Context…
© SAP AG 2005
Certification requirements to ensure that a Solution is:
easy to implementeasy to adapt
easy installation => documented; first step in the testuse SAP namespace => Avoid conflicts by design
easy to maintainusage of APIs mandatory
=> preserves DB consistency=> Prerequisite for universal validity of certificate across
SAP Business One versionsDB systemsand localizations
=> Allows easy upgrade of core product
Add-On Solution – Certification Requirements…
© SAP AG 2005
…and:
easy to useDocumentation Standards=> same content allows to figure out whether or not a combination of add-ons might fit togetherCompliance with Screen Design Guidelines=> ONE SOLUTION look & feel for customer
General rule:Avoid using proprietary capabilities (objects) of Database System, Operating System etc. whenever possibleCertification can be performed on one system, but will be valid for any!
Add-On Solution – Certification Requirements…
© SAP AG 2005
SAP Business One Test Environment
SAP Business One Test Environment – B1TEB1 .NET Profiler
Traces calls to SAP B1 and any other .NET objectsOnly for add-ons written in MS .NET
B1 DB Profiler Verifies calls to DI API Objects
MS SQL Profiler Verifies connections, and DB operations
B1 Bubble Checker Verifies the propagation of events within an Add-On
B1 Form Checker Verifies forms contained in add-on
Detailed documentation on B1TE is included with its installationB1TE together with its source code is available on SDN
© SAP AG 2005
Agenda
Add-on Dev with B1DE (Demo)
Add-on Installer Package with B1DE (Demo)
B1TE and Add-on Certification Basic Introduction
B1DE Introduction
Add-on Testing and Certification Process with B1TE (Demo)Add-on Testing and Certification Process with B1TE (Demo)
© SAP AG 2005
Add-on Testing with B1TE – Database Profiler
Database Profiler keeps track of all the changes in a SAP Business One Company database carried out by the correct use of the DI API.
In the certification phase, this tool is used to verify that an add-on accesses a SAP Business One database in a correct and supported way by using the DI API.
© SAP AG 2005
Add-on Testing with B1TE – Form Checker
Form Checker is used to check an XML form or menu against a subset of the SAP Business One User Interface Standards and Guidelines.
In the certification phase, this tool is used to verify XML forms produced by an add-on against these guidelines.
© SAP AG 2005
Add-on Testing with B1TE – .Net Profiler
.Net Profiler keeps track of all the DI API and UI API methods called from a .NET add-on. The tool produces information about the time spent, the exception raised, and possible compatibility problems.
In the certification phase, this tool is used to verify that an add-on follows the SAP Business One SDK development guidelines and that it does not break any compatibility rule.
© SAP AG 2005
Conclusion
B1DE is free and open source code in SDN (www.sdn.sap.com), it benefit partner a lot of add-on development.
Partner Add-on certification information, focusing on technical side.
B1TE, the tool which is also free in SDN and helps partner to test the solution.
© SAP AG 2005
Thank you. Any question?
Looking forward to SAP Business One bright future…