Hello All
I created Script which can add up to 3 new Freight Conditions on selected PO line. I used ME22 instead of ME22N as it was easier for me. My script enters 1 line at a time. So If I have to inject freight conditions to other PO lines, script goes again, opens PO, selects another line, adds freight conditions and exits and so on. I am not using LOOP option, as data formating for it would be too much time consuming.
However despite that Gui scripting is slower than other types, sometimes it is fast enough to get an error(I am E38052):
So not always but sometimes despite exiting previously from PO and opening it again, it is still locked by myself. Can something be done here to solve this? Or rather shall I just remove such errors from log and run script again with "Unprocessed Only" ? Thanks for all ideas upfront!
------------------------------
Robert Dudziak | Senior Procurement Operations Analyst
Kimberly-Clark Corporation |
------------------------------