chapter 07_abap dictionary changes

Upload: bakkalibilal

Post on 02-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    1/15

    IBM Global Business Services

    IBM Corporation 2013ABAP Dictionary Changes | Dec-2008

    ABAP Dictionary Changes

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    2/15

    IBM Global Business Services

    IBM Corporation 20132 Dec-2008ABAP Dictionary Changes |

    Objectives

    The participants will be able to:

    Explain why an Object must be activated and demonstrate how to activate an Object.

    Describe how SAP handles Version Management.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    3/15

    IBM Global Business Services

    IBM Corporation 20133 Dec-2008ABAP Dictionary Changes |

    Activation

    Activation Icon

    ABAP Dictionary

    Data Objects(Eg:

    Tables, Data

    elements,Domains

    etc.)

    An object must be fully activated in the SAP system in order to be used by otherobjects

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    4/15

    IBM Global Business Services

    IBM Corporation 20134 Dec-2008ABAP Dictionary Changes |

    Mass Activation

    The mass activation program RADMASG0 can either be run online orscheduled as a background job

    Online

    Background

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    5/15

    IBM Global Business Services

    IBM Corporation 20135 Dec-2008ABAP Dictionary Changes |

    Table Activation

    ABAP Programs

    Updates

    Screen Painter

    ? Log Entries

    Consistency Checks?

    ABAP programs and Screen Painter screens always use the currentversion of a table activated in the Dictionary.

    A data object is automatically checked for consistency (among data types) when

    the object has been changed.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    6/15

    IBM Global Business Services

    IBM Corporation 20136 Dec-2008ABAP Dictionary Changes |

    Change Key of Value Table

    Tables

    YANGIE1YEMPLOY

    Domain

    YZIPCODESValue Table

    1 9 7 0 2

    1 9 7 0 2

    NUMC 10

    YZIP

    Changing the primary key of a value table that is being used by a domain,requires a lengthy process because of the embedded links between the domain

    and the value table.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    7/15

    IBM Global Business Services

    IBM Corporation 20137 Dec-2008ABAP Dictionary Changes |

    Versions

    An object in the ABAP Dictionary can exist in various versions

    There are two VERSIONS of an object that can exist in the ABAP Dictionary:

    Active & Modif.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    8/15

    IBM Global Business Services

    IBM Corporation 20138 Dec-2008ABAP Dictionary Changes |

    Version Management

    Active Version

    Historical

    Version

    Several temporary versions of an active object can be stored when a CTS is open.

    Historical versions are created every time a CTS is released.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    9/15

    IBM Global Business Services

    IBM Corporation 20139 Dec-2008ABAP Dictionary Changes |

    Version Management (Contd.)

    Display

    Compare

    Retrieve stored version of object

    REMOTE compare

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    10/15

    IBM Global Business Services

    IBM Corporation 201310 Dec-2008ABAP Dictionary Changes |

    Demonstration

    Creation of an ABAP report program and assigning the same to a package.

    Subsequently releasing the same program and then making further changes to

    the program.

    Then going to the version management for the program and viewing the

    differences between the current active version and the one released previously.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    11/15

    IBM Global Business Services

    IBM Corporation 201311 Dec-2008ABAP Dictionary Changes |

    Practice

    Creation of an ABAP report program and assigning the same to a package.

    Subsequently releasing the same program and then making further changes to

    the program.

    Then going to the version management for the program and viewing the

    differences between the current active version and the one released previously.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    12/15

    IBM Global Business Services

    IBM Corporation 201312 Dec-2008ABAP Dictionary Changes |

    Locks on Dictionary Objects

    When you activate an object any locks on the object are automatically released

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    13/15

    IBM Global Business Services

    IBM Corporation 201313 Dec-2008ABAP Dictionary Changes |

    SPDD Transaction

    Versions of repaired SAP standard objects can be compared with newSAP standard objects by using the transaction SPDD

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    14/15

    IBM Global Business Services

    IBM Corporation 201314 Dec-2008ABAP Dictionary Changes |

    Summary

    An object must be fully activated in the SAP system in order to be used by otherobjects

    When an object is changed and re-activated, all other objects currently linked to

    the changed object are automatically updated

    Changing the primary key of a value table that is being used by a domain,

    requires a lengthy process because of the embedded links between the domainand the value table

    The various versions of an object in the ABAP Dictionary can be viewed via the

    menu path Utilities Version management.

    Versions of modified (repaired) SAP standard objects can be compared with new

    SAP standard objects by using the transaction SPDD.

  • 8/10/2019 Chapter 07_ABAP Dictionary Changes

    15/15

    IBM Global Business Services

    IBM Corporation 201315 Dec-2008ABAP Dictionary Changes |

    Questions

    Why should SAP Objects be activated ?

    How are different versions of programs maintained in SAP ?