Symptom
Is there an API or CDS view to get the Posting Period information in S/4HANA Cloud ?
Environment
SAP S/4HANA Cloud Public Edition
Resolution
- CDS view I_COMPANYCODEPERIOD is provided to get the current period, previous period and the last period in previous fiscal year.
- An API and Entity to retrieve Current and Previous Posting Period is not available on the SAP API HUB or the SAP S/4HANA Cloud Help Portal Documentation.
- Alternatively, it is possible to use the frontend app 'Allow Posting to Previous Period' to get the current and previous period posting information for a Company Code.
Keywords
'Allow Posting to Previous Period', "Company Code", CDS, I_COMPANYCODEPERIOD, MMRV, posting period , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , LO-MD-MM , Material Master , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public