INSPECTIONLOT_UPDATE is a very good BADI to enhance TCODE especially QA11, QA12 and QA13. It has all the following methods that you can use in your enhancement:
CHANGE_AT_SAVECHANGE_BEFORE_UPDATECHANGE_IN_UPDATECHANGE_UD_AT_SAVECHANGE_UD_BEFORE_UPDATECHANGE_UD_IN_UPDATECREATE_AT_SAVECREATE_BEFORE_UPDATECREATE_IN_UPDATESET_UD_AT_SAVESET_UD_BEFORE_UPDATE
SET_UD_IN_UPDATE
It is a very important BADI if one needs to do assignment on updating Inspection Lots and Usage Decision. You can even use this BADI in ME23N from another use exit to auto create Inspection Lot, update Usage Decision and also Shelf Life Expiry Date.
is sky the limit... qm badi