SAP Function SELECT_LOCK_TO_POSTING - Select and lock transfer orders for posting changes

Parameter Reference Type Length Default Optional Text
I_ACTVTY T333-ABILD C 1 Activity
I_NUMBER_OF_TOS I I 4 1 X Number of TO
I_UPROF LRF_WKQU-QUEUE C 10 Queue field
I_WHS_ID T313F-LGNUM C 3 Warehouse number / warehouse complex

Parameter Reference Length Optional Text
T_HEADERS LTAK 295 TO header
T_ITEMS LTAP 890 TO items

Exception Text
DLVR_IS_LOCKED
EMPTY_HEADER_TABLE
INTERNAL_ERROR
MATERIAL_ERROR
NO_AUTHORITY
NO_SHIP_DOC
NO_TO_SELECTED
PSCH_IS_LOCKED
RSRV_LOCK
TO_CONF
TO_DOESNT_EXIST
TO_IS_LOCKED
TO_PROBLEM
TR_IS_LOCKED
WRONG_MVTYP
WRONG_WHS_ID

Functionality
This function selects and locks a transfer order header with two itemsthat comply with the posting change requirement.