I don't see the error message in the log column. But I think your issue is that it doesn't save after the loop finishes? Are you getting a Batch input error?
You can try to run your script in debug mode and see where the error actually occurs.
One possible issue is that after the loop finishes, your mapper's last screen is SAPDF05X-3100. But at the end of the loop, you actually end up on screen SAPMF05A-0710. I think this could be one root cause. Since it's ending on the wrong screen, it can't proceed. You can manually edit the screen name by double clicking on it.
You can also disable the Cursor Position after the Save, if that field doesn't exist on the screen.
If you still have trouble with the script, I'd recommend submitting a support ticket and they can help troubleshoot further.
------------------------------
Yoon Chung | SE
Winshuttle North America
------------------------------
Original Message:
Sent: 06-24-2021 11:56
From: Augusto Machado
Subject: FB05 - document with residual
Yoo, thanks for your tip, it did help. Now I'm getting an issue with looping that is not existing/ending, at the last line....Would you mind in take a look on the job that I'm attaching here?
------------------------------
Augusto Machado | Business process leader
Crown Equipment Corporation | 9377103534
------------------------------
Original Message:
Sent: 06-24-2021 11:25
From: Yoon Chung
Subject: FB05 - document with residual
Yes that makes sense. During the script recording, we recommend that you use the buttons or menu options in the SAP screen. Keyboard shortcuts don't always get recognized during recording.
It's possible that the 'Save' was recorded but hidden. Go to the View tab and select checkbox Disabled Fields. In expert view, scroll down towards the bottom and see if there's an OK code =BU. If there is, you can enable it.
If it's not there, then you can manually edit the mapper and add the 'Save' OK code. In the expert mapper view, you can copy one of the 'OK code' fields and paste it where you want to trigger the save. Then, change the value to '=BU'. That should perform the save in FB05.
------------------------------
Yoon Chung | SE
Winshuttle North America
Original Message:
Sent: 06-23-2021 22:09
From: Augusto Machado
Subject: FB05 - document with residual
Yes, and to be honest I think I'm ok with that portion now. The issue right now is the save button. When I record I do save the document by pressing CTRL+S. When I do the mapping, I don't see it as a field. Does this make any sense? How can I add manually the save command?
------------------------------
Augusto Machado | Business process leader
Crown Equipment Corporation | 9377103534
Original Message:
Sent: 06-22-2021 16:22
From: Yoon Chung
Subject: FB05 - document with residual
Hi Augusto, How do you enter the residual today in SAP? Are you searching for Open Items by document number and then entering amounts in another screen? - for example, see screenshot attached.
------------------------------
Yoon Chung | SE
Winshuttle North America