Below I have a pretty simple and straight forwards script for update Valid To date on Agreement/Contract in SAP.
My script runs fine but if the date I want to change