Hi all,
I’m new here and I have a question: how can I get information about materials or index of a row in SAP table when encountering an error? Thank a lot.
Hi @ToTo_1103 Welcome to UiPath Forum
You can use Read Status Bar Activity to get the error message. In Your case Invalid Date. You can store the error message in output variable in Message Text

Thank you for your response. So is there any way for me to get the Material code or index of a row ? Because Str_ErrorMsg returns the value “invalid date”. I want to know the Material code to write it in an Excel file.
There are multiple ways to get the Material Code If Error Message is There. You can use Get Text like this or

Use table extraction to extract the whole table values & then get the material Code
Put a condition like if Error message is there fetch the Material code using above methods.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

