cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Work Location region and city in general posting information

Former Member
0 Likes
372

Hi Experts,

Please let me know where and how do we maintain work location, region and city which appearing in the general poting information.I have checked that the values are maintained in t005u,t005s and t005t table properly but still the correct values are not appearing in the general posting information.

I'm working on EHP6- SP11

Regards,

Divya

View Entire Topic
KK07
Contributor
0 Likes

Hi Divya,

Work location, city, branch information of requisition will be stored on HRP5126 table. You can use some standard classes to retrieve those information. Please see below extract of some sample standard code.

You need to pass the plan version as plan version of requisition, otype as 'NB',  and objid as Requisition id to ls_hrobject.

* Read frozen data

   MOVE-CORRESPONDING ps_pinst_rec TO ls_hrobject.           "#EC ENHOK

*

   CALL METHOD cl_hrrcf_posting_instance=>get_instance

     EXPORTING

       hrobject = ls_hrobject

     IMPORTING

       instance = lo_pinst.

*

   CALL METHOD lo_pinst->read_frozen_post_and_requi

     EXPORTING

       posting_instance_record = ps_pinst_rec

     IMPORTING

       requi_branch_address    = ls_requi_branch.


Ls_requi_branch will contains all the information from your requisition.


Thanks & BR,

Krishna Kishore T.

Former Member
0 Likes

Hi Krishna,

Job description data which is selected from the drop down for an open position is stored in HRP5126. I'm looking for populating the data in the drop downs.

Also, I can understand that values are getting picked up from

table T77RCFBRANCHCOMP where BP for the country, reqion and city is created. But if i maintain the table manually including region and city for each country the entries will shoot up to 5000 or more. So it is a challenge to enter the data manually in the table.

Regards,

Divya