Application Development 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: 

Calling a BAdI from within a subroutine

Former Member
0 Kudos

Hi all,

I created a BAdI (New BAdI, using enhancement spots), and have tried calling it from within a subroutine (in a separate include). However, I get the message "METHOD <my method> is unknown or PROTECTED or PRIVATE".

How do I fix this?

Edited by: Kenny Chen on Apr 12, 2008 6:30 PM

1 ACCEPTED SOLUTION

Sm1tje
Active Contributor
0 Kudos

BAdI's are called during processing of a transaction. Normally, you can not call them explicitely in your coding.

2 REPLIES 2

Sm1tje
Active Contributor
0 Kudos

BAdI's are called during processing of a transaction. Normally, you can not call them explicitely in your coding.

Former Member
0 Kudos

Hi all,

I managed to solve it by myself. Thanks.