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 DOCUMENT_MAIN01~BEFORE_SAVE

Former Member
0 Likes
1,240

Hi All,

We have a requirement to check the vendor classification entered in transaction XK01/ XK02. Before the classification can be saved, the data entered needs to be validated.

We have figured that BADI/ Method - DOCUMENT_MAIN01~BEFORE_SAVE needs to be used.

I am not sure how I need to debug the changes in classification data. Seems to be very complex.

A break point in this BADI doesnt help. The classification changes are simply saved. Any pointers as to how I can proceed on this are appreciated.

If anyone has achieved this before, please share some information.

Thanks a ton!

Liz

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
951

First of all, i dont think that is a right badi for vendor changes. As far as i know there is a Customer exit for vendor changes validations - EXIT_SAPMF02K_001 this is an FM but if you want to see the actual enhancement - go to se84 - expand enhancements - expand customer exits - select customer exit and enter the package name FBK then execute to find out more.

2 REPLIES 2
Read only

former_member191735
Active Contributor
0 Likes
952

First of all, i dont think that is a right badi for vendor changes. As far as i know there is a Customer exit for vendor changes validations - EXIT_SAPMF02K_001 this is an FM but if you want to see the actual enhancement - go to se84 - expand enhancements - expand customer exits - select customer exit and enter the package name FBK then execute to find out more.

Read only

0 Likes
951

Thanks ! I was looking at an in correct BADI. Your exit worked for me.

Cheers! Liz