Looking for something else?
"The control could not be found by id"
If you do, see the following possible causes:
1. The current SAPGUI screen does not the same windows (sections) used during the recording. Make sure that the header section is visible and that you have entered a vendor number and purchasing group.
2. The line item data is incorrect. Make sure that data can be validated. For example: the delivery data should not be in the past. The material group, plant and storage location should exist in the system.
3. The VBS script contains invalid GUI positions. Make sure that you don't have GUI positions out of boundaries.
AUTOMATING LINE-ITEM DATA ENTRY VIA SAPGUI
Step 1: Setting the stage
Step 2: Activating SAPGUI scripting
Step 3: Preparing the input data file
Step 4: Recording the data entry
Step 5: Analyzing the VBS script
Step 6: Automating the VBS script creation
Step 7: Running the VBS script program generator
Step 8: Playing the VBS script to enter the line items
Step 9: Troubleshooting
Review: Conclusion and more resources