Hi, SAP community.
I’m working on an automation project and need your help to solve a specific challenge. Here’s the context and my question:
Project context
- I’ve created a schema to extract data from invoices in PDF format.
- The data extraction is working correctly.
My current challenge
After the data extraction, I need to:
- Detect the invoice number within the extracted data.
- Verify that the invoice number follows a specific format:
- 3 letters
- 1 hyphen
- 4 numbers
For example, a valid invoice number would be: ABC-1234
My question
Could anyone guide me on the best way to implement this invoice number format verification within the automation flow in SAP?
I would appreciate any advice, code examples, or references to resources that could help me accomplish this task.
Thank you in advance for your help!