‎2011 Jan 25 11:40 AM
Hi Abap Gurus,
I have some reports that i must choose the DATASOURCE. I am only interested in Documents in the DATABASE and i do not care about the archived ones.
The fact is that if i even use BUDAT as selection and i use the following code:
GET BKPF
CHECK BKPF-BUDAT IN PERIOD.
I am getting an output that is:
Document header for company code ....Doc nº....not found.
These documents are already archived and i do not want it as output.
How can avoid this? I erase all the WRITE instructions and even that i am getting this message.
Thank you in advance
Best Regards
João Fernandes
‎2011 Jan 25 12:03 PM
I'm not an expert on archiving.. but if something si archived, shouldn't it be not available in the database table?
‎2011 Jan 25 12:17 PM
Hi,
Your are right. In my program i am not selecting any archive document so i do not care about archived documents.
Any suggestion??
Best Regards
João Fernandes