‎2007 Dec 13 3:32 PM
Hi all,
Can anybody tell me how to create test scenario for a Function Module in 4.6c.
Thanks in advance.
‎2007 Dec 13 4:01 PM
You can use the se37 transaction, and there, you have to put the fm name in the corresponding field, and push F8. Then it will show a screen with the fields necessary to execute correctly the FM.
Usually, you will have some tests made for some fm, so you can look for them pusshing the test button (In the same screen after push f8 in se37), if it have tests then you only have to use them.
Luck.
‎2007 Dec 13 3:33 PM
lets have the FM name.. that will be a better way to assist you..
if not check the import tab in FM and check which are manadtory and pass those values..
award points if you think its usefull
‎2007 Dec 13 4:01 PM
You can use the se37 transaction, and there, you have to put the fm name in the corresponding field, and push F8. Then it will show a screen with the fields necessary to execute correctly the FM.
Usually, you will have some tests made for some fm, so you can look for them pusshing the test button (In the same screen after push f8 in se37), if it have tests then you only have to use them.
Luck.
‎2007 Dec 13 4:05 PM
Hi Francisco,
I want to know how we can create our own tests for FM. I have checked my FM by my own but if i want to give someone to give the test data for that FM. How we can create it.
‎2007 Dec 13 4:13 PM
You have to put the data in the corresponding fields, and then you will have to push the button with the disk drawn (SAVE), it will ask you for a name for the test, and then when you accept, it will be saved.
When you have saved the test, the other person, only have to execute it with the button which is next to the debbuging´s button and then he will find the tests data here. He only have to select the tests he wants to execute, and ¡cést voila!.
Luck.
‎2007 Dec 13 4:23 PM