u can execue a badi thru se19 in ecc and apo , go to the classic badi tab and input ur badi name a, then give the project name starting with z , copy description and go to interface tab and select the method and implement