Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Introduction to BOL programming
1. Introduction to BOL Programming
(Soon) not just for CRM developers… Roel van den Berge
31 januari 2015
2. Agenda
Web Client UI Framework
BOL Programming
BOL programming examples
Demo Custom GenIL objects: Project Twibap in CRM
Tips, Tricks & useful reads
Q & A
3. Web Client UI Framework
31 januari 2015
BSP
Presentation
Layer
Design
Layer
UI Components
View Controller CRMUIF
Model
Context Design Layer
R
R
CoreBuffer
Entities & Lookups
BOL
Business Object
Layer
GenIL
Componentset
GenIL Component
R
Root Object
Object
Object
Object
Object
Object
Generic
Interaction Layer
Business Partner
API
Business
Transaction API
…
API
RRR
Application
Programming
Interface
Business Data
Business
Logic
4. BOL advantages
• Uniform and easy-to-use API
• Built-in buffer that speeds up applications
• No hinder from changes in underlying business logic
• Currently optimized to work with the CRM WebUI
• Possibility to model and implement custom business
logic
31 januari 2015
9. Get and Set Properties of an entity
31 januari 2015
10. Create a BP entity using BOL programming
DEMO
31 januari 2015
11. Demo case
• Goal: get tweets of CiberCRM in a table in the WebUI
• API: #Twibap
• GenIL/BOL:
– Simple Object ZTwitter
– Create necessary structures
– Implement GenIL class
• Presentation Layer:
– Create custom component
– Create ZTwitter context nodes in the various parts of the component
– Initialize context nodes (read the tweets)
– Create view with a table to display tweets
31 januari 2015
12. Code Exchange: Project Twibap
• ABAP OO Twitter API
• OAuth
• JSON parser
• Singleton Instance
• Designed to call all available API methods of Twitter
• Created by Uwe Fetzer (SE38 consulting)
• Extendable by the SDN community
31 januari 2015
13. Demo Custom GenIL objects: Project Twibap in CRM
DEMO
31 januari 2015
14. Useful transactions
• CRMC_UI_PROFILE – Defining Business Roles
• SM34: CRMVC_GIL_SO_DEF – Custom GenIL objects
• BSP_WD_CMPWB – BSP component workbench
• SE80 BSP applications – Custom components
• GENIL_MODEL_BROWSER – GenIL relations and attr
• GENIL_BOL_BROWSER – Browse BOL entities
• SAAB – Checkpoint groups BOL* & GENIL*
31 januari 2015
15. Useful reads
• SAP CRM Web Client – Customizing and Development
– SAP Press – Michael Füchsle & Matthias E. Zierke
• BOL Programming & How To BOL
– To be found in SAP Marketplace (advanced search -> BOL)
• SCN Wiki: CRM Web Client UI Framework
• CRM Web Client UI Framework is available in ERP 6.0
and NetWeaver ABAP
– SDN blog by Thorsten Franz
• Twitter! Follow @thorstenster, @wolf_gregor,
@thomas_jung, @se38
31 januari 2015
17. Thank you!
Roel van den Berge
Senior SAP NetWeaver Consultant
CIBER Nederland BV
Meerkollaan 15
Postbus 843
5600 AV Eindhoven
M : +31 (0)6 52 65 99 21
O : +31 (0)40 232 90 90
F : +31 (0)40 232 90 91
I : www.ciber.nl
E : roel.van.den.berge@ciber.nl
T : @roelvdberge
31 januari 2015