Do you have any question about this error?
Message type: E = Error
Message class: PG - Error Messages for Master Data Programs
Message number: 821
Message text: You are not allowed to specify a key word
A key word can only be specified for display types 'TXT' and 'TXD'.
Choose a different display type or delete the key word. SAP recommends
that you do not use key words, if possible. Instead, you should always
use display types 'DD1', 'DD2', 'DD3' and 'DD4'.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
PG821
- You are not allowed to specify a key word ?The SAP error message PG821, which states "You are not allowed to specify a key word," typically occurs in the context of SAP's programming environment, particularly when dealing with ABAP (Advanced Business Application Programming) or when working with certain configuration settings.
Cause:
This error usually arises due to one of the following reasons:
- Authorization Issues: The user may not have the necessary authorizations to use certain keywords or functions in the SAP system.
- Incorrect Syntax: The code or configuration being executed may contain syntax that is not allowed or is incorrectly specified.
- System Settings: Certain system settings or configurations may restrict the use of specific keywords or parameters.
Solution:
To resolve the PG821 error, you can take the following steps:
Check Authorizations:
- Ensure that the user has the necessary authorizations to perform the action that is causing the error. This may involve checking roles and permissions in the user profile.
Review Code or Configuration:
- If the error occurs in ABAP code, review the code for any incorrect usage of keywords. Ensure that all keywords are used correctly according to the ABAP syntax rules.
- If the error occurs in a configuration setting, verify that the settings are correct and do not include any restricted keywords.
Consult Documentation:
- Refer to SAP documentation or help resources for guidance on the specific context in which the error occurs. This can provide insights into allowed keywords and configurations.
Contact SAP Support:
- If the issue persists and you cannot identify the cause, consider reaching out to SAP support for assistance. They can provide more detailed insights based on the specific system configuration and version.
Related Information:
By following these steps, you should be able to identify the cause of the PG821 error and implement a suitable solution.
Get instant SAP help. Start your 7-day free trial now.
PG820
Infotype entry missing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
PG819
Error in header &1 transaction class &2
What causes this issue? Header &V1& of transaction class &V2& is incorrect.System Response How to fix this error? Please contact you...
PG822
Incorrect characters in header modifier
What causes this issue? When the header modifier was specified, a prohibited character was used. Please note that blank characters in particular are ...
PG823
Incorrect character in numeric key
What causes this issue? A numeric entry contains characters that are not digits. Please note that blank characters are not allowed in numeric entries...
Click on this link to search all SAP messages.