Showing posts with label XML Publisher. Show all posts
Showing posts with label XML Publisher. Show all posts

Sunday, February 7, 2021

How to fix invalid character in XML Error in Oracle apps R12

Hi, this post shows how to fix the invalid character in XML data error that may occur sometimes in RDF reports in Oracle apps. To fix the error, follow the below enlisted steps.

1) Run following query to determine the characterset:

select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET'

2) Set profile option FND: NATIVE CLIENT ENCODING to same value as the output of query in step 1.
--FND: NATIVE CLIENT ENCODING for XML data generation

If browser is not responding when loading XML data, recheck RDF then try fetching less data from query. If that works, recheck with all the data.

Cheers!!

Thursday, January 7, 2021

Script to delete data definition and template in XML Publisher Reports in Oracle apps

Hi! This post will show you the script to delete the data definition and template in XML Publisher reports in Oracle apps.

Script to delete template and data definition in XML Publisher Reports:

BEGIN
DELETE from xdo_templates_b WHERE template_code = 'XXEMP';
DELETE from xdo_templates_tl WHERE template_code = 'XXEMP';
DELETE from xdo_lobs WHERE lob_code = 'XXEMP';
DELETE from xdo_ds_definitions_tl WHERE data_source_code = 'XXEMP';
DELETE from xdo_ds_definitions_b WHERE data_source_code = 'XXEMP';
COMMIT;
EXCEPTION WHEN OTHERS THEN
dbms_output.put_line('An unknown error occurred '||SQLERRM);
END;

In the above script, XXEMP is the sample template or data definition code which is nothing but the concurrent program short name.



Happy Learning!!

Featured Posts

Sample Real Time Assignment in Oracle SOA