2009 Sep 16 6:18 AM
Hello all
I am working as ABAP developer , on 4.6C system. We have developed a Print work bench form (PWB) through tcode EFRM , and we use it in FPCOPARA . In the END EXIT in PWB form , i m inserting a single record in Z table.
Now,
(1) When i run the PWB form directly from EFRM for testing , 1 records gets inserted , which is correct.
(2) When i run FPCOPARA , and in the PRINT PARAMETERS i give REAL PRINT option (i.e. printing 1 st time) , the print is generated and 1 record is inserted in Z table , which is also correct.
BUT
(3) when i run FPCOPARA & in PRINT PARAMETERS if i give REPEAT PRINT option (i.e. printing 2nd time onwards) , 7 records gets inserted in Z table which is NOT CORRECT.
I think in REPRINT option , my PWB form is getting called more than 1 time (here 7 times) , which seems difficult to understand.
Please provide help ..Awaiting your valubale inputs on this.
Thanks in advance
Best Regards
Nilesh
2009 Sep 16 7:10 AM
Hi Nilesh,
What is the input you are passing for FPCOPARA tcode and what basically is the application it is trigerring.
Basically, when you are giving the real print, only one record might be elligible for printing. Check the entry for table DFKKCOH table. It is for correspondence header/.
Basically, what happens in FPCOPARA is the print event is triggerred and it takes into consideration the records from DFKKCOH table (DFKKCODCLUST - in case of cluster data).
For real print, it just checks only those documents having print date as blank and in reprint, it takes into consideration all the records for which reprint is made.
So, please check, if the input passed on to the FPCOPARA triggerres multiple printing, then for each call of application form, the entry would get updated in the Z table.
Also, check in your case, multiple spools would be getting generated. So, make some modification for the print parameter, so that single spool gets generated and hence the single entry would be updtd for the Z table.
Hope this helps!!
Regards,
Rajesh Popat
2009 Sep 16 7:10 AM
Hi Nilesh,
What is the input you are passing for FPCOPARA tcode and what basically is the application it is trigerring.
Basically, when you are giving the real print, only one record might be elligible for printing. Check the entry for table DFKKCOH table. It is for correspondence header/.
Basically, what happens in FPCOPARA is the print event is triggerred and it takes into consideration the records from DFKKCOH table (DFKKCODCLUST - in case of cluster data).
For real print, it just checks only those documents having print date as blank and in reprint, it takes into consideration all the records for which reprint is made.
So, please check, if the input passed on to the FPCOPARA triggerres multiple printing, then for each call of application form, the entry would get updated in the Z table.
Also, check in your case, multiple spools would be getting generated. So, make some modification for the print parameter, so that single spool gets generated and hence the single entry would be updtd for the Z table.
Hope this helps!!
Regards,
Rajesh Popat
2009 Sep 16 9:46 AM
Hi Rajesh
Thanks for the reply . We some how found out the root of the pbm and reached the same conclusion as u suggested.
In the main screen of FPCOPARA , Environment - > correspondence Hist ...It goes to a table DFKKCOHI , where it shows the records..In my case it was showing 7 records ..The problerm was i didnot give the Print date..so it was picking up all the 7 records..
Thanks a lot.
Best Regards
Nilesh
2012 Jan 30 9:26 PM
Hi Experts,
I have a different questions about FPCOPARA. I understand that it will process corresponce records from table DFKKCOH. But what program/process will populate DFKKCOH for invoice correspondence?
I went to transaction FKKINVDOC_DISP and click on simulation, I can print the invoice this way. But DFKKCOH is not populated.
Is there a way to schedule the batch job to email the correspondence? To do that, I believe I need to insert a record into DFKKCOH. I know how it works in SD module using output types. But I am new to FI-CA module and PWB, and do not know how things work here.
Appreciate your help!
Linda
2009 Oct 17 6:17 PM
Hello All,
I was asked to work for a SAP ISU support project in the Print Work Bench area.
Can some one help me , Generally do we have more support tickets in PWB after post go live ? Should I choose another support area...I am of the opinion that PWB is a niech area and having exp in this good career wise.
Thank you in advance
- Neelima