Can you setup Configurable Data Connections
Is it possible to configure an RPE Data Connection in the Web Server such that it doesn't point to a specific module or collection and instead when you run the report you can pick the item you want to generate for?
Otherwise it seems like you have to define a new data connection for every Module you would want to generate a requirements specification for, which on a large complex programme is a signfiicant overhead and confusing for users
One answer
By Web Server, do you mean Document Builder?
You can write (Java swing) code to get the list of modules and user can choose specific module from the list. However, this works only in Launcher. There is also an option to use resource picker (OSLC Resource Selection...), through which user can select the module. The URI for the module will be used for document generation.
The simple universal solution is to use an external variable that would be used to construct the URI for the Data Source Configuration element. You can pass module UID through the variable and use it in the URI.