Skip to Content

T-code for function module

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 05, 2008 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2008 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2008 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2008 at 07: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2008 at 07: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.

    Add comment
    10|10000 characters needed characters exceeded