Hi
Step-1 you can collect report out put requirement from your client
Ex: company name document no document date
Step-2 to find out the table name anf fileds
Table name :bkpf,bsec
feild name : belanr.bukars.
then you will explan the logic to abaper.