Hi Abdul,
The usual is transfer quatities to controlling documents (CO-PCA and CO-PA). The usual is also summarizing items to avoid more than 999 items in the RV document in FI-GL acc.
The FI document is created in the FM 'RV_ACCOUNTING_DOCUMENT_CREATE'. But I suggest to read SAP Note 619498 - Transfer of quantity and value fields, it mentions a BTE. Check if it is working in your system.
I hope this helps you
Regards
Eduardo