cancel
Showing results for 
Search instead for 
Did you mean: 

'CX_HRPA_VIOLATED_PRECONDITION' in FM : HR_MAINTAIN_MASTERDATA in WEBDYNPRO

Former Member
0 Kudos

HI Guys,

I get this following error When calling FM : HR_MAINTAIN_MASTERDATA in WEBDYNPRO application.

I have actually created a Assistance class and called the FM : HR_MAINTAIN_MASTERDATA in method SET_DATA.

When I cal this method to set data in noraml program it runs fine. However when i use it in WDA abap application it gives me following error:

Note

The following error text was processed in the system EID : Precondition Violated

The error occurred on the application server SAPEID_EID_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: SET_CONTEXT of program CL_HRPA_INFOTYPE_FACTORY======CP

Form: INITIALIZE_PS_ADAPTER of program SAPFP50P

LOAD-OF-PROGRAM of program SAPFP50P

Form: DO_NOTHING of program SAPFP50P

Form: ENQUEUE_PERNR of program SAPFP50G

Function: HR_MAINTAIN_MASTERDATA of program SAPLHRMM

Method: SET_DIVERSITY_DATA of program ZDIR_PERSONAL_INFO============CP

Method: EXECUTE_SET_DIVERSITY_DATA of program /1BCWDY/5WJOZVJWTWUA39K9CXOP==CP

Method: IF_COMPONENTCONTROLLER~EXECUTE_SET_DIVERSITY_DATA of program /1BCWDY/5WJOZVJWTWUA39K9CXOP==CP

Method: ONACTIONSAVE of program /1BCWDY/5WJOZVJWTWUA39K9CXOP==CP

Not sure on how to use th LDB in this? (as per )

Appriciate your help.!

Reg

Pramod. Ch

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Honestly, this error sounds application specific and not direclty related to Web Dynpro. Since the problem sounds like it just has to do with the way you calling the HR function module, it doesn't really belong in the Web Dynpro ABAP forum. You should consider asking this in the ABAP general forum.

Former Member
0 Kudos

Hi All,.

I am facing a similar issue , Can you please help me resolve this. Or tell me how did you resolve it.

Former Member
0 Kudos

HI,

Put a break point in the FM while executing the application

and chk the sy-subrc code value .

This dump will occur mostly when data type conflict is there.

But it will not show when u execute from se37 directly.

Thanks,

Divya.S

Former Member
0 Kudos

This gives an exception in class : CL_HRPA_INFOTYPE_FACTORY. And there is no way to catch it. Probly I am incorrectly usign the FM. So thought to check with guys at SDN.