2007 saptech ed

24
SAP TechEd SAP TechEd Development Development Perspective Perspective

Upload: michelle-crapo

Post on 07-Nov-2014

1.814 views

Category:

Technology


0 download

DESCRIPTION

Here are my notes from SAPTechEd 2007 - The entire presentations from the event can be purchased from www.sdn.sap.com. I learned a lot in 2007 - and then again in 2008. Great sessions. E-mail me if you see anything that isn't correct.

TRANSCRIPT

Page 1: 2007 SAPTech Ed

SAP TechEdSAP TechEdDevelopment Development PerspectivePerspective

Page 2: 2007 SAPTech Ed

OverviewOverview

SAP UpgradeSAP Upgrade UniCode DevelopmentUniCode Development Solutions ManagerSolutions Manager New Programming TechniquesNew Programming Techniques Netweaver, Web Development, and Netweaver, Web Development, and

moremore Vendor ToolsVendor Tools

Page 3: 2007 SAPTech Ed

SAP Upgrade - SessionsSAP Upgrade - Sessions

RBE Plus – Tool for upgradeRBE Plus – Tool for upgrade Single Code Page to Uni-CodeSingle Code Page to Uni-Code Solutions Manger for upgradeSolutions Manger for upgrade Other CustomersOther Customers

Page 4: 2007 SAPTech Ed

RBE PlusRBE Plus

Pulls current Config. / Programs from Pulls current Config. / Programs from the customer’s SAP systemthe customer’s SAP system

Reports on new developmentsReports on new developments Reports on system difference – Limit Reports on system difference – Limit

testing for hotpacks upgrades etc.testing for hotpacks upgrades etc. Different Services – Buy or consultDifferent Services – Buy or consult

Page 5: 2007 SAPTech Ed

Single Code Page to UniCodeSingle Code Page to UniCode

