I have a requirement to block the credit management of a customer ( KNKK-CRBLB) when dunning level of a customer reaches 3 (KNB5-MAHNS or MHND-MAHNS).
I put my code in FM 'CHANGE_DUNNING_DATA'. But this FM is executed only for the few cases. Reasons are unknown to me. It may be because this FM is called in another FM 'PRINT_DUNNING_NOTICE'.
I believe that dunning is completed when the dunning notice is successfully mailed, faxed or printed. Then only the customer master is updated.
The program for F150 is SAPF150V. But neither KNB5 or MHND is updated in this program.
I tried BTE's also. But none of the BTE's is called when a dunning notice is printed.
I am not able find the place where i can put my code.