cancel
Showing results for 
Search instead for 
Did you mean: 

How to mark unprinted correspondences in DFKKCOH printed?

Former Member
0 Kudos

Hi,

We have a growing number of correspondences sitting in DFKKCOH correspondence container table that we cannot and don’t want to print. We’ve been excluding them in our daily FPCOPARA run but we soon get to the limit of how many entries can be added for exclusion and we want to mark these records as printed so that future runs will not pick them up for processing. Can you suggest a way to accomplish this?

In case we don’t find any other way, we could develop an abap to “manually” record print date/run date/run id to mimic how FPCOPARA updates the DFKKCOH table for successfully printed entries. What standard FM should be used for this update?

Thanks for your help, Marta

Accepted Solutions (0)

Answers (3)

Answers (3)

Private_Member_7726
Active Contributor
0 Kudos

Hi,

Depending on what is used to schedule recurring jobs in the system, I'd develop a custom Mass Activity or simply a report which would mark the unnecessary correspondences as deleted. I have not found anything better than functions from FuGr FKKCORR_STORAGE:

FKKCORR_DFKKCOH_SELECT

FKKCORR_DFKKCOH_DELETE_CORR (this does not do any physical deletion - that should be handled by standard archiving and reorganization logic IMO).

cheers

Janis

Former Member
0 Kudos

The standard function module FKK_CORR_COPRI_SET can be used to set the print date. It needs the parameters co-type and co-key and the date to which you want to update the COPRI filed(print date).

Former Member
0 Kudos

This is easy - execute periodically mass print with set of parameters that will retrieve those documents.

Once this job is executed and finished go to transaction SM37 and delete corresponding job that contains your spool list.

Your documents will have print date and it wouldn't appear in real print runs anymore.

Br,
Mario