Hello, Is there a script that can be created for me for ME38?I would like the script to change the delivery date with the user requirement of the agreement document number, the item number, and the schedule line number?Thank you in advance,Kam
Hi KamThe community is a place to post questions and receive tips. Can you please try to create the script based on tip you received in another post you made to use the item number to find the row and then make the update? Then if you have questions or run into issues, you can post them here. You can also check out the Precisely university for online courses, if you need help getting started here: https://preciselyu.precisely.com And, you can look at example scripts in the SAP Module Templates community - you can join it on this site. Best Regards,Sigrid
Hi KamYou private messaged me for the script, and we don't provide private help on this site. You can contact your account rep for options for private assistance.I can give you the steps to follow to record it.(1) enter agreement number and hit enter(2) enter item number on bottom and hit enter(3) select the row and click schedule lines icon - it will be the first row(4) enter schedule line number and hit enter(5) update values in row 1, which is where it will be positioned. Make sure you change something for all the fields you want to capture, or it won't be captured.(6) hit back(7) hit save(8) Go to Expert View in the mapper and put a loop around the lines from the first item number entry (step 2) through the BACK (step 6)(9) Put a nested loop around the schedule line number entry (step 4) and subsequent change of those values (step 5) - omit the BACK (step 6) from this loopMap fields and validate/run.Best Regards,Sigrid
Thank you for your response and help. Your steps 4 & 5 are where I am running into issues creating a script. We are looking to validate column "schedule line" to modify the correct delivery date line. However, the "schedule line" column is not an editable field. Is there a way to validate on a non-editable field with one of the WinShuttle template functions? I am trying to use the transaction (record) function; However, should I be using the query or direct functions?
Or is this not possible?
You cannot change a field that is read only in SAP.
You can only use the schedule line in the lower section you have highlighted to position to the right schedule line. That's where you enter the schedule line #.
In other words, you cannot change the schedule line number (it's read only), only use it to position to the right one.
Then once it's positioned (it will move it to be the top row), and you can edit the date or quantity, etc, but only fields that are editable - not read only fields.