{"audience":"Warehouse supervisors, inventory controllers and consultants responsible for WM configuration.","authorization_objects":[{"note":"Display authorization by warehouse number and storage type","object":"L_LGNUM"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"S","faq":[{"a":"It does for new putaways. But when the setting is changed later, existing bins are not checked, and initial stock loads and some manual movements can leave violations. The report shows this accumulated state.","q":"Doesn't the system already prevent mixed storage?"},{"a":"The list is the starting point for a transfer order that moves the newest quant to another bin. If needed, a button can be added that creates a move transfer order, like LT01, for the selected quants; this increases the effort range.","q":"How is a violating bin fixed?"},{"a":"Yes. The storage unit number of the quants (LQUA-LENUM) can be shown as well; batch mixing on a pallet and batch mixing in a bin are evaluated separately.","q":"Does it work for storage types with storage unit management?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the bin opens LS03N; double-clicking the quant opens LS23."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"LS03N shows one bin at a time; LX03 gives bin status but does not compare it with the mixed storage rule. Violations created after the mixed storage setting is tightened, after manual transfer orders or after stock loads are noticed only when the wrong product is picked.","id":"wm-mixed-storage-violations","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. The mixed storage setting (MISCH) is read from T331 for the selected warehouse number and storage types and translated into the rule allowed per bin: one quant, one material (several batches allowed) or freely mixed.\n2. All quants in these storage types are read from LQUA, and the number of quants, materials and batches is counted per warehouse number + storage type + bin.\n3. Bins whose counts break the rule are flagged as violations; with \"Also check batch mixing\" selected, batch mixing is reported as well.\n4. The storage section and block indicators of violating bins come from LAGP, and the material description from MAKT.\n5. The quants of each violating bin are listed on separate lines, with the first quant to enter the bin at the top.","module":"WM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Storage type","source_field":"LGTYP","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Mixed storage setting","source_field":"MISCH","source_table":"T331"},{"calculated":false,"formula":"","label":"Storage section","source_field":"LGBER","source_table":"LAGP"},{"calculated":false,"formula":"","label":"Storage bin","source_field":"LGPLA","source_table":"LQUA"},{"calculated":true,"formula":"Number of LQUA records in the bin","label":"Quants","source_field":null,"source_table":null},{"calculated":true,"formula":"Number of distinct LQUA-MATNR values in the bin","label":"Materials","source_field":null,"source_table":null},{"calculated":true,"formula":"Number of distinct LQUA-CHARG values in the bin","label":"Batches","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Quant","source_field":"LQNUM","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Batch","source_field":"CHARG","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Total stock","source_field":"GESME","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"LQUA"},{"calculated":false,"formula":"","label":"GR date","source_field":"WDATU","source_table":"LQUA"},{"calculated":true,"formula":"By the rule: more than one quant, more than one material or more than one batch","label":"Violation","source_field":null,"source_table":null}],"parameters":[{"example":"100","kind":"select_option","label":"Warehouse number","name":"S_LGNUM","ref_field":"LQUA-LGNUM","required":true},{"example":"001","kind":"select_option","label":"Storage type","name":"S_LGTYP","ref_field":"LQUA-LGTYP","required":false},{"example":"001","kind":"select_option","label":"Storage section","name":"S_LGBER","ref_field":"LAGP-LGBER","required":false},{"example":"FG-5001","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"LQUA-MATNR","required":false},{"example":"X","kind":"checkbox","label":"Also check batch mixing","name":"P_BATCH","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Show violating bins only","name":"P_ONLYV","ref_field":"","required":false}],"part_of":["wm-storage-discipline-slotting-pack"],"performance":"Read LQUA by warehouse number and storage type and do the counting on the database with GROUP BY; fetch quant details only for violating bins in a second query. The report finishes in seconds even in large warehouses.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=wm-mixed-storage-violations","related":["wm-im-stock-comparison","wm-storage-bin-utilization"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows the content of one bin; gives no violation list across a storage type.","tcode":"LS03N"},{"note":"Lists bin status and occupancy; does not compare it with the mixed storage rule.","tcode":"LX03"}],"summary":"A custom ALV report that lists, across whole storage types, bins holding more than one material, batch or quant against the storage type's mixed storage setting. The quants in every violating bin are shown with goods receipt date and quantity, so it is clear at once which stock has to be moved.","tables":[{"access":"read","join_on":"","role":"Quants in bins: material, batch, quantity, goods receipt date (driving table)","table":"LQUA","variant":"both"},{"access":"read","join_on":"T331-LGNUM = LQUA-LGNUM AND T331-LGTYP = LQUA-LGTYP","role":"Mixed storage setting of the storage type","table":"T331","variant":"both"},{"access":"read","join_on":"LAGP-LGNUM = LQUA-LGNUM AND LAGP-LGTYP = LQUA-LGTYP AND LAGP-LGPLA = LQUA-LGPLA","role":"Storage section, number of quants and blocks of the bin","table":"LAGP","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = LQUA-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description in the logon language","table":"MAKT","variant":"both"}],"title":"Bins With Mixed Stock Not Allowed by the Storage Type Report","url":"https://nekuhub.com/en/reports/storage-type-mixed-storage-violation-bin-report/","vendor_id":"nekudos"}