‎2007 Mar 22 4:28 PM
Hi experts,
i want to add test data for a function module . i don't know how to proceed on it . please help me...
with regards,
James...
Valuable answers will be rewarded...
‎2007 Mar 22 4:34 PM
Hi James
Are you testing your function module through SE37? If so, you can enter test data into the fields, and before you execute it, press the Save button and give the data a meaningful name. This can then be recalled by pressing the Test Data Directory button.
Cheers
Lyal
‎2007 Mar 22 4:43 PM
‎2007 Mar 22 5:35 PM
Hi,
- Go to SE37 and execute your FM
- Enter the data you want to pass to FM
- Hit 'Save' button. Enter the meaningful name for your test scenario and save. That's it you have saved the test data.
You can also enter some other test data and save that also. In short, you can save multiple test scenario. Also, you can give multiple test scenario a same name and they do not overwrite each other ( but normally you give different name to differentiate them)
Next time you come to execute the FM again, hit the "test data" button and it will show you all the test scenario you have stored before. Select the one you want to use and it will load the data in FM parameters.
Let me know if you need any other information.
Regards,
RS