Dear Experts.
I am working on Ess Personal Information application,
Whenever employee saves his records it should go for Hr approval & after approval only record should get saved in corresponding infotype.
I have implemented the BADI HRPAD00INFTYUI .
In the method IF_EX_HRPAD00INFTYUI~INPUT_CONVERSION.
i wrote the code.
IF SCREEN_STRUCTURE_NAME EQ 'HCMT_BSP_PA_XX_R0006'.
<P0006>-SPRPS = 'X'
ENDIF.
now the entry is getting locked & its not visible on portal, after HR approval i am removing the lock & entry is getting visible on portal.
in the IF_EX_HRPAD00INFTYUI~INPUT_CONVERSION methon only i am triggering the workflow.
According to my requirement record should get saved after approval only , but the standard application automatically saving the record.
Please tell me how can i restrict the standard application to save the data & which is the correct place to trigger the workflow.
Please help,
Regards,
Bhushan.