{"audience":"Sustainability and certification managers, quality, production planning and sales teams.","authorization_objects":[{"note":"Material document display authorization by plant","object":"M_MSEG_WMB"},{"note":"Classification display authorization by class type","object":"C_TCLA_BKA"}],"components":[],"countries":[],"effort_days_max":15,"effort_days_min":10,"effort_size":"L","faq":[{"a":"The report is not tied to one standard; it is used for programs that require a mass balance or segregation, such as organic content, recycled content and sustainable cotton. The certificate type, yield rate and quota rule are kept as settings.","q":"Which certification programs can it be used for?"},{"a":"The report shows certified and non-certified quantities issued to the order separately and calculates the certified share proportionally. For programs that require segregation, mixed orders are flagged separately so it is clear whether the finished goods may be sold as certified.","q":"What if certified and non-certified raw material are used in the same order?"},{"a":"Yes. In S/4HANA movements are read directly from MATDOC and batch classification stays in AUSP. If clean core is preferred, batch data can be read from I_Batch and movements from I_MaterialDocumentItem_2.","q":"Does it work on S/4HANA?"}],"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":"From the batch you can drill down to the material document, production order and delivery."},{"code":"excel","label":"Export to Excel","note":"The period balance is exported to Excel for the audit."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"In the standard system the batch where-used list and MB51 show where a single batch went, but there is no report that adds up all receipts, consumptions, certified production output and sales of a period by certificate type and calculates the certified saleable quantity with a yield rate. The certificate number and the supplier's transaction certificate are usually kept in batch characteristics and do not show in standard movement lists. The custom report builds this chain and the mass balance on one screen.","id":"mm-certified-material-traceability","industries":["textile"],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Certified batches are found from the certificate type and certificate number characteristics in batch classification (AUSP, CABN); the certificate type is entered on the selection screen.\n2. Receipts: goods receipts (101) of these batches in the period are read from MSEG with vendor and transaction certificate number.\n3. Consumption: issues (261) and returns (262) of the batches to production orders are read from MSEG; the production order is read from AFPO and the finished batches it produced (101 with order reference) are marked as certified output.\n4. Sales: deliveries of certified finished batches are read from LIPS and goods issues (601) from MSEG; customer and delivery number come from LIKP.\n5. Mass balance: opening certified stock + receipts − consumption = closing raw material stock; consumption × yield rate = certified saleable finished quota. If the certified quantity sold exceeds the quota, the line is flagged.\n6. In the batch chain view the report shows the link from raw material batch to customer delivery; the summary view gives the balance per certificate type and period.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":true,"formula":"AUSP-ATWRT, certificate type characteristic","label":"Certificate type","source_field":null,"source_table":null},{"calculated":true,"formula":"AUSP-ATWRT, transaction certificate characteristic","label":"Transaction certificate no.","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Raw material batch","source_field":"CHARG","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Raw material","source_field":"MATNR","source_table":"MSEG"},{"calculated":true,"formula":"Σ movement 101 (in the period)","label":"Received quantity","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Production order","source_field":"AUFNR","source_table":"AFPO"},{"calculated":true,"formula":"Σ 261 − Σ 262","label":"Consumption","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Finished batch","source_field":"CHARG","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Delivery","source_field":"VBELN","source_table":"LIPS"},{"calculated":false,"formula":"","label":"Quantity sold","source_field":"LFIMG","source_table":"LIPS"},{"calculated":true,"formula":"Compliant if sold ≤ consumption × yield, otherwise quota exceeded","label":"Balance status","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"MSEG-WERKS","required":true},{"example":"01.07.2026 – 30.09.2026","kind":"select_option","label":"Period (posting date)","name":"S_BUDAT","ref_field":"MKPF-BUDAT","required":true},{"example":"ORGANIK","kind":"parameter","label":"Certificate type (batch characteristic value)","name":"P_CERT","ref_field":"AUSP-ATWRT","required":true},{"example":"IP-3020","kind":"select_option","label":"Raw material","name":"S_MATNR","ref_field":"MSEG-MATNR","required":false},{"example":"92","kind":"parameter","label":"Yield rate (%)","name":"P_YIELD","ref_field":"","required":false},{"example":"X","kind":"radio","label":"Batch chain view","name":"R_CHAIN","ref_field":"","required":false},{"example":"","kind":"radio","label":"Mass balance summary","name":"R_SUMM","ref_field":"","required":false}],"part_of":[],"performance":"First find the batches with a filled certificate characteristic in AUSP and read MSEG only for these batches and the period. For the production order link, read AFPO in bulk by order number; in S/4HANA the movement totals can be calculated in the database on MATDOC.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-certified-material-traceability","related":["mm-batch-shelf-life","mm-stock-aging","qm-customer-complaint-batch-trace"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists movements per batch; no balance by certificate type, no yield and no quota calculation.","tcode":"MB51"},{"note":"Shows the characteristics and certificate data of one batch; no batch chain and no mass balance.","tcode":"MSC3N"}],"summary":"A custom ALV report that traces the receipt of certified raw material such as organic, recycled or sustainable cotton, its consumption in production, the output of certified finished goods and their shipment to customers with batch and certificate data, and gives the period mass balance of receipts, consumption and sales. The quantity evidence and transaction certificate references requested in certification audits are prepared from one list.","tables":[{"access":"read","join_on":"","role":"Receipt (101), consumption (261/262) and sales (601) movements (driving table)","table":"MSEG","variant":"ecc"},{"access":"read","join_on":"","role":"In S/4HANA all movements are read from this table","table":"MATDOC","variant":"s4"},{"access":"read","join_on":"MKPF-MBLNR = MSEG-MBLNR AND MKPF-MJAHR = MSEG-MJAHR","role":"Posting date of the movement","table":"MKPF","variant":"ecc"},{"access":"read","join_on":"MCHA-MATNR = MSEG-MATNR AND MCHA-WERKS = MSEG-WERKS AND MCHA-CHARG = MSEG-CHARG","role":"Batch master","table":"MCHA","variant":"both"},{"access":"read","join_on":"AUSP-OBJEK = INOB-CUOBJ AND AUSP-KLART = '023'","role":"Certificate type, certificate and transaction certificate number (batch characteristics)","table":"AUSP","variant":"both"},{"access":"read","join_on":"CABN-ATINN = AUSP-ATINN","role":"Internal number of the certificate characteristics","table":"CABN","variant":"both"},{"access":"read","join_on":"AFPO-AUFNR = MSEG-AUFNR","role":"Production order item and the finished batch it produced","table":"AFPO","variant":"both"},{"access":"read","join_on":"LIPS-MATNR = AFPO-MATNR AND LIPS-CHARG = AFPO-CHARG","role":"Delivery items of the certified finished batch","table":"LIPS","variant":"both"},{"access":"read","join_on":"LIKP-VBELN = LIPS-VBELN","role":"Delivery header: customer and goods issue date","table":"LIKP","variant":"both"},{"access":"read","join_on":"Material = MSEG-MATNR AND Batch = MSEG-CHARG","role":"In S/4HANA it can be read for batch data with a clean core approach","table":"I_Batch","variant":"s4"}],"title":"Certified Raw Material (Organic or Sustainable Cotton etc.) Traceability and Mass Balance Report","url":"https://nekuhub.com/en/reports/certified-raw-material-traceability-and-mass-balance-report/","vendor_id":"nekudos"}