Solution : https://service.sap.com/sap/support/notes/959245 (SAP Service marketplace login required)
Key words : 
attached source code corrections, execute step c6, load master data, master data, flag directly, system executes, solution implement, background, terminated
Related Notes : 
       
| 932837 | /SAPAPO/OM_LC_UPGRADE_50: Problems during upgrade |