SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

FPCOPARA - creates single spool

Former Member
0 Kudos

I am using FPCOPARA to create correspondance and passing the BP and the contract ID.

This fetches all the related invoices (Say 100 invoices) and creates a single smartform spool consisting all the invoices.

Single spool is printed to single PDF with 100 pages, one page for each invoice.

I want 100 PDF for 100 invoices.

Is there a way to:

1. Make FPCOPARA create a spool for each invoice.

OR

2. Can a single spool be split into 100 PDFs?

Thanks a lot in advance.

5 REPLIES 5

AmlanBanerjee
Active Contributor
0 Kudos

Hi,

I don't think you can split a spool into multiple PDFs.

However, if your requirement is to create a single spool\Invoice, then I think you can enhance event 1720.

Hope it helps..

Thanks,

Amlan

0 Kudos

Can you assist as to how we can leverage 1720?

Former Member
0 Kudos

Hi ,

          please take a look at config path contract accounts receivable and payable ---> technical settings----> activate performance improvement for mass runs --->there is option for spool aggr . please check if it is active , deactivate and see if it satisfies your requirement.

Caution : Deactivating would mean all your mass correspondence print will be in different spools.

former_member201285
Active Participant
0 Kudos

Hello,

I'm not sure if I we are talking about the same kind of correspondence, but I assume that the following modification could help you to create a spool for each dataset:

Function module: ISISCD_PRINT_INVOICE_CORR

...

* Move it to printparams
  MOVE-CORRESPONDING i_efgpp TO i_printparams.
  MOVE-CORRESPONDING i_itcpo TO i_printparams.

*--> begin of your modification

  i_printparams-tdfinal = 'X'.

*<-- end of your modification

* Call Print Workbench


  CALL FUNCTION 'EFG_PRINT_EXPANDED'
    EXPORTING
      x_sendcontrol       = i_dfkkcoh-sendcontrol
      x_rec_addr          = h_corr_receiver-addrnumber
      x_rec_persnumber    = h_corr_receiver-persnumber
      x_printparams       = i_printparams
      x_archive_params    = i_archive_params
      x_archive_index     = i_archive_index
    EXCEPTIONS
      not_qualified       = 1
      print_failed        = 2
      cancelled           = 3
      rec_addr_not_found  = 4
      send_addr_not_found = 5
      OTHERS              = 6.

  IF sy-subrc <> 0.
*   Unsuccess Message to ensure no print date will be set
    PERFORM log_symsg(saplfkk4) USING space t_fimsg.
    APPEND t_fimsg.
    MESSAGE e600(>6) WITH sy-subrc i_dfkkcoh-cotyp i_dfkkcoh-cokey.
  ELSE

....

Former Member
0 Kudos

Hi Sachin,

In Tab where you select printer/output device in FPCOPARA there you have option beside that check new spool request checkbox and it will print single spool for each data.

Regards,

Lalit