This is my senario.
1) I've to get material and material description by using bapi_material_getlist, with plant and storage loction as my inputs and ssave this output in internal table 'xxx'.
2) I've to add extra fields for the internal table created 'xxx' from 2 tables i.e. MCH1 & MCHB with MATNR as key field by using 1 select statement.
3) Next Select from table RESB those batches that are reserved and then delete them from the internal table 'xxx'.
4) Get batch characteristics using FUNCTION 'BAPI_OBJCL_GETDETAIL'
help me out in coding the above.