Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

HR_ECM_READ_GLOBAL_COMP_DATA . URGENT!!!!!!!!!!!

Former Member
0 Kudos

Hi All,

I am new to HR ABAP. I have to display the Performance Rating of an employee for which i am using FM HR_ECM_UI_DISP_APPRAISAL in a Smartform.Parameters and a populated table Key_objects are passed.

But inside above FM there is an another FM HR_ECM_READ_GLOBAL_COMP_DATA which returns some populated tables.I guess it contains some Dynamic Columns.

Please can any one suggest how the tables returned by FM HR_ECM_READ_GLOBAL_COMP_DATA are getting populated?

Right now FM HR_ECM_READ_GLOBAL_COMP_DATA is returning empty tables in my code.

My Smartform is not triggered by any Portal but through a Transaction code.

Thanks.

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos

HR_ECM_UI_DISP_APPRAISAL is meant to be sued in the ECM frontend and not as a standlaone function call.. You have to simulate the ECM Data in order to fill it in th standalone call.. Why don't you copy HR_ECM_UI_DISP_APPRAISAL in to a Z function, & comment the function call HR_ECM_READ_GLOBAL_COMP_DATA to meet your reqt?

~Suresh

3 REPLIES 3

suresh_datti
Active Contributor
0 Kudos

HR_ECM_UI_DISP_APPRAISAL is meant to be sued in the ECM frontend and not as a standlaone function call.. You have to simulate the ECM Data in order to fill it in th standalone call.. Why don't you copy HR_ECM_UI_DISP_APPRAISAL in to a Z function, & comment the function call HR_ECM_READ_GLOBAL_COMP_DATA to meet your reqt?

~Suresh

0 Kudos

Thanx 4 u reply,

But can u please explain me how do i do it..becuase i comment that but still

i m not able to get rating....can i u any other FM for that. Or i have any table

directly from where i can get rating...

Please its urgent....

thanxs in advance

0 Kudos

Hi,

Thanks for the reply.

FM HR_ECM_READ_GLOBAL_COMP_DATA returns populated tables guideline_tab , proc_admin_tab and a field cplan when its ran through portal.

Then i get performance rating from guideline_tab -apprs.

If i comment FM HR_ECM_READ_GLOBAL_COMP_DATA , then from where i'l get rating.

But when i run FM HR_ECM_UI_DISP_APPRAISAL in my driver pgm of Smartform , FM HR_ECM_READ_GLOBAL_COMP_DATA returns empty tables guideline_tab etc.

I want to know how and from where the guideline_tab etc. tables are getting populated in FM HR_ECM_READ_GLOBAL_COMP_DATA when ran through portal?

And what should be done so that FM HR_ECM_READ_GLOBAL_COMP_DATA returns populated tables guideline_tab etc. from my driver pgm.

Can u suggest any other FM or BAPI or anything from where i can fetch employee rating.

Thanks a tonn in advance.