Do you have any question about this error?
Message type: E = Error
Message class: /SCMTMS/FAG_MSG -
Message number: 345
Message text: Cannot run optimizer; execution of historical spend report not finished
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.
/SCMTMS/FAG_MSG345
- Cannot run optimizer; execution of historical spend report not finished ?The SAP error message
/SCMTMS/FAG_MSG345
indicates that the optimizer cannot run because the execution of the historical spend report has not been completed. This error typically occurs in the context of SAP Transportation Management (TM) when there is a dependency on the completion of a report or process before the optimizer can be executed.Cause:
- Pending Report Execution: The historical spend report is still running or has not finished processing. The optimizer requires the data from this report to function correctly.
- Long Processing Time: The historical spend report may take a long time to execute due to large volumes of data or system performance issues.
- System Locking: There may be a locking issue where the report is being executed by another user or process, preventing the optimizer from starting.
Solution:
Check Report Status:
- Go to the transaction code for monitoring background jobs (e.g.,
SM37
) and check if the historical spend report is still running. If it is, wait for it to complete.- If the report has failed, investigate the error and resolve it before attempting to run the optimizer again.
Terminate Long-Running Jobs:
- If the report is taking too long and you suspect it is stuck, you may need to terminate the job. Be cautious with this step, as it may lead to data inconsistencies if not handled properly.
Review System Performance:
- Check the system performance and resources. If the system is under heavy load, consider scheduling the report execution during off-peak hours.
Retry the Optimizer:
- Once the historical spend report has completed successfully, try running the optimizer again.
Consult Logs:
- Review the application logs for any additional error messages or warnings that could provide more context about the issue.
System Configuration:
- Ensure that the system is properly configured for running both the historical spend report and the optimizer. This includes checking for any necessary authorizations or settings.
Related Information:
SM37
(Job Monitoring), SLG1
(Application Log), and /SCMTMS/OPTIMIZER
(Optimizer Execution).If the issue persists after following these steps, consider reaching out to your SAP support team or consulting with SAP support for further assistance.
Get instant SAP help. Start your 7-day free trial now.
/SCMTMS/FAG_MSG344
Organizational unit &2 does not exist in client &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SCMTMS/FAG_MSG343
Cannot run historical spend report for more than one item simultaneously
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/SCMTMS/FAG_MSG346
Run historical spend report for strategy
What causes this issue? The system issues an error message and will not allow you to continue with this transaction until the error is resolved. Syst...
/SCMTMS/FAG_MSG347
Historical spend report running in background for strategy
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.