Its all bout error with data, there should be proper record in source document header, source document line and purchase order,
there is relation between source document header and purcahse order,
also source document line with purchline, if you will check in some records there will be source document line records but no header records.
in my case i just created header record manually to make it works.