Symptom
- An error occurs when creating a purchase requisition with account assignment Q for a stock project. The system derives a G/L account using the posting key 'GBB' when the account from stock account 'BSX' is expected.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a purchase Requisition using the Purchase Requisition – Advanced webgui tile (ME51n) or APP Manage Purchase Requisitions – Professional.
- Create a new item with account assignment category Q (project stock).
- Enter material, plant, storage location, and purchasing group.
- In Account Assignment, enter a WBS element.
- Observe the G/L account proposed is sometimes GBB and sometimes BSX for different WBS elements in different plants.
Cause
- For account assignment Q, the transaction key used for account determination depends on whether the WBS element is valuated or not valuated project stock (PRPS-KZBWS).
Generally:
If the WBS element 'Valuation of Special Stock' (KZBWS) indicator is set, the system uses transaction key BSX (stock).
If the WBS element 'Valuation of Special Stock' (KZBWS) indicator is NOT set, the system uses transaction key GBB (offsetting inventory).
Note:
In the account determination, the 'Valuation of Special Stock' (KZBWS) indicator can be cleared if the material type is not set for quantity and value updating in the relevant plant.
In this case, even although the WBS element is valuated, the system switches to a non-valuated posting and derives the GL Account using transaction key GBB.
Resolution
- Verify that the WBS element used for account assignment Q is set as valuated project stock or not.
- Check the material type settings for the material in the plant, check if the material type is relevant for quantity and value updating. (Configuration 'Define Attributes of Material Types' (SSCUI 103539)
- Review the setting for the GBB and BSX transaction keys in configuration node 'automatic account determination' (SSCUI 100297)
Keywords
account assignment category Q, project stock, purchase requisition, wrong gl account, expense account determined, stock account missing, fins_acdoc_post000, ktosl bsx, katyp cannot be 01, account determination, obyc, sscui 100297, bsx vs gbb, valuated wbs, kzbws prps-kzbws, SIMG_CFMENUOLMSOMS2, OMS2, 'Define Attributes of Material Types' SSCUI 103539 T163K , KBA , MM-PUR-REQ-PRF-2CL , Manage Purchase Requisitions – Professional (Public Cloud) , MM-PUR-REQ-2CL , Purchase Requisitions (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public