Human Capital Management Blogs by Members
Gain valuable knowledge and tips on SAP SuccessFactors and human capital management from member blog posts. Share your HCM insights with a post of your own.
Showing results for 
Search instead for 
Did you mean: 
Active Participant
0 Kudos

In the Latest SAP EHP4 E-recruiting Solution which are developed using Abap Webdynpro components, when you select any of the created requisition (for example) from the POWL list, it is displaying  only the Requisition title in the application toolbar entered during requisition creation and it would be better to display the requisition number along with the title as well as this solution was provided in the earlier versions of E-recruiting applications which are build using Business Server pages (BSP).

Similarly the same approach would be used to display the Application, Candidate, and Candidacy Titles also.

By using the Enhancement framework, I made a small code change in the post exit of the method ‘BUILD_HEADER’ in the component controller.

DATA: lo_nd_shared_context TYPE REF TO if_wd_context_node,
lv_req_status        TYPE
lv_req_reason_code   TYPE
lo_api_controller    TYPE REF TO
lo_idr               TYPE REF TO
lo_fpm               TYPE REF TO
lv_header            TYPE wd_this->element_basic_data-header
lv_title             TYPE
ls_hrobject          TYPE
lv_reason_code_text  TYPE
lt_message           TYPE

lo_api_controller ?= wd_this->wd_get_api( ).
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_idr ?= lo_fpm->get_service( cl_fpm_service_manager=>gc_key_idr ).

lo_nd_shared_context = wd_context->get_child_node( name = wd_this->wdctx_shared_context ).
      name =  `HROBJECT`
      value = ls_hrobject ).

CALL METHOD lo_idr->get_application_title

      ev_title = lv_title.

IF ls_hrobject IS NOT INITIAL.

CONCATENATE lv_title ' ( ' ls_hrobject-otype ls_hrobject-objid ' ) ' INTO lv_title.

CALL METHOD lo_idr->set_application_title

        iv_title         = lv_title
iv_title_tooltip = lv_title.



After the implementation of the above piece of code, the following appears with the Requisition number along with the Requisition Title.