9.
Provide package information for the implementation class and then, click on Save.
10.
Inside the Enhancement Implementation screen, expand the BADI Implementation.
11.
Double click on “Filter Val”
12.
Click on the “Create Filter Combination” button.
13.
Double click on the “????” under the value 1 column.
14.
Fill in the Value 1. This is the name users will be using to the BADI from the script. Use a name which will make sense to business users. Then, click OK. In this example, we will specify “ DECD” .
15.
Now double click on “Implementing Class”.
16.
Double click on method IF_UJ_CUSTOM_LOGIC~EXECUT E to create the implementation class.
17.
System will ask for confirmation to create the implementation. Click on yes.
18.
System will then prompt for saving Enhancement Implementation so far. Click on Yes.
19.
System will take to EXECUTE method implementation. Click on the pencil button to go into change mode. Copy and the sample code provided in the Appendix or code your own.
20.
Then, click on Activate button.
21.
System will prompt for all the objects which you created. Choose the objects related to this whole implementation (Shown in the screen for this example) and click OK in the bottom. With successful Activation, we are ready with BADI implementation.
How To… Pass parameters parameters to custom logic BADI using START_BADI SAP P r od od u c t N a m e :
SA P B u s i n e s s P l a n ni n i n g a n d Co n s o l i d a t i o n 7 . 0 , v e r s i o n f o r SA P N e t W e a v e r
A p p li l i ca c a b l e Pr Pr o d u ct c t Ve Ve r si s i o ns ns :
7 .0 . 0 SP S P 1 & a b o ve ve
Do c u m e n t Ve r s i o n
1 .1
La s t U p d a t e d :
J an , 200 9
Enterprise Performance Management w w w . s d n . s ap a p .c . c o m / i r j / s d n/ n / b p xx- e p m
4.
System will prompt start variant. Create new start variant by clicking on new button.
5.
Enter the process variant and long description and click the green check. In this example, the process variant will be “ZBPC_EXECUTE_LGF_START” and the long description “ZBPC: Execute lgf start”.
6.
In the next screen, click on “Change Selections” button under Scheduling Options.
©Copyri Copyright 2009 SAPAG. APAG. All All right ri ghts sreser ved. ved. No part of thi this spublica publi cation may may bereproduced produced or trans t ransmi mitt tt ed in any form f orm or for any pur pu rposewithou wit houtt the expressper permis mission of SAPAG. APAG. The infor nformati mation on conta cont ained her herein may be be changed changed without prior notice. notice. Some software products marketed by SAPAG and its distributors contain proprietary software components of other software vendors. Micros Microsoft oft,, Windows in dows, Outl Out look,a ook, and PowerPoint oin t are regis regist ered trademarks of Microsoft Corporation. IBM, DB2, DB2 DB2Uni Universal Database, OS/2, Parallel all el Sysple ysplex, MVS MVS/ESA, AIX, AIX, S/390, AS/400, OS/390, OS/400, iS iSeri eries, pS pSeri eries, xSeries eries, zSeries, z/OS, z/OS, AFP, Int Intell ell igent Miner Mi ner,, WebSphe phere, Netf Netfin initity, y, Tivoli, Tivol i, and and Infor Inf ormix mix are are tra tradema demarrks or re regist ered tradema demarrks of IBM Corpora Corporation in the t he Unite Unit ed Statesand/or other countr count r ies. Oracle isa regist gist ered tra tr ademark demark of of Oracle Corpor orpora ation. UNIX, UNI X, X X/Ope /Open, OSF/1, a and nd Mot Motiif areregistered tr t rademark demarks sof the Ope Open n Group. Cit rix, ri x, ICA, Program Neighborhood, ghborhood, MetaFrame, WinFrame, nFrame, Vide Vi deoFrame, me, and Mult Mul tiWin are tr t radema demarrks or registered trademark demarks sof Citri Cit ri x Syst yst ems, ms, Inc. Inc. HTML, XML, XML, XHTML XHTML and and W3C are tra tr ademark demarks sor regist gister ed trademarks mark sof W3C ® , World Worl d Wide Web Consort Consortiium, Massachusetts Institute of Technology. Javaisaregi stered tr trademark of Sun Sun Micr Microsys osyst ems, Inc. In c. JavaScript cri pt is a regi regist ered tr t rademark demark of Sun Sun Micr Micros osys ysttems, ms, Inc., I nc., used under license for technology invented and implemented by Net Nets scape. MaxDB is isa tra tr ademar demark of MySQL MySQL AB, Sweden. SAP, R/3, R/3, mySAP mySAP, mySAP.com, .com, xApps, xApps, xApp, xApp, and oth other SAP SAP product products s and service vices smenti mentioned herein aswel wel l astheir respective logos are trade trademarks marksor registered tra tr ademark demarks s of of SAPAG in Germany many and in in sever veral othe other countri count rie esall over over t he world. All other product and service names mentioned are the tradema demarrks of the th eir re r espect ivecompanies. Data
contained in this document serves informational purposes only. National product specifications may vary. Thes Thesemateria materi al sare subje ubj ect to t o change change wi wi thou houtt noti not ice. These mat mat erial sare provi provide ded d by SAPAG APAG and it i ts affi ffili ated compani companie es ("S (" SAPGroup") for informa inf ormattional purpos pur poses only, onl y, without wit hout repres representa nt ation or warra warr anty nty of any kind, ki nd, and SAP Group shall not beliabl iabl efor errors or omissions ionswith wit h re r espect pect to to the materials. The only warranties for SAPGroup products and ser service vicesarethosethat ar eset fort for th in i n t he expre xpr esswarra warr anty nt y statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional ddit ional warr warra anty. nt y. These mat eria ri al sare provided provided “asis” without wit hout awar warranty ranty of any kind, ki nd, eithe it herr expres xpress or implied, impl ied,includi in cluding ng but not limi l imitt ed to, t he impli implie ed wa war ranties rantiesof mer merchanta nt abilit bil it y, fitnes fit ness for a part icula icul ar purpose purpose, or non-infr non-infrin inge gement ment.. SAPshal APshall not belia li able for damage magesof any kind ki nd inclu in cludin ding g without wit hout limit li mita ation ti on dire dir ect, spe special cial , indirec indirectt , or cons conse equential nt ial damag damage esthat may result ul t from fr om the t he use use of thes these materi als. SAPdoes APdoesnot war warrant the accura ccuracy or comple compl eteness of the t he information, text, graphics, links or other items contained within these materials. SAPhas no control over the inform nforma ation t hat hat y you ou may acce ccesst hrough hrough the the use of hot link li nks s conta cont ained in these materials and doesnot endors ndor seyour your useof t hir hi rd party web web pages nor provi provide de any warra warr anty nt y whatsoever ver relating to third party web pages. SAP“How-to” Guides are intended to simplify the product imple mpl ement menta ati on. While Whil e specifi pecific c product feature ur esand proce procedure dur est ypica ypicall y are expla xpl aine in ed in a pract practical business context, it is i snot impli impl i ed that t hat thos t hose efeatur feature esand proce pr ocedure dur esare t he only onl y appr approa oach ch in in sol solvin ving g aspecific fi c bus busiinessproblem problem using SAPproducts. APpr oducts. Shoul d you wish wish to to re r eceive additi ddit i ona onall inform nforma ation, ion , c cll arifi if ication or support, upport, ple pl ease refer refer tto o SAP Consulting. Any softwa oft warrecoding and/or codelines/ strin str ings gs(“ Code” ) include ncl uded d in i n thi t his sdocumenta nt ation ti on are only only exa exampl mple es and are not inte nt ende nded d to t o beuse used in in a producti productive syst em environment. envir onment. The Codeisonly onl y int int ended bet ter expla expl ain and visual visualizethe synt yntax and phras phrasing rul rule esof cert ain coding. SAPdoes APdoes not war warrant the corre corr ectnes ctnessand compl completene enes ss of the t he Codegiven he herein, and SAPs APshall not beliable for error rr ors sor damag damage es caused by the the usageof the Code, except if such damageswere were caused by SAP int in t entionall ntionally y or grossl y neglige negligent nt..