Dump in standard FPM GAF application during infotype update
I've added a new step to standard FPM GAF application and while saving the data entered using HR_INFOTYPE_OPERATION I am getting getting the following exception CX_HRPA_VIOLATED_PRECONDITION .
I've already tried the suggestions available in Web dynpro forums and added perform do_nothing in program sapfp50p in the WDDOINIT method of my custom component but that has not solved the problem.
Please help . Below is the extract from st22 :
An exception occurred that was not caught.
The exception 'CX_HRPA_VIOLATED_PRECONDITION' was raised, but it was not caught
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_HRPA_INFOTYPE_FACTORY======CP' has to be
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_HRPA_VIOLATED_PRECONDITION', was
not caught in
procedure "INITIALIZE_PS_ADAPTER" "(FORM)", nor was it propagated by a RAISING
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Source Code Extract
1 METHOD set_context.
3 IF a_context IS INITIAL.
4 CASE context.
5 WHEN context_default OR
7 a_context = context.
9 WHEN OTHERS.
10 RAISE EXCEPTION TYPE cx_hrpa_invalid_parameter
12 parameter = 'CONTEXT'.
15 * context must never be set twice
>>>>> RAISE EXCEPTION TYPE cx_hrpa_violated_precondition.