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: 

Badi issue

former_member190284
Participant
0 Kudos

Hi guru's

I am new to the BADI and was going through this wonderful blog

How to Implement a BADI in SAP ABAP with Tutorial « SAP Ignite

But i have few doubts

1)when I was trying to enter the data directly in MM01. in the material box which data should I feed..?

2)Moreover if any1 has gone through the link can you clerify where i need to enter the break-point int the class CL_EXITHANDLER’s GET_INSTANCE method. (I have entered randomly )

3)In the statement   if WMARA-MATKL eq ‘A05′ and WMARA-SPART eq ‘02′.

if i enter this  condition than how the program will come to know about MATKL and SPART varibales

please clarify the doubts....!

Thanks in advance!!

2 REPLIES 2

Former Member
0 Kudos

Hi Nunu,

This is a very basic question.

1) If you are creating a material, you will enter material ID.

2) The Breakpoint is on Line 14 as visible in screenshot in GET_INSTANCE method.

3) The BADIs are part of enhancement framework & are sometimes feeded with certain parameters from transaction ease the usage. You can explore BADI's signature to know more about the same.

Thanks,

Ravi

former_member1716
Active Contributor
0 Kudos

Please Go through the BADI documentation and the signature part to know more about the BADI.

Regards,

Satish