Discuss business intelligence, integration, compliance and a host of other SAP-related topics – implementation, best practices and resources to negotiate the world of SAP better!

« Win the last mile battle by addressing Performance and Usability of SAP Netweaver based Web apps…PART I of IV- Browser Layer | Main | Business Value Articulation for Sustenance - Part 2 »

Using BSP Element Expressions (BEEs) in HCM E-Recruiting

 Using BSP Element Expressions (BEEs) in HCM E-Recruiting:
Introduction:

 I got requirement to add custom fields for Standard HCM E-Recruiting Page, which is totally responsible for particular Infotype . Its can be easy to display custom fields in any standard BSP page, but updating the new custom field in the same Infotype and also to retrieve the same info in different portal BSP page is not a easy task. We should enhance several class methods to implement the same.

 I got an idea to use BEE methods in Class CL_HRRCF_UI_SERVICES .

 Instead of Enhancing class and Layouts we can use the BEEs to do the same with very less effort.

 Benefit:

By using this approach we can save great coding and layout designing effort.

Getting Started:

I am going to add one Drop down BOX in my Candidate-Job Description Standard BSP page.

 

From the BSP Application side:

a) This is the Standard BSP page for Job description , After login into the Erec Page, RecruiteràRequisitions--MaintanenceàCreate Requistion---General Job Information

Erec Page

 

i)  In the Layout page of the particular view, ensure the below code snippet is there other wise you have implement the same.

code snippet1
 

 

     b)    In your corresponding controller class behind the view in method DO_REQUESTImplement define the below method get_customer_fields( ).  Implement the below code snippet into your method, Here I am going to add two fields for JOB description Page which corresponds to P5126 infotype.

code snippet2

 

c)   i) Now go to your Infotype structure P5126 and add the new fields in Custom   include (CI_INCLUDE)  ( Include component type of CI_P5126)    

      ii)  Add the new ‘Z’ Fields and add the range of values which should display in DROP down box in your ‘Domain Values’.

d) Refresh your BSP page and you will get the BSP page with newly added BSP component "Drop Down Box". 

 

Erec page2

 Overall it only took about less than one hours to implement and test , BEEs helped me to reduce by Effort and its very powerful.

References:

SAP BLOG (Mine) : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16865

Regards

Manikandan

 df

TrackBack

TrackBack URL for this entry:
http://www.infosysblogs.com/apps/mt-tb.cgi/2785

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Please key in the two words you see in the box to validate your identity as an authentic user and reduce spam.

Subscribe to this blog's feed

Follow us on

Blogger Profiles

Infosys on Twitter