Hi Venkata,
hope you have entered serial number at delivery manually , then why you need to pick the serial number from Sales order ?
if you have maintained serial number at Sales order then system would automatically populate this value to the delivery
could you explain why you are picking the value from the delivery document , is it for printing on any layout ? if so directly from LIPS table you can get