FM or BAPI to get Serial no of a material
I am using a BAPI
to post material (Work same as T-code MB1A)
everything is working fine but the problem is with the materials which is having serialized profile.
I am passing serial nos table also
GOODSMVT_SERIALNUMBER = it_serno1
I m fetching serial no from OBJK based on the material no but the problem is it is giving serial nos which has beed used also
Please give me FM or BAPI to fetch serial no of a material which is free or tell me how can I check that a particular serial no has been used or not ?