Hi Experts,
I have to use BADI HRHAP00_SMARTFORMS02 to print performance appraisal. I have created a new BADI ZTECH_BADI with same content with HRHAP00_SMARTFORMS02. I also have a custom smartform because I have different layout with the standard template 'ZHCM_NONTECHSTAFF' and different approach of coding in getting the values of the appraisal. So my smartforms have the codes in Initiallization in getting the values, but with the BADI I have a workaround wherein I import the value of LW_DOCUMENT_ID to my custom smartform Form Interface which works fine when I execute/test it in se19. But when we tried to execute it to run in Appraisal Template Catalog of PD, it says that the parameter “LW_DOCUMENT_ID” triggered the error. Then when I delete the LW_DOCUMENT_ID import from form interface the template works fine.
Is there any other workaround here on how I can pass the value of the appraisal ID to my smartforms ? because im not using the values that is being generated in HRHAP_DOCUMENT_GET_DATAIL I have my own code in the smartforms.
Then I tried to create a new badi with new class name and interface name(created using se24). Im getting this error Class ZTESTBADI doe not implement 'BADI interface IF_EX_HRHAP00_SMARTFORMS'.
Thanks!