pn07 enhance 21

21
8/22/2019 Pn07 Enhance 21 http://slidepdf.com/reader/full/pn07-enhance-21 1/21 Global network of innovation Siemens Information Systems Ltd. SIEMENS Introduction Enhancements  Introduction Enhancement management Function module Menu exits Screen exits

Upload: rajesh-kumar

Post on 08-Aug-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 1/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Introduction Enhancements 

Introduction

Enhancement management

Function module

Menu exits

Screen exits

Page 2: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 2/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Levels of Changes

SAP STANDARD

Standard R/3

ENHANCEMENTS

CUSTOMER 

PROGRAMS

CUSTOMIZATION

PERSONALIZATION

MODIFICATIONS

ENHANCEMENTS

CUSTOMER DEVELOPMENTS

ASAP

ABAP

Workbench

Page 3: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 3/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Levels of Changes – ABAP Workbench

SAP STANDARD

Standard R/3

ENHANCEMENTS

CUSTOMER 

PROGRAMS

MODIFICATIONS

ENHANCEMENTS

CUSTOMER DEVELOPMENTS

ABAP

Workbench

Non-Registered

Assisted modifications

* ABAP DICTIONARY *

PROGRAM * MENU *

SCREEN

WITH and WITHOUT reference

to SAP Objects

U

S

E

 E

X

I

T

S

Page 4: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 4/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Enhancements

Siemens Information Systems Ltd.

The R/3 Enhancement concept allows you to add your own

functionality to SAP’s standard business applications

without having to modify the original applications

 Program enhancements permit you to execute additionalprogram logic in SAP application programs

SAP creates customer exits for specific programs, screens,

and menus within standard R/3 applications.

These customer exits act as hooks. You can hang

your own add-on functionality onto these hooks.

Page 5: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 5/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Advantages of Enhancements 

Siemens Information Systems Ltd.

You can add your own functionality with out

changing standard SAP source code.

These changes are stored in customer name

space so do not affect software updates.

Page 6: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 6/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Program Enhancements: How they Work

Siemens Information Systems Ltd.

*** SAP program ****************************** PROGRAM <name of SAP

*** SAP program ****************************** PROGRAM <name of SAP

<Call enhancement> <Call enhancement> <Object in customer namespace> <Object in customer namespace> 

Customer  Exit function module Exit function module Business Transaction Function module Function module Business add-  Method Method 

Page 7: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 7/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Program Enhancement Types

Siemens Information Systems Ltd.

Menu Exits

Add items(menu entries) to the pull down menus in standard

SAP applications.

Screen Exits

Add fields to sub screens in R/3 applications. 

Function Module Exits

Add functionality in R/3 application through the pre defined

interfaces of function module. 

Page 8: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 8/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

HOW TO LOCATE HAVING EXITS

Siemens Information Systems Ltd.

Locating Applications that have Exits

From the ABAP Workbench menu

Uti l i t ies Enhancements Project management (CMOD) 

From here, choose

Uti l i t ies  SAP enhancements  

From the Application Hierarchy to search for exits that are

available for a particular application area.

ABAP Workbench  Overview  App l icat ion hierarchy  (SE81)

Marks the application area and choose In form at ion System 

On the next screen follow the path

R/3 Reposi tory Inform at ion Sys tem  Envi ronment  Exi t techniques  

Custom er Exists 

Page 9: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 9/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Creating Customer Enhancement Project 

Siemens Information Systems Ltd.

Project Management o f SAP 

Project  Create 

Change Display 

Sub-  

Name of the enhancement project Name of the enhancement project 

Create Create Attributes Enhancement

Component Documentatio

  Enhancement Project 

<project> Project Descript. 

Page 10: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 10/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Factors for creating an add-on project.

Siemens Information Systems Ltd.

Factors you need to keep in mind when you create an

add-on project.

SAP enhancement package and the customer exitsappear in one project only.

 You must activate your add-on project.

All the enhancements & exits get activated

together with the project.

It is not possible to activate exits individually.

Page 11: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 11/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Activating Enhancement Projects

Siemens Information Systems Ltd.

Project Management o f SAP 

Project 

Sub-  Attributes Enhancement

Component Documentatio

 

Create 

Change Display 

Activation Activation 

Page 12: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 12/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Transporting Projects

Siemens Information Systems Ltd.

Development

Activate Activate Transport 

request 

Next

Activate Activate E E C C  E E 

C C C C E E C C 

E E C C C C 

Page 13: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 13/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Function Module Exit: Process Flow

Siemens Information Systems Ltd.

X function

Application

Exit function

EXIT_<prog_name>_0 

Include in Include in customer customer 

CALL CUSTOMER- 

Page 14: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 14/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Summary: Function Module Exits

Siemens Information Systems Ltd.

SAP Application Program ***Global data*** DATA:  gl_field... CALL CUSTOMER- FUNCTION '001'

 EXPORTING 

i_vars = gl_field. 

X Function Group XAAA 

FUNCTION exit_prg_001. *IMPORTING i_vars 

