Hi Ruud,
It's SAP thing - the messages are parameterized.
Please note sometimes more than the object number is parameterized. For Example & or &1 will return a document type and &2 would return the document number. So you will need to play around with it to return just what you want.
I use the same &1 for generated material for MM01 in an S4 system:

Other than that, you can put text in the message transforms, in addition to using the & , which means &1 or the first parameter or &2 etc.
It's a great pro tip I learned a few years after trying to use formulas to parse the output, which isn't ideal, especially if you have global users using different languages, and thus the SAP messages change.
Best Regards,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------
Original Message:
Sent: 02-28-2024 09:23
From: Ruud Wagenvoort
Subject: Winshuttle Pro Tips - Using Log Message Transformation and Document Attachment
In the video it's mentioned to use "&" to return solely the document number. What other option do we have here? Also, why is the option to use "&" in log message transformation not described anywhere in the Winshuttle documentation?
------------------------------
Ruud Wagenvoort
Process & Data Specialist Manufacturing
DSM
Original Message:
Sent: 05-10-2021 17:12
From: James Lofgren
Subject: Winshuttle Pro Tips - Using Log Message Transformation and Document Attachment
Hey everyone,
I created a quick tips and tricks video on using the Log Message Transforms and a new feature on the Document Attachment capabilities in Studio Manager and Evolve. You can check it out here: Winshuttle Pro Tips | Log Message Transformation and Document Attachment
| YouTube | remove preview |
 | | Winshuttle Pro Tips | Log Message Transformation and Document Attachment | | Learn tips and tricks from a Winshuttle pro to take advantage of some of the lesser known features in Winshuttle to streamline your document attachment proce... | | View this on YouTube > |
|
|
------------------------------
James Lofgren | Solution Engineer
Winshuttle North America | Bothell, WA |
------------------------------