Hi Rajeev
Most BAPI's will return the document number generated as a result of successful processing.
However depending on the BAPI being used the Document Number could be anywhere.
Usually in an Export Parameter, but also can be found in Tables.
Regards
Arden