badi business add ins
TRANSCRIPT
-
7/23/2019 BADI Business Add Ins
1/12
SAP AG 2001, Title of Presentation, Speaker Name 1
Business Add-Ins
-
7/23/2019 BADI Business Add Ins
2/12
SAP AG 2001, Title of Presentation, Speaker Name 2
Modifications and Enhancements
Ease of Use
Flexibility
Modifications
Customer exits
Assisted modifications
Business Add-Ins
-
7/23/2019 BADI Business Add Ins
3/12
SAP AG 2001, Title of Presentation, Speaker Name 3
Exit Techniques and Add-InsExit Techniques and Add-Ins
Modifications
Customer
Development
Customizing
oo! Techniques
Modifying the R/3 System to Meet Your Needs
-
7/23/2019 BADI Business Add Ins
4/12
SAP AG 2001, Title of Presentation, Speaker Name 4
Architecture: Business Add-Ins
C"#E
#$%
Add-In-
Adapter&Publish &
Subscribe
Filter
Control
Industr'solution
Interface
Interface
Customer
extensionInterface
-
7/23/2019 BADI Business Add Ins
5/12
SAP AG 2001, Title of Presentation, Speaker Name 5
Add-ins are points in an objects source code where additionalfunctions or statements can be inserted. Add-ins are defined by
the objects initial developer and allow other developers to easily
include additional code in a subsequent phase of development
without having to modify the original.Additional advantages
Add-Ins: Definition
(o change licences necessar'
Interfaces are up)ardl' compati*le+ess )or! at upgrade
-
7/23/2019 BADI Business Add Ins
6/12
SAP AG 2001, Title of Presentation, Speaker Name 6
Business Add-Ins
Deliver' of implemented add-ins ,countr'-specific versions
IB. solutions partner soft)are ///0
Technique can *e used *' other soft)are vendors
Deliver' and correction of default solutions ,1/2C0
3ilter-dependent implementation possi*le
4Event-li!e5 add-ins ,6u*lish 7 8u*scri*e0
Integrated administration and documentation
Trace possi*ilities
-
7/23/2019 BADI Business Add Ins
7/12 SAP AG 2001, Title of Presentation, Speaker Name 7
hy Business Add-Ins!
6erform calls in programs $ using ta*les
3lexi*le 9-: 3uzz' interface ,glo*al data///0
Customer exits ,8M"D$CM"D0
8'stem infrastructure& 8A6 - customer
(aming convention not compati*le )ith namespace extension
Business Transaction Events ,"pen 3I0 (o *undle of o*;ects that *elong together
(o interface elements
Business Add-Ins should be viewed as e!panded
and enhanced business transaction events
-
7/23/2019 BADI Business Add Ins
8/12 SAP AG 2001, Title of Presentation, Speaker Name 8
Architecture
Application Customer
IF_app_exit
Program XXX.
Data:
exit type
ref to if_app_exit.
Create object...Call method...
C_imp_app_exit
mth!
mth"
mth#
...
$e%erate class
mth!
mth"
mth#...
-
7/23/2019 BADI Business Add Ins
9/12 SAP AG 2001, Title of Presentation, Speaker Name 9
E"am#$e %rogram
REPORT BADI .
DATA EXIT TYPE REF TO IF_EX_BADI.DATA WORD(15) TYPE C.
CALL METHOD CL_EXITHANDLER=>GET_INSTANCE CHANGING INSTANCE = EXIT.START-OF-SELECTION.
WRITE: !P"#$%# &"'& #*#!.
AT LINE-SELECTION.NEW-PAGE.WORD = !B+%',#%% $ ',!.WRITE: !O*'',$" /0*: ! WORD.
CALL METHOD EXIT->METHODE
CHANGINGPARAMETER = WORT.
WRITE: !C$,# /0*: ! WORD.
-
7/23/2019 BADI Business Add Ins
10/12 SAP AG 2001, Title of Presentation, Speaker Name 10
"ometimes it is important for partners to be able to implement and deliver a
single add-in with different filter values #for different countries$ for e!ample%.
&or this reason$ add-ins can be defined for specific filter values.
&i$ter De#endence
T'pe of filter& data element )ith search help
6arameter flt_valmust *e suita*l' filled )hen the add-in
is called/
Add-in must *e implemented for a specific filter value/
-
7/23/2019 BADI Business Add Ins
11/12 SAP AG 2001, Title of Presentation, Speaker Name 11
&i$ter-De#endent Add-Ins
Add-in definition Add-in implementation
IF_app_exit
Type of filter dependency:
co&%try'specific
... Exit type ref to IF_app_exit.
Country = !.
Call met"od exit-#mt"$
exportin%
flt_&al = country.
Exit call
...
Country:
Chi%a
Country:
(apa%
IF_app_exit
-
7/23/2019 BADI Business Add Ins
12/12 SAP AG 2001, Title of Presentation, Speaker Name 12
Business Add-In Manager
Definition part ,8E