Set Profile Option Value using PL/SQL
Function FND_PROFILE.SAVE can be used to set the value of any profile option at any level i.e. Site, Application, Responsibility, User etc.
Below is a sample code of how to use this function
DECLARE
a BOOLEAN;
BEGIN
a := fnd_profile.SAVE (‘CONC_REPORT_ACCESS_LEVEL’
, ‘R’
, ‘USER’
, ‘22746’
, NULL
, NULL
);
IF a
THEN
DBMS_OUTPUT.put_line (‘Success’);
COMMIT;
ELSE
DBMS_OUTPUT.put_line (‘Error’);
END IF;
END;
Leave a Reply
Want to join the discussion?Feel free to contribute!