1 / 136

Workshop Business Data Toolset (BDT)

Workshop Business Data Toolset (BDT). Carsten Köhler Ralf Irrgang. Contents :. 1 Overview 2 Development with BDT 3 Screen Layout 4 Screen Sequences 5 Program Logic 6 GUI Menu 7 Field Grouping 8 Search Help 9 Change Document Evaluation 10 Archiving in the Context of the BDT

hue
Télécharger la présentation

Workshop Business Data Toolset (BDT)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WorkshopBusiness Data Toolset (BDT) Carsten KöhlerRalf Irrgang

  2. Contents: 1 Overview 2 Development with BDT 3 Screen Layout 4 Screen Sequences 5 Program Logic 6 GUI Menu 7 Field Grouping 8 Search Help 9 Change Document Evaluation 10 Archiving in the Context of the BDT 11 Editing Mode 12 Calling Maintenance 13 Future Developments

  3. Chapter 1 Overview

  4. Business Data Toolset (BDT): • Definition: Toolset for master data and simple transaction data

  5. Design Targets: • Extensibility • Configurability • Divisibility • Alternative user interfaces • Usability • Quicker development • Generic BDT services

  6. Extensibility • Tables • Append/Include structures • Own tables • Screen layout and screen sequence • Program logic • Event technique • Field checks • Data retention

  7. DevtPartner1 IS-U IS-B MM C u Central Data FI SD s t. TR-TM IS-IS DevtPartner2 Customer Extensibility : Development cycle Without modifications Developmentspread over various systems DevtP. DevtP. MM C SD u C IBS R s IBS FI Central Data M t. TR SEM DevtPartner Customer

  8. Name Form of address 01 First name Otto Partner Last name Tester Form of address First name Last name Address Street/Number Lindenstrasse 10 Postcode/City 69121 Heidelberg Delivery district 123456 Transport zone 1122 Configurability - Screen Layout Change Business Partner: Address Partner TESTER SAP BP Street/Number BAS Postcode/City Delivery district SD Transport zone

  9. ConfigurabilityCustomizing Screen Layout/Sequence • Configuration via Drag&Drop (Visual Basic) • Screen layout and screen sequence • Technique • Subscreens • Generation of screen containers

  10. Divisibility • Depending on business criteria, objects can be split into parts. These parts can be maintained individually. • Choices • Each object can be created in one or several object parts.Example: A business partner can assume different BP roles. A range of attributes is assigned to each BP role. • Each object can be created in just one object part • Each object is always created as one whole part, no divisibility is required.Example: A contract account is always maintained with all attributes.

  11. Alternative User Interfaces SAPGUI WEB Visual Basic etc. Function Module Direct Input Check CHECK DataRetention Function Module DB_UPDATE

  12. Others ... ApplObject ???? SAP BP ApplObject BUPA ClaimsCapture ApplObject ICL SAP BP- Relationships IS-REContract Bank Account ContractAccount ApplObject BUPR ApplObject RECN ApplObject FICA ApplObject BKK Usability With Any Object BDT

  13. Development: WithoutBDT Data Transfer Processing Transactions Change Document Evaluations Field Grouping Service Authori-zations Notes

  14. Quicker Development: With BDT Data Transfer Processing TA Service Field Grouping Change Doc. Eval. Authorizations Notes Central BDT service Less development work

  15. Generic BDT Services • Direct Input • Field control (optional, required, hide) • Transfer mode • Time dependency (interval calculation) • Change documents (scheduled change documents) • Notes • Authorizations • Archiving • Deletion programs

  16. Chapter 2 Development with the BDT

  17. Application Objects Bank Account (BKKA) SAP BP Relationships (BUPR) SAP BP (BUPA) Contract Account (FICA) Others... ... How the Business Data Toolset (BDT) Is Positioned BDT SAP Basis (DDIC, Development Environment, ABAP...)

  18. Application Objects SAP BP ApplObj BUPA Applications SAP Application I SAP Application II Customer Function Group FuMo FuMo FuMo Sub-screen Sub-screen Sub-screen Fubau Fubau Fubau Sub-screen Sub-screen Sub-screen BDT - Where does Application Development Take Place? Function Group Function Group

  19. Applications • Applications are assigned to application objects • The following can be applications • SAP component • Development partner • Customer • Separate function group per application • Decoupling • Communication with the BDT via event modules • Communication between applications with GET modules

  20. SAP BP (BUPA) Applications SAP Application I SAP Application II Customers Development DDIC Development WB BDT Control Tables Overview: Development with the BDT

  21. Table: BUT000 ... ... ... Applications Append ZZ_... SAP Application I SAP Application II Customers ZZ_... Table: ZZ_... ... ... ... ... ... ... BDT/Development: Data Dictionary  Development in the DDIC

  22. Tables • Existing tables can be extended by • INCLUDES • APPENDS • New tables can be created and integrated into the maintenance • For each table there is • an owning application • several participating applications

  23. ISSTA ISDAT ISDST ... GET Collect Dynpros PBO Module PAI Module Function Modules ... • PBO ..._PBC_.. • ... ..._PBO_.. ..._PAI_.. • PAI ... • ... BDT/Development: Development Workbench Function Group Events per application Events per table Program logic • 0010 First Contact Events per view

  24. ISSTA ISDAT ISDST FCODE XCHNG DCHCK DSAVB DTAKE DSAVC DSAVE DLVE1 DLVE2 BDT/Development: DWB - Events per Application • ISSTA  Initialization • ISDAT  Read data from DB • ISDST  Distribute data to participating applications • FCODE  Edit own function code • XCHNG  Check whether data changed • DCHCK  Check before saving • DSAVB  Collect data with owning application • DTAKE  Note data in global memory • DSAVC  Complete data (get internal number) • DSAVE  Save data in DB • DLVE1  Initialize current memory • DLVE2  Initialize global memory

  25. Participating Application Owning Application ..._GET Participating Application ..._COLLECT Call Data Flow BDT/Development: DWB - Events per Table Communication: • via Get and • Collect Modules Call Data Flow

  26. Geschäftspartner ändern: Anschrift Partner TESTER Name Anrede 01 Vorname Otto Nachname Tester Anschrift Straße/Hausnr Lindenstraße 10 69121 Heidelberg Postleitzahl/Ort ZZ_... Date of first contact Rating of first contact BDT/Development: DWB - Events per View • Create subscreen with Screen Painter • Activate screen type: “subscreen” • Create layout • Flow logic • PBO module call • PAI module call • Events - create function modules per view • Create FuMo “before the screen call“ • Create FuMo “before output” • Create FuMo “after input” BUS_PBO BUS_PAI

  27. Tables: Exercises • Create the APPEND structure ZBUT000 for the table BUT000 with the fields • ZZCNT_FIRST Date of the first contact • ZZCNTID Rating of the first contact • Create table ZBUTHOBBY with the fields • CLIENT Client Key • PARTNER Partner number Key • HOBBY Hobby Key

  28. Chapter 3Screen Layout

  29. Screen Layout: Targets • Extensions and changes to screens are possible • Add other fields • in new frames • in existing frames • Assign fields differently, even between screens • Merge screens • No changes to Development Workbench objects • of BDT • of other applications

  30. Screen Layout: Screen->Section->View Change Partner: Address • A screen contains one or several sections • A section contains one or several views • A view is presented by a subscreen View 1 Section 1 View 2 View 3 Screen 1 View 4 Section 2 View 5 View 6 View 7 Section 3 View 8

  31. Screen Layout: View (Definition) • Properties are summarized in a view if they • belong together from a content point of view • are tested together • View = Subscreen • View belongs to an application • Assignment view --> field groups (field grouping) • Multiple usage of views in object parts is possible (Example: BP roles)

  32. Screen Layout: View (Attributes) • Event function module • Before output (PBO): Display explanatory texts, ... • After entry (PAI): Field checks, ... • Before screen call (PBC): Sort table, begin display with first entry • Only display view if • the application of the view is active • the view is assigned to the maintaining object part/s • Processing logic of subscreen • Call function module BUS_PBO in PBO (field grouping, messages) • Call function module BUS_PAI in PAI (determine cursor position)

  33. Screen Layout: View (Further Checks) • Owning application of view • Carry out checks in a function module • Define name of function modules in the attributes of a view • All other applications • Carry out checks in an own function module • Add name of function module under "Further checks" • Important note: • Output all error messages via message handler (function module BUS_MESSAGE_STORE)

  34. Screen Layout: Section • Assignment section --> views • Sequence of views by way of position numbers • Frame around a section (exception: header data) • Frame title for each section

  35. Screen Layout: Screen • Assignment Screen --> Sections • Sequence of sections by way of position numbers • Presentation as • normal screen (full screen) • modal dialog box (popup) • Screen title for each screen • External screens (not created with BDT)

  36. Screen Layout: Screen Containers • Consist of subscreen areas and frames (section frames) • Assignment screen --> screen container • When the screen layout is saved, the system automatically • looks for a matching screen container • generates a new screen container, if required • Transport: Determination of the screen container is conducted during import of data (AFTER_IMP-Method) • Restriction: Only subscreens among themselves

  37. Screen Layout: Procedure Change Business Partner: • Empty screen container for screen B1

  38. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title

  39. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section Partner TESTER

  40. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section Partner TESTER Name

  41. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section • Fill 1st view for 2nd section Partner TESTER Name Form of addr. 01

  42. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section • Fill 1st view for 2nd section • Fill 2nd view for 2nd section Partner TESTER Name Form of addr. 01 First name Otto Last name Tester

  43. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section • Fill 1st view for 2nd section • Fill 2nd view for 2nd section • Present title of 3rd section Partner TESTER Name Form of addr. 01 First name Otto Last name Tester Address

  44. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section • Fill 1st view for 2nd section • Fill 2nd view for 2nd section • Present title of 3rd section • Fill 1st view for 3rd section Partner TESTER Name Form of addr. 01 First name Otto Last name Tester Address Street/number Lindenstraße 10 Postcode/City 69121 Heidelberg

  45. Screen Layout: Procedure Change Business Partner: Address • Empty screen container for screen B1 • Include screen title in screen container title • Fill 1st view for 1st section • Present title of 2nd section • Fill 1st view for 2nd section • Fill 2nd view for 2nd section • Present title of 3rd section • Fill 1st view for 3rd section • Compress screen Partner TESTER Name Form of addr. 01 First name Otto Last name Tester Address Street/number Lindenstraße 10 Postcode/City 69121 Heidelberg

  46. Screen Layout: Exercise 1 • Within your function group create two screens (screen category = subscreen!) and incorporate these into the dialog. • Screen 0010 • Include fields of APPEND structure ZBUT000 • Create function modules Before output and After entry • Create view ZCUS10 • Create section ZCUS10 • Include section ZCUS10 in screen BUP500 • Screen 0020 • Include fields of table ZBUTHOBBY (Hobbies) • Create function module Before screen call • Create view ZCUS20 • Create section ZCUS20 • Include section ZCUS20 in screen BUP500

  47. Screen Layout: Exercise 2 • Within your function gorup, create a function module, that checks that the last name of a person contains at least one vowel. Include this funtion module as a further check in view BUP300. • Create function module Z_ZCUS_BUPA_PAI_BUP300 • Include function module as further check for view BUP300

  48. Chapter 4Screen Sequences

  49. Screen Sequences: Targets • Screen sequences at any level • Individual additional screens • Extend screen sequences to include new screens • Integrate screens not created with BDT • Change sequence of screens within a screen sequence • Navigation between screen sequences/screens with BDT • Tabstrips • Divisibility: optimum screen sequence for each object part

  50. Screen Sequences: Overview Addl scrn seq. 2 Addl scrn seq. 1 Previous Screen Deletion Flags Lock Bank Data Next Screen Other Data Back Back Bank Data Back Other Data Main screen seq. Previous Screen Bank Details Initial Screen Address ENTER Next Screen

More Related