Sei sulla pagina 1di 135

BAPIs @ EMAX Technologies We Never Compromise in Quality. Would You ? & 4ri 2 Subtype -~~...

""-<' Categaty -" "" +%', .. . . Object type C..:x I n t e r f a c e t y p e .... 3. In the next dialog box, enter the required de In the field Supertype, enter the name of t create a subtype. In the field Objec t type, enter the name e for wi5ich you want to z;&"3;3 % ! 8:~ a'8t to create. information in the remaining fields. C % ? a a - a g r ; a C?fi2e~t p e Z.iBUSi01@2432? Ty a n Object E3 O%. 67 [e Program Parameters Exceptions type ZBUS0002 m

Company Codes m InterTaces Key T i e l d s CompanycocieIci O LCompanyCodes company code f ~~e~m~"FznYxaaw~~:c.OR-~% ~ "2?TL, . % ,, . " CompanyCodes G e t L ~ s t CompanyCodes GetDeta71 C o m p a n y C ~ d eE x i s t e n c e c h e c k ~ Companytodes G a t P e r i o d Companycodes. G e t R e l a t e d o b j e c t s COmpanyCodeS. Un7 7 nkFrOrnOb~ c t e CompanyCodes L i nkToOb 3 e c t CompanyCode~G e t O b J e c t s CompanyCodes E d i t CornpanyCodes D e l e t e ComwanyCodes.Create Com~anycoaes D i s p l a y CompanyCodes s n o w o b j e c t s Companycodes S h o w R e l a t i o n s Compan yCodes Admi n i s t e y . y Org COPY oaject ob3 e c t admi n i s t r a t i on ,. w O L 2 s t OP Company Codes O O Q v w v v w .. , v v w r'"_----Company Code Deta, 1 s ctieck 7 T or g o s t i n g datelcomoany L i h o a ~ e c t RI1 ObJec-s L75t Of obi e t a i s ~ l obj e c t ay code --ornpany code e x i s t s Determine p e r i o d T nked o n j e c t s D e l e t e 1,nk ~,i,k iu,t Change ObJ e c t Del e t e O , e c t b create - -v7 ds< * w

__ - ._ -" ~ Observe that al1 the Attributes and Methods are Copied from Super type to Subtyp e. Page 99 of 112 Compiled By : Ganapati Adimulam eMax Technologies,Ameerpet,Hyderabad Ph No: +914 0 -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 C reating the implementing function module as a copy of the superior function modu le 3. If modifications have been made, you must red the subtype in the BOR. 'The st eps required to redefine aiBAPl aFe described in Redefining BAPls To redefine a BAPl of a subty &' perform the following steps. .& jd&$\ 1. Choose Tools - ~ u s i n e s s ~ ~ r ~ q e y o r k l Development -2Business > BAP Object Builder or enter transacqon code SWOl . 2. Display the subtype just created inktbe:change mode. 3. Position the cursor on the B A ~ ~ ~ aO to-modif y and choose Edit -2Redefine. ~ nU ' t 3 X# 7 ?a 0b3ect t y p e Rename Delete c h a n g e I e I e a s e status m nttri m Metho Cncei CompanyCodes CompenyCodes CompanyCodes Companycodes ComoanuCades L i nkToObj e c t GetObj e c t s Edit Del e t e Create ./ ., w w r Display A l 1 Objects Di Spl a y R e 1 a t i o n s h i p s erg. *ri> ~ c adrrii n i s t r a t i o n t COO71 O h l SC* ~1 of- cnmoan Codes Checn l i c o m o a ~ y code e x i s t s D e t e r m i ne p e r i od f o r p o s t i n g d a t e L i nne d Ubl e c t s Delete i i i n Link with object L i s t o f ~ l bl e c t s o 3 Cha

nge O b ) e c t Del e t e 00) e c t C r e a t e ob3 e c t D s p l ay o b e c t , ~ Company Code D e t a i 1 s Li 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 4480 8,98490 34399, www.emaxtech.com

Potrebbero piacerti anche