Message type: E = Error
Message class:  CNV_PE - General messages for posting engine 
Message number: 797
Message text: Only fields of the data model root table and extension &1 are allowed
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message CNV_PE797 typically occurs during data migration or data transfer processes, particularly when using the SAP S/4HANA Migration Cockpit or similar tools. This error indicates that there is an issue with the data being processed, specifically that only fields from the root table of the data model and its extensions are allowed in the context of the operation being performed.
Cause: Invalid Field Mapping: The error often arises when the data being imported or processed includes fields that are not part of the defined root table or its extensions. This can happen if the data source includes additional fields that are not recognized by the target data model. Incorrect Data Structure: The structure of the data being migrated may not align with the expected structure defined in the migration cockpit or the data model. This can occur if there are discrepancies in the data schema.
Configuration Issues: There may be configuration
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
CNV_PE796 Sender parameter &1 is not allowed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CNV_PE795 Nested structure must have the same sender as its parent parameter
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CNV_PE798 Importing parameter &1 of TRule &2 is not defined for TRFM parameter &3
What causes this issue?  Parameter assignment is missing for transformation rule &V2&System Response  ErrorHow to fix this error?  Go to the f...
CNV_PE799 Status update failed for worklist item &1
What causes this issue?  An exception occurred while trying to update the status of worklist item &V1&System Response  Error: The exception te...
Click on this link to search all SAP messages.