Home Discussions Questions & Answers Batch Export of Report Definitions (CLOB Output)

Batch Export of Report Definitions (CLOB Output)

Avatar photoCustomer July 17, 2023 at 9:43 pm

I need to export a defined set of reports programmatically, maybe a hundred reports, all into one single file for migration. Which function should I use and how do I pass the list of reports?

Viewing 2 reply threads
  • Author
    Replies
    • Support July 18, 2023 at 9:02 am  

      You should use the function `XXEN_API.export_file_data`. This function is designed for batch export and returns the data as a CLOB. You pass the list of report identifiers using the input parameter `p_ids`, which must be of the type `fnd_table_of_number`.

    • Avatar photoCustomer July 19, 2023 at 6:01 am  

      Does this function support different export types besides just the current report definitions?

    • Support July 21, 2023 at 6:36 am  

      Yes, the primary type is ‘Reports’, but the `p_type` parameter can also be set to values like ‘SQLs’, ‘Templates’, ‘LOVs’, ‘Assignments’, ‘Column Translations’, or ‘SQL Versions’, depending on what you need to export.

Viewing 2 reply threads
  • You must be logged in to reply to this post.

Login with: