Symptom
Error message The requested data was not found is displayed when copying a project using app 'Project Control - Enterprise Projects', preventing the user from finishing the operation.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open app Project Control - Enterprise Projects and search for a project;
- Select the project > click on Copy;
- Fill the mandatory fields (Project Name, Project ID and either the Planned Start or Planned Finish);
- When confirming the Copy operation, message 'The requested data was not found' will be displayed.
Cause
There is a Custom Logic implemented in the system, which is blocking the Copy action.
During a Copy, a new project in Draft status is generated from the source project. Then, the user is redirected to a New Project page for further configuration.
However, there are scenarios in which a Custom Logic is implemented in the system, aiming to prevent a project from being created if a specific field/property is not maintained, for instance.
When a Custom Logic prevents a project from being copied, the first stage of the operation is blocked, but the logic itself will not prevent the system from navigating to the New Project page.
Therefore, the data related to the new project won't be found, leading to the 'The requested data was not found' error message.
Resolution
The code of the Custom Logic has to be reviewed, to ensure that the validations are working as expected.
If the validation is correct, it is necessary to maintain the field/property required by the Logic in the source project, so that the Copy operation can be completed.
See Also
Further information on Custom Logics can be found in the following link:
Keywords
S/4HANA Cloud, project, project control, enterprise project, copy, error, the requested data was not found, field, property, logic, custom logic, badi , KBA , PPM-SCL-STR-FIO , Fiori UI for Project Structure (Public Cloud) , Problem