Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problems with GET BKPF

Former Member
0 Likes
741

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

2 REPLIES 2
Read only

Former Member
0 Likes
504

I'm not an expert on archiving.. but if something si archived, shouldn't it be not available in the database table?

Read only

0 Likes
504

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