cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue in Printing 7 Copies of Invoice – Item Table Not Repeating in Adobe Form (S/4HANA Public Cloud

Achana_Bisoyi
Explorer
0 Likes
352

Hello Experts,

I am working on SAP S/4HANA Public Cloud, and I need to print 7 copies of the same invoice in a single PDF.

I enabled 7 occurrences for the main invoice layout, and now 7 copies are appearing correctly. However, I am facing two issues.

1. Item table does not repeat in all 7 copies

  • The header section appears in all 7 copies.

  • The item table appears only in the first copy.

  • When I place the item table inside the repeated layout, Adobe Designer shows an error and the form cannot be saved.

Because of this issue, I am unable to print the full invoice (header + items + totals) 7 times.

2. How to assign labels for each copy

Since the backend sends only one invoice, there is no copy number provided.
I plan to use the repetition index to show:

Copy 1 - Original for Recipient
Copy 2 - Duplicate for Transporter
Copy 3 - Triplicate for Supplier
Copy 4 to 7 - Extra Copy

But I need guidance on the correct way to implement this in Adobe Form.

My questions:

  1. What is the correct layout structure to repeat the full invoice (header, items, totals) 7 times?

  2. Why does the item table cause an error when placed inside the repeated layout?

  3. What is the best way to set copy labels using the repetition index?

If anyone has implemented multi-copy invoice printing in S/4HANA Public Cloud with full item data, I would appreciate your guidance.

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

nag_7589
Explorer

I just tried in ECC . clicked on change print parameters then change output device as your printer name  and number of copies 7 . it printed 7 invoices with correct header and footer .

 

nag_7589_1-1765283547443.png

 

Achana_Bisoyi
Explorer

Hello @nag_7589,

Thank you for your response.

Your approach works correctly in ECC and S/4HANA On-Premise, where we can set the “Number of Copies” in the print parameters.

However, my requirement is for SAP S/4HANA Public Cloud, and unfortunately the Public Cloud Output Management framework does not support printing multiple copies using print parameters.

In S/4HANA Cloud:

1.Only one print job can be triggered per billing document

2.The system does not provide a “number of copies” option

Therefore, SAP recommends generating multiple copies inside the Adobe Form itself This is why I am using the repeat-occurrence approach to produce 7 invoice copies in one PDF.

My current challenge is:

1.Full invoice (header + items + totals) is not repeating inside the repeated layout

2.No copy number is provided from backend, so I must control labels using the repetition index inside the form

So the ECC method unfortunately cannot be applied in S/4HANA Public Cloud.

Thank you for your input.

signimus
Participant
0 Likes

In S/4HANA Public Cloud, this is a known limitation of Adobe Forms + Output Management.

Root cause:

  • Tables (item loops) cannot be placed inside a repeating subform that itself repeats the whole invoice.

  • This is why the item table renders only once and Adobe throws errors when nested in the repeat layout.

Correct approach:

  • Create one main repeating subform (7 occurrences).

  • Inside it, place: Header + Item table + Totals.

  • Set the item table to flow and repeat per data, not per layout.

  • Do not nest repeating tables inside another repeating container.

Copy labels:

  • Use the occurrence index ($.index / instanceIndex) of the repeating subform.

  • Drive labels via conditional text, e.g.:

    • 1 = Original

    • 2 = Duplicate

    • 3 = Triplicate

    • 4–7 = Extra Copy

This is the only supported pattern in Public Cloud since print parameters (number of copies) are not available.