Hello All!
I was wondering if anyone has been able to do something like this and are willing to share.
We are on Studio/Transaction (we are currently on 11.2.18), but not sure if that matters.
I have a SAP T-Code that contains a table that I would like the script to determine the variable number of rows to update and make an same update to all those rows.
My example is for ME22N, there are a variable amount of Items/Materials that I need to update the Delivery Date & Time with the same Date/Time for all the items in the PO. To update the Time, I need to select each row and open the Item details to get to the Time field, but I would need to know each material and have that on my data file to update them all. My hope is to only need the PO number, Date and Time fields on the data file, where the script would go in and make that same adjustment to the Date and Time fields for all the Items/Materials that exist.
Loops need a Header/Detail line on the data file, but the hope was to not need this, or at the very least, have 1 H (for the PO) and 1 D (for the Date/Time). I quickly looked at GUI Script around Index SAP field, but I still need to have the script update all the Item rows where I do not want a user to have to know and add to the data file. This could be for any T-Code with a table that has a variable number of rows (like MM02 UOM as another example if I wanted to update all the Alt UOM row's Numerators to 2 - never would happen, but same concept)
Everything I come up with is I will have to bring a Query into play, but I wanted to see if anyone else came across this before.
Thanks!
------------------------------
Scott Gorski
General Mills | Data Analyst
------------------------------