|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Create Test script to create a Sales Order
By Rama Jyothi P
This document details on how to create a Test Script to Create
a Sales Order. We can call this script as Unit Script as it deals with a
single transaction. If the script is a combination of multiple unit scripts then
we can call it as an Integration Script.
the steps to follow.
Step 1: Go
to transaction SECATT
Radio Button Test Script and give some name like ZSD_CREATE_SALESORDER_TS (In
general we will follow the naming convention Z<module>_desc. of script_TS
(TS for test script)).
create button as shown in above screen shot.
Step 2: In
the next screen give some description for the Script. Also specify a Component.
We can choose the area related to the transaction we are using from F4 help. In
this case I have chosen Sales Orders component.
specify a System Data container (not mandatory). We can choose one of the
options from F4 help.
the script. Save as Local Object.
Now select the tab Editor.
proper comments and place the cursor in the next line and click the button as
shown in the below screen shot.
Or we can
choose Pattern and use SAPGUI REC (SAPGUI
pop-up will come. Un-check Manual Generation and check other check boxes.
in the below pop-up.
message will come in the status bar.
generate a new Session.
Wait for a while. The below pop-up will come.
and wait for the below pop-up to come.
pop-up as it is and go to the new session created.
Enter the T-Code and press Enter.
Enter the below details and press Enter.
Enter the below header details (before you are recording try to create one Order
manually and note down all the mandatory and other useful fields and note the
values. Then create the recording using SECATT. This will save us lot of time.
If we encounter any errors while recording the eCATT, we have to re-record the
and press Enter.
Now we need to fill item details. At anytime try to use only one item as it will
simplify parameters list and is less prone to errors.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards