Sunday, October 25, 2020

Script to reset User password in Oracle Apps

🔐 Script to Reset User Password in Oracle EBS from Backend

Oracle E-Business Suite (EBS) provides a built-in API that allows administrators to reset user passwords directly from the backend. This is especially useful when access to the front end is restricted or for bulk password resets.


📌 API Used: fnd_user_pkg.changepassword

This API accepts two input parameters:

  • username – The EBS user login ID
  • newpassword – The new password to assign

💡 Example: PL/SQL Block to Reset Password

Use the following anonymous PL/SQL block to reset a user's password:

SET SERVEROUTPUT ON;

DECLARE
    v_reset BOOLEAN;
BEGIN
    v_reset := fnd_user_pkg.changepassword(
                  username    => 'AKS123',
                  newpassword => 'Oracle123'
              );

    IF v_reset THEN
        DBMS_OUTPUT.PUT_LINE('✅ Password has been successfully reset.');
    ELSE
        DBMS_OUTPUT.PUT_LINE('❌ Password reset failed.');
    END IF;
END;
/ 
COMMIT;

Note: Replace 'AKS123' with the actual username and 'Oracle123' with a secure new password.


🔐 Best Practices

  • Always run this script in a development or test instance first before using in production.
  • Ensure your user has the necessary privileges to execute this API.
  • Use complex passwords to meet security compliance.
  • Keep audit logs of any manual password resets.

📎 Related Topics

How to Transfer the files from local machine to Oracle EBS server

 How to Transfer the files from local machine to Oracle EBS server

 

Download and Install Winscp software ,its an freeware you can download  from below link ,

 

https://winscp.net/eng/download.php 

 

Goto >  Winscp >  give Connection Details along with Servver details.

you can get this details  along with username and password from your  apps DBA.

 

 


now to goto exact file location , for this you should know the oracle apps file structure .

 few examples of files types with there server location

forms (.fmb)  >  $CUSTOM_TOP/forms/US

reports          >   $CUSTOM_TOP/reports

 to find out the exact custom top from putty exlained in below post or using table " applsys.FND_ENV_CONTEXT"

 


 for file transfer you need to select appropriate transfer setting ,in binary mode or text or else if you dont know  which mode to select you can use automatic default mode.

 



 

for transferring file from  local machine to server , 

in left window >goto file in local path > right click choose upload.

for transferring file from   server to local machine , 

in right  window >goto file in server path > right click choose download.


 

How to login to putty and find out custom_top path in oracle APPS


Putty is freeware , you can download it from below link

https://www.putty.org



 

 

Give username and password..



YOU need to run the command for setting environment EBSapps.env



 

Give  choice :R

 

Then type command

Ø  Cd $CUSTOM_TOP

 

 

Now give command >pwd

It will give the custom path foor your environment ..

Copy this path and paste it into winscp

 

 




Saturday, October 24, 2020

Query to find front end link URL for Oracle EBS application from backend

🔍 How to Find Oracle EBS Front-End URL from Backend (SQL)

If you're an Oracle E-Business Suite (EBS) administrator or developer, there may be times when you need to identify the front-end login URL of your application. This can easily be retrieved directly from the database using a simple SQL query.


🧭 Step-by-Step Guide

Follow the instructions below to query the EBS base URL from the backend:

  1. Open your preferred SQL tool: SQL Developer, TOAD, or PL/SQL Developer.
  2. Connect to the Oracle EBS database using your schema credentials.
  3. Run the below query to fetch the front-end base URL:
SELECT home_url FROM icx_parameters;

This query retrieves the HOME_URL field from the ICX_PARAMETERS table, which holds the base URL configured for your Oracle EBS instance.

ICX Parameters Example

Example result of the ICX_PARAMETERS query.


💡 Pro Tips

  • Make sure you have SELECT privileges on ICX_PARAMETERS.
  • If you have multiple environments (DEV, TEST, PROD), this query helps ensure you're using the correct login URL.
  • The URL returned can be used to automate login links or embed in external apps.

📌 Related Posts

Stay tuned for more Oracle EBS insights and backend tips.

Oracle Fusion Forms Personalization using Sandbox

🧭 Introduction Oracle Fusion Cloud supports no-code UI personalization using Sandbox and Structure tools. Known as Form Personalization ...