badi implementation best

44
Step by Step guide for BADI Multiple use implementation Home Quiz Tips Tutorials Functional Cert Q's Interview Q's Jobs Testimonials Advertise Contact Us Document Categories: ABAP TM Adobe Forms ABAP-HR ALE & IDocs ALV BAPI BASIS BSP Business Objects NEW Business Workflow CRM NEW LSMW SAP Script/Smart Forms BI/BW eXchange Infrastructure (XI) Enterprise Portals (EP) eCATT Object Oriented Programming SAP Query Userexits/BADIs WebDynpro for Java/ABAP TM Others What's New? Store variables using Sets instead of TVARV(C) table Instantiating the Used Component.in ABAP Web Dynpro Simple Number Game in SAP Migration of SAP Script to Smartform Step by Step guide for BADI Multiple use implementation By Vijayendra Krishnamurthy Rao, Hewlett-Packard Step 1 Enter a BADI Definition name and Click on the CREATE button. Enter a short description and under the TYPE section choose if you wish to have multiple implementation or a Filter object to the BADI. See F1 help on the multiple use and Filter to find more details http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (1 of 9)11/26/2012 7:15:54 PM

Upload: kumaresh-karar

Post on 30-Oct-2014

167 views

Category:

Documents


17 download

TRANSCRIPT

Step by Step guide for BADI Multiple use implementation

Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Document Categories:

● ABAPTM

● Adobe Forms ● ABAP-HR● ALE & IDocs● ALV● BAPI● BASIS● BSP● Business Objects NEW ● Business Workflow ● CRM NEW ● LSMW ● SAP Script/Smart Forms ● BI/BW ● eXchange Infrastructure (XI) ● Enterprise Portals (EP) ● eCATT● Object Oriented Programming● SAP Query ● Userexits/BADIs● WebDynpro for Java/ABAPTM ● Others

What's New?

● Store variables using Sets instead of TVARV(C) table

● Instantiating the Used Component.in ABAP Web Dynpro

● Simple Number Game in SAP● Migration of SAP Script to Smartform

Step by Step guide for BADI Multiple use implementation

By Vijayendra Krishnamurthy Rao, Hewlett-Packard

Step 1 à Enter a BADI Definition name and Click on the CREATE button.

Enter a short description and under the TYPE section choose if you wish to have multiple implementation or a Filter object to the BADI.

