‎2007 May 02 3:40 PM
hi
i m new for BAPI i created BADI Class but i dont know how to write code
in class .
i created below method which type of code i has to write only for testing
please help me
method IF_EX_HRPAYCA_RP_ROE~SAP_SCRIPT_TABLES .
endmethod.
thanks in advanced.
‎2007 May 02 3:43 PM
just type
break point.
activate it. activate the implementation.
test your object. it shud stop at this point.
‎2007 May 02 3:43 PM
hi ,
you need implement the BADI SE19. In the badi implementation you would write the code
‎2007 May 02 3:52 PM
Hi,
Check the Import Export parameter for this method,
As u are allowed to access these fields in ur BADI.
So Enjoy the coding....
Please go through the following Docs, which will be helpful....
http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
Regards,
Ranjit Thakur.
<b>Please Mark The Helpful Answer.</b>
‎2007 May 02 3:52 PM
Writing code in class is no different than the normal code.
hith
Sunil Achyut
‎2007 May 02 3:56 PM
HERE I M GETTING ERROR THAT
BELOW
.
Class ZCL_IM__FIRST_IMP,Method IF_EX_HRPAYCA_RP_ROE~SAP_SCRIPT_TABLES 1 @0A\QError@
Class "ZCL_IM__FIRST_IMP" does not contain an interface
"IF_EX_HRPAYCA_RP_ROE".
THANKS.
‎2007 May 02 3:52 PM
Hi,
check these links...
http://help.sap.com/saphelp_47x200/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
http://www.allsaplinks.com/badi.html
http://www.savefile.com/files.php?fid=8913854
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
<b>plz reward points if helpful or if it solves ur query.</b>
Thanks
Chinmay
‎2007 May 02 4:08 PM
Hello Laxman
The general procedure for implementing a BAdI is as following:
(1) SE19: Create an implementation of the BAdI, in your case HRPAYCA_RP_ROE. Example: ZHRPAYCA_RP_ROE.
(2) SE19: The system proposes a name for the implementing class. You may overwrite this name, then automatically generate the class.
(3) SE19: Double-click on the implementing class -> the system jumps to the class builder (SE24). Here implement the methods by filling them with your coding.
(4) SE19: Finally do not forget to activate your implementation.
Regards
Uwe