We want to implement the BAdI that defaults dates for an appraisal. However, it should only kick in for certain appraisal models. When entering the BAdI, I have APP_MODEL_ID available to me. Based on this ID, I need to find which appraisal form the passed appraisal model belongs to - and only carry out code in BAdI if appraisal form = 5.
I find AFORM_ID in table T77BF, but I cannot find how to determine this based on the APPL_MODEL_ID passed to the method.
Any hints greatly appreciated.