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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.