How can copy material to Single Value from Excel DataTable with UiPath?
I think it’s related to your previous question to copy excel range to SAP. Am I correct? if yes, have you tried the approach suggested on previous question and what was the outcome?
Hi @mnmohajeri
Could you please do the following:
- before you are copying the value to sap, can you please use log message activity to print that value. Please check if its the right value you are intending to copy to SAP.
- Have you tried entering that value manually in the SAP and check? Is the error still same? if yes, you would need to check with the business on the data/file that needs to be copied to SAP. If you are able to do it manually but not via UiPath, then there is a problem in your UiPath workflow.
Regards
Sonali
how are you trying to set the value?
better to assign the value to clipboard and then use keyboard shortcuts/send hotkeys to send ctrl+v to paste the data and dont send it to single cell but use the full window to send hotkeys
also while reading how are you reading the data?
cheers
Check if there is any trailing or leading spaces
Let try this,
You can use
-
Use Assign Activity ,
Material =
String.Join(Environment.NewLine & Environment.NewLine, DataTableName.AsEnumerable().Select(Function(row) row(“Material”).ToString())) -
Set to Clipboad Activity, Input = Material
-
Click Activity ( Upload from clipboad )
I can copy data from Excel manually but can’t do this with UiPath
use read range and then join the values with envionment.newline and assign to clipboard and send ctrl+v
cheers
I solved my problem by First or Last column activity.
Thanks all



