Revise IF statements syntax.

Here is how your IF statements are coded...

Code:
IF(CURR_REC.APP_FUNC_CODE like '%Credit%' ) THEN 
temp_crdt_flag := 'Y';
temp_finc_flag := 'N';
END IF;
... look again, can you see anything wrong with the syntax?