Solution : https://service.sap.com/sap/support/notes/394413 (SAP Service marketplace login required)
Key words : 
additional key words vt02, long runtimes occur, cost-based-optimizer, rule-based-optimizer, function module rv_shipment_view, full table scan, packing function, table vtfa, vt03ndocument flowperformanceruntime, shipment number
Related Notes : 
       
| 564019 | Access to VTFA for the DB2 database takes long | 
| 380848 | Bad performance when archiving SD_VTTK | 
| 369658 | SD document flow: Long runtimes when reading transport doc. | 
| 129385 | Database hints in Open SQL |