abap - cross applications - part 1 (2 of 2) (emax technologies) 131 pages
DESCRIPTION
ABAP - Cross Applications - Part 1 (2 of 2) (Emax Technologies) 131 pagesA book with 131 pages covering:1. BAPIs2. ALV (Using Function Modules, Using ABAP Objects)TRANSCRIPT
BAPIs @ EMAX Technologies
We Never Compromise in Quality. Would You ?
& 4ri 2 S u b t y p e
Categaty -" -~~...""-<' +%', O b j e c t t y p e . .. .
C..:x Interface type
"" ....
3. In the next dialog box, enter the required de
%! In the field Supertype, enter the name of t e for wi5ich you want to
z;&"3;3
create a subtype. 8 : ~ In the field Object type, enter the name a'8t to create.
information in the remaining fields.
C%?aa-agr;a C?fi2e~t Type Z.iBUSi01@2432?
a n O%. 6 7 [e Program Parameters Exceptions
Object t y p e ZBUS0002 m Company Codes
m In te rTaces E 3 Key T i e l d s
LCompanyCodes CompanycocieIci O company code
f CompanyCodes snowobjects Companycodes ShowRelations CompanyCodes Admi n i s t e y . y
~~e~m~"FznYxaaw~~:c.OR-~ ?TL, , , . % % ~ . " "2- CompanyCodes G e t L ~ s t w CompanyCodes GetDeta71 ., CompanyC~de~ Ex i stencecheck v Companytodes GatPer iod w Companycodes. GetRel a t e d o b j e c t s v COmpanyCodeS. Un7 7 nkFrOrnOb~ e c t v CompanyCodes L i nkToOb3 e c t w CompanyCode~ GetObJects v CompanyCodes Ed i t w CornpanyCodes De le te v ComwanyCodes.Create .- Com~anycoaes D i s p l a y .,
Org o a j e c t admi n i s t r a t i on COPY ob3 e c t
O L 2 s t OP Company Codes O Company Code Deta, 1 s O ctieck 7 T çornpany code e x i s t s Q Determine p e r i o d Tor g o s t i n g
L i nked on j e c t s D e l e t e 1,nk
datelcomoany code
~,i,k iu,th o a ~ e c t L75 t O f RI1 ObJec-s Change ObJ e c t Del e t e Ob, e c t c r e a t e ob i e ç t a i s ~ l ay ob j e c t r'" _----- --- _ _ - ._
ds< -v--- 7 " ~ * w --
Observe that al1 the Attributes and Methods are Copied from Super type to Subtype.
Page 99 of 1 12 Compiled By : Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad
Ph No: +9140 -65976727, Ce11 No: 99484 44808,98490 34399, www.emaxtech.com
BAPIs @ EMAX Technologies
We Never Compromise in Quality. Would You ?
2. Change the definition of the inherited BAPl for the subtvpe.
O You can add additional parameters, for example, or modify the implementation of the BAPI.
The following implementation options are available for modifications:
Creating a new function module
Compatible modifications to the superior functiori module
Creating the implementing function module as a copy of the superior function module
3. If modifications have been made, you must red the subtype in the BOR. 'The steps required to redefine aiBAPl aFe described in Redefining BAPls
To redefine a BAPl of a subty &' perform the following steps. .& jd&$\
X# 7
1. C hoose Tools - ~ u s i n e s s ~ ~ r ~ q e y o r k -> BA P l Development -2 Business Object Builder or enter transacqon code SWOl .
2. Display the subtype just created inktbe:change mode. 3. Position the cursor on the B A ~ ~ ~ O U 3 - ~ a n t to-modify and choose Edit -2Redefine.
?a '
0b3ect t y p e Rename Delete -
m n t t r i Cêncei
change IeIease status
m Metho -
CompanyCodes L i nkToObj e c t w CompenyCodes GetObj e c t s ./ CompanyCodes E d i t ., Companycodes Del e t e w ComoanuCades Create r
D isp lay A l 1 Objec ts Di Spl a y R e 1 a t i onshi ps erg. *ri> ~ c t adrrii n i s t r a t i o n COO71 O h l SC* ~1 Li of- cnmoanï Codes Checn l i comoa~y code e x i s t s Determi ne p e r i od f o r p o s t i ng L i nned Ubl e c t s De le te i i i n L i n k w i t h o b j e c t L i s t o f ~ l l ob3ects Change Ob) e c t Del e t e 00) e c t Create ob3 e c t D, sp l ay o b ~ e c t Company Code De ta i 1 s
da te Code
4. Double-click on the BAPl and select the ABAP/4 register. 5. In the Name field of the modified function module enter and Save your
information.
Page 100 of 112 Compiled By : Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad
Ph No: +9140 -65976727, Ce11 No: 99484 44808,98490 34399, www.emaxtech.com