Date post: | 07-Nov-2014 |
Category: |
Technology |
Upload: | michelle-crapo |
View: | 1,814 times |
Download: | 0 times |
SAP TechEdSAP TechEdDevelopment Development PerspectivePerspective
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
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
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
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
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.
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
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
““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
““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
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
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
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
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
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.
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.
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.
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)
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.
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
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
BooksBooks
Vendor ToolsVendor Tools
AdobeAdobe RBE PlusRBE Plus Rev-TracRev-Trac EPIEPI Gold ClientGold Client
Wrap-upWrap-up
QuestionsQuestions Hands-On sessions (more Hands-On sessions (more
information)information)