Solution : https://service.sap.com/sap/support/notes/1599301 (SAP Service marketplace login required)
Key words :
key refdoccat = /scwm/if_doc_c=>sc_doccat_ero assigning <ls_refdoc>, lo_header = ls_bo-bo->get_header, ls_bo type /scdl/af_ppf_str, lt_refdoc type /scdl/dl_refdoc_tab, lo_header type ref, lt_refdoc = lo_header->get_refdoc, read table lt_refdoc, lv_queuename = <ls_refdoc>-refdocno, trfc function modules, locking problem error
Related Notes :
1479681 | PPF: Attribute QUEUENAME in trigger object |
1423066 | Optimization of the performance in EWM |