‎2007 Oct 16 12:53 PM
Hi All,
I need to attach a Function Module to a new custom Tcode.I tried to create the new Tcode with option Parameter Transaction by giving the Tcode as SE37. But i am not able to give my Function module name as default.
Do you have any idea how to do this.
Plese help me.
Thanks
Manas
‎2007 Oct 16 12:56 PM
Hi,
I don't think we can do it for function module..
Regards,
Nagaraj
‎2007 Oct 16 12:57 PM
‎2007 Oct 16 1:01 PM
‎2007 Oct 16 1:11 PM
well i thing we can do it .....
do a small simple thing ...
develope a prog with a small bdc of se37 in the program
i think it will be done
‎2007 Oct 16 1:14 PM
Why don't you just create a custom program that calls the function module and attach the program to a transaction?!
Gareth.
‎2007 Oct 16 1:30 PM
Hi guys,
The way of doing it is following:
1. SE37 Create FM. FM attach to FM GROUP
2. In FM write call screen 100.
3. Create screen 100.
4. SE93 Create transaction - dialog type with screen where program SAPL%GROUPNAME and screen 100.
that's all.
Good luck.
‎2007 Oct 16 2:21 PM
Hi ,
Could you pls elaborate the steps more clearly.
i have the FM 'ztest' attached to the function group 'zdummy'.
Then what i have to do..?
Thanks
Manas
‎2007 Oct 18 11:29 AM
Hello Manas,
For example in the first line of your FM you write
call screen 100.
Then double click on 100 number and you found yourself on program of creating screen.
Then you write need to describe your pai and pbo functions and set pf-status.
For example, on the click of some button you execute some function.
In transaction you directly execute operator call screen 100 by specifying
SAPLZTEST screen 100.
One more time: call screen 100 in FM equals call transaction 'zmytcode', which have been created to SAPLZTEST screen 100.
You can see tcode ckm3 and function group SAPLCKM8N
Good luck.