cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Set Kanban Container Status - Batch number

MonikaKeblovska
Participant
0 Kudos
330

Hi SAP gurus,

we use Batch number in app Set Kanban Container Status. There are more possibilities how to add batch. It can be put manually / but we need to know batch number or we can scan it, or search it:

1. we want to scan batch number - our QR code format is SAPnumber_batch. How to define scanner for reading only batch ? For example: 123456_batch1 - we need to scan only batch1.

2. in search field for batch are displayed all batches for search material - how we can define that there are displayed only batches with stock quantity ?

Thanks for support 🙂

Accepted Solutions (0)

Answers (1)

Answers (1)

Dave_He
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @MonikaKeblovska 

Thanks for your question,  I can provide some guidance on how to address your requirements for handling batch numbers in the "Set Kanban Container Status" app.

1.Scanning Batch Number from QR Code. To scan only the batch part of your QR code (e.g., "123456_batch1" where you need "batch1"), you can use a custom script or middleware to parse the QR code before it is sent to SAP. Here’s a general approach: 

  • 1. QR Code Parsing Middleware: Implement a middleware that intercepts the QR code scan, extracts the batch part, and then sends only the batch number to SAP. Example: If you are using a mobile device, you can use a mobile app or a custom script that reads the QR code, splits the string by the delimiter (e.g., "_"), and extracts the batch part.
  • 2.Custom Input Field: If you are using a custom input field in SAP, you can add a script to the input field to automatically parse the QR code and extract the batch number.

2. Displaying Only Batches with Stock Quantity: To ensure that only batches with stock quantity are displayed in the search field, you can configure the search help (like F4 help) to filter out batches with zero stock. Or you may also Implement a user exit or Business Add-In (BAdI) to modify the search help behavior.  - Example: Use the BAdI `BADI_MATERIAL_SEARCH` to enhance the material search functionality and add a filter for stock quantity.

These are general guidelines and examples. Hope it can help.

Best Regards

Dave