See F1 help on the multiple use and Filter to find more details

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (1 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

● Shading Individual Cell(s) or Line(s) in a Table or Template of a Smartform

● Hiding SAP Netweaver login screen while opening Webdynpro Application

● BAPI Extension for BAPI_ACC_GL_POSTING_POST

● Final Window in Smart form● Implement SEARCH GUIBB Using FPM● ‘Change validation‘ in PU12● HCM Process and Forms - Custom Search

Help● Creation of Generic services in HCM

Forms and Processes● Step by Step Reverse Service tax

Mechanism Documentation● Demo on working with step "Loop (Until)"● Demo on working with "Nested /

SubWorkflows"● Creating an OVP (Overview Page) in CRM● Change Logo on Address Bar for

Webdynpro application● How to Show User and System Name on

top of Web UI Page● Install SAPUI5 in Eclipse Juno● Create PU12 interface format for ‘Time data'● Draw vertical lines to fill the entire main

window in SmartForm

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

Name:

Email:

Subscribe Unsubscribe

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (2 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Click on Save and create a TP

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (3 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Step 2 à Define the Interface

Use the menu GOTO à INTERFACE or simply double click on the interface name under the interface tab.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (4 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Enter the method name and define the methods parameters in the interface.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (5 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Select the method and click on the parameters button to enter the parameters for the method.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (6 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Click on Save and return back to the initial screen.

Follow the steps above to enter more methods if you wish too.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (7 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Parameters for the second method.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (8 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Click here to continue...

Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us

©2006−2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page1.htm (9 of 9)11/26/2012 7:15:54 PM

Step by Step guide for BADI Multiple use implementation

Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Document Categories:

● ABAPTM

● Adobe Forms ● ABAP-HR● ALE & IDocs● ALV● BAPI● BASIS● BSP● Business Objects NEW ● Business Workflow ● CRM NEW ● LSMW ● SAP Script/Smart Forms ● BI/BW ● eXchange Infrastructure (XI) ● Enterprise Portals (EP) ● eCATT● Object Oriented Programming● SAP Query ● Userexits/BADIs● WebDynpro for Java/ABAPTM ● Others

What's New?

● Store variables using Sets instead of TVARV(C) table

● Instantiating the Used Component.in ABAP Web Dynpro

● Simple Number Game in SAP● Migration of SAP Script to Smartform● Shading Individual Cell(s) or Line(s) in a

Step by Step guide for BADI Multiple use implementation

...Previous

Click on save and activate to activate the custom BADI.

If there is any inconsistencies in the BADI definition and the interface definition the system will throw a warning message as shown below

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (1 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Table or Template of a Smartform● Hiding SAP Netweaver login screen while

opening Webdynpro Application● BAPI Extension for

BAPI_ACC_GL_POSTING_POST● Final Window in Smart form● Implement SEARCH GUIBB Using FPM● ‘Change validation‘ in PU12● HCM Process and Forms - Custom Search

Help● Creation of Generic services in HCM

Forms and Processes● Step by Step Reverse Service tax

Mechanism Documentation● Demo on working with step "Loop (Until)"● Demo on working with "Nested /

SubWorkflows"● Creating an OVP (Overview Page) in CRM● Change Logo on Address Bar for

Webdynpro application● How to Show User and System Name on

top of Web UI Page● Install SAPUI5 in Eclipse Juno● Create PU12 interface format for ‘Time data'● Draw vertical lines to fill the entire main

window in SmartForm

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

Name:

Email:

Subscribe Unsubscribe

Based on the selection the system will automatically adjust the BADI definition or interface.

In our case the system adjusted the parameters for the methods. It changed the Exporting parameter to the Changing parameters

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (2 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Step 3 à Create the Implementation for the BADI. You can either go to TCode SE19 or use the menu option Implementation à Create as shown in the screen shot below.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (3 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Enter the name of the BADI implementation you wish to create and click on the continue button.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (4 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

On the next screen enter a description for the implementation and click on the save button and create TP subsequently.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (5 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Click on the interface tab

And double click on the method you wish to implement in the current BADI implementation. Write the code to achieve the functionality of the method.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (6 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Click on the execute button to test the method.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (7 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

On the next screen click on the Edit Interface view button or the display icon next to the ZIF_EX_MYBADI node.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (8 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Now click on the execute button against the method to execute the functionality.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (9 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Click here to continue...

Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us

©2006−2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page2.htm (10 of 10)11/26/2012 7:17:53 PM

Step by Step guide for BADI Multiple use implementation

Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Document Categories:

● ABAPTM

● Adobe Forms ● ABAP-HR● ALE & IDocs● ALV● BAPI● BASIS● BSP● Business Objects NEW ● Business Workflow ● CRM NEW ● LSMW ● SAP Script/Smart Forms ● BI/BW ● eXchange Infrastructure (XI) ● Enterprise Portals (EP) ● eCATT● Object Oriented Programming● SAP Query ● Userexits/BADIs● WebDynpro for Java/ABAPTM ● Others

What's New?

● Store variables using Sets instead of TVARV(C) table

● Instantiating the Used Component.in ABAP Web Dynpro

● Simple Number Game in SAP● Migration of SAP Script to Smartform● Shading Individual Cell(s) or Line(s) in a

Step by Step guide for BADI Multiple use implementation

...Previous

Enter the required parameters and click on execute to see the results or the output or the outcome of the method execution.

Similarly finish the coding for the other methods.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (1 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

Table or Template of a Smartform● Hiding SAP Netweaver login screen while

opening Webdynpro Application● BAPI Extension for

BAPI_ACC_GL_POSTING_POST● Final Window in Smart form● Implement SEARCH GUIBB Using FPM● ‘Change validation‘ in PU12● HCM Process and Forms - Custom Search

Help● Creation of Generic services in HCM

Forms and Processes● Step by Step Reverse Service tax

Mechanism Documentation● Demo on working with step "Loop (Until)"● Demo on working with "Nested /

SubWorkflows"● Creating an OVP (Overview Page) in CRM● Change Logo on Address Bar for

Webdynpro application● How to Show User and System Name on

top of Web UI Page● Install SAPUI5 in Eclipse Juno● Create PU12 interface format for ‘Time data'● Draw vertical lines to fill the entire main

window in SmartForm

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

Name:

Email:

Subscribe Unsubscribe

Once done do the testing and see if it works fine

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (2 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (3 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (4 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (5 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

Once the testing is done. Return to the main screen and activate the implementation of the BADI.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (6 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

So far what we have seen is only ONE IMPLEMENTATION of the BADI. We have not done MULTIPLE IMPLENTATION so far. We will now proceed to write a simple program.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (7 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

As seen above the program is very simple and has the following components.

1. Data declaration (Type ref and any other data variables as required) 2. Call to the method CL_EXITHANDLER to get the implementation name of the BADI 3. Using the instance, call the method which has been implemented for the BADI.

Click here to continue...

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (8 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us

©2006−2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page3.htm (9 of 9)11/26/2012 7:19:17 PM

Step by Step guide for BADI Multiple use implementation

Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Document Categories:

● ABAPTM

● Adobe Forms ● ABAP-HR● ALE & IDocs● ALV● BAPI● BASIS● BSP● Business Objects NEW ● Business Workflow ● CRM NEW ● LSMW ● SAP Script/Smart Forms ● BI/BW ● eXchange Infrastructure (XI) ● Enterprise Portals (EP) ● eCATT● Object Oriented Programming● SAP Query ● Userexits/BADIs● WebDynpro for Java/ABAPTM ● Others

What's New?

● Store variables using Sets instead of TVARV(C) table

● Instantiating the Used Component.in ABAP Web Dynpro

● Simple Number Game in SAP● Migration of SAP Script to Smartform● Shading Individual Cell(s) or Line(s) in a

Step by Step guide for BADI Multiple use implementation

...Previous

To call the method you can use the PATTERN option as shown below from the ABAP editor.

Do a CTRL + F6 to get the pattern button or click on the PATTERN button from the application tool bar. Select the ABAP OBJECT patterns radiobutton and click on the continue button.

On the next screen enter the class name and the method to be called as shown below

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (1 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Table or Template of a Smartform● Hiding SAP Netweaver login screen while

opening Webdynpro Application● BAPI Extension for

BAPI_ACC_GL_POSTING_POST● Final Window in Smart form● Implement SEARCH GUIBB Using FPM● ‘Change validation‘ in PU12● HCM Process and Forms - Custom Search

Help● Creation of Generic services in HCM

Forms and Processes● Step by Step Reverse Service tax

Mechanism Documentation● Demo on working with step "Loop (Until)"● Demo on working with "Nested /

SubWorkflows"● Creating an OVP (Overview Page) in CRM● Change Logo on Address Bar for

Webdynpro application● How to Show User and System Name on

top of Web UI Page● Install SAPUI5 in Eclipse Juno● Create PU12 interface format for ‘Time data'● Draw vertical lines to fill the entire main

window in SmartForm

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

Name:

Email:

Subscribe Unsubscribe

It does not matter whether you are calling the static method or the instance method. Click on the continue button.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (2 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Make changes as required and pass the respective parameters. In the above case we changed the EXIT_NAME and the INSTANCE parameters.

Now call the method from the interface using the interface reference l_BADI_INSTANCE as shown below

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (3 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (4 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Enter the parameters required and any additional code required for the report.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (5 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Run the report and you will get the output as shown below

Now lets go back and create a new IMPLEMENTATION in SE19 as we have enabled MULTIPLE USE in the BADI DEFINITION.

Go to SE19 and enter a new name and click on the create button

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (6 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

And when asked for the definition enter the same definition name.

And click on the continue button.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (7 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Enter a meaningful description and save and activate the second implementation. Next double click on the method you wish to implement and write the code.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (8 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

As seen above in the second implementation we have hard coded the value for the email id instead of getting the value from the tables. Save and activate the method and then return to the main screen and activate the implantation again.

Now try to go to each of the implementation and place a breakpoint at the methods. So we first go to the implementation 1 and place a break point as shown below.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (9 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Click here to continue...

Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us

©2006−2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page4.htm (10 of 10)11/26/2012 7:20:50 PM

Step by Step guide for BADI Multiple use implementation

Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us

Document Categories:

● ABAPTM

● Adobe Forms ● ABAP-HR● ALE & IDocs● ALV● BAPI● BASIS● BSP● Business Objects NEW ● Business Workflow ● CRM NEW ● LSMW ● SAP Script/Smart Forms ● BI/BW ● eXchange Infrastructure (XI) ● Enterprise Portals (EP) ● eCATT● Object Oriented Programming● SAP Query ● Userexits/BADIs● WebDynpro for Java/ABAPTM ● Others

What's New?

● Store variables using Sets instead of TVARV(C) table

● Instantiating the Used Component.in ABAP Web Dynpro

● Simple Number Game in SAP● Migration of SAP Script to Smartform

Step by Step guide for BADI Multiple use implementation

...Previous

And similarly go to the second implementation and place a breakpoint on the method as shown below

Once done. Go to SE38 and execute the program developed in earlier steps. You will notice that the program will stop at both the breakpoints as the system triggers all the implementations if there is more than one for a multiple use BADI.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (1 of 6)11/26/2012 7:21:58 PM

Step by Step guide for BADI Multiple use implementation

● Shading Individual Cell(s) or Line(s) in a Table or Template of a Smartform

● Hiding SAP Netweaver login screen while opening Webdynpro Application

● BAPI Extension for BAPI_ACC_GL_POSTING_POST

● Final Window in Smart form● Implement SEARCH GUIBB Using FPM● ‘Change validation‘ in PU12● HCM Process and Forms - Custom Search

Help● Creation of Generic services in HCM

Forms and Processes● Step by Step Reverse Service tax

Mechanism Documentation● Demo on working with step "Loop (Until)"● Demo on working with "Nested /

SubWorkflows"● Creating an OVP (Overview Page) in CRM● Change Logo on Address Bar for

Webdynpro application● How to Show User and System Name on

top of Web UI Page● Install SAPUI5 in Eclipse Juno● Create PU12 interface format for ‘Time data'● Draw vertical lines to fill the entire main

window in SmartForm

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:

Name:

Email:

Subscribe Unsubscribe

Now if you check the value of the variable emailed then you will notice that the emailed is fetched from the database.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (2 of 6)11/26/2012 7:21:58 PM

Step by Step guide for BADI Multiple use implementation

Now click F7 till you reach to the next breakpoint or the next implementation

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (3 of 6)11/26/2012 7:21:58 PM

Step by Step guide for BADI Multiple use implementation

So if you see from the above screen. The cursor is at the second implementation and the value of the email-id is still available in the second implementation.

Now if you execute one step, the value of email-id will be overwritten as shown below.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (4 of 6)11/26/2012 7:21:58 PM

Step by Step guide for BADI Multiple use implementation

And once you execute completely you get the output of the report.

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (5 of 6)11/26/2012 7:21:58 PM

Step by Step guide for BADI Multiple use implementation

PLEASE NOTE: in our case the system first executed the FIRST BADI IMPLEMENTATION and later it executed the SECOND BADI IMPLENETATION. However this sequence is dynamic and there is no guarantee that this sequence will be maintained all the time.

Please send us your feedback/suggestions at [email protected]

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us

©2006−2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards

http://saptechnical.com/Tutorials/ExitsBADIs/MultipleUse/page5.htm (6 of 6)11/26/2012 7:21:58 PM