03-05-2008 6:58 AM
hi,
i created one RFC FM but now my requirment is that user can call directly this FM thru some z t-code rather then from se37, so can we create t-code for our z FM?
If yes ,
please explain steps.
03-05-2008 7:05 AM
Hi there,
The ideal thing in your case would be creating a dummy report program and call your function module in that program..
Since there is no such option to create a tcode for a function module.. you will have to call the function module in a report program and you can assign a tcode to that report program
if found helpful, don't forget to reward points.
if you want detailed steps let me know,
Thanks-
Rahul
03-05-2008 7:02 AM
Hi
It is not possible to create a Tcode for a FM
you can call a FM by useing CALL FUNCTION not CALL TRANSACTION
03-05-2008 7:05 AM
Hi ,
Function module is reusable component . You can call whenever it is required .
So you can't create TCODE for function module .
Thanks
Jagadeesh.G
03-05-2008 7:05 AM
Hi there,
The ideal thing in your case would be creating a dummy report program and call your function module in that program..
Since there is no such option to create a tcode for a function module.. you will have to call the function module in a report program and you can assign a tcode to that report program
if found helpful, don't forget to reward points.
if you want detailed steps let me know,
Thanks-
Rahul
03-05-2008 7:07 AM
HI,
It is not possible to create a transaction code for Function Module.we can call it only using call 'function module name'.
Regards,
vineela
03-05-2008 7:11 AM
You are correct,, Function module is a resuable object and can be called anywhere. but there are some restrictions for the tcode..
it will support only the following options.
1. Program and screens
2. Program and selection screen (reports)
3. methods of a classes
4. Transactions with variants
5. And transactions with parameters.
Hope your point is clear..
if you have further queries,, reply.
Rahul.