You are on page 1of 18
srano%8 SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detailed step by step guide May 15,2016 | 2,012 Views | Sourav Mandal more by this author Utilities fleafgoventssap for ulitesutiities G f v in Follow RSS Hello Folks, Today | thought to share with you a detailed screen by screen implementations of custom FM in SAP Events in SAP ISU. No step will be jumped and screenshot will be provided for every minute points. It willbe taken care that if you try to implement this in your system and find something missing in the literature, you can always refer to the screenshots. From this blog you will get to know: 1, How to find Events for any standard SAP application. 2. How to implement custom Function Module for the event. Wish you a very Happy Read I! Step by step process First process: How to find Events for a standard SAP transaction: 1. Go to Teode: SE37 2, Enter function module name: FKK_FUNC_MODULE_DETERMINE hitpstlogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-lo-mmplementevants-delailed-step-by-slep-quidel ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs ane sran0%18 oa) Go DF BD Reassion.. 12 Ee) Poe] eae) 3. Click on Display Function module «(REC FOIE MGROEE RETERENE | acne 18 vesiace E3084) WITH 2 24 CAEL FONCTION ‘ev GeT_APELICATION* 20) le 32) 33 3¢ sao mast ia ronce wore ney apron ~ 2-aDmon wove ~ PORBEVESmveny seanci. Te (WM Funcc-yousr eq seace ap 7 GRLY CUSTOMER =O SPACE ) 4, Go to line number 32 and place a BreakPoint. 5. We will find the events that are hit during Installment Plan creation. (Teode FPR1) menu edt & wortes Extras System Help ef *4gGieeea i I sl BEB Korhermenn BRA vy a 6. Go to SAP eassy access screen and Enter Tcode FPR1 and press enter. Note: If you want to find the events that are hit in any intermediate process in any standard transaction (| mean to say not exactly after entry of the Teode) then follow the same process as stated below but keep pressing F8 until your desired hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs ane srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs ‘screen is hit 7. The system will open a debugger session and the function module FKK_FUNC_MODULE_DETERMINE. 8. Double click on the variable |_FBEVE (as per the above screen shot 1107 is the event number), The value of this variable is the events hit at that time. 8, Press F8 and if there is any other event that is being hit then the debugger will stop at this particular event and the value of the variable |_ FBEVE will change to the event name, In simple words the event name is the value of the variable |_ FBEVE, 10. So by this process you get the entire list of Events that are hit while execution of, any standard process in SAP. ‘Second Process: Implementing Custom Code: ‘After determining the event name, the next step is to implementing your custom code in the event so that customer's enhanced requirements can be complemented. ‘and the custom code can be executed while execution of the standard TCODE hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ane srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs Steps are as follows: 1. Go to Teode FQEVENTS. 2. Click on the binocular sign as shown below and enter the event name. Note: If at any point the event name search shows not entries found then first click on ‘All Entries’ button and then again do the search. Search Term Account Determination Account Information Account Statement Account Statement from Bank - Ree = [al entries) (EA) 28) Event _ Text... Document: Propose Recenciaton Key Z 4 1114 ~ Document: Change and Display, Additional Che: 1115 Document: Change and Display, Publish Generic 1116 Document: Change and Display, Reset Publ oF 1117 Document: Display Triggering Business Transact 1118 Additional Activitios for Posting Oni 1119 : Additional Checks for Posting Online 1120 Document: Additional Actwites during Change 1121 Document: Additional Checks during Change 3. Double click on the Event name AT Sse Moin Specs Festret een th te eh tah hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ane 512472018 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs 4. The event opens on the right sub-screen: It has two tabs: Documentation and Function modules. From the documentation you will get to know about how and when the event is hit and what are expected if custom enhancements are implemented. 5. In the Function Module tab: You will get the sample function module for each and ‘every event in SAP. The second portion is the Standard Function module. This {unction module is the SAP provided FM for the event and the logic of this function module can be changed or appended. The sample function module will generally be blank and the standard FM will have some code in it Now I will explain in detail how to create own custom function module for the SAP event and configure the same to the event. Detailed Steps: 1. Enter Teode SE8O hitpstlogs.sap.com/2016/06)15isap-su-events-how-o-ind-events-how-o-mplementevents-delalad-step-by-step-guidal one sran0%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs [Fancton woaue T=] fsu_saweLe ais [wig] 2. From the drop down select function module3. Enter the standard FM from the ‘event (if standard FM is not present then paste here the Sample FM)4. The function group will be displayed automatically as shown below: hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ene sran0%18 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs | AOE as S > BB Gece object REATE_EVE 1SU_GET so ‘SU: Provides Calender ID from a + ISU_SANPLE_2025 Event 2025: Consistency Checks + ISULSAWPLE_3030 ISU: Event for due date determnat + 1SU_SAWPLE 3050 _printInstalment Plan in ISU » CiDictonary Structures » © Type Groups > Gites 5. Right Click on the object name of the function group and select copy as below hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel me sran0%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs | Object Navigator [Function Group gee Change Dsphy Check Acthate Test Sequence... Exeaite Fp Delete Eind Additional Functions 6. In the next screen which appears, enter your custom function group name, just, ‘enter 'ZFG_’in front of the standard FG name, Provide a FG text. Click on ‘Copy’ Old function group. New function group Person Responsible Function group text Instalment Plan 15U Events (Y copy |) 7. Assign Package and TR and save the function group. hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ane srano18 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs & mation @ Foncion group 2F6-£322 crested. tow copy the function modules 8. Click on the tick sign, 9, Then deselect the function modules and do not copy any of the function modules. Object Navigator SF BO Best object [Function Group MY (zee E322] Lzlee] > Ci Dicionary structures » Gi type Groups » Gi types > GlFields , » 10, As seen in the above screen the object name of your custom FG is seen with the objects that are copied from the standard function module. 11. Now you want to create your custom FM 12, Go to Teode SE37 13, Paste the standard FM name and click on the Copy button as shown in the ‘screen shot below: hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel one sran018 nein tows SESE 14, Enter a ‘ZFM_! in front of the FM name, and enter the Custom FG you created as shown below. However you can give any name starting with zor y. exes mn fr. Function module [15U_SAMBLE_3015 To Function module _‘[7#M_TS0_SANPLE_3015, rncengow [eas a) ss cuken iy @ frreton rode rane 5 reserved fer sap E 16. Click on Tick 17. You can see the success message as shown below @ Function rodule ISU_SAMPLE_3015 conied hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs sone srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs 18. Again in SE37 screen enter your custom FM name and click Change. 4 language-specitie ABRP Workbench object needs co be modified in language Geran (OE) ror one cf the following reasons: ¢ You have decided to modify chis object in its original langage. © This abject can only be modified tn the Tanguage Gertan (CE) One of the following exscra ocourred: 4. The code page of mie Sogon Language is not compartbie with che code page of the meaitication language German. Before making the modifications, 1og on in language German (DE) or in a language thet uses she sage code page TE you proceed wish the changes, the code page incorpabibility can cause errors when saving texts. 2, The MES configuration ia missing for language German. be The WES configuretion wes not yet completed for the language German > vical be 19, Click on tick Function Builder: Change ZFM_ISU_SAMPLE_3015 So FRE a1 Sh ASO HM SB race pretyrmter run ‘runction madule [ALIS SwPE_A0IS Sd nace DD MGT 9 fieope sverg 15 1NETIAL =| |. catu Foxetion *1a0 pa neaocr_siNoie THECR xspres 7 ay Tongs song efeape-cverg : yeesoss = nvesose Scope \FUNCTION 294181 SAMPLE 3015F hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ne srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs 20. You can Change or Append the code in our custom FM uetion module fem asa Suoce sots active “rencoted Type(s Val, [shor text se aon.) _‘besh cure 1 tne ragrr exce “este aed 2 a o Séepe\NCTION ANU, SUOLE 35 21. In the above screen you can provide your code. 22, Save and Activate the FM. Third Process: Assigning the vustom FM to SAP Event Detailed Steps 1, Go to the FQEVENTS screen as shown above go to the Function Modules sub-screen, and press the change pencil button as shown below. hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel vane srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs ‘coe inert GL) 15 ngatent Pre Sxae sauce Reahabs 2) 2125 ngarene Ps cansianey Cec 2) nearenc Pn: appa Soere A. Ces 1n2 insnrent Pr: Chek for IS Payment check “ua nearer Pr: Oster Cer [HEI Insert Pr: Dsterne it Type fr Fyre 2D nner Pls Change Oger 21 incre Pl: Denty Caren Of ‘3161 Insabrent Pr: Ar Cone 344 Inealrent Pn After Deactaton (re. Cara [343 neers er Oectaon [30 Ieee PP 5 ‘S139 nzalrare pr: Aton ks on seen 0300 7 {s| nearent Pr: Dep Acdral Fas Aleem a ORF) 4a) Sano urcion Hes FH. sumokemocue satin SFr sirie 3013 a wwe Sedat ee Mr mal rece e Ser eo) ees a i 2. The following screen appears as shown below: 3, Click on new entries. 4. Enter the sequence number as 0 and the custom function module name which you have created, in the above steps. hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel sane srano%8 “Y Dsply function module ff El EL El B variable List Weerwe Fl cou faa) | Installation-specfic function modules. sequence Number Ac:ve module 0 ———— 5, Save and assign it to a Customizing TR Ewe eE |! | oO 2525 tian ar kc Sue Soca @) 5026 tire Por Conseane/ Che 5027 Iter ar Rois a Coes {2b sarc for de Fncons 2550 tine ar Deters acne S051 stir: or Det Pre Te Pyrat Fame 5052 tater ar Chrono Choe aout 2003 _stamert ar: Paty geen Ome oma) S04 nine on Aer Oeacon (rm Come ne) > LU SAMMUT 6. After assigning the custom FM to the event you will find the activated sign, (forch) have shifted in front of the Installation specific function module. 7. Goto the tcode SE80 enter the custom function group which you created. 8. Right click on the object (FG) and activate the FG. hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs vane sran0%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs [& Function Mocule Edit Goto Utiities Environment Syste @ (0\e@ee GHR FCF 7RHOe14¢ AS25H @ [Functon Group MM [zc e322 Lemldel Geate Grange Disoby » Greck » Test Sequence... Execute Addtional Functions By this you have completed assigning the custom function module to the Event. Now it's time to test whether your custom function module is executed or not while executing the standard Teode. Testing: Detailed Steps: 1, Enter Toode SE37 and open your custom function module, 2. Pout a break point on the starting of the executable line of your custom function module hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel rene srano%8 eo 92S 218s ABOM EQ pty me [@OLISLSReTE IS ——~—~*d Ate Function module 7) EFUNCTION zin_isa_semple 3015. aa | “Zocal Invertace: EXEORTING VALUE (E HEADEREO) LIKE FRKOD?_TEXTI VALUE (E_HEADERSO) LIKS FKKOPY-TEXT2 CHANGING HE EREOP! PRUCTURE EKKOPT VALUE (6_FRKOFT) DATA: Rh teg0S= LIKE tegost. tion is completed in e_neagerso ler for isu-transaction ta criginal docum bext-o01 IF NOP © fktopt-hvorg 18 INITIAL AND NOP ¢ fetept-tvorg TS INTTIAL CALL FUNGEION "ISU DS TE30ST_SLcLE* EXPORTING ie Ee steree 3, Enter Tcode FPR1 and press ENTER, 4, Second screen hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel appears, ‘Create Installment Plan: Initial Screen’ rene srano%e ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs aad Selacton ener for open Rome Business Partner ‘company code r | Contact Account [600000600168] Document Number | = aaa = ae sine I Reference | ees (orsaraa a Docurrent Date 05/19/2016 qn recodotonkey _ esraecal (3) Account Bafances (display acct babnces 5, Enter the required fields namely: Contract Account, Currency, Reconciliation key, and other fields will be auto-populated as per configuration as the above screen 6. The next screen is as shown below. hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel we srano%8 ‘SAP ISU EVENTS: How to FIND EVENTS: How to IMPLEMENT EVENTS: Detaled step by step guide | SAP Blogs gouged Te Not o_fikepe-nvorg 18 TWITIAL = od AAP Ln cal o 6 VOILAN!!! ‘The code is right into your custom FM. So this was all | had to share with you. See you soon in some other topic... Until then have some good food, plenty of water, plant trees and save the mother nature!!! Bye !!! hitpsblogssap.com/20 16/06) Sisapisu-events-how-o-ind-events-how-{o-mmplementevents-delailed-step-by-slep-quidel rane

You might also like