Вы находитесь на странице: 1из 32
How To... Use the Write Back Pre- Process BAdI Applicable Releases: SAP BusinessObjects Planning and Consolidation 7.0 , version for SAP NetWeaver, SP04 and higher. SAP BusinessObjects Planning and Consolidation 7.5 , version for SAP NetWeaver, SPOO and higher. Version 1.0 May 2010 © Copyright 2010 SAP AG. All rights reserved, ‘No patt ofthis publiestion may be reproduced oF ‘ronsmitted ia any form or for any purpose without the ‘express permission of SAP AG. The information contained herein may be changed without prior notice Some software products macketed by SAP AG andits distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DBz, DB2 Universal Database, 05/2, Parallel Sysples, MVS/ESA, AIX, S/90, AS/ 400, 0S/290, (08/400, iSeries, Series, xSeries, 2Series, 2/08, AFP, Intelligent Miner, WebSphere, Netfinity, Toll, Informix, 5/05, POWER, POWERS, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademaris or registered trademarks of Adobe Systems Incorporated in the United States and/or other ‘countries. Oracleis a registered trademark of Oracle Corporation. UNIX, X/Open, OSE/1, and Motif are registered ‘trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, ‘WinFrame, VideoFrame, and MultWin are trademarks or registered trademarks of Citrix Systems, Ine HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3CB, World Wide Web Consortium, Massachusetts Institute of Technology Javaisa registered trademark of Sun Microsystems, Ine. JavaScript isa registered trademark of Sun Microsystems, Inc, used under Keense for technology invented and ‘mmplementad by Netscape. ‘MaxDB is trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP ‘NetWeaver, and other SAP produets and services ‘mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AGin Germany and in several other counties all over the world. All other product and service names mentioned are the ‘trademarks of thei respective companies. Data contained {in thie document sarves informational pexposes only. [National praduetspacifcatione may vary ‘These materials are subject to change without notice, “These materials are provided by SAP AG and ts affiliated ‘companies ("SAP Group") for informational purposes only, ‘without representation or warranty of any kind, and SAP Group shall not be ible for errors or omissions with sespectto the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any Nothing herein should be construed as constituting an additional warranty ‘These materiale ae provided “as ie" without a warranty of any kind, ether express or implied, including but not limited to, the implied warranties of merchantability, ‘tness for a particular purpose, or non-infringement. ‘SAP shall not be Habe for damages of any hind including without Kmitation direct, special, indiret, or consequential damages that may result from the use ofthese materials, SAP doce not warrant the accuracy or completeness of the information, text, graphics, links or other items contained, ‘within these materials. SAP has no control over the information that you may acoess through the use of hot linke contained in these materials and does not endorse your use of thied party web pages nor provide any warranty ‘whatsoever relating to third party web pages. SAP NetWeaver "How-to" Guides are intended to simplify ‘the produet implementation, While specific product features end procedures typically are explained practical business contest, itis not implied that those features end procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should You sh to receive additional information, darifeation oF “support, please refer to SAP Contig, Any softvare coding and/or code lines / strings ("Code") ‘nuded in this documentation are only examples and are not intended to be used in a produetive system environment. The Codais only intended better explain and visualize the eyntax and phrasing rules of certain coding SAP docs not warvant the correctness and completeness of the Code given herein, and SAP shall not be liable for crzors or damages caused bythe usage of the Code, except iflsuch damages were caused by SAP intentionally or agrosely negligent Disclaimer Some components ofthis product are based om Java™ As code change in these components may ease unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation ofthese components. Any Java™ Source Code delivered with thi producti only to be used by SAP's Support Services and may not be ‘modified or altered in anyway: Document History Document Version Description 1.00 First official release of this guide Typographic Conventions Icons Type Style___Description Icon _ Description Example Text Words or characters quoted Caution from the screen. These include field names, screen tiles, pushbuttons labels, menu names, menu paths, ‘and menu options. Cross-refarances to other documentation Example text Emphasized words or phrases in body text, graphic files, and table titles File and directory names and their pathe, messages, names of variables and parameters, source text, and names of instalation, upgrade and database tools. Example text User entry texts. These are ‘words or characters that you center in the system exactly as they appear in the documentation brackets indicate that you replace these words and characters with appropriate entries to make entries in the system Keys on the keyboard, for example, £2 or ENTER EXAMELE TE) Note or Important Example Recommendation or Tip Table of Contents Business Scenario .. Background Information Prerequisites.. aes Step-by-Step Procedure. 4.1 Create a BAd! Implementation 4.2 Test the BAdI Implementation 5. ABRENEIK no 6.1 Source Code for BAd! Implementation How To... Use the Write Back Pre-Process BAd! oy 1. Business Scenario Note: This guide is intencled to demonstrate how to use the Write Back BAd! to implement custom code to fil gap requirements. In this guide, we use the "Disaggregation" business scenario as an ‘example only. The code associated with this guide is not supported in any way by SAP, and is rot guaranteed to work in all cases. Remember, this guide is to demonstrate the use of the Write Back BAdl ony. Currently, BPC only supports planning or writing data to base members or leaves of a hierarchy. Often times, the business user wants to plan at a higher level than just the base member level, especially ‘when it comes to ‘what-if’ analysis, This paper covers the case where @ user wants to plan data at the parent level and distribute the values evenly to the underlying base members. This guide will demonstrate how you can use the Write Back BAdI to accomplish this task. In this example, the end user would lke to write enter data at a parent level Entity dimension, using a BPC Input Schedule, and evenly disaggregate or distribute that number across all ofthe childran (base members) of that parent Entity dimension. In this guide's example, we are disaggragating ‘evenly, however, you could perform other types of distribution, such as; based on a percentage value, or distribution based on previous year's data, for example ‘The sample BAd! Implementation "UJR_BAD|_SAMPLE_DISAGGREGATE” is shipped as an example implementation for this disaggregation scenario, but this guide will demonstrate how to implement the functionality from scratch 2. Background Information SAP Business Add-Ins (BAdIs) are one of the most important technologies used to adapt SAP. software to specific raquirements. As of Release 7.0 of the SAP NetWeaver Application Server ABAP, BAdis are part of the Enhancement Framework, where they represent explicit enhancement options, Adis are the basis for Object Plug-Ins that can enhance the functions in ABAP programs without having to make core software modifications. As such, BAdl calls can be integrated into customer applications (ike BusinessObjects Planning and Consolidation, version for SAP NetWeaver) to allow ‘enhanced customization of standard application functionality ‘This How-To Guide (HTG) describes the procedure for implementing a BAdl that allows the end user to write data to @ parant level from within the BPC for Excel Front End Client. The Step By Step saction will outline the steps neaded to create the BAd| itself as well as the configuration required ‘within BPC to actually execute the BAdI. The Appendix section contains the example ABAP code that ‘g0es along with this guide's Business Scenario. This code is only meant as an example and while it ‘will perform the actions described in this guide it may not match the exact needs of your own particular Business Scenario ~ but itis a good starting point for the creation of your own BAdI Implementation, May 2010 How To... Use the Write Back Pre-Process BAd! oy 3. Prerequisites Requiredirecommended expertise or prior knowledge ‘© SAP BusinessObjects Planning and Consolidation 7.0, version for SAP NatlVeaver, SP04 and higher © SAP BusinessObjects Planning and Consolidation 7.5, version for SAP NetWeaver, SP00 and higher + ABAP programming skills + Access to SAP NetWeaver transaction codes: SE20, SE18, SE19, SESS, SE8O, SE24, STMS. Additional Documentation ‘+ RKT Online Knowledge Product © hitp-iservice.sap.comirkt On the left hand side, navigate to SAP Ramp-Up Knowledge ‘Transfer -> SAP BusinessObjects EPM Solutions -> SAP BO PC 7.6, version for SAP NetWeaver © Other EPM How-To Guides © _hite/iviki sd sap.com/wiki/eisplay/BPX/Enterprise+Performance+Management+%28EP M%420+How-to+Guides ‘SAP Help Library ~ Business Add Ins © hiterihelp sap.com/saphelp_nw70/heledeta/en/t#2¢5401864843 1¢10000000a1550000fr amessthim May 2010 How To... Use the Wite Back Pre-Process BAd! 4. Step-by-Step Procedure This How-To guide contains all the steps required to create a BAdl Implementation, specifically for the Write Back Pre-Process BAcI definition. A BAc! implementation is the term used in the Enhancement Framework for an enhancement implementation element. A BAdl implementation consists of a BAd! implementation class that implements the 8Ad! interface. The BAd| implementation also contains a {iter condition which is specified in the BAdI definition. This fiter condition can be used to execute the Ad! implementation at runtime. 4.1 Create a BAdI Implementation 41, Log on to the SAP NetWeaver system via SAPgui. Enter transaction SE18 and press “Enter menu Edt Eavortes emras system Help @ fsei8 y|\d @iC@e@ie SAP Easy Access BEd Kotrermnm BBS va) > Do Office > [2 Cross-Application Components > Accounting > DD Information systems > D Tools 2. Inthe initial sereen, enter the name of the corresponding enhancement spot. Enter UJR_WRITE_BACK, and click *Display’. [ Enhancement Spot Edt Goto tills Enhancement implem @| ~)4 G/C@@ Gumie ae 20 o © Enhancement Spt cxcmnen sp ead Name ———— May 2010 How To... Use the Wite Back Pre-Process BAd! 3. On the left side of the screen, expand the BAd! definition tree by clicking on the ? icon. You ‘should then see the following nodes. * Interface + Fiker + Implementations o> 98G 214% ASZ0H X@ Enhancement Spot Oe SH) SULA) aasvetnton (Bat Description BP +1908 at ae S08 xoR Enhancement Spot (GORWRTTEBACK ‘Atibutos_\ Enhancer. Implementations Technical Detals_ (CS) SS) SLY) — wvlementaions EBA Definitions tf) BAdl Definition BADI_U. “$ BADI_UIR_WRITE_BACK EP : ohne Enhancement implementation ei ‘Greate BAalimplementaton “= May 2010 How To... Use the Write Back Pre-Process BAd! oy 5. 6 7 In some cases, a developer may have already created en enhancement implementation for this enhancement spot for a different BAdI definition. If an enhancement implementation already exists, a dialog listing all implementations will be displayed, Click the “Create” button in the lower ight hand comer. If this dialog is not displayed, continue to step 6 Ren) see th ru por nat nk B01 In this dialog, enter the name of the enhancement implementation and the short description Name it as ZUJ_WB_PRE_PROCESS_EX. Then click the green check to continue, Enhancement implementation ‘2)_v8_PRE_PROCESE_EK hota (GP ator ici nile) “composite Enhancement mplemertston Enter the name of a package name for transporting this BAdl to another system in your landscape, or click “Local Object” f you do not plan to transport this BAdI Object _[RETRI/ENHO|/2UJ_We_PRE_PROCESS_EX | ‘tutes Package ZBPC Person Responsive ao) Original System ‘pec! Original language [EW Engiish Gort onjent [Lock erie EB) May 2010 8 How To... Use the Wite Back Pre-Process BAd! ay 8, Ifyou are presented with this dialog, then select your enhancement implementation which was. just created from step 6, and click the green check. If there are no other previous implementations, go directly to the cialog box shown in step 8. 1 Erhancertinsonenton 8 In this dialog, enter the name of the BAd| Implementation as ZUJ_WB_PRE_PROCESS_EX_IMP, and enter the description. Also, enter the name of the implementing class as ZCL_UJR_PRE_PROCESS_EX PROCESE_EY_TWP Desenption ‘BPC. Writback Pre-Provess Example rrenerng Class no Pe paces May 2010 How To... Use the Wite Back Pre-Process BAd! 10, Ifyou are presented with the following dialog for “Creating BAdl Implementation’, simply click the “Empty Class’ button. You will not use the existing example BAdl implementation. vereorenicor| Copyene ore camps melementsone py el rpan atone inure ies net a) [__Eamancemertinlemensbon dimple —Fnal_—_(Desctn UR Biol sate TURBO SAMPLE_DISAGOREGHTE—G) Sale Otsoap = May 2010 How To... Use the Wite Back Pre-Process BAd! 11, If you are presented with the following dialog for “Creating Implementation Class", simply click the "Empty Class” button. This means that instead of copying the example class, you will create yyour implementation from scratch, ‘You nave the fowing otons. Crete a naw mow class - Copyore othe eagle cisses -tnnattom an exala inplemerinton Erie Classes les [Lush Smee isasonesare EI i Bt i adoa ([Ee.zmencinss JC cow ame cis (C inertton Sao Coss) ‘Orgin Final (Name Baal ipl ‘tor Bhal 199) 12. Enter the name of a package name for transporting this BAI to another system in your landscape, or click "Local Object’ # you do not plan to trensport this BAd! ay Object [RSTR|CUAS|ZCL_URLPRE_PROCESSEXSCS~:S (tributes Package Zaee Person Responsibie 18") Original System (pec) Original tanguage [EN English Bos ent Lock ovewiow |X) May 2010 How To... Use the Write Back Pre-Process BAd! oy 13, The BAd! Implementation will then be saved, Notice i is not yet active. (aBahancament inpletnentation 211s WP: BOE: PROCES S67 Diente) eee #9 988 4:4¢ 4508 xee (2U)_Wa_PRE_PROCESS_EX nat te Bon Basiinglomentsion UL VEPRETPROESSECIW—) [EO [Eletaenieranstona | pescnacn Deseon °C: WboEPre Process Earle peer > eR 0° (Deer elon Dimlemertaton save fectn Curent Chant [TapTenentation is catTed — Properties of Bd Detniion ‘AAI Dotnton Name MOLE Deserition [BEC Propocess BA of WifeBack made ere “TEU WB FRE PROCESS Instance Gestion Mode (No Reuse ofBAdinsanee 14. Click on the ? icon next to the name of the BAd! Implementation. This will expose the following nodes below. «+ Implementing Class * Fiter Values ron (a) (Oe) EBAdl implementations Deseriotion * @ implementing Cas + F Fitterva. May 2010 8 How To... Use the Write Back Pre-Process BAd! oy 18, Double click on the “Filer Val.” Node, mere ao EX Bad! implementations Description 2 ASSN CATT = ®implementing clag Sa <—— 16. Click the "Change" icon. & Enhancementimplementation Edit Goto Utites Enyironment System — Helo ee) |} Bi CG@\ SHR SOOS| HH OF xee Enhancement implementation (eUsLwe_PRE_PROCESS_EX Inactive 17. Click on the “Combination” button from the fiter values screen. [Fie vat Jessano JEBEOR) Filter Combinations Com. May 2010 10 How To... Use the Write Back Pre-Process BAd! oy 18, Select APPSET_ID, APPLICATION_ID and MODULE_ID, or click the "Select All" button, and then click the “Green Check” button to continue. Fier ype [Fite Shor est 19, Now double click on the APPLICATION_ID line of the combination, “Filter vaives (Da comvinaton [EF Comination J Fit va, (SD. vat JGeBAND ] Combinations Fit. Value 1 | Com. Filer vaue2 ination + AND m7 777 BPPSETO 72727997 Bann 2777 am MODULE! a9 20. Enter the name of the application, which uses this BAd! implementation, into the "Value 1" fel. In this example, the PLANNING application id used. Next set the drop down box for “Comparator 1” to "=". Finally click the "Green Check’ to continue. Fier Type Character-Type | Fitter Value Value 4 Comparator 1 Fitter Comparator? [| Value 2 May 2010 1 How To... Use the Write Back Pre-Process BAd! oy 21. Next, double click on the APPSET_ID line of the combination. (ira Filer Combinations | Fit. Value Com. | Com.. | Value2 ‘¥ »0 Combination 1 a PLANNING APPLICATION. ID MODULEID 7972797? 22, Enter the name of the application set, which uses this BAd| implementation, into the “Value 1” field. In this example, APSHELL_HTG is used. Next set the drop down box for “Comparator 1" to'=". Finally click the “Green Check” to continue Fiter Type ‘Character Type Fier vaiue Comparator =| den ‘Comparator 2 Cy Value 2 23. Next, double click on the MODULE_|D line of the combination. (Fier vats Sie. [Dewan A convener [Zeal Dea.va lore, lon, Filer Combinatons | Fi. | Yale com. com. | value2 »D Combination 1 ‘PLANNING: ‘APPLICATION_ID_ AND G APSHELL_HTS APPSET_ID May 2010 2 How To... Use the Write Back Pre-Process BAd! oy 24, Enter the medule id, which is triggering this BAdI implementation, into the "Value 1” field, In this example, the MAN value is used. Possible values are: * OM Date Manager + MAN Manual Input © URN Journal Entry © COMM = Comment Entry = DOCS Document Modifications Note: This value controls whether the BAd| implementation is executed based on the specific module in which the write back function is called. In this example, we only want the BAdI to be ‘executed if the user does a manual entry from an input schedule, so we use the MAN module id. Multiple values for module id, within the same fiter, are supported. [Next set the drop dovin box for “Comparator 1" to "=". Finelly click the "Green Check’ to continue. Fiter Type Character Type Fier vate Value 1 Comparator 1 Filtar Comparator 2 Value 2 25, Finally, save and activate by clicking the appropriate buttons {© Enhancement implementation Edit Goto Utilities. Environment System Help © ~\4[fajeee BAR 020 BH OB Enhancement implementation ZUJ_WB_PRE_PROCESS_EX Change #3 9788 @]e¢ 4508 XoR% Enhancement implementation (2UJ.We_PRE_PROCESS_EK native May 2010 8 How To... Use the Write Back Pre-Process BAd! oy 26 In the following dialog, firs click the “Select All button, and then the “Green Check’ button, All objects should then be active 27. Finally, the code which willbe executed by the BAd! implementation can be inserted into the implementing class. Double click on the "Implementing Cass" node from the left side of the May 2010 4 How To... Use the Write Back Pre-Process BAd! oy 28, Now double-click on the implementing class name. Interface IF UJR WB PRE PROCESS Implementing Class a ‘Short description ee method 28. Due to forward navigation, the implamenting class will be displayad in the class builder tool Click on the “Properties’ tab, and click the "Change" icon to enter change mode, ¢ &£20 38 [2CL_UIR_PRE_PROCESS_EX | Imolemented/ Active Class interface A Superciass J Undoinheritance [Change inherit for Bal mpl: 2U_WO_PRE PROCESS EXH [i 30. Add the type group UJRO to this class by entering it in the box on the right. Descristion ek | Glass Builder: Change Class ZCL_UJR_PRE_PROCESS EX = (24 PRE 1 BSA AO BM Focarwes Fimementaon macr Clase inertace ([ZCL_WORPRE_PROUESS_EX | implamentons Active AMM rn oro nti eras mone rosea iui) (Geieenescea voc mnernee a chenge et Destristion (Class for BAG) mpl: ZU\_WB_PRE_PROCESS_BLN Inctantaton [Pubic] ‘nal May 2010 8 How To... Use the Write Back Pre-Process BAd! oy 31, Click on the "Methods" tab, then double-click on the PRE_PROCESS method. e5 92 #:4o AEB0VH Class Interface ‘2CL_UIR_PRE_PROCESS_EE me ‘Level Visi. M.. Deseription InstancPubl1 _Preprocess method 32. An empty method implementation is shown. Notice, the method signature is displayed at the top. Ifthe mathod signature is not displayed, click the “Signature” button on the application toolbar. #9 PRES At Bs AZOM A} Power rvomrrner [sonaur| Ty. Parameter “Tye spec ‘Description Joa 1S_USER TYPE U0 BPC: User Login info vo LAPPSET IO TYPE W_APPSET ID EPC: AppSetD ro LAPPLID TYPE W_APPL_D [BPC Application ID ya MODULE 1D TYPE W_MODULE_ID ‘BPC: Module 10 vo IT_DIN_OB ‘TYPE WR_T_DIMHANOLER PC: Table of(Dimension, DimensionData) yo IF_CALC_DELTA TYPE WLFLG. [BPC XC overwie data “append data yo IF_SIGN_TRANS. TYPE W_FLG BPC: sign transformation yo IFDEFAULT LOGIC TYPEUL_FLG BPC: Yeerun defaultloge after submit data yo IF_DUPLICATE: TPE W_FLS [BPC: ¥eedupicate records possible in CT_ARRAY ET MESSAGE ‘TYPE W0_T MESSAGE [8PC: EnorMessages & ETERROR_RECORDS TYPE STANDARD TABLE PC: Error records roo CTARRAY ‘TYPE STANDARD TABLE [BPC Records tobe processed Method (IF UIR_Ve_PRE_PROCESS-PRE_PROCESS Inactive T" eifethod TF_UUR_W0_PRE_PROCESS PRE_PROCESS. 2 nant May 2010 6 How To... Use the Write Back Pre-Process BAd! oy 33. Copy and paste the source code from Appendix §.1 into the PRE_PROCESS method, |mitess, Builders Class Z01-USR- BRE- PROCESS | EX Chet? ees €> FPREO &1 Gs SATA SE rote rere sg "y. Parameter Thee eee [Descnoton fie user ‘TYPE UW0_s_USER PC: User Login vo ya LAPPBET IO TYPE Ul APPBET_O PC: Appet1D 2 LAPPLID TYPE WLAPPLIO PC: agocaon yo LMODULE_/O TYPE U_MODULE_1O BPC Module ba fT_OW_081 TYPE WR_T_OM_HANOLER GPC: Table of{Oimensin, DiinsionDat ya WoCALCDELTA_TYPEWLFLO PC: overt data append cata ya WLSIGWTRANS TYPE WLFLO PC: sign tanstomaton ya WLOEFAULT.LOOIC TYPE WFLO PC: Xin dete gle ater submit at a F_DUPLICATE TYPE UsLFLo BPC: eduplcae record posable in CT. o> ET_MESSAGE TYPE WuO_T MESSAGE PC: ErorWessagee > ETERROR_RECOROS TYPE STANGARO TABLE BPC: Eror records v>_CTARRAY TYPE STANDARD TABLE BPC: Records tobe processed ‘Method: ‘IF_UJR_WB_PRE_PROCESS~PRE_PROCESS inact 2, | * Sample BAdT imp: 3 | * ~ Disaggregation only happe! ty dimension 4 | += pisagyeegate value into 222 ch base members average! 5) | + - ze as nigaty reccnmended EAGT 5 | jane I_MODULE_ID = ‘MAN’ 5 GNETHOD if_ujr_vb_pre_process~pre_process. paTA: As_entity TYPE ujr_s_dim handler, ry At_entity menbers TYPE uja_t_dim menber, ” 2 lo_entity TYPE REF TO if_wja_dim data, " y At hier info TYPE uja thier, ” 4 As hier info TYPE uja_s hier, 35 ‘TYPE uja_t hier_neme, ” 16 Tlist TYPE uja_t_attr, ” 7 As_attr_list TYPE uja_s_attr, 18 Atlattr name TYPE uja_t_ettr_name, na 19 ifnon fase TYPE uj_f1g, ” 20 Atlentity mbe TYPE uja_t_dim mexber, ” 21 A_num_base TYPE i, ” 22 lpdata TYPE REF TO data. May 2010 7 How To... Use the Write Back Pre-Process BAd! oy 34, Save and activate the class by clicking the appropriate buttons, [ Wetod Est Goto Utes Environment system Help © ~|«fe) eee Cam noe Bm eB Class Builder: Class ZCL_UJR_PRE_PROCESS_EX Change 9 PESO AL]BS ASIA VQ pate prerypmter otgnarre 4.2. Test the BAdI Implementation 1. Goto the BPC Excel Client and log on to the application set. In this example, a copy of APSHELL called APSHELL_HTG is used. Set the current view as shown in the image bslow. In this example, the Entity dimension P_CC is used to do parent level planning, so make sure that the current view reflects that planning is being done for ‘North America’. It is important that all other values in the currant view are set to base member values, ‘Session Information © Logon: Adminstrator APSE TG © current view eokaten: pane =] ee cr Leal [ceo004010 | P_Activity [line *| | PDatasre [urcoaD < a | Tne [omrora >] WEASURES. [PERIODIC ol May 2010 8 How To... Use the Wite Back Pre-Process BAd! 2. Next, from the action pane, choose “Data Input’ Getting Started Available Task Categories Reporting & Analysts — Journals Manage Date (Open System Reports Available Interfaces ° 3. Next, choose "Build a schedule using a dynamic template’ Data Input Options bal New pen blak worbook Cree, ful a chee ang na Open Existing (Open an existing schedule open an esting schedule from My Stheddos Folder ‘Available Interfaces ° May 2010 How To... Use the Wite Back Pre-Process BAd! 4, Choose “Entity-Trend’ and click the “Open” button. 5. You should now see a spreadsheet similar to the one displayed below. Notice that there are two compeny code lines, Canacla and US, and a total line for the parent, North America, enon Inout Shale: Tenby ny May 2010 How To... Use the White Back Pre-Process BAd! 6. Enter a value, such as 3,000 into the parent level row for North America, in the 2008.DEC column and press “Enter” wo0saus | 2008.JuL | 2008sEP | 20080EC | 2008.Nov 700 700 720 720 11420 1420 700 720 7420 7. The cell should now be highlighted in red. 2oosauc | 2008JuL | 2008.seP | 2008.0EC 200 700 | 720 700 720 700 720 May 2010 at How To... Use the White Back Pre-Process BAd! 8. Fromthe action pane, click on "Send Data’. Schedule Options Cell Tasks Drill down en be Dlhrough Spread, trend, weight Insert Function Schedule Tasks Send date Retrieve data Et sched usng drag & drop Set workbook options Worksheet dimension eck options ParkN Go Save toMy Schedules folder Treks ®. Click on “Send active worksheat’ Send Data Options a Send active workbook Submit suppertng document Set workin epprovl status) Available Interfaces ° 10. Inthe following dialog, click “Yes” 2) ered yoo Ea_- 4 May 2010 How To... Use the Write Back Pre-Process BAd! ay 11, The results dialog is displayed. Check the status for success and notice the record count. The Adi implementation removed the record for “North America” and created two records for its children, Canada and US. It then split the inputted value between the two children. 12, Notice that the spreadsheet has been updated with the new values as well May 2010 23 How To... Use the Write Back Pre-Process BAd! oy 5. Appendix 5.1 Source Code for BAdI Implementation Ledata SYPE REF 70 data. stoncioy> + encity menbar of current reoorss May 2010 24 How To... Use the Write Back Pre-Process BAd! oy chy (PARENTEL, PARENTD -.) as anciepoge: Ales Let( supsnmius at Riez info = iz Aies info | ASPENS La plex {nto-nier_nane 20 Lt_niex_nane. Get secessary actsibuter (CALC and STORED, AEPEND Le_avte_Mev-actednute_same 30 ie acte_ame. -sinenaion OF e7RUGTURE <1a_cacoea> 20 <1_et Ley poe. F STRUSEURE 70 May 2010 25 How To... Use the Write Back Pre-Process BAd! oy ENDIF. * aiviae wy zaro May 2010 28 www.sdn.sap.com. dn/howtoguides

Вам также может понравиться