PUT

PUT supported for all fields.

 

With the following code you can change an existing batch number:

PUT BatchNumber("ItemCode",SysNumber) 
PUT BatchNumber(DocumentNumber)   -> related to OBTN.AbsEntry

 

PUT command supports database field names, as well. You can use the same (wrong) field names as described in SAP SDK documentation, same field names in SerialNumber object or the current database field names.

UDF's are supported.

 

 

beasscript-logo-small

Example

instance bsl b
b.put=BatchNumber("RM_B",10)<tab>{"Status":"1"}
if <b.ret_code> <> 1 then
  messagebox=error$$<b.ret_text>
end if