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

BADI

Former Member
0 Likes
535

I am working on sap ECC ver6.0.Any body tell me the tcode for creating BADI definition,the TCODE se18 in 6.0 version is giving me problems as it is completely different from ver5.0.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
488

hi

In SE18 transaction try using the Menu Path

Utilities-Create Classic Badi

or

Go to transaction SE19.

Create new implemtation as per naming standard and type customer_add_dat_bi in definition name.

Activate the implementation.

Write ur coding in the method suited for ur requirement.

~~Guduri

hi

In SE18 transaction try using the Menu Path

Utilities-Create Classic Badi

or

Go to transaction SE19.

Create new implemtation as per naming standard and type customer_add_dat_bi in definition name.

Activate the implementation.

Write ur coding in the method suited for ur requirement.

~~Guduri

3 REPLIES 3
Read only

Former Member
0 Likes
488

Hi,

Go to SE18..

In the menu..There is an option to create a BADI with classic defintion.

Using which you can create the BADI in the old way..

Try searching in the menu..Sorry I don't remember the exact path..

Thanks,

Naren

Read only

Former Member
0 Likes
489

hi

In SE18 transaction try using the Menu Path

Utilities-Create Classic Badi

or

Go to transaction SE19.

Create new implemtation as per naming standard and type customer_add_dat_bi in definition name.

Activate the implementation.

Write ur coding in the method suited for ur requirement.

~~Guduri

Read only

Former Member
0 Likes
488

Hi mamatha ..

I searched in the WEB and i found this for you

1) execute Tcode SE18.

2) Specify a definition Name : ZBADI_SPFLI

3) Press create

4) Choose the attribute tab. Specify short desc for badi.. and specify the type :

multiple use.

5) Choose the interface tab

6) Specify interface name: ZIF_EX_BADI_SPFLI and save.

7) Dbl clk on interface name to start class builder . specify a method name (name,

level, desc).

Method level desc

Linese;ection instance methos some desc

😎 place the cursor on the method name desc its parameters to define the interface.

Parameter type refe field desc

I_carrid import spfli-carrid some

I_connid import spefi-connid some

9) save , check and activate…adapter class proposed by system is

ZCL_IM_IM_LINESEL is genereated.

IMPLEMENTATION OF BADI DEFINITION

1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.

2) Specify aname for implementation ZIM_LINESEL

3) Specify short desc.

4) Choose interface tab. System proposes a name fo the implementation class.

ZCL_IM_IMLINESEL which is already generarted.

5) Specify short desc for method

6) Dbl clk on method to insert code..(check the code in “AAA”).

7) Save , check and activate the code.