ITP ASUG ABAP for Functional Consultants - SAP ??ABAP for Functional Consultants ... ALE development; RFC, BAPI, IDoc, Dialog, and Web Dynpro development; ... ALE IDocs ABAP Debugger

  • View
    222

  • Download
    3

Embed Size (px)

Text of ITP ASUG ABAP for Functional Consultants - SAP ??ABAP for Functional Consultants ... ALE...

  • ABAPforFunctionalConsultantsAnthonyCecchini,President,INFORMATION TECHNOLOGY PARTNERS

    Founded in 1993, Women Owned 8(M), Small Business Certified with a GSA IT 70 Schedule, we focus solely on SAP. IT Partners has 20 years of experience helping both large and midsize companies, and Government Entities.

    Anthony has 17 years of experience in SAP R/3 business process analysis and SAP systems integration. His areas of expertise include SAP NetWeaver integration; ALE development; RFC, BAPI, IDoc, Dialog, and Web Dynpro development; and customized Workflow development.

    ITPartners,Inc.ExperienceMatters. www.itpsap.com

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    SAPconsultantscomeinallshapesandsizesfromtheextremetechieguysthatcanonlycommunicateinbinarycode,tothosesmoothtalkinggiftofthegabsalesmanlikefunctionalconsultantswhoruninfearatthethoughtofdiscussinganythingtechnical.Whenaprojectgetsontheway,somehowthetwomustmeetandworktogether.BeingaTechie IwanttohelpbridgethischasmandhelpfunctionalconsultantsCracktheCodeandgainsomefootingwiththispresentation.

    CrackingtheCode

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    Afunctionalconsultantevaluatesthedemandsintalkingwiththecustomer'srepresentatives,transformstheessenceintoanabstractandalgorithmicbusinessmodel.Hence,he/sheidentifiestheusecasesandtransformsthemintologicalviews.

    Thenthemaintaskstarts:customizingtherespectivebusinessareaandmakingsurethesystemreactsinthemanneraccordingtotheconstraintsoftherequestedusecase.

    AlongwiththisanSAPfunctionalconsultantneedstodevelopfunctionalspecifications.

    FunctionalConsultant

    ROLES

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    TechnicalconsultantsplanthetechnicalrequirementsforanobjectwiththeFunctionalConsultantandthemanagerofthetechnicalteamandthencarryouttherequiredtechnicaltasksinthesystem.Dependingonthescopeandcomplexityoftheimplementation,technicalconsultantsmayworkinseveralareas,forexample,systemadministration,databaseadministration,networkadministration,operatingsystemadministration,developmentofcrossapplicationcomponents,orABAPDevelopment.

    AlongwiththisanSAPTechnicalconsultantneedstodevelopTechnicalspecifications.

    TechnicalConsultant

    ROLES

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    WhiletheFunctionalConsultantdefinesandisolatestheGAPintheUseCase,theTechnicalConsultantdecidesthebestTechnicalRealizationinachievingtheGoalorendstatedesired.

    Myassertionis,thequality,stability,andoverallintegrityoftheprocessisincreased(x)foldbycollaborationfromstarttofinish.

    GAPANALYSIS

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ABAPClientServerArchitectureABAPRepositoryABAPWorkbenchIntroductiontoABAPProgrammingLanguage

    DataDictionaryStructuresInternalTablesTransparentTables

    UserExitsandBadi'sALE&IDocsABAPDebugger

    Whatwillwediscuss?

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ThePresentationlayercontainsuserinterfacelikeSAPGUI,andtheEnterprisePortalfortheusertoviewthedatafromtheapplicationlayer

    TheABAPprogramsrunintheApplicationlayer.TheABAPprogramsthenreadthedataneededforprocessingfromthedatabase.

    Databaselayeristhelowestlevel.Dataismanagedusingtherelationaldatabasemanagementsystem(RDBMS)concept.

    ClientServerArchitecture

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    TheRepositoryconsistsofallsystemdevelopmentobjectsintheSAPR/3.

    Somedevelopmentobjectsare: ReportProgram FunctionGroupsandFunctionModules DDICTables DynproComponents Classes&Methods Packages.etc.

    Therepositoryisdividedaccordingtotheapplicationcomponents.Withintheapplicationcomponentthereareseveralpackageswhichcontainsrelevantobjectforlogicalsubdivision.Wheneveranapplicationobjectisdevelopeditmustbeassignedtoapackage.

    WhatisRepository?

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ThereisaSearchtoolyoucanusetosearchtherepositoryinformationsystem.

    Thisisusedtomakerandomsearcheslikesearchforallprogramsbyaparticularpackage

    Togettotherepositoryinformationsystem,followthemenupathfromSAPaccessMenu.Tools>ABAPWorkbench>Overview>InformationsystemorusetransactionSE84orSE80

    SearchingtheRepository

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ABAPWorkbenchincludestoolsthatarerequiredforthecreationandeditingofrepositoryobjects.

    Thesetoolscovertheentiresoftwaredevelopmentlifecycle.ABAPEditor: Itisusedforeditingthesourcecode.ABAPDictionary: Itisusedforcreationofdatabasetabledefinitions,datatypes,dataelementsandsoon.Screenpainter: Itisusedforconfiguringscreenalongwiththefunctionsforuserdialogs.Menupainter: Itisusedfordefininguserinterfaceslikemenubar,standardtoolbar,applicationtoolbarandfunctionkeysettings.FunctionBuilder: Itisusedforcreationandmaintenanceoffunctionmodules.Classbuilder: Itisusedformaintainingglobalclassesandinterfaces.

    ABAPWorkbench

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    Eachoftherepositoryobjectscanbeeditedusingarespectivetool.Forourconveniencewecanaccessallthesetoolsin TheObjectnavigator,TransactionSE80.

    TheObjectnavigatorissplitintotwoareas:ToolAreaNavigationArea

    ABAPWorkbench

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    NavigationArea: Navigationareaonthelefthandsideofthescreendisplaysthehierarchyoftheobjects.Wecaneitherdisplayorhidethenavigationareainthescreenbyselectingfullscreenmodeonoroff.Doubleclickingonanobjectinthenavigationareadisplaystheobjectinitscorrespondingeditorinthetoolarea.ForexampleifyouchooseaprogramitwillbedisplayedintheABAPEditorinthetoolareaandifyouchooseaclassitwillbedisplayedintheclassbuilder.

    ToolArea: ItistheareafordisplayingandeditingthedevelopmentobjectusingtheappropriatetoollikeclassbuilderorABAPeditoretc.

    ABAPWorkbench

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    AdvancedBusinessApplicationProgramming

    ABAPisplatformindependent.Itisindependentofthedatabaseandoperatingsystem

    ABAPprogramshaveindividualstatements

    ThefirstwordistheABAPKeyword.

    Endstatementswithaperiod.

    IntroductiontoABAPProgrammingLanguage

    REPORTTEST.

    WRITE 'HelloWorld'.

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    Chainedstatements

    Consecutivestatementswithanidenticalfirst(leftmost)partcanbecombinedintoa"chained"statementusingthechainoperator":"(colon).

    Thecommonpartofthestatementsiswrittentotheleftofthecolon,thedifferingpartsarewrittentotherightofthecolonandseparatedbycommas.

    IntroductiontoABAPProgrammingLanguage

    WRITE: FLIGHTINFOCITYFROM,FLIGHTINFOCITYTO,FLIGHTINFOAIRPTO.

    WRITE FLIGHTINFOCITYFROM.WRITE FLIGHTINFOCITYTO.WRITE FLIGHTINFOAIRPTO.

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    WheredoyouthinkABAPprogramsRun?

    IntroductiontoABAPProgrammingLanguage

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    WheredoyouthinkABAPprogramsRun?

    WhereistheDatatheABAPprogramneeds?

    IntroductiontoABAPProgrammingLanguage

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    WheredoyouthinkABAPprogramsRun?

    WhereistheDatatheABAPprogramneeds?

    IntroductiontoABAPProgrammingLanguage

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ABAPisplatformindependent.Itisindependentofthedatabaseandoperatingsystem

    HowdowereadandwritedatafromtheRDBMS?

    IntroductiontoABAPProgrammingLanguage

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    OPENSQLOpenSQLconsistsofasetofABAPstatementsthatperformoperationsonthecentraldatabaseintheSAPSystem.

    Theresultsoftheoperationsandanyerrormessagesareindependentofthedatabasesysteminuse.

    IntroductiontoABAPProgrammingLanguage

    *******************************************Program:BOOKINGS**Author:JoeByte, 07Jul2007*****************************************REPORT BOOKINGS.

    *ReadflightbookingsfromthedatabaseSELECT *FROM FLIGHTINFOWHERECLASS='Y' "Y=economy

    OR CLASS='C'. "C=business

    (...)

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    FinalThoughts..ABAPdoesnotdifferentiatebetweenupperandlowercaseforkeywords.

    Commentlinesbeginwitha*

    Doublequotesindicatetherestofthestatementiscomment

    IntroductiontoABAPProgrammingLanguage

    *******************************************Program:BOOKINGS**Author:JoeByte, 07Jul2007*****************************************REPORT bookings.

    *ReadflightbookingsfromthedatabaseSELECT *FROM FLIGHTINFOWHERECLASS='Y' "Y=economy

    OR CLASS='C'. "C=business

    (...)

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    BonusSlideCommonlyusedSystemFieldsinABAP

    IntroductiontoABAPProgrammingLanguage

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    ABAPClientServerArchitectureABAPRepositoryABAPWorkbenchIntroductiontoABAPProgrammingLanguage

    DataDictionaryStructuresInternalTablesTransparentTables

    UserExitsandBadi'sALE&IDocsABAPDebugger

    Whatwillwediscuss?

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    WhatisaDataDictionary?

    Adatadictionaryincomputingtermsisthesourceofinformationinwhichthesystemdataisdefinedinalogicalway.Thedatadictionaryisthecoreofawellstructureddevelopmentenvironment.Theelementsthatmakeupadictionaryareknownasmetadata.

    TheABAPdatadictionarydataisthecoreoftheR/3developmentsystem.TheintegrationoftheABAPdictionarywiththedevelopmentandruntimeenvironmentsisanactiveintegration.

  • ITPartners,Inc.ExperienceMatters. www.itpsap.com

    Structuresallowstocombinevaluesthatlogicallybelongtoonedataobject.

    YoucandefineastructureusingtransactionSE11.

    WhendefinedusingSE11,itbecomespartoftheRepositoryandcanbeusedbyALLdevelopers.T

Recommended

View more >