Hi RS,
You need to implement BAdI APO_BAPI_BUS10502 to allow the BAPI to create VMI STR for location type 1010.
Pl check the following SAP notes for details.
Note 546886 - Location types with "ProcurementOrderAPS.SaveMultiple"
Note 1057488 - Location types for BAPI_POSRVAPS_CREATESNPORDER
Thanks,
Rajesh