Symptom
- Restriction for company code in the 'Manage Posting Periods – Cost Accounting' F4684 app is not working.
- Users can view all company codes in the app in particular in the value help.
- Users can select posting periods for company codes beyond the restricted one.
- The app does not enforce the maintained restriction fields in the business role.
- No error messages are displayed.
Environment
-
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a custom business role for the 'Manage Posting Periods – Cost Accounting' app.
- Maintain restriction fields under “General” such as Company Code/Ledger/Business Transaction Type (BUKRS_GLRLDNR_BTTYPE) and other relevant FAGL_* restriction fields.
- Set Company Code to a single value (for example, 1020).
- Log in with a user assigned to this role and open the app; observe that the user can still view and view posting periods for all company codes.
Cause
The app 'Manage Posting Periods – Cost Accounting' does not currently have the functionality to restrict company code from the value help via authorization restrictions based on user roles.
Although restricting the value help is not possible, it is possible though to restrict the output of the selection by company code using Company Code/Ledger/Business Transaction Type (BUKRS_GLRLDNR_BTTYPE) and other relevant FAGL_* restriction fields.
See example:
Resolution
The solution of this issue is currently under investigation. Please follow this KBA for updates.
See Also
refer to: Background of app Manage Posting Periods – Cost Accounting (Note 3027814)
fiori library: https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F4684')/S36
help documentation: https://help.sap.com/docs/SAP_S4HANA_CLOUD/0fa84c9d9c634132b7c4abb9ffdd8f06/044eb1694b564390a6479c62497b6bc1.html?version=LATEST&locale=en-US
Keywords
manage posting periods – cost accounting, authorization, restriction not working, company code, business role, BUKRS_GLRLDNR_BTTYPE, posting periods, cost accounting app, CO transactions, business transaction type, role restriction, view all company codes, not enforced, s4hana cloud, period control, F4684 , KBA , FI-FIO-GL-PER-2CL , Periodic Activities Applications in General Ledger (PubC) , Problem
SAP Knowledge Base Article - Public