cancel
Showing results for 
Search instead for 
Did you mean: 

BADI SD_SLS_CHECK_ITEM was not triggering.

SivaSidda
Discoverer
0 Kudos
398

I have written some validation logic for order data in item level using BADI  : SD_SLS_CHECK_ITEM and also checked in SD_SLS_CHECK_BEFORE_SAVE also but its not working,

For header level BADI is working fine, but facing problem with Item level.

Could you please suggest for above issue.

 

vhardzeyenka
Product and Topic Expert
Product and Topic Expert

Hi SivaSidda.

I've just checked and this BAdI is working fine in 3SL system. 

1 So, i've implemented and published BAdI SD_SLS_CHECK_ITEM in Custom Logic Application.

vhardzeyenka_0-1720098070789.png

2 Then i've edited Item in Sales Order in VA02 application. I've changed amount in Item Line from 1 to 2.

vhardzeyenka_1-1720098102885.png

3 When pressing Save Button, BAdI getting triggered. So I am able to catch in the debugger. 

vhardzeyenka_2-1720098157145.png

So hereby i can confirmed BAdi is working as designed. Please try again. 

 

Regards

Vitali

 

View Entire Topic
DiegoValdivia
Participant
0 Kudos

Hi,

Today I faced the same problem. I implemented the BADI but SAP was not triggering it. I created a trace using Custom Logic Trace, but the BADI was not there.

Somehow, the solution was to Edit the code in the Badi (without changing anything) and Activate it again.