Hi Kevin -
I thought the file you would send would be different than the one that Sigrid originally replied to, but the error is the same. The issues are still the same. The screen numbers in your script indicate it was recorded in non-batch mode instead of batch mode. So when it's run in batch mode, it doesn't have the right screen numbers (they are different between batch and non-batch for this t-code). It needs to be recorded in batch mode to reflect the correct screen numbers. In addition, even the ok-code for adding a new item is different between the modes.
I've updated the script accordingly with the batch mode based screen numbers and ok codes. Also, an additional header screen was still missing. I have added it, but placed a skip in case your system does not produce it. As Sigrid had mentioned in her reply, there was also an incorrect ERFA ok-code which has been changed to a /00.
Thank you.
------------------------------
JENNIFER HWANG | SE
Winshuttle North America
------------------------------
Original Message:
Sent: 11-05-2020 07:16
From: Kevin Simard
Subject: CS01 Scripting issues
Hello Jennifer -
Here is the latest files. The script seems to be stopping at the initial screen for CS01. There is a warning message in SAP (Yellow message) that it seems to be getting stuck on.
Thank you for the help.
------------------------------
Kevin Simard | Manager DMO COE
Kraft-Heinz | 412-456-1031
Original Message:
Sent: 10-29-2020 17:15
From: JENNIFER HWANG
Subject: CS01 Scripting issues
Hi Kevin -
Not sure why, but your script was missing a screen. There's a second BOM Header screen that shows up ("Additional Data") and for whatever reason it was not in your script at all. I've added it so you should be good to go, for at least that No batch input data for screen (SAPLCSDI 0111 BOM Header: Additional Data) error goes.
Thank you!
------------------------------
JENNIFER HWANG | SE
Winshuttle North America
Original Message:
Sent: 10-29-2020 16:53
From: Kevin Simard
Subject: CS01 Scripting issues
Thank you. I did try in Batch and still had the issue. Any help would be greatly appreciated.
------------------------------
Kevin Simard | Manager DMO COE
Kraft-Heinz | 412-456-1031
Original Message:
Sent: 10-29-2020 16:32
From: JENNIFER HWANG
Subject: CS01 Scripting issues
Hi Kevin -
I have the most luck recording CS01 in batch recording mode. It works just fine, although during the recording the transaction does behave a bit differently showing extra screens, but creates all the same information. Do you have a batch version that you have tried? Feel free to send along the script and the excel file.
Thank you!
------------------------------
JENNIFER HWANG | SE
Winshuttle North America
Original Message:
Sent: 10-29-2020 15:01
From: Kevin Simard
Subject: CS01 Scripting issues
I am attempting to create a script for CS01. On the BOM header screen the Base Quantity field is a required field. When the screen first opens the cursor goes to that field and I get a error saying the field is required. I populate the field and then go through and finished adding the components and all necessary fields. When I test the script it stalls at the field. I have tried running the script in different mode and creating in different modes (all except GUI scripting so far) and nothing seems to work. Any suggestions or thoughts?
------------------------------
Kevin Simard | Manager DMO COE
Kraft-Heinz | 412.456.1031
Kevin.Simard@kraftheinz.com
------------------------------