Symptom
When performing batch determination, the following error message is raised:
- No batches/stocks were found - (Batch) determination is performed online
Message no. LB025
When selecting the "Log..." button, the same error message appears, and no additional details are displayed.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Perform batch determination (automatically or manually) for a material.
- No batches are determined.
- Error message LB025 is displayed: “No batches/stocks were found – (Batch) determination is performed online”.
- Opening the "Log..." button shows no additional information.
Cause
The error occurs because batch determination was performed online, and the system did not find any batches that meet the defined selection criteria.
When batch determination is performed online, the log does not contain detailed information, which is why the “Log…” button does not show further details.
Resolution
To analyze why batch determination did not find any batches, a detailed batch determination log is required.
To enable this:
- Go to the Search Strategy settings.
- Activate the “Dialog Batch Determination” flag.
Enabling this option forces batch determination to run in the foreground, ensuring that the system generates a detailed batch determination log.
This log allows to review how the system processed the selection criteria and why no batches were selected.
Keywords
KBA , LO-BM-BD-2CL , Batch Determination (Public Cloud) , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public