{"audience":"Project controllers, warehouse and inventory control teams, project offices responsible for project close-out.","authorization_objects":[{"note":"Project display authorization by controlling area","object":"C_PROJ_KOK"},{"note":"Goods movement authorization by plant (for transfers started from the report)","object":"M_MSEG_WWA"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"The default version only reads and gives a suggestion. Optionally it can be extended to post the 411 Q or 415 Q transfer for selected lines from the report with BAPI_GOODSMVT_CREATE.","q":"Does the report post the stock transfer itself?"},{"a":"With valuated project stock the value is kept in QBEW per WBS element and a transfer creates an accounting entry. With non-valuated stock the cost was already posted to the project at goods receipt; the report then shows a value with the MBEW price for information only.","q":"What is the difference between valuated and non-valuated project stock?"},{"a":"Yes. MSPR and QBEW are read as compatibility views in S/4HANA and the MSEG read works through MATDOC; the PS status tables do not change.","q":"Does the report 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":"The WBS element opens CJ20N, the material opens MMBE and the last movement opens MB51."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""},{"code":"email","label":"Send the result by email","note":"Each project manager can receive the stock list of their own closed projects monthly."}],"functions":[],"gap":"MB52 and MMBE show project stock by WBS element but do not know the WBS status (TECO, CLSD) or the status date; CN41N shows the status but not the stock. Material forgotten on closed projects therefore stays in project stock for years, and with valuated project stock its value stays tied to the closed project.","id":"ps-project-stock-on-completed-wbs","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Special stock Q records are read from MSPR; those with unrestricted (PRLAB), quality (PRINS) or blocked (PRSPE) quantity above zero remain.\n2. The WBS element is read from PRPS with MSPR-PSPNR and the project from PROJ. Active TECO (I0045) and CLSD (I0046) statuses are read from JEST and the date the status was set (UDATE) from JCDS; WBS elements without one of the selected statuses are excluded.\n3. Value: for valuated project stock QBEW-SALK3 ÷ QBEW-LBKUM × quantity; for non-valuated project stock the MBEW price (STPRS or VERPR ÷ PEINH) is used.\n4. The last movement date is the latest MSEG-BUDAT_MKPF for the same material, plant and WBS element (MAT_PSPNR, SOBKZ = Q). Days since status = key date − JCDS-UDATE.\n5. Suggestion rule: blocked quantity leads to review or scrapping, an open project needing the same material leads to transfer to another project (415 Q), all others to moving into own stock (411 Q). Lines below the minimum value can be hidden.","module":"PS","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Project","source_field":"PSPID","source_table":"PROJ"},{"calculated":false,"formula":"","label":"WBS element","source_field":"POSID","source_table":"PRPS"},{"calculated":false,"formula":"","label":"WBS description","source_field":"POST1","source_table":"PRPS"},{"calculated":true,"formula":"Active TECO or CLSD status in JEST","label":"WBS status","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Status date","source_field":"UDATE","source_table":"JCDS"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"MSPR"},{"calculated":false,"formula":"","label":"Storage location","source_field":"LGORT","source_table":"MSPR"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"MSPR"},{"calculated":false,"formula":"","label":"Description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Unrestricted qty","source_field":"PRLAB","source_table":"MSPR"},{"calculated":false,"formula":"","label":"Blocked qty","source_field":"PRSPE","source_table":"MSPR"},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"MARA"},{"calculated":true,"formula":"QBEW-SALK3 ÷ QBEW-LBKUM × qty (MBEW price × qty if non-valuated)","label":"Stock value","source_field":null,"source_table":null},{"calculated":true,"formula":"Latest MSEG-BUDAT_MKPF (SOBKZ = Q, same WBS)","label":"Last movement","source_field":null,"source_table":null},{"calculated":true,"formula":"Key date − JCDS-UDATE","label":"Days since status","source_field":null,"source_table":null},{"calculated":true,"formula":"Review/scrap if blocked, 415 Q if another project needs it, otherwise 411 Q","label":"Suggestion","source_field":null,"source_table":null}],"parameters":[{"example":"P-25-0088","kind":"select_option","label":"Project definition","name":"S_PSPID","ref_field":"PROJ-PSPID","required":false},{"example":"P-25-0088-03","kind":"select_option","label":"WBS element","name":"S_POSID","ref_field":"PRPS-POSID","required":false},{"example":"1100","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"MSPR-WERKS","required":true},{"example":"RM-2040","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MSPR-MATNR","required":false},{"example":"X","kind":"checkbox","label":"Technically completed (TECO) WBS elements","name":"P_TECO","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Closed (CLSD) WBS elements","name":"P_CLSD","ref_field":"","required":false},{"example":"100","kind":"parameter","label":"Minimum stock value to show","name":"P_MINVAL","ref_field":"","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date","name":"P_KEYDT","ref_field":"SY-DATUM","required":true}],"part_of":["ps-project-closing-pack"],"performance":"MSPR is usually a small table; MSPR is read first and the WBS list is derived from it. The last movement read in MSEG is done only for the listed material and WBS pairs.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=ps-project-stock-on-completed-wbs","related":["mm-stock-aging","ps-closed-wbs-unsettled-balance"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists project stock by WBS element; has no WBS status or status date.","tcode":"MB52"},{"note":"Shows the project stock of one material; cannot find closed projects collectively.","tcode":"MMBE"}],"summary":"A custom ALV report that lists project stock (special stock Q) still sitting on technically completed (TECO) or closed (CLSD) WBS elements with material, storage location, quantity, value, last movement date and days since the status was set. It gives a suggestion for every line: move to own stock, transfer to another project or scrap.","tables":[{"access":"read","join_on":"","role":"Project stock: material, plant, storage location, WBS, unrestricted and blocked quantity (driving table)","table":"MSPR","variant":"both"},{"access":"read","join_on":"PRPS-PSPNR = MSPR-PSPNR","role":"WBS element: external number, description, object number","table":"PRPS","variant":"both"},{"access":"read","join_on":"PROJ-PSPNR = PRPS-PSPHI","role":"Project definition","table":"PROJ","variant":"both"},{"access":"read","join_on":"JEST-OBJNR = PRPS-OBJNR","role":"WBS system status (TECO, CLSD)","table":"JEST","variant":"both"},{"access":"read","join_on":"JCDS-OBJNR = PRPS-OBJNR AND JCDS-STAT = JEST-STAT","role":"Date the status was set","table":"JCDS","variant":"both"},{"access":"read","join_on":"QBEW-MATNR = MSPR-MATNR AND QBEW-BWKEY = MSPR-WERKS AND QBEW-PSPNR = MSPR-PSPNR","role":"Valuated project stock: quantity and value","table":"QBEW","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = MSPR-MATNR AND MBEW-BWKEY = MSPR-WERKS","role":"Material price for non-valuated project stock","table":"MBEW","variant":"both"},{"access":"read","join_on":"MSEG-MATNR = MSPR-MATNR AND MSEG-WERKS = MSPR-WERKS AND MSEG-MAT_PSPNR = MSPR-PSPNR","role":"Last project stock movement","table":"MSEG","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MSPR-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"MARA-MATNR = MSPR-MATNR","role":"Base unit of measure","table":"MARA","variant":"both"}],"title":"Project Stock Left on Technically Completed or Closed WBS Elements Report","url":"https://nekuhub.com/en/reports/project-stock-left-on-technically-completed-or-closed-wbs-elements-report/","vendor_id":"nekudos"}