Export Data and Then ImportExport Data and Then Import Exception reportException report Down time (Conversion to UnicodeDown time (Conversion to Unicode File transfers between uni-code and File transfers between uni-code and

non-unicode are limitednon-unicode are limited Conversions between incompatible Conversions between incompatible

code pagescode pages

Page 6: 2007 SAPTech Ed

UniCode DevelopmentUniCode Development

A lot of changes A lot of changes Some changes not found by syntax Some changes not found by syntax

check.check. Can be phased in – Unicode flipped Can be phased in – Unicode flipped

on for programs in a non-unicode on for programs in a non-unicode environmentenvironment

Some big gotchas with integration Some big gotchas with integration points. System can no longer work points. System can no longer work with lower versions of BW, EBP, etc.with lower versions of BW, EBP, etc.

Page 7: 2007 SAPTech Ed

Solutions ManagerSolutions Manager

Tool of choice for UpgradeTool of choice for Upgrade Most use it for transports, SAP Most use it for transports, SAP

change controlchange control Project management can be done Project management can be done

from SOLMAN and from SOLMAN and uploaded/downloaded to Microsoft uploaded/downloaded to Microsoft PMPM

Page 8: 2007 SAPTech Ed

SAP Upgrade – Other CustomersSAP Upgrade – Other Customers

Many had more Z* Programs than us.Many had more Z* Programs than us. Changes to Config and programsChanges to Config and programs Programs for only ECC upgrade had minor Programs for only ECC upgrade had minor

changes: Discontinued function modules, changes: Discontinued function modules, BDCsBDCs

Programs changed for Unicode had Programs changed for Unicode had substantial changessubstantial changes

How they managed ABAP ChangesHow they managed ABAP Changes Contacts from various customersContacts from various customers

Page 9: 2007 SAPTech Ed

““New” Programming New” Programming TechniquesTechniques

Three TieredThree Tiered Generic ProgrammingGeneric Programming Shared MemoryShared Memory RFCs between systemsRFCs between systems Secondary indexes on internal tablesSecondary indexes on internal tables Test programsTest programs Code checkers Code checkers

Page 10: 2007 SAPTech Ed

““New” Programming Techniques New” Programming Techniques Cont.Cont.

SQL Trace/Run Time AnalysisSQL Trace/Run Time Analysis Tips/Tricks new Debug toolTips/Tricks new Debug tool ABAP ObjectsABAP Objects

Page 11: 2007 SAPTech Ed

Three Tiered (MVC)Three Tiered (MVC)

Presentation – User Interface (View)Presentation – User Interface (View) Application (Business Logic) – Pulling Application (Business Logic) – Pulling

information (Model)information (Model) Persistence Layer – DatabasePersistence Layer – Database Controller Binds presentation and Controller Binds presentation and

application togetherapplication together MVC – Model View ControllerMVC – Model View Controller

Page 12: 2007 SAPTech Ed

Generic ProgrammingGeneric Programming

Type “ANY”Type “ANY” Field SymbolsField Symbols CastingCasting Assigning Data ReferencesAssigning Data References Dynamic statements (assignments)Dynamic statements (assignments) Try/Catch Exception HandlingTry/Catch Exception Handling Resumable ExceptionResumable Exception

Page 13: 2007 SAPTech Ed

Shared MemoryShared Memory

““Buffers” data.Buffers” data. Can be updated/refreshed as often Can be updated/refreshed as often

as you program it for.as you program it for. Can be read via a function module.Can be read via a function module. Alternative to buffering a table.Alternative to buffering a table. Table buffer refreshed every 2 min. Table buffer refreshed every 2 min.

Some SAP Tables are bufferedSome SAP Tables are buffered

Page 14: 2007 SAPTech Ed

RFCs between systemsRFCs between systems

RFC calls possible between 2 SAP RFC calls possible between 2 SAP systemssystems

Destination maintained in client Destination maintained in client system.system.

Data is encrypted via RFC callData is encrypted via RFC call Load BalancingLoad Balancing

Page 15: 2007 SAPTech Ed

Secondary indexes on internal Secondary indexes on internal tablestables

Can define in any ABAP program.Can define in any ABAP program. No need to move to a different No need to move to a different

internal table for a different sort.internal table for a different sort. Must specify the index to use in the Must specify the index to use in the

ABAP code.ABAP code. New syntax check finds errors in New syntax check finds errors in

secondary index.secondary index.

Page 16: 2007 SAPTech Ed

Test programsTest programs

Allow you to verify your program in a Allow you to verify your program in a very controlled way.very controlled way.

Unit tests are executed automatically Unit tests are executed automatically from code inspector.from code inspector.

Excellent regression test tool.Excellent regression test tool.

Page 17: 2007 SAPTech Ed

Code “checkers”Code “checkers”

Syntax Check – checks syntaxSyntax Check – checks syntax Code Inspector – error and warning Code Inspector – error and warning

free, analyze the performance and free, analyze the performance and advise on security checks.advise on security checks.

ABAP Unit Test – Tests code, and ABAP Unit Test – Tests code, and runs after every modificationruns after every modification

Coverage Analyzer – Makes sure all Coverage Analyzer – Makes sure all of code is executed during test.of code is executed during test.

Page 18: 2007 SAPTech Ed

SQL Trace/Run Time AnalysisSQL Trace/Run Time Analysis

Statement level trace – helps during Statement level trace – helps during Debug process Debug process

Determine bottlenecksDetermine bottlenecks Reduce database hits.Reduce database hits. Only expensive statements are Only expensive statements are

recorded (Run Time Analysis) recorded (Run Time Analysis) Notes indexes that should be added Notes indexes that should be added

to tables (SQL Trace)to tables (SQL Trace)

Page 19: 2007 SAPTech Ed

Tips/Tricks new Debug toolTips/Tricks new Debug tool

Download internal tablesDownload internal tables Test FM with internal tables saved from Test FM with internal tables saved from

running your program.running your program. Display multiple internal tablesDisplay multiple internal tables Modify multiple lines of internal tables.Modify multiple lines of internal tables. Can be started when program is looping in Can be started when program is looping in

the foreground.the foreground. Can be started from outside applications Can be started from outside applications

by setting break-point in code.by setting break-point in code. Started with jobs in the background.Started with jobs in the background.

Page 20: 2007 SAPTech Ed

ABAP ObjectsABAP Objects OO modeling reflects the entities of the reality in a

natural Entities (= instances) encapsulate data and

behavior Supports information hiding Allows reuse of classes by specialization

(inheritance + redefinition) Offers different views on entities by using interfaces Has built-in event handling for loose coupling of

entities ABAP Objects opens the door to advanced ABAP

technologies – Runtime Type Services (RTTS) – Advanced Exception Handling – Shared Objects

Page 21: 2007 SAPTech Ed

Netweaver - PortalsNetweaver - Portals

Many customers moved to all front Many customers moved to all front end design in web based end design in web based environmentenvironment

Split logic out from programs MVCSplit logic out from programs MVC Adobe forms – Licensing Adobe forms – Licensing .Net, Java, WebDynpro.Net, Java, WebDynpro

Page 22: 2007 SAPTech Ed

BooksBooks

Page 23: 2007 SAPTech Ed

Vendor ToolsVendor Tools

AdobeAdobe RBE PlusRBE Plus Rev-TracRev-Trac EPIEPI Gold ClientGold Client

Page 24: 2007 SAPTech Ed

Wrap-upWrap-up

QuestionsQuestions Hands-On sessions (more Hands-On sessions (more

information)information)