how will u handle the situation in a report using function module to generate a IDOC how will u handle the error IDOC in same report .