SAP Documentation Policy Level (v1.0) DRAFT
Description
This policy level builds on SAP Base v1 and inherits all its expectations.
It defines the rules and guidelines for human-readable descriptions within metadata formats. More specific rules and guidelines MAY be applied on top in a particular product line.
Title Constraints
Title length limit
All title values MUST NOT exceed 120 characters.
Forbidden status terms in titles
All title values MUST NOT contain the term "Deprecated" or "Decommissioned". Use releaseStatus to indicate this instead, if available.
Title charset
All title values SHOULD use the following charset.
| Chars | Description |
|---|---|
A-Z, a-z | Latin letters |
0-9 | Numbers |
| Space |
- — – | Different hyphens |
, | Comma |
( ) | Parentheses |
Title charset
package title values SHOULD use the following charset, which adds the forward slash (/) to the general title charset.
| Chars | Description |
|---|---|
A-Z, a-z | Latin letters |
0-9 | Numbers |
| Space |
- — – | Different hyphens |
, | Comma |
( ) | Parentheses |
/ | Forward slash |
Discouraged terms in titles
All title values SHOULD NOT contain the following terms.
| Term | Description |
|---|---|
createreaddeleteupdate | Operation words |
v1, v2, etc. | Versions |
Specially approved terms in titles
All title values MAY use the following specially approved terms.
| Approved Term | Description |
|---|---|
S/4HANA | Approved product name |
country/regionCountry/Region | Approved name |
G/L | General ledger. Approved abbreviation. |
Description Constraints
Description must not repeat the short description
All description values MUST NOT contain the short description.
They are complementary to the short description and should not just be a longer replacement.
Description length limit
The description MUST NOT exceed 4000 characters.
In general, more extensive documentation SHOULD NOT be put into the description but instead be added as (typed) links.
Short Description Constraints
Short description length limit
All shortDescription values SHOULD NOT exceed 180 characters.
Short description must not repeat the object name
All shortDescription values MUST NOT repeat or start with the object name.
Short description charset
All shortDescription values SHOULD use the following charset.
| Chars | Description |
|---|---|
A-Z, a-z | Latin letters |
0-9 | Numbers |
| Space |
_ | Underscores |
- — – | Different hyphens |
. | Fullstop (Period) |
, | Comma |
( ) | Parentheses |
's | Possessive apostrophe for nouns |
s' | Possessive apostrophe is added to plural proper nouns that ends in s |
Specially approved terms in short descriptions
All shortDescription values MAY use the following specially approved terms.
| Approved Name | Description |
|---|---|
S/4HANA | Approved product name |
country/regionCountry/Region | Approved name |
G/L | General ledger. Approved abbreviation. |
Context Specific Policies
API Compatibility rules
For setting and incrementing API versions and major versions, the SAP API Compatibility rules MUST be followed.
Keep existing x-sap- OpenAPI extensions
For OpenAPI documents which are already published on Business Accelerator Hub, the existing x-sap- extension properties MUST be kept even if the information is now also in the ORD Document. This is to not break end-consumers that only have access to the OpenAPI file. We MAY remove this requirement in the future, by automatically post-processing the ORD information into the OpenAPI files centrally (feature request).
Misc Constraints
Deprecation date for deprecated resources
If an API or event resource has been deprecated, the deprecationDate MUST be provided.
Applies when: the API or Event Resource has been deprecated
Changelog entry for release status changes
For all releaseStatus changes, a changelog entry SHOULD be created.
Recommended taxonomy values
For the taxonomy properties lineOfBusiness and industry: Only the recommended values MUST be chosen.