Hi,
Vendor+subcontracting scenario not supported for two step STO in standard. Please refer the message : Message no. MEPO140 (T161W: Vendor+subcontracting vendor not allowed for 2-step stock transfer). Also check the note: 1561919 - wrong special stock type in STO with OM business function which explains the same.
Regards,
AKPT