REP-1401: 'afterpform': Fatal PL/SQL error occurred.
When I run a customised report in Oracle EBS R12 this error was occurred
REP-0004: Warning: Unable to open user preference file.
REP-1401: 'afterpform': Fatal PL/SQL error occurred.
The After P Form code is given below, but this afterPform is compiled successfully in oracle report builder
What could be the reason and HOW TO SOLVE THIS PROBLEM
function AfterPForm return boolean is
BEGIN
SRW.USER_EXIT('FND SRWINIT');
:p_mrcsobtype := 'P';
:p_br_enabled := 'Y';
:lp_ar_system_parameters := 'AR_SYSTEM_PARAMETERS';
:lp_ar_system_parameters_all := 'AR_SYSTEM_PARAMETERS';
:lp_ar_payment_schedules := 'AR_PAYMENT_SCHEDULES';
:lp_ar_payment_schedules_all := 'AR_PAYMENT_SCHEDULES';