Skip to Content

c-functions in SAP

Hi All,

I have a requirement to invoke a tcode in some other system when a program is run in my system. To be more clear,

I would like to write a program and when I execute it in my system i.e with user id abc, then a statement in the program should run a tcode in some other users system logged into SAP.

The requirement is similar to th_popup FM where it sends a popup message to the user specified. In the same way when I specify a user name that should run a tcode in which ever system the user is logged in.

So I would like to know if we can write some FM like the c-functions that would send a popup to the user and on clicking the ok button the tcode is run.

But I have found that c-functions are maintained in internal system tables so can we create any such FMs or is there any other way.

Please provide some hints on this.

Thanks,

Sri.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on May 04, 2011 at 05:33 AM

    Check the functions TH_SAP_LOGIN & TH_REMOTE_TRANSACTION.

    I think TH_SAP_LOGIN should solve your requirement.

    Add comment
    10|10000 characters needed characters exceeded