|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
eCATT - Integration script to create a sales order as well as delivery
By Rama Jyothi P
This document details about how to create an Integration
Script to Create a Sales Order as
well as Delivery. As this script is associated with more than one
transaction we are calling it as an Integration Script. With the integration
test script we can test the business scenarios like Sales process (Create Order,
Release Order, Create delivery, Pick & Pack, PGI, Invoice creation, Release
invoice). We can enhance this Integration script for Creating Billing Document
and other unit scripts based on our requirement. There is no restriction on the
number of unit scripts to be used in an Integration Script.
starting development of this script first you must develop 2 unit scripts. One
is for Creating Sales Order (VA01) and other is for Creating Delivery (VL01N)
with the Sales Order reference. To create a test script, you can refer to:
not create Test Data and Test Configuration for the above Unit Scripts. Because
we will run those scripts using Integration Script.
Here I am
considering the Unit Scripts as below.
Sales Order – YSD_CREATE_SALESORDER_TS
the steps to follow.
1: Go to transaction
Radio Button Test Script and give some name like YINT_VA01_VL01N_SALESCYCLE_TS (In
general we will follow the naming convention Z/Y-INT_first 2 tcodes used_desc.
of script_TS (TS for test script)).
create button as shown in above screen shot.
2: In the next
screen give some description for the scenario and also specify related
component. We can choose the area related to the transaction we are using from
F4 help. In this case I have chosen Sales component.
the script as local object or use the relevant package.
3: Now select the
proper comments and place the cursor in the next line and click the button
”Pattern” as shown in the below screen shot.
4: The below pop-up
will come and choose command REF.
test script name give the ‘Sales Order’ script name and press enter, system
will propose the interface name (if you want you can change the interface name)
and press enter.
script will look like this.
5: In the REF
command first parameter is script name and second one is Interface for that
click on the interface name YSD_CREATE_SALESORDER_TS_1. (We can give this name
as our wish in the step 4).
screen will look like this.
6: Double Click on
show all the Importing parameters in “Sales Order” script.
parameters in integration script and link those with this interface importing
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