SAP Knowledge Base Article - Public

3738271 - When printing material document using collective form MMIM_GR4PO_COL_SLIP the line items are not sorted by the PO item number - SAP S/4HANA Cloud Public Edition

Symptom

When printing material document using collective form MMIM_GR4PO_COL_SLIP, the line items are not sorted by the PO item number and not printed into one page.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Create purchase order with multiple PO items (in this example there are 4 PO items), and post goods receipt for this PO in Post Goods Movement (MIGO):
  2. Click on Output tab, create an output with form template MMIM_GR4PO_COL_SLIP:
  3. Click on "Display Document". Item 1 and item 4 are printed into page 1, while item 2 and 3 are printed into page 2:

Cause

The goods receipt print service groups items by plant, storage location, movement type, and purchasing document number, and then sorts only within each group by material document, year, and item. Items that differ in a grouping field (for example, storage location) are output in separate groups, which can appear as an overall unsorted order. 

In this example, the material document items have different storage locations (item 1 & 4 have storage location 101A, while item 2 & 3 have storage location 101B). Therefore they are output in different pages.

Resolution

The grouping is standard system behavior and is not supported for modification by the customer.

See Also

Keywords

Goods receipt, MIGO, material document, MaterialDocumentItem, output management, grouping, storage location, plant, movement type, PO item, purchase order, item sorting, form template, MMIM_GR4PO_COL_SLIP, collective print , KBA , MM-IM-GF-PRNT-2CL , IM Ouput Determination (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions

Attachments

Pasted image.png
Pasted image.png