I am try to initialize certain fields in the HCM form(using the hcm forms and process) framework, while i am able to intialize the fields in the IF_HRASR00GEN_SERVICE~INITIALIZE, I am unable to read the pernr number( I need to initialize them based on pernr). I have set pernr as special field in the method IF_HRASR00GEN_SERVICE~GET_SPECIAL_FIELDS. How ever no value is populated when I access the pernr field in intiailze method. However pernr value is available in the method IF_HRASR00GEN_SERVICE~DO_OPERATIONS in the table SERVICE_DATASETS
, but I need to initiaize some fields before the user clicks on anything(to trigger do_operations).
I followed all the steps exactly as described in the blog post HCM Processes & Forms: default fields with Generic Serivices . And i tried everything for 4 hours yesterday to no avail, HR forms what a pain!
Hoping someone can throw some light into this, Christopher Solomon you might be able to help me out!