Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in BADI

laxman_sankhla3
Participant
0 Likes
968

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.

7 REPLIES 7
Read only

Former Member
0 Likes
899

just type

break point.

activate it. activate the implementation.

test your object. it shud stop at this point.

Read only

Former Member
0 Likes
899

hi ,

you need implement the BADI SE19. In the badi implementation you would write the code

Read only

Former Member
Read only

Former Member
0 Likes
899

Writing code in class is no different than the normal code.

hith

Sunil Achyut

Read only

0 Likes
899

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.

Read only

uwe_schieferstein
Active Contributor
0 Likes
899

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