Nowadays most of the customers prefer to customize their login page change for External Candidates job search page. I mean if you want to apply a job for unregistered user, it directly takes you to the Application Wizard screen where you ought to provide some personnel and professional information.
Here I’ll provide you some information of how to customize that login page in high end preview.
Web Dynpro Component(WDC): HRRCF_C_UNREG_APPLWZD_UI
Go to SE80 and create a Z component configuration for the WDC-> HRRCF_C_UNREG_APPLWZD_UI. Now you will get the Web Dynpro Built-In page. It reads all the content behavior from the web dynpro component where you can view all the UI elements and their properties.
You can do all your customization changes with these UI element’s properties like you can rename the label and you can hide a field by changing the visibility property of the UI element and so on. And now you map the created Z component configuration id to the component HRRCF_C_UNREG_APPLWZD_UI in application configuration.
Also there is a data privacy statement checkbox which can be modified and set to always of true and can enable the Apply button by default. It can be done in WDC HRRCF_C_UNREG_APPLWZD_UI by enhancing the view VW_REGISTER and creating a Post-Exit method for WDDOMODIFYVIEW.
Look at the sample code below.
Enable Apply button:
lo_nd_ui = wd_context->get_child_node( name = wd_this->wdctx_ui ).
lo_nd_ui->set_attribute( name = ‘REGISTER_BUTTON_ENABLED’ value = abap_true ).
Enable Data Privacy Statement checkbox by default:
lo_nd_register = wd_context->get_child_node( name = wd_this->wdctx_register ).
lo_nd_register->set_attribute( name = ‘PRIVACY_STATEMENT_READ’ value = abap_true ).