Sunday, July 18, 2021

How to set the Profile Option value using API (backend)

DECLARE

   xx_api_return_value   BOOLEAN;

BEGIN

   xx_api_return_value := fnd_profile.SAVE ('CONC_REPORT_ACCESS_LEVEL'

                        , 'R'

                        , 'USER'

                        , 'ABCDE'

                        , NULL

                        , NULL

                         );


   IF xx_api_return_value THEN

      DBMS_OUTPUT.put_line ('Profile value set successfully');

      COMMIT;

   ELSE

      DBMS_OUTPUT.put_line ('Error occured while setting profile value');

   END IF;

EXCEPTION

    WHEN OTHERS THEN

    DBMS_OUTPUT.put_line ('Main Exception. Error occured while setting profile value');

END;


  • FND_PROFILE.SAVE Function can be used to set the value of any profile option at any level i.e. Site Level, Application Level, Responsibility Level, User Level.


No comments:

Post a Comment

SupplierAddressImportTemplate.xlsm South Africa Suburb Field mapping in POZ_SUPPLIER_ADDRESSES_INT

Suburb mpping in Supplier Address Import Template will be mapped to Address Element Attribute2 (HZ_LOCATIONS. ADDR_ELEMENT_ATTRIBUTE2)