Creates a transfer request document.
Notes:
Bin Management is not supported (means: The system does not save Bin information in the SAP Document, because it is not supported by SAP)
Batch/Serialnumber (DistNumber) not mandatory, but supported
POST odata4/v1/TransferRequest
{
"DocumentLines": [
{"ItemCode": "po_baetman",
"WhsCode":"01",
"BinCode":"001001",
"ToWareHouse":"02",
"DistNumber":"BT-014",
"Quantity":2
}
]
}
setvar=ls_json=&
{ "DocumentLines": &
[ &
{"ItemCode":"RM","Quantity":3,"WhsCode":"01","ToWareHouse":"02" &
] &
}
instance bsl b
b.post=TransferRequest=<ls_json>
messagebox=<b.ret_code> <b.ret_text> <b.ret_value>