I don’t want configuration information to be transferred with the database in SAP ABAP

The straight answer to this is a big NO. This is one of the most common places of error in the SAP environment. When you create a clone of your production in the form of QA with most of the things as it is from production, you need to make sure that any action in QA after cloning doesn’t have any implication or effect on actual production.

To handle such a use case, you need to rely on SAP transport and Change management. You need to use the provided transports to alter the existing configurations to QA.