web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to populate tex...
Power Automate
Unanswered

Unable to populate text in SAP text box after enter the T-Code

(0) ShareShare
ReportReport
Posted on by

I am working on SAP process using PAD 

it is working till T-code entering after that I need to enter the text in fields but it is not working,

when I am spying the element it is getting some attributes but when I ran the flow it is giving error.

can you please help me on this issue.

 

Error Message :-  Failed to write in textbox (error while writing)

 

Error Details :-  Object reference not set to an instance of an object.: Robin.Core.ActionException: Failed to write in textbox (error while writing) ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Robin.DesktopAutomationCore.ElementSearchCriteria.SearchConditions.ElementTagCondition.IsSatisfied(IElement element)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Robin.DesktopAutomationCore.ElementRetraction.SearchCriteria.ElementSearchCriteria.Filter(List`1 elements)
at Robin.DesktopAutomationCore.ElementRetraction.ElementTreeWalker.FindInChildren(IElement element, LinkedListNode`1 searchCriteriaNode)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Robin.DesktopAutomationCore.ElementRetraction.ElementTreeWalker.GetMatchingElements()
at Robin.DesktopAutomationCore.ElementRetraction.ElementRetractor.RetractAllMatchingElements(Boolean singleResult)
at Robin.Plugin.Sap.SapAutomation.<>c__DisplayClass7_0.<RetractElement>b__0()
at Robin.UIAutomationCore.Utilities.Clock.Execute[T](Int64 maxMillisecondsToWait, Int32 step, Func`1 action, Func`2 successCondition)
at Robin.Plugin.Sap.SapAutomation.RetractElement(IntPtr windowHandle, String selector, Int32 millisecondsToWait)
at Robin.Modules.UIAutomation.Actions.AutomationRuntimes.SapAutomationRuntime.RetractElement[T](IntPtr windowHandle, String selector)
at Robin.Modules.UIAutomation.Actions.AutomationRuntimes.AutomationRuntimeBase.Execute[T](IntPtr windowHandle, String selector, Action`1 action)
at Robin.Modules.UIAutomation.Actions.AutomationRuntimes.AutomationRuntimeBase.PopulateTextFieldInWindow(IntPtr windowHandle, String selector, String text)
at Robin.Modules.UIAutomation.Actions.UIAutomationActionsDispatcher.PopulateTextFieldInWindow(Variant windowSelector, Variant textFieldSelector, Variant textToFillIn, Guid windowId, Int32 automationImpl)
--- End of inner exception stack trace ---
at Robin.Modules.UIAutomation.Actions.PopulateTextFieldInWindow.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard