cancel
Showing results for 
Search instead for 
Did you mean: 

HR Renewal- Employee Profile- No Data

Former Member
0 Kudos

Guys,

We are implementing HR Renewal 2.0

Employee profile returns no data. Under Overview tab. Below attached screen shot.

Executing from  std SAP_EMPLOYEE_ESS_UI5_1 role from ECC.

I see  the employee id and memory id is empty odata service.

Request Line

GET /sap/opu/odata/sap/HRESS_EMP_PROFILE_SERVICE/EmployeeCollection(EMPLOYEE_ID='',MEM_ID='',CONFIG_ID='SAP_ESS_UI5_EMP_OVERVIEW',X_NO_RATINGS=0,Y_NO_RATINGS=0)?$expand=ToEmployeeOverviewData?sap-client=600&sap-ds-debug=true HTTP/1.1

On clicking the details link at the bottom opens up personnel profile WDA with data.

Gateway error log has the following error:

ValueFunction call of HR_SEN_CRULE_0100_DATE failed; the obligatory parameter ID_DATE

I see this error in F12 trace.

Resource not found for the segment 'ToEmployeeOverviewData?sap-client=600'


In the EntitySet  I see EmployeeOverviewDataCollection and not ToEmployeeOverviewData is this SAP Bug ?


Thanks,

Chandra.

GET http://XXXXXXXXXXXXXXX:8000/sap/opu/odata/sap/HRESS_EMP_PROFILE_SERV…MP_OVERVIEW',X_NO_RATINGS=0,Y_N... 500 (Internal Server Error)o.defaultHttpClient.request @ datajs.js:17E2 @ datajs.js:17o.request @ datajs.js:17h._request @ ODataModel.js:6k @ ODataModel.js:6h._submitRequest @ ODataModel.js:6h.read @ ODataModel.js:6sap.ui.jsview.createContent @ HRESS_EMPLOYEE_OVERVIEW.view.js:131(anonymous function) @ JSView.js:6d.runWithPreprocessors @ sap-ui-core.js:144J.onControllerConnected @ JSView.js:6V._initCompositeSupport @ View.js:6E.extend.constructor @ sap-ui-core.js:144M.extend.constructor @ sap-ui-core.js:144E.extend.constructor @ sap-ui-core.js:144M.createClass.f @ sap-ui-core.js:144M.createClass.f @ sap-ui-core.js:144sap.ui.view @ View.js:6sap.ui.jsview.createContent @ HRESS_EMPLOYEE_PROFILE.view.js:252(anonymous function) @ JSView.js:6d.runWithPreprocessors @ sap-ui-core.js:144J.onControllerConnected @ JSView.js:6V._initCompositeSupport @ View.js:6E.extend.constructor @ sap-ui-core.js:144M.extend.constructor @ sap-ui-core.js:144E.extend.constructor @ sap-ui-core.js:144M.createClass.f @ sap-ui-core.js:144M.createClass.f @ sap-ui-core.js:144sap.ui.lazyRequire.o @ sap-ui-core.js:135sap.ui.view @ View.js:6sap.ui.lazyRequire.q.each.o.(anonymous function) @ sap-ui-core.js:135(anonymous function) @ index.html?sap-language=EN:19

sap-ui-core.js:80 2015-07-16 10:38:37 The following problem occurred: HTTP request failed500,Internal Server Error,{"error":

Accepted Solutions (0)

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

did you check all the services are activated? Please can you deactiave and activate again services again in metadata and clear cache

as clearly there is an odata error which suggests no connection is being done and ensure you have correct system alias set up

HR_SEN_CRULE_0100_DATE  we introduced new notes for this, but that shouldnt effect pulling off data1`

Former Member
0 Kudos

Siddharth,

Thanks for the input. I am using the same alias to employee profile used for other services which are working. I have cleared the cache, Deactivated and reactivated , deleted and re added service etc. Attaching the screen shot where ToEmployeeCards return 200 while ToEmployeeOverview returns 500 for the same service HRESS_EMP_PROFILE/EmployeeCollection.

On debug found FM -HR_SEN_PERIOD_DURAT_BY_FMDUR has bug and is dumping when it uses the defauly rule 0100.

Hope SAP release a snote SOON.

Appreciate your help!

Chandra.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Not sure thats teh cause of the error yet

did you raise a message for it? I didnt see any note for the dump

Can you launch this from ESS instead of ECC?