2023 Jul 20 9:07 AM
Hi,
sorry but i'm quite new in this topic.
We created a new class Z* in copy of the standard class CL_HRPAO_GUIBB_PA_DETAIL_FORM.
In the method GET_DATA we change a value in a field of structure CS_DATA and then we set the variable EV_DATA_CHANGED = 'X'.
The new value is shown in the screen, but when the method is called again for some event, at the begin of the method the value we had set in CS_DATA still exist but when the super method super->if_fpm_guibb_form->get data is called (and i'm quite sure is mandatory to call this method) the value we set previously come back to the initial value.
Is it normal this behaviour? Is there any way to have the values set as we did also after the super method is called?
Thanks a lot
Regards
Massimo
2023 Jul 20 12:01 PM
Did you follow the steps in the documentation?
SAP HCM - Creating Form Component Configurations
When the method SET_EDIT_FIELDS (class CL_HRPAO_GUIBB_PA_DETAIL_FORM) is called, here is your new field in the list?
2023 Jul 21 4:09 PM
Hi Shkelqim,
thank you for your answer. Yes, I followed the guidelines as described in the link you reported and furthermore i created in copy the class Z*CL_HRPAO_GUIBB_PA_DETAIL_FORM* to link as feeder class.
In the method SET_EDIT_FIELDS i can see my field set correctly as IN (input), but still i have the problem...
Thank you.
KR
Massimo