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: 

Userexit or Badi for Assortment List Idocs

former_member333737
Active Participant
0 Kudos

Hello Experts,

I was looking for a BADI or a Userexit to filter Assortment Idocs where in a Idoc only alphabet and  alphanumeric should be there.

Many Thanks,

Kind Regards,

Nikhil

1 REPLY 1

Former Member
0 Kudos

Hi Nikhil,

To find the BADI you should know the BAPI, I hope you have BAPI. Open you BAPI in SE37 put external breakpoint at first statement, and execute.

Once the debugging is started, Press Shift+F9.

Give Class Name: CL_EXITHANDLER

Method Name: GET_INSTANCE

Press F8. If your BAPI has BADI it will take to get_instance method. In this method check method parameter exit_name, you will find a BADI name starting with BADI_xxx.

Creating Implementation for BADI.

Go to transaction SE19 and provide BADI name and click on implementation.

Provide Implementation name and press continue.

You will get list of methods. Implement the method that you want to according to your requirement and write your logic here.