6. The Architecture of SAP Those SAP R/3 software components that specialize in processing business applications form the Application Layer. The Application Layer Those SAP R/3 software components that specialize in interacting with end-users form the Presentation Layer. The Presentation Layer Those SAP R/3 software components that specialize in management , storage and retrieval of data form the Database Layer The Database Layer
7. The Architecture of SAP Standard SAP Landscape Distributed Presentation SAP R/3 System Central System Dưới PC , lớp Presentation vẫn có dữ liệu tạm chứa trong Access , các hàm, thủ tục để “show” lên giao diện SAP GUI Sand box Một vài công ty không có Node này Use central system and distributed presentation Presentation Application Database
8. The Architecture of SAP Business Application ABAP/4 Development Workbench Basic Software (Midle ware/Kernel) Common API Unix Windows AS/400 .. Common API Oracle MS-SQL DB2 … Common API TCP/IP RPC … Hardware Mấy cái ứng dụng nghiệp vụ của mình(FI/CO/MM/SD…), có thể cấu hình được các luật Môi trường lập trình, xây dựng các thủ tục vận hành các luật, trao đổi thong tin với DBMS,OS,… Phần mềm lõi SAP dùng các hàm APIs (Application program Interface) để làm việc với OS, DBMS,Communication protocol, GUIs Có lẽ mình chỉ đụng tới SAP trong khỏang này thôi
9.
10.
11.
12. Application 2. Các Cấu phần cơ bản System Central interface ( OS interface , Dispatcher và Work process) The Architecture of SAP (tt) DB OS Kernel OS interface DB interface GUI Nhiem vụ OS interface lo hết các việc như shceduling, memory management, file accessing,…. DB interface lo het cac tac vu ve du lieu ( thong qua OS interface) Graphic user interface lo hết các giao tiếp với lớp presentation thông qua OS interface (inlude network protocol, đương nhiên )
14. SAP SYSTEM Main Memory The Architecture of SAP (tt) Presentation Layer SAP GUI Data Base Server Application server Dispatcher Requested queue Work Process Buffer Page Roll 1 2 3 4 5 6 7 Application servrer 2 Application servrer x Message Server Another SAP SYSTEM Gateway Another SAP SYSTEM TCP/IP TCP/IP TCP/IP
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25. *Workbench Organizer and Transport system(tt) /usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL Domain Group Layer (Class) Route (Source Target)
26.
27.
28. Lọai “Two-System” landscape thì tiết kiện, gọn gàng, nhưng có thể ko test đúng 100% vì lúc đang test, có CR, một số CR lọai Cross-client do mình làm thấy effect trên TEST nhưng chưa được Transport qua PRO. Vd: Factory Calendar Corss Client data or ABAP/4 object Cross-Client Một hình ảnh về System lanscape
29.
30.
31.
32.
33.
34.
35.
36.
37.
38. *Management of User, Authorization and Profiles Các User chuẩn : DDIC: (Data dictionary) Trong client 000, 001 là user đặc biệt được tạo ra khi Install SAP. Là Owner của Master data. (sap_all va s_a.system authorization) SAP*: Supper User, được tạo sẳn nó có profile SAP_ALL với tât cả quyền hạn trên các authorization object, nhưng không phải là owner trên master record. ( thua DDIC chút ) End User: Các user khác do mình tạo ra Tạo User, Set defaul password SU01: Gán quyền theo role hoặc Chọn các profile có sẳn. Gàn role với các authorization riêng biệt sau đó SAP sẽ generate ra profile tương ứng.
39.
40. *Management of User, Authorization and Profiles Quyền hạn gì? Trên Object nào? Của Filed gì? Trị giá cấp cho là ? Quyền ghi – Object ABC – Field Cus.Name – Chi 3 tri giá X,Y,Z Các quyền được cấp này gom lại thành “Profile” cho mỗi user đã được phân quyền Phân cấp phân quyền cho User – Khái niệm Composite Profile USER Single Profile Authorization Object Value Field
41.
42. 3 Task làm thường xuyên với nhiệm vụ Phân cấp phân quyền *Management of User, Authorization and Profiles
43. *Management of User, Authorization and Profiles Thực hành SU01, PFCG tạo menu, tạo role, Sinh Profile cho User vừa tạo. (Tạo role trước) Dùng SU53 để kiểm tra quyền nếu thiếu thì sẽ thêm bằng PFCG… TACT table để xem các ‘quyền’ – action : 141 lọai !
44. *Management of User, Authorization and Profiles Hay ho Nhất chỗ này: Authorization management: Autho. Object Profile Field Value
45. *Management of User, Authorization and Profiles Dùng hàm Authorization_Check và thêm Authorization Object ( Field, Value check,…), Edit ABAP/4 Program phu hợp. Nếu Thiếu các Authorization Object có sẳn, có thể thêm tùy theo nhu cầu của mình Xem tài liệu Chi tiết là 1 ví dụ (Autho_Customize folder) Lưu ý: Các thay đổi về Authorization không tạo ra CR, mình phải tự transport ngay trong PFCG Transport role xong rồi qua Server PRO mà assign cho User cần role mới này
52. Type: DIA, UPD (V1), Up2(V2), ENQ: enque, BTC, SPO Runing , Waiting,(đang chờ yêu cầu để chạy) , Hold ( nhiều cái hold quá thì ..chậm), Killed: Bị thóat ra rồi và chưa restart lại Gợi nhớ lý do vì sao có Status = “Hold” Yes/No: CÓ cho restart hay không Số lần bị terminal Semaphore dấu hiệu về performance do waiting nhiều quá, lâu quá, cần sửa parameter
53. *General Administration utilities Muốn xem chi tiết các work process họat động làm sao, lỗi gì … thì vào trace như hình bên Monitor User Sessions – SM04. goto memory để xem bộ nhớ các user chiếm Click vào để xem và ‘diệt” nếu muốn
54.
55. *General Administration utilities Client administration Nhắc lại: phân biệt rõ có 2 lọai dữ liệu Client-Independent Data dữ liệu độc lập/riêng biệt trong mỗi client Client-Dependent Data dữ liệu “ép phê” trên tất cả các client Create NEW client – SCC4 (cái này cũng maintenance luôn) Tối thiểu cần 200MB cho 1 client ( không có application data gì cả) user SAP*/password = PASS .(Mat Password DDIC, SAP* ở client 000 làm sao? Xem tai lieu) Khi tạo mới 1 client, ta chưa có data gì, không làm được cái gì về nghiệp vụ trên này , cần configure hoặc copy data từ client đã configure vào đây
61. 1 2 4 5 Một ví dụ các màn hình thao tác khi “TRACE”
62.
63.
64.
65. MS-SQL DB Artchitecture (tt) MS_SQL Memory Management? SQL Server ho tro Address Windowing Extensions (AWE) cho phep su dung hon 4 gigabytes (GB) on 32-bit versions of Microsoft Windows operating systems. Len den 64 GB. Instances of SQL Server running on Microsoft Windows 2003 use dynamic AWE memory allocation . MS_SQL service architecture: SSIS, SSAS,SSRS… Dung sp_configure de setting cac option, vd: SELECT * FROM sys.configurations; sp_configure 'show advanced options', 1; GO RECONFIGURE; GO
66.
67.
68. Dung SQL enterprise manager 1 2 3 4 5 6 … 13 Các buớc thứ tự để backup database
69. Các Task Ma` administartor hay làm Tùy mình sắp xếp theo thói quen, sách vở,….