|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
7: Save the script.
Now observe that here is Exporting Parameters also there. Double click that
Sales Order number will be exported from Sales Order script.
can have a brief look at how to capture Sales Order number and export that from
“Sales Order” script.
If we can
observe the sales recording in one screen we will get a message like “Sales
Order <xxxx> created” like that. That will be recorded in script as
message, like below
commend MESSAGE—ENDMESSAGE to capture the messages occurred during the
execution. Below is the code to capture the same.
E_VEBLN is a parameter of type ‘E’.
8: Now come to the
integration script again.
We have to
take the exported sales order number into our integration script and use the
same as a parameter to delivery Script.
a variable V_VBELN type V.
specify the variable name in Exporting parameter of Sales Order script interface
as shown below.
above step we are completed with integrating “Sales Order” script in our
9: Now we will
integrate “Delivery” script.
the cursor in the next line of REF and click pattern button again.
give the Delivery test script name.
will look like this now.
10: Double click on
the YSD_CREATE_DELIVERY_TS_1 (Interface).
the importing parameters list.
already having Sales order number in a variable called V_VBELN. SO give the same
there. For shipping point create one import parameter.
exporting delivery, create one more variable V_DELIVERY.
script. Now we are done with the integration.
11: Now we will see
some data validations etc...
through an error and stop script execution if any of the Mandatory parameters
are not specified.
we can write code like this.
12: One more
validation is, if Sales Order is created successfully then only we should call
Delivery script. Otherwise we can skip that step.
we can write logic as below.
script and come out.
we are done with the creation of Integration script. Now we have to create test
data as well as Test Configuration.
we can follow the same steps as shown in the previous tutorials.
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