Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Before You Speed Through the Gateway Come toREST with the Alternative Dispatcher Layer (ADL)Nigel James - Square Cloud Pty...
The Key MessagePresenting an            open Alternative            REST based Dispatcher                        framework...
Roadmap for today•   Get your data out of SAP•   Looking at the Internet Communication Framework (ICF)•   What makes Alter...
RPLSICF                                  REST            REGEX                        XML                        ABAP OO  ...
Introduction & OverviewAlternative Dispatcher LayerAlternative – there are other things that do this jobDispatcher – it pr...
Something to keep in mind ...    NO    SILVER    BULLETMastering SAP Technologies      http://squarecloud.com.au
Get your data out of SAP• RFC• BAPI’s• Web Services / SOAP / PI• Gateway• ICF HandlerMastering SAP Technologies   http://s...
Looking at the ICF• ICF – Internet Communication Framework [Transaction SICF]• Enables you to create an endpoint of your o...
What makes the ADL so great?•   ReST based architectural approach•   Simplify nodes in SICF•   Create a simple class with ...
Installing the ADLInstalling the Alternative Dispatcher Layer1. Find the ADL project on Code Exchange    https://cw.sdn.sa...
The ADL FlowMastering SAP Technologies   http://squarecloud.com.au
New ADL ProjectStarting a new Project with the ADL1. Create a new package for your classes2. Create a class for the dispat...
Implement HANDLE_REQUESTMastering SAP Technologies   http://squarecloud.com.au
Add GET / POST methodsMastering SAP Technologies   http://squarecloud.com.au
Link to a New ICF NodeMastering SAP Technologies   http://squarecloud.com.au
This slide has been left blank intentionallyMastering SAP Technologies                                 http://squarecloud....
DemoAnd now with any further ado I would like to introduce ...  wait for it       wait for it                        THE D...
QuestionsMastering SAP Technologies   http://squarecloud.com.au
Key Points to Take Home• Simple• Light weight• Restful Architecture• Alternative• Control• FREEMastering SAP Technologies ...
Super Bonus Slides – More resourses•   DJ Adams http://scn.sap.com/people/dj.adams/content•   Sascha Wenninger http://scn....
Nigel James                             Square Cloud Pty Ltd                             http://squarecloud.com.au/       ...
Alternative Dispatcher Layer Overview
Alternative Dispatcher Layer Overview
Upcoming SlideShare
Loading in …5
×

Alternative Dispatcher Layer Overview

2,143 views

Published on

The Alternative Dispatcher Layer is a way to RESTify SAP systems. This presentation was delivered at Mastering SAP Tech Conference 2012

Published in: Technology
  • Be the first to comment

Alternative Dispatcher Layer Overview

  1. 1. Before You Speed Through the Gateway Come toREST with the Alternative Dispatcher Layer (ADL)Nigel James - Square Cloud Pty Ltd and SAP Mentor
  2. 2. The Key MessagePresenting an open Alternative REST based Dispatcher framework Layer to get data out of SAPMastering SAP Technologies http://squarecloud.com.au
  3. 3. Roadmap for today• Get your data out of SAP• Looking at the Internet Communication Framework (ICF)• What makes Alternative Dispatcher Layer (ADL) so great?• Installing ADL• An Example Use-Case• Demo• Questions• Key Points to Take HomeMastering SAP Technologies http://squarecloud.com.au
  4. 4. RPLSICF REST REGEX XML ABAP OO SAPLINK JSON HTTPHTMLMastering SAP Technologies http://squarecloud.com.au
  5. 5. Introduction & OverviewAlternative Dispatcher LayerAlternative – there are other things that do this jobDispatcher – it prime job is to route URL’sLayer – it is part of the overall solution(Personally I was arguing that is should be called theAWESOME Dispatcher Layer)Mastering SAP Technologies http://squarecloud.com.au
  6. 6. Something to keep in mind ... NO SILVER BULLETMastering SAP Technologies http://squarecloud.com.au
  7. 7. Get your data out of SAP• RFC• BAPI’s• Web Services / SOAP / PI• Gateway• ICF HandlerMastering SAP Technologies http://squarecloud.com.au
  8. 8. Looking at the ICF• ICF – Internet Communication Framework [Transaction SICF]• Enables you to create an endpoint of your own naming and write custom code to expose data• Hierarchies of Handlers• Create URL’s that make sense – Pretty URL’s• Plug in code to access anything inside SAPMastering SAP Technologies http://squarecloud.com.au
  9. 9. What makes the ADL so great?• ReST based architectural approach• Simplify nodes in SICF• Create a simple class with all the url patterns you want to match• Delegate each pattern to another class• Return data in which ever representation works for you• For example an invoice could be returned as Json, XML, JPEG, PDFMastering SAP Technologies http://squarecloud.com.au
  10. 10. Installing the ADLInstalling the Alternative Dispatcher Layer1. Find the ADL project on Code Exchange https://cw.sdn.sap.com/cw/groups/adl2. Download the Nugget File from sources3. Use SAPLINK to install the Nugget file4. Create a new project for the base classes – YADL5. Make sure everything is compiledMastering SAP Technologies http://squarecloud.com.au
  11. 11. The ADL FlowMastering SAP Technologies http://squarecloud.com.au
  12. 12. New ADL ProjectStarting a new Project with the ADL1. Create a new package for your classes2. Create a class for the dispatcher Z_REST_DISPATCHER that inherits from Y_ADL_DISP_BASE3. Implement HANDLE_REQUEST4. Create one or more classes, Z_REST_RES_MAIN*, that inherit from Y_ADL_RES_BASE5. Create GET / POST MethodsMastering SAP Technologies http://squarecloud.com.au
  13. 13. Implement HANDLE_REQUESTMastering SAP Technologies http://squarecloud.com.au
  14. 14. Add GET / POST methodsMastering SAP Technologies http://squarecloud.com.au
  15. 15. Link to a New ICF NodeMastering SAP Technologies http://squarecloud.com.au
  16. 16. This slide has been left blank intentionallyMastering SAP Technologies http://squarecloud.com.au
  17. 17. DemoAnd now with any further ado I would like to introduce ... wait for it wait for it THE DEMOMastering SAP Technologies http://squarecloud.com.au
  18. 18. QuestionsMastering SAP Technologies http://squarecloud.com.au
  19. 19. Key Points to Take Home• Simple• Light weight• Restful Architecture• Alternative• Control• FREEMastering SAP Technologies http://squarecloud.com.au
  20. 20. Super Bonus Slides – More resourses• DJ Adams http://scn.sap.com/people/dj.adams/content• Sascha Wenninger http://scn.sap.com/people/sufw/content• Nigel James http://scn.sap.com/people/nigel.james/content• ADL Project https://cw.sdn.sap.com/cw/groups/adl• JSON Project https://cw.sdn.sap.com/cw/groups/zjsonMastering SAP Technologies http://squarecloud.com.au
  21. 21. Nigel James Square Cloud Pty Ltd http://squarecloud.com.au/ nigel.james@squarecloud.com.auMastering SAP Technologies Slide 22 http://squarecloud.com.au

×