Abap for Functional Consultant

Embed Size (px)

Citation preview

  • 8/12/2019 Abap for Functional Consultant

    1/69

  • 8/12/2019 Abap for Functional Consultant

    2/69

    IT Partners, Inc. Experience Matters. www.

    SAP consult

    and sizes fro

    guys that ca

    binary code

    gift of the g

    functional c

    fear at the t

    anything tec

    gets on the

    must meet a

    a Techie-

    chasm and h

    consultants

    gain some fo

    presentatio

    Crackin

  • 8/12/2019 Abap for Functional Consultant

    3/69

    IT Partners, Inc. Experience Matters. www.

    A functional cons

    demands in talki

    representatives,

    into an abstract amodel. Hence, he

    cases and transfo

    views.

    Then the main ta

    respective busine

    the system react

    to the constraint

    case.

    Along with this a

    consultant needs

    specifications.

    Functiona

    ROLES

  • 8/12/2019 Abap for Functional Consultant

    4/69

    IT Partners, Inc. Experience Matters. www.

    Technical consu

    requirements fo

    Functional Cons

    of the technicalthe required tec

    system. Depend

    complexity of th

    technical consu

    several areas, fo

    administration,

    network admin

    system adminis

    cross-applicatioDevelopment.

    Along with this

    consultant need

    specifications.

    Technical

    ROLES

  • 8/12/2019 Abap for Functional Consultant

    5/69IT Partners, Inc. Experience Matters. www.

    While the Funct

    and isolates the

    Technical Consu

    Technical RealizGoal or end st

    My assertion is,

    overall integrity

    increased (x) fo

    start to finish.

    GAP ANA

  • 8/12/2019 Abap for Functional Consultant

    6/69

    IT Partners, Inc. Experience Matters. www.

    ABAP

    Client Server ArchitectureABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent TablesUser Exits and Badi's

    ALE & IDocs

    ABAP Debugger

    What will we discuss?

  • 8/12/2019 Abap for Functional Consultant

    7/69

    IT Partners, Inc. Experience Matters. www.

    The Present

    interface lik

    Enterprise P

    the data fro

    The ABAP p

    Application

    programs th

    for processi

    Database la

    Data is man

    database m

    (RDBMS) co

    Client Serve

  • 8/12/2019 Abap for Functional Consultant

    8/69

    IT Partners, Inc. Experience Matters. www.

    The Repository con

    development objec

    Some development Report Program

    Function Groups

    DDIC Tables

    Dynpro Compon

    Classes & Metho

    Packages. etc.

    The repository is di

    application componapplication compon

    packages which con

    logical subdivision.

    object is developed

    package.

    What is Rep

  • 8/12/2019 Abap for Functional Consultant

    9/69

    IT Partners, Inc. Experience Matters.www.

    There is a Search to

    the repository infor

    This is used to makesearchfor all prog

    package

    To get to the repos

    follow the menu pa

    Menu. Tools->ABAP

    >Information syste

    SE84 or SE80

    Searching th

  • 8/12/2019 Abap for Functional Consultant

    10/69

    IT Partners, Inc.Experience Matters. www.

    ABAP Workbench include

    the creation and editing o

    These tools cover the entlife cycle.

    ABAP Editor: It is used fo

    ABAP Dictionary: It is use

    table definitions, data typ

    on.

    Screen painter: It is used

    along with the functions f

    Menu painter: It is used f

    like menu bar, standard t

    and function key settingsFunction Builder: It is use

    maintenance of function

    Class builder: It is used fo

    and interfaces.

    ABAP Wor

  • 8/12/2019 Abap for Functional Consultant

    11/69

    IT Partners, Inc. Experience Matters. www.

    Each of the rep

    edited using a

    our convenienc

    these tools in T

    Transaction SE8

    The Object navi

    areas:

    Tool Area

    Navigation Area

    ABAP W

  • 8/12/2019 Abap for Functional Consultant

    12/69

    IT Partners, Inc. Experience Matters. www.

    Navigation Area:

    left hand side of th

    hierarchy of the o

    display or hide thescreen by selectin

    off. Double clicking

    navigation area di

    corresponding edi

    example if you cho

    displayed in the A

    area and if you ch

    displayed in the cl

    Tool Area: It is the

    editing the develo

    appropriate tool li

    editor etc.

    ABAP W

  • 8/12/2019 Abap for Functional Consultant

    13/69

    IT Partners, Inc. Experience Matters. www.

    Advanced Busines

    Programming

    ABAP isplatform

    independent of th

    operating system

    ABAP programs h

    statements

    The first word is t

    End statements w

    Introduction to ABAP Programmin

    REPORT TEST.

    WRITE 'Hello World'.

  • 8/12/2019 Abap for Functional Consultant

    14/69

    IT Partners, Inc. Experience Matters. www.

    Chained statemen

    Consecutive state

    identical first (left

    combined into a "

    using the chain op

    The common part

    written to the left

    differing parts are

    of the colon and s

    Introduction to ABAP Programmin

    WRITE: FLIGHTINFO-CITYFROM,

    FLIGHTINFO-CITYTO,

    FLIGHTINFO-AIRPTO.

    WRITEFLIGHTINFO-CITYFROM.

    WRITEFLIGHTINFO-CITYTO.WRITEFLIGHTINFO-AIRPTO.

  • 8/12/2019 Abap for Functional Consultant

    15/69

    IT Partners, Inc. Experience Matters. www.

    Where do

    programs

    Introduction to ABAP Programmin

  • 8/12/2019 Abap for Functional Consultant

    16/69

    IT Partners, Inc. Experience Matters. www.

    Where do

    programs

    Where is

    ABAP pro

    Introduction to ABAP Programmin

  • 8/12/2019 Abap for Functional Consultant

    17/69

    IT Partners, Inc. Experience Matters. www.

    Where do

    programs

    Where is

    ABAP pro

    Introduction to ABAP Programmin

  • 8/12/2019 Abap for Functional Consultant

    18/69

    IT Partners, Inc. Experience Matters. www.

    ABAP isp

    independ

    independdatabase

    system

    How do w

    write dat

    RDBMS?

    Introduction to ABAP Programmin

  • 8/12/2019 Abap for Functional Consultant

    19/69

    IT Partners, Inc. Experience Matters. www.

    OPEN SQOpen SQL co

    ABAP statemoperations o

    database in

    The results o

    any error m

    independen

    system in us

    Introduction to ABAP Programmin

    *****************************************

    ** Program: BOOKINGS

    ** Author: Joe Byte, 07-Jul-2007** ***************************************

    REPORTBOOKINGS.

    * Read flight bookings from the database

    SELECT* FROMFLIGHTINFO

    WHERE CLASS = 'Y' "Y = economy

    ORCLASS = 'C'. "C = business

    (...)

  • 8/12/2019 Abap for Functional Consultant

    20/69

    IT Partners, Inc. Experience Matters. www.

    Final ThoABAP does n

    between upkeywords.

    Comment li

    Double quo

    of the statem

    Introduction to ABAP Programmin

    *****************************************

    ** Program: BOOKINGS

    ** Author: Joe Byte, 07-Jul-2007** ***************************************

    REPORTbookings.

    * Read flight bookings from the database

    SELECT* FROMFLIGHTINFO

    WHERE CLASS = 'Y' "Y = economy

    ORCLASS = 'C'. "C = business

    (...)

  • 8/12/2019 Abap for Functional Consultant

    21/69

    IT Partners, Inc. Experience Matters. www.

    Bonus SliCommonly u

    ABAP

    Introduction to ABAP Programmin

  • 8/12/2019 Abap for Functional Consultant

    22/69

    IT Partners, Inc. Experience Matters. www.

    ABAP

    Client Server ArchitectureABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent Tables

    User Exits and Badi's

    ALE & IDocs

    ABAP Debugger

    What will we discuss?

  • 8/12/2019 Abap for Functional Consultant

    23/69

    IT Partners, Inc. Experience Matters. www.

    What is a Data Dictionary?

    A data dictionary in computing terms is the source of informati

    in which the system data is defined in a logical way. The datadictionary is the core of a well-structured development

    environment. The elements that make up a dictionary are know

    as metadata.

    The ABAP data dictionary data is the core of the R/3 developme

    system. The integration of the ABAP dictionary with thedevelopment and runtime environments is an active integratio

  • 8/12/2019 Abap for Functional Consultant

    24/69

    IT Partners, Inc. Experience Matters. www.

    Structures a

    values that

    one data ob

    You can defi

    transaction

    When defin

    becomes pa

    and can be u

    developers. as GLOBAL

    StructuName of

    structure

    Name ofcomponent

    Type to which

    component isassigned

  • 8/12/2019 Abap for Functional Consultant

    25/69

    IT Partners, Inc. Experience Matters. www.

    Structure variables are defined in the ABAP program with DATA statements

    DATA wa_zaddress TYPE zaddress . Using Global Type

    LOCAL Structure variables are defined in the ABAP program with DATA statements

    DATA BEGIN OF ls_zaddress,

    name TYPEsurname,street(30) TYPEc,

    city TYPEspfli_type-cityfrom,

    END OF ls_zaddress.

    Structures

  • 8/12/2019 Abap for Functional Consultant

    26/69

  • 8/12/2019 Abap for Functional Consultant

    27/69

    IT Partners, Inc. Experience Matters. www.

    ABAP internal tables are STORED IN MEMORY not on the R

    Internal Tables

  • 8/12/2019 Abap for Functional Consultant

    28/69

    IT Partners, Inc. Experience Matters. www.

    Interna

    You can ADD

    Table using

    INSERT Com

  • 8/12/2019 Abap for Functional Consultant

    29/69

    IT Partners, Inc. Experience Matters. www.

    Interna

    You can REA

    DELETE row

    You also serTable using t

    ENDLOOP C

    LOOP AT

  • 8/12/2019 Abap for Functional Consultant

    30/69

    IT Partners, Inc. Experience Matters. www.

    ABAP internal tables are STORED IN MEMORY not on the R

    Internal TablesFinal Thoughts

  • 8/12/2019 Abap for Functional Consultant

    31/69

    IT Partners, Inc. Experience Matters. www.

    Transpa

    Transparent

    transaction

    Transparentapplication

    correspondi

    that stores t

    The fields of

    table point t

    columns on

    Data elemen

    for technica

  • 8/12/2019 Abap for Functional Consultant

    32/69

    IT Partners, Inc. Experience Matters. www.

    Transpa

    In addition t

    need more i

    a database t

    are

    Key fields a

    beginning o

    determines

    table

    Technical p

    to create thand mode o

    Secondary

    speed up ac

  • 8/12/2019 Abap for Functional Consultant

    33/69

    IT Partners, Inc. Experience Matters. www.

    Transparent Tables

  • 8/12/2019 Abap for Functional Consultant

    34/69

    IT Partners, Inc. Experience Matters. www.

    SAP HANA

    INTRODUCING THE SAP HIGH-PERFORMANCE ANALYTIC APPLIAN

    SAP HANA is the nextgeneration of SAPs in-memory

    computing technology.

    SAP HANA is a multi-purpose,

    data-source agnostic, in-memory

    appliance that combines SAP

    software components optimizedon hardware provided, and

    delivered, by SAPs leading

    hardware partners.

  • 8/12/2019 Abap for Functional Consultant

    35/69

    IT Partners, Inc. Experience Matters. www.

    ABAP

    Client Server ArchitectureABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent Tables

    User Exits and Badi's

    ALE & IDocs

    ABAP Debugger

    What will we discuss?

  • 8/12/2019 Abap for Functional Consultant

    36/69

    IT Partners, Inc. Experience Matters. www.

    USER E

    In SAP, a use

    software pro

    customer ca

    own tailor-mcalled.

    USER EX

    call

    BADI - B

    enhance

    standardsystem u

  • 8/12/2019 Abap for Functional Consultant

    37/69

    IT Partners, Inc. Experience Matters. www.

    USER E

    The R/3 enh

    allows you t

    functionality

    business aphaving to m

    applications

    Advantage -

    They do

    SAP sou

    They do

    updates

  • 8/12/2019 Abap for Functional Consultant

    38/69

    IT Partners, Inc. Experience Matters. www.

    ABAP

    Client Server ArchitectureABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent Tables

    User Exits and Badi's

    ALE & IDocs

    ABAP Debugger

    What will we discuss?

  • 8/12/2019 Abap for Functional Consultant

    39/69

    IT Partners, Inc. Experience Matters. www.

    ALE andApplication Link

    communicate to

    Supports data co

    availability in dist

    Integrating syste

    messaging using

    Enables distribut

    with different ve

    Provides function

    monitoring and d

    Library of Deliver

    processes to cove

    functions.

  • 8/12/2019 Abap for Functional Consultant

    40/69

    IT Partners, Inc. Experience Matters. www.

    ALE andAn Intermediate

    for the data of a

    technical R/3 obj

    Each IDOC has a indicates the typ

    the business func

    Message types h

    the receiving sys

    An IDOC contains

    IDOC type descri

    structure of the I

    IDOC types have

  • 8/12/2019 Abap for Functional Consultant

    41/69

    IT Partners, Inc. Experience Matters. www.

    ALE andAn IDoc consists

    Control Record.

    One Control R

    Data Record. MIDoc.

    Data Records

    transferred

    Status Record

    give the status

    IDoc status can b

    WE02, WE05 and

    IDocs can be rep

    BD87

    .

  • 8/12/2019 Abap for Functional Consultant

    42/69

    IT Partners, Inc. Experience Matters. www.

    ALE andCommon IDo

    03 - Data passed

    12 - Dispatch OK

    51 - Application d

    68 - Error - no fu

    70 - Original of a

    You can get a com

    using Transaction

    .

  • 8/12/2019 Abap for Functional Consultant

    43/69

    IT Partners, Inc. Experience Matters. www.

    ABAPClient Server Architecture

    ABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent Tables

    User Exits and Badi'sALE & IDocs

    ABAP Debugger

    What will we discuss?

  • 8/12/2019 Abap for Functional Consultant

    44/69

    IT Partners, Inc. Experience Matters. www.

    Debugging is a term, which is directly associated with programming. It is

    used by all Software Professionals, irrespective of the language and platfo

    as the name suggests, is used to debug the program.

    In other words it is slow motion, step by step execution of the program, so

    closely find, how the program/software is working. Debugging is typically u

    Bugs in the program but in SAP debugging is invariably used for understan

    program itself.

    In SAP, debugging had been a quite easy task. In SAP there are various way

    program.

    ABAP Debugger

  • 8/12/2019 Abap for Functional Consultant

    45/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DDebugger in

    by typing /h

    field before e

  • 8/12/2019 Abap for Functional Consultant

    46/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DInitially, Dynpr

    displayed in th

    debugging has

    module pool. I

    being debugge

    program code

    ABAP D

  • 8/12/2019 Abap for Functional Consultant

    47/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DBefore going in

    necessary to d

    BREAK-POINT

    A break point i

    the execution

    the code durin

    Just double-cli

    you want the d

    when the tran

    ABAP D

  • 8/12/2019 Abap for Functional Consultant

    48/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DSo now I have

    and the debug

    the line of cod

    BREAK-POINT.

    Now I can dou

    BANFN and I c

    This can be do

    Structures and

    ABAP D

  • 8/12/2019 Abap for Functional Consultant

    49/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DNavigating in

    There are four

    which you cansource code of

    to analyze

    ABAP D

  • 8/12/2019 Abap for Functional Consultant

    50/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DDebugging can

    programs sche

    background.in

    Job should be

    Released statu

    After schedulin

    in background

    SM37 and ent

    command area

    Now the debu

    ABAP D

  • 8/12/2019 Abap for Functional Consultant

    51/69

    IT Partners, Inc. Experience Matters. www.

    ABAP DRunning program

    Active)can also b

    Use Transaction

    processes curren

    Identify the proc

    program you wa

    highlight.

    Use Menu Path:

    Administration

    The Debugger wi

    What ill e disc ss?

  • 8/12/2019 Abap for Functional Consultant

    52/69

    IT Partners, Inc. Experience Matters. www.

    ABAPClient Server Architecture

    ABAP Repository

    ABAP Workbench

    Introduction to ABAP Programming Language

    Data DictionaryStructures

    Internal Tables

    Transparent Tables

    User Exits and Badi'sALE & IDocs

    ABAP Debugger

    What will we discuss?

    Why bother to learn this?

  • 8/12/2019 Abap for Functional Consultant

    53/69

    IT Partners, Inc. Experience Matters. www.

    Let me highlight some of the benefits that learning some of

    stuff will do for you, your colleagues and customers.

    First of all, learning a new skill can only be positive for your career. If you want to

    role within your company or move onto another organization, adding to your ski

    great thing to do.

    When your customers want something new or change and existing process, you w

    a much more informed response and be able to challenge them from a slightly di

    The techie guys will be more willing to discuss other possible solutions with you

    that you understand what they are saying. This will quite often result in a better

    can offer your customers.

    Why bother to learn this?

    Why bother to learn this?

  • 8/12/2019 Abap for Functional Consultant

    54/69

    IT Partners, Inc. Experience Matters. www.

    Let me highlight some of the benefits that learning some of

    stuff will do for you, your colleagues and customers.

    We all know that some times the work estimates given for some development work ca

    some what. Dont let this happen at your expense; challenge the estimates by making

    what you are talking about and that you have a good idea just how much work should

    certain types of development work.

    Quite often, your customers invite their own techie guys to meetings. Being able to exp

    solutions in a technical manner can help build their confidence in you and your compan

    By learning and having a good grasp of the underlying SAP technologies that are used t

    landscape, you will be in a much better position to understand and get up to speed on

    introduce further down the line.

    Why bother to learn this?

  • 8/12/2019 Abap for Functional Consultant

    55/69

    IT Partners, Inc. Experience Matters. www.

    In Business for 20 years

    Women Owned (8m)

    Small Business Certified

    GSA IT 70 Schedule.

    WWW.ITPSAP.COM

    Connect with me on LinkedIn - http://www.linkedin.com/in/ajcecchini

    LIKE US on Facebook - http://www.facebook.com/itpsapincFollow us on Twitter - https://twitter.com/itpsapinc

    View my Social Media Press Kit - http://whywebpr.com/anthonycecchini

    Thank You & Company Info.

    http://www.linkedin.com/in/ajcecchinihttp://www.facebook.com/itpsapinchttps://twitter.com/itpsapinchttp://whywebpr.com/anthonycecchinihttp://whywebpr.com/anthonycecchinihttp://twitter.com/itpsapinchttp://www.facebook.com/http://www.linkedin.com/in/ajcecchinihttp://whywebpr.com/anthonycecchinihttp://whywebpr.com/anthonycecchinihttps://twitter.com/itpsapinchttps://twitter.com/itpsapinchttp://www.facebook.com/itpsapinchttp://www.facebook.com/itpsapinchttp://www.linkedin.com/in/ajcecchinihttp://www.linkedin.com/in/ajcecchini
  • 8/12/2019 Abap for Functional Consultant

    56/69

    IT Partners, Inc. Experience Matters. www.

    Thank You & Newsletter.

  • 8/12/2019 Abap for Functional Consultant

    57/69

    IT Partners, Inc. Experience Matters. www.

    Thank You!

    Email us Questions

    Post questions on ou

    Use Twitter

    Use the TEXT ME

    our Media Profile

  • 8/12/2019 Abap for Functional Consultant

    58/69

    Are You SmarterThan a ABAPer?

  • 8/12/2019 Abap for Functional Consultant

    59/69

    Question

    What are the different layers in atier client server architecture?

  • 8/12/2019 Abap for Functional Consultant

    60/69

    Answer

    Presentation LayerApplication Layer

    Database Layer

  • 8/12/2019 Abap for Functional Consultant

    61/69

    Question

    In SAP, a _______ is a place in asoftware program where a custome

    can arrange for their own tailor-masolution to be called.

  • 8/12/2019 Abap for Functional Consultant

    62/69

    Answer

    In SAP, a User Exit is a place in asoftware program where a custome

    can arrange for their own tailor-masolution to be called.

  • 8/12/2019 Abap for Functional Consultant

    63/69

    Question

    TRUE or FALSE

    ABAP Transparent tables areSTO

    IN MEMORY.

  • 8/12/2019 Abap for Functional Consultant

    64/69

    Answer

    False!ABAP Internal tables are STOREDMEMORY.

  • 8/12/2019 Abap for Functional Consultant

    65/69

    Question

    True or False

    Application

    Link

    Enabling Enables Sto communicate to other systems.

  • 8/12/2019 Abap for Functional Consultant

    66/69

    Answer

    True!

    It povides this capabity by Integrasystem through asynchronousmessaging using IDOCs. (EDI)

  • 8/12/2019 Abap for Functional Consultant

    67/69

    Question

    How do you start the debugger fortransaction?

  • 8/12/2019 Abap for Functional Consultant

    68/69

    Answer

    By typing /h in the command line

    By setting a BREAK-POINT

  • 8/12/2019 Abap for Functional Consultant

    69/69

    Thanks for Playing!