Ok thanks for the reply , can you confirm me why the code I have placed in doc_check_badi not running for rejection at header level status of SC ? It works when I click on button "check" but when I click on submit it doesnt work .
Please can you confirm ? and for my requirement for maintaining the reason of rejection as mandatory where should I be making the change in code ?