-
Continue reading →: How to Force “Save As” Dialog for Text Output in Oracle EBS Concurrent Requests
To ensure that text output files from concurrent requests in Oracle E-Business Suite prompt a “Save As” dialog box instead of opening directly in the browser, follow these configuration steps (System Administrator Responsibility): To ensure the output is treated as a downloadable file:
-
Continue reading →: How to Compile Concurrent Program Flexfields
You can compile concurrent program flexfields with below steps (if you have the error message descriptive flexfield……… is not compiled): on EBS Applications, submit concurrent request “Compile Non-Compiled Flexfields” on System Administrator Responsibility on OS Server open putty and run this command fdfcmp apps/<apps password> 0 Y D ‘XXCUST’ ‘$SRS$.XX_CONC_PROG_SHORT_NAME’…
-
Continue reading →: How To Raise User Defined Exception in Oracle PL/SQL
You can raise exception with this below scripts: DECLARE ey_custom EXCEPTION; PRAGMA EXCEPTION_INIT (ey_custom, -20288); BEGIN raise_application_error (-20288, ‘EY – This is a custom error’); EXCEPTION WHEN ey_custom THEN DBMS_OUTPUT.put_line (SQLERRM); END; –OR DECLARE ey_custom EXCEPTION; BEGIN RAISE ey_custom; EXCEPTION WHEN ey_custom THEN RAISE_APPLICATION_ERROR (-20288, ‘EY – This is a…
-
Continue reading →: How To Compress File Using UTL_COMPRESS Package in Oracle
The below code is used to compress the file using standard package (UTL_COMPRESS) in Oracle. DECLARE v_filename VARCHAR2 (100); src_file BFILE; v_content BLOB; v_blob_len INTEGER; v_file UTL_FILE.file_type; v_buffer RAW (32767); v_amount BINARY_INTEGER := 32767; v_pos INTEGER := 1; BEGIN v_filename := ‘EY_TOP.dat’; src_file := BFILENAME (‘EY_DIR’, v_filename); DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);…
-
Continue reading →: How To Enable/Disable Concurrent Parameter Dynamically
Scenario: We want to disable “Sample No” parameter if “Type” parameter value is “Receipt“, otherwise disable “Receipt No” parameter if “Type” parameter value is “Sample” and the parameter must be mandatory if enable. We have to define concurrent program with the following parameters: Type (value are Sample or Receipt, using…
-
Continue reading →: SQL Script to Retrieve List of Profile Values
SELECT p.profile_option_name short_name, n.user_profile_option_name NAME, DECODE (v.level_id, 10001, ‘Site’, 10002, ‘Application’, 10003, ‘Responsibility’, 10004, ‘User’, 10005, ‘Server’, 10006, ‘Org’, 10007, DECODE (TO_CHAR (v.level_value2), ‘-1’, ‘Responsibility’, DECODE (TO_CHAR (v.level_value), ‘-1’, ‘Server’, ‘Server+Resp’)), ‘UnDef’ ) level_set, DECODE (TO_CHAR (v.level_id), ‘10001’, ”, ‘10002’, app.application_short_name, ‘10003’, rsp.responsibility_key, ‘10004’, usr.user_name, ‘10005’, svr.node_name, ‘10006’, org.NAME, ‘10007’,…



terbukti berhasil, thanks edi yanto