ENDFUNCTION. 

ABAP ABAP  ABAP ABAP  Screens Screens 9000 9000 

9100 9100 *INCLUDE ZXaaaU01 *INCLUDE ZXaaaU01 

 <additional  <additional  processing logic>   processing logic>  

INCLUDE ZXaaaU01. INCLUDE ZXaaaU01. 

CALL SCREEN 9000. CALL SCREEN 9000. 

Text elements Text elements Graphical user interface

 Graphical user interface

 

Page 15: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 15/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Menu Enhancements: SAP and the Customer 

Siemens Information Systems Ltd.

SAP  CUSTOMER 

Menu exits Function code 

Text Enhancement 

Documentation 

Function 1 Function 2 Function 3 

Function 1 Function 2

 Function 3 

Menu 1  Menu 2 Menu 2  Menu 3 

Cust. function Cust. function 

Function 1 Function 2 Function 3 

Function 1 Function 2

 Function 3 

Menu 1  Menu 2 Menu 2  Menu 3 

(Icons) 

Page 16: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 16/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Menu Exits and Function Module Exits

Siemens Information Systems Ltd.

PROGRAM <program_name>. DATA ok_code LIKE sy-ucomm. ...

CASE ok_code.  WHEN 'DISP'. ... 

... ENDCASE. 

PROGRAM <program_name>. DATA ok_code LIKE sy-ucomm. ...

CASE ok_code.  WHEN 'DISP'.

 ... 

... ENDCASE. 

 WHEN '+ABC'.  WHEN '+ABC'. CALL CUSTOMER-FUNCTION '001' CALL CUSTOMER-FUNCTION '001' 

EXPORTING EXPORTING  <i_variables>   <i_variables>  IMPORTING IMPORTING  <e_variables>.  <e_variables>. 

Page 17: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 17/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Screen Exits Overview

Siemens Information Systems Ltd.

SAP  CUSTOMER 

SAP R/3  Field 2 Field 1 

SAP R/3  Field 2 Field 1 

Field Y Field X 

Field Z 

Page 18: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 18/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Calling Customer Subscreens

Siemens Information Systems Ltd.

SAP Application

PROCESS BEFORE OUTPUT. ODULE ... 

ODULE ... 

X Function Group

PROCESS BEFORE OUTPUT. PROCESS BEFORE OUTPUT. ODULE ... ODULE ... ODULE ... ODULE ... 

abcd 

Screen Screen  ScreenScreen

CALL CUSTOMER-SUBSCREEN abcd  CALL CUSTOMER-SUBSCREEN abcd  INCLUDING 'SAPLXAAA' '1234'. INCLUDING 'SAPLXAAA' '1234'. 

PROCESS AFTER INPUT. ODULE ... ODULE ... CALL CUSTOMER-SUBSCREEN abcd. CALL CUSTOMER-SUBSCREEN abcd. 

PROCESS AFTER INPUT. PROCESS AFTER INPUT. ODULE ... ODULE ... ODULE ... ODULE ... 

S f S

S f S

Page 19: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 19/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Transporting Data to Subscreens

Siemens Information Systems Ltd.

SAP Application

ODULE... 

CALL

CUSTOMER- SUBSCREEN... 

***Global data***  ATA:  gl_field... CALL CUSTOMER- 

FUNCTION '001' 

X Function Group

UNCTION exit_prg_001. *IMPORTING i_vars  NDFUNCTION. ***Global data*** ***Global data***  ATA:  ATA:  gl_var... gl_var... 

abcd 

XPORTING XPORTING i_vars = gl_field. i_vars = gl_field. 

gl_var = i_vars. gl_var = i_vars. 

Screen Screen  ABAP ABAP  ABAP ABAP  Screen Screen 

Si I f ti S t Ltd

Si I f ti S t Ltd

Page 20: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 20/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Transporting Data from Subscreens

Siemens Information Systems Ltd.

SAP Application

CALLCUSTOMER- SUBSCREEN... ODULE... 

***Global Data*** DATA:  gl_field... 

CALL CUSTOMER- FUNCTION '002' 

X-Function Group

FUNCTION exit_prg_002. *EXPORTING e_vars ENDFUNCTION. 

***Global Data*** ***Global Data*** DATA: DATA:  gl_var... gl_var... 

IMPORTING IMPORTING i_vars = gl_field. i_vars = gl_field. gl_var = e_vars. gl_var = e_vars. 

Screen Screen  ABAP ABAP  ABAP ABAP  Screen Screen 

abcd 

Si I f ti S t Ltd

Page 21: Pn07 Enhance 21

8/22/2019 Pn07 Enhance 21

http://slidepdf.com/reader/full/pn07-enhance-21 21/21

Global network

of innovation

Siemens Information Systems Ltd.

SIEMENS

Enhancements using Customer Exits: Summary

Explain how enhancements work with

customer exits

Enhance programs using function moduleexits

Enhance menus using menu exits

Enhance screens using screen exits

Explain how the different types of 

enhancement interact