Checklist

Step 8: Playing the VBS script to enter the line items

To create a new P.O. and have the VBS script enter the line-item data for you, follow these steps:
1. Run transaction ME21N.
2. Enter a Vendor number.
3. Enter the Purchasing Group.
4. Click Customizing of Local Layout and select Script Recording and Playback.
5. Click Play and open the VBS script (e.g. PO-Script.vbs).


Open script window.

Alternatively, you can drag and drop the VBS script to the SAPGUI screen.

The result: all line-items entered automatically.


Purchase Order Line Items.


AUTOMATING LINE-ITEM DATA ENTRY VIA SAPGUI

 Home: Introduction
 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

This was first published in August 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: