2023 Feb 15 5:18 AM
Hello,
I'm printing the documents from vbrk for particular date range...in the same date range i need to print the archived data also.
Documents from vbrk I'm printing through BDC recording of VF02 and through call transaction VF02...spool is getting generated and I'm calling one printing include to print document...
But in case of archived documents I made BDC recording of vf31 and calling the transaction vf31.. But that printing include is not getting hitted.. But the Spool is generating...i don't know why I'm not able to print the archived document....please help me on this
2023 Feb 15 6:47 AM
Are you sure your print program could catch data from Archiving file ? Most of print program read data from standard tables
2023 Feb 15 7:11 AM
Hi frederic,
Yes I'm fetching archived file from table and
I'm getting archived documents into my internal table in program...
I'm looping through this internal table...inside the loop I'm calling the transaction vf31 and BDC recording
2023 Feb 15 7:24 AM
Don't use answer to reply to a comment, answer is to propose a solution.
I think to understand what is going on, you have to make a SQL trace using ST05
You will certainly seen the system trying to access to archived data on table VBRK, VBRP, .... and have a number of result = 0
2023 Feb 15 3:33 PM
I don't think VF31 and the print program know natively how to handle archived documents (I hope I'm wrong, but there is little